From: John P. <jo...@ma...> - 2002-07-01 15:42:36
|
Hello, I used to hack at Gaim's applet code way back before I got caught up in other things (Yes I was the one who wrote the horribly long variables and files names, I have since learned my lesson ;-) Anyway, I was looking at updating the applet stuff for Gnome 2.0. Has anyone been working on this? I started working on it unfortunatly I can't compile Gaim because I am working on a pure Gtk2.0/Gnome2.0 platform. The m4 macros always choke. As a start it doesn't realy matter since I have already created most of the functionality of the old applet in a seperate applet project with the one cavet that it is not hooked up with Gaim yet. I don't know if you guys plan on going completely Gtk+ 2.0 and ditch the old 1.0 stuff but if you did it would be realy nice to ditch the old model of hundreds of #ifdef's and instead go with a layered approach. In this way a core library (gaim-common) with hooks to get the Gtk-2.0 top level widgets would be used in conjunction with a stub loader. The stub loader would have the main Gtk+ event loop and simply call the library to display the widget. For those who want GNOME applet functionality a seperate applet project, which is also a stub loader, would set itself up with the library, register a status callback(signal/slot) with the library (for changing icons on the applet) and let Gaim do its thing. This would allow people to have just the pure Gtk+ Gaim and get the applet if they want Gnome functionality. (This would also fix much of my Debain/Ximian conflicts which refuses to install the gnome-gaim build without first ripping out the gaim build and a lot of associated libraries in the process). This is just a suggestion and I'm offering to help. I realy want to get to the point where I can just rely on Gnome2.0 as a stand alone desktop and not have to rely on the 1.0 libraries. I though Gaim would be a cool first step. Its up to you guys. Thanks. -- J5 |