Re: Remove libgnomeui where possible?



On Tue, 2007-01-30 at 10:16 -0500, Tristan Van Berkom wrote:
>    - Ripping out libgnomeui is probably a good idea anyway regardless 
>      of application startup time, if only to put more distance between
>      modern app developers and stale, old, depricated widgets/code

<pet-peeve>There is no "i" in "deprecated".</pet-peeve> (There is also
no "I" in "team". And there is only one "I" in "solipsism". ;-)

> But heres an idea... applications launched by the panel should be
> watched by the panel (i.e. SIGCHILD/waitpid())

But who will watch the watchman? And besides, there are lots of
situations where apps are launched by processes other than the panel
(including the one that started this discussion, gnome-power-manager).

> would know the bugzilla information 
> from the .desktop file

I'm having EggSMClient figure out a handful of things by parsing them
out of the application's .desktop file. In a comment on the bug
(http://bugzilla.gnome.org/show_bug.cgi?id=79285), Havoc suggested
making that more generic and having a "gtk_set_desktop_file" (or
g_set_desktop_file?) that would initialize the default window icon, call
g_set_application_name(), etc (and EggSMClient could hook into that
somehow). Maybe we could set up some sort of registry where
certain .desktop file keys would cause certain gtk modules to be loaded
(eg, bug-buddy integration, yelp integration, whatever) without needing
to hardcode a ton of information in gtk itself.

-- Dan





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