GNOME Bugzilla – Bug 349274
Help kill libegg
Last modified: 2012-02-28 20:18:25 UTC
+++ This bug was initially created as a clone of Bug #349256 +++ Please help kill libegg. Your module contains some egg code that is now deprecated thanks to new features, most probably the new GTK+ 2.10 features like: + GtkRecent* (deprecating EggRecent) + GtkStatusIcon (deprecating EggTrayIcon and EggStatusIcon) + GtkCellRendererAccel (deprecating EggCellRendererKeys) + GtkAccelGroup now has features to deprecate EggAccelerator (see bug 85780) Also, egg-screen-exec stuff has been deprecated: see http://cvs.gnome.org/viewcvs/*checkout*/libegg/libegg/screen-exec/README Also, EggIconList has become GtkIconView in GTK+ 2.6.
I'm working on porting from EggTrayIcon/EggStatusIcon to GtkStatusIcon. So far I have made good progress. This comments is just to avoid duplicated work. Read ya
Created attachment 76961 [details] [review] Ports from Egg*Icon to GtkStatusIcon This works almost flawlessly, only glitch is that when you open this for the first time and wireless is enabled AND without signal, the wireless-0 icon will be ugly and badly sized, I think it's a matter of adding a call somewhere, easy to fix. But I wanted to hear impressions about this patch so far. Greetings :)
Created attachment 76963 [details] [review] Same as before, but with a check to avoid ugly icons This patch is the same as the first, but it doesn't display the icon until it's sure that the GtkStatusIcon is already shown (so the size of the tray is known and our icon looks good).
Created attachment 76965 [details] [review] Assumes that users have standard 24 pixel panels Previous patch won't show an icon if the user is using an ethernet connection, since the first time the GtkStatusIcon is not embedded (and the ethernet connection will never call netapplet_set_icon). I think this is a sane default, I reported a bug about this against GTK+ #377674. Let's see what GTK+ devs say. Meanwhile this works great (both with wlan and eth).
Diego, can this get in? Hmm, where is this in git?
I'll check it today.
Ehm. I don't find the repo in git...
Netapplet has not seen any development (code changes) since May 2005 - see http://git.gnome.org/browse/archive/netapplet/log/ . Closing all remaining open reports as WONTFIX - Please feel free to reopen this bug report in the future if anyone takes the responsibility for active development again.