On Friday 24 of July 2009, Wolfgang Rosenauer wrote:
As sidenote from previous discussions about that topic: I think it would be pretty easy to add a KDE <-> Gnome detection in the mozilla code and keep some kind of desktop flag throughout the application. Someone proposed to have it in widget's nsToolkit class but I'm not sure if it would be easily accessible from JS in that case.
Just in case somebody starts doing this, see the part related to KDE_FULL_SESSION in /usr/bin/startkde.
I would love to see KDE integration like that in upstream Mozilla source and I'm willing to push for it in the Mozilla community if the code, legalisms and cooperation with the code authors allow this upstreaming.
The initial step IMHO is to get a global flag into the core which can be easily accessed from C++ and JS contexts to recognize Gnome or KDE (at first stage). A very easy example which could be done along with it is to disable the "Set as desktop background" from the context menu if not running under Gnome since that is extremely confusing and can just be hidden if not running in Gnome.
Gee, bad jokes about missing basic functionality now apply to both GNOME and KDE?
If you can come up with a good place for the global detection I would be willing to do some coding to create the basic support ;-)
FYI, it looks very likely that the default browser in KDE for 11.2 will be Firefox (http://en.opensuse.org/KDE/Meetings/20090723#Default_Web_Browser). -- Lubos Lunak KDE developer -------------------------------------------------------------- SUSE LINUX, s.r.o. e-mail: l.lunak@suse.cz , l.lunak@kde.org Lihovarska 1060/12 tel: +420 284 084 672 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org