[gedit-list] The session stuff and libgnome dependies



I decided to forward the bugreport
http://bugzilla.gnome.org/show_bug.cgi?id=500922 to the gedit-list maybe
this is intesting for those who dont is CC in the bugreport :-)


How should we replace the rest of libgnome[ui]?

Here is my thoughts:

1. Session managment 

The problem with the session managment has been discussed for years now.

There are code in libegg module for session managment that could replace
the old session libgnomeui session stuff. But then we still depends on a
"yet another library" and Imho this is stupid. 

If users want session stuff then there should be something in Gtk+ for
that. We dont need copy&paste or "yet another library" :-)

But the patch above was for those who dont care about the
sessionmanagment and want to kill libgnome/bonobo dependies using
--without-libgnome and #ifdefs. 

Still we cannot kill libgnome totally until upstream has replacement for
gnome_help/gnome_icon_lookup/session stuff with gtk+/glib replacements. 

2. Icon stuff:
 
The gnome_icon_lookup could infact be killed and replaced with patch
that will set the icon to default theme's file/directory icon for ALL
files/dirs in tab/filebrowser plugin.

That way we kill all #ifdefs in filebrowser. I dont think I implemented
any new bugs by doing this because its a very small change (as you can
see in the patch) and it work here without problems.

As soon as glib is stable we could replace default icons with gio API
for those files that has a different icon than default file icons :-)

3. Gnome  help

About the gnome_help #ifdefs pbor did'nt want to kill gnome_help until
we are sure the new code works. So people should test the new code using
configure --without-libgnome and test the replacement gedit_help code.
To make sure it works and hopefully we could kill gnome_help ifdefs
too :-)

(The help replacement code is taken from evince codebase)

/

Mikael Hermansson

 



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