Re: GIMP menu items (was: Discussion topics for GU4DEC BoF)



Sven Neumann <sven@gimp.org> writes:

[...]

> > But with this interface, you're trading convenience for safety and
> > extra work for us. Why wouldn't
> > 
> >   create_menu("/Edit", _("_Edit"));
> > 
> >   // ...
> > 
> >   create_item("/Edit", _("Stroke"));
> > 
> > be convenient enough? Or
> 
> that would be very inconvenient for us. The gettext tools do most of
> the work for you anyway (if you use them wisely) so I'm not sure if
> this is worth to be changed at all.

The tools don't help with the maintenance, though, once translated
strings already have been typed in.

> > Then main GIMP just need to setup the main menus. The plugins can
> > setup items and submenus of their own.
> 
> the plug-ins don't have any access to the menus. They just register
> their full menu path and the core takes care of creating any missing
> menu branches. I surely don't want to change this since I don't want
> to expose the menu system into the plug-in API and the plug-in API is
> supposed to be as simple as possible.

OK, thanks for at least having considered the issue.

But I think it is problem if GTK+ doesn't provide any other means.
Would it make sense if I filed a (perhaps long-term) bug in Bugzilla?

-- 
Ole Laursen
http://www.cs.auc.dk/~olau/



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