Re: GtkAction, Plugins and PyGtk



On 5/4/06, Robert Staudinger <robert staudinger gmail com> wrote:
On 5/3/06, Hans Breuer <hans breuer org> wrote:
> On 03.05.2006 21:22, Robert Staudinger wrote:
[...]
> So IMO the way to go would be to change the filter_register_callback() to
> something more appropriate to action based menus and change some few
> plug-ins. One of the problems action based menus are supposed to fix
> cleanly is http://bugzilla.gnome.org/show_bug.cgi?id=171397
>
> Having a proxy action seems to be a small price to pay ...

Ok, i will look into that.

A new patch is available now [1] which fixes the plugin issue by
introducing a new call:
dia.register_action (
   action, # string
   label, # string
   path, # string
   callback) # callable

which is an enhanced version of dia.register_callback.

If you could look at the patch that'd be great. Some feedback before
tearing things apart when moving the diagram window to use
GtkUIManager would be nice.

[1] http://bugzilla.gnome.org/show_bug.cgi?id=340352

Best,
Rob



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]