Re: create python dia plugin : need help !

2006-07-27 Thread Hans Breuer
On 26.07.2006 14:07, lidiriel wrote: > I have recompiled dia 0.95 on linux. > I paste into ~/.dia/python/hello.py , the hello code found in this > mailling list : > import dia > def hello_callback(data, flags): >print "Hello, Dia!\n" > dia.register_callback("Hello, world", >

Re: create python dia plugin : need help !

2006-07-26 Thread lidiriel
Robert Staudinger wrote: > > The API has changed as Dia has been moving from using the deprecated > GtkItemFactory to GtkActions. Dia's existing plugins have been > updated, check [1] for reference. > > [1] > http://cvs.gnome.org/viewcvs/dia/plug-ins/python/debug_objects.py?rev=1.5&view=markup

Re: create python dia plugin : need help !

2006-07-26 Thread Robert Staudinger
On 7/26/06, lidiriel <[EMAIL PROTECTED]> wrote: > I have recompiled dia 0.95 on linux. > I paste into ~/.dia/python/hello.py , the hello code found in this > mailling list : > import dia > def hello_callback(data, flags): >print "Hello, Dia!\n" > dia.register_callback("Hello, world", >