GNOME Bugzilla – Bug 124253
Use the notification area icon in the about window
Last modified: 2004-12-22 21:47:04 UTC
It'd be nice to have the icon of the notification area in the about window instead of the default GNOME logo. I will attach a patch.
Created attachment 20615 [details] [review] Proposed patch.
Created attachment 20691 [details] [review] Better patch.
Can't we use the new icon theme API in GTK or isn't there an icon theme object already created in libgnome? I ask because creating icon themes is apparently a bit expensive. The notification area icon isn't a battery still is it?
This is just for the about window. The icon is no more the battery one in the panel's context menu. As for your question about the theme stuff, I don't know, so I'll wait for an answer from Alex :-)
Creating an icon theme object is indeed quite expensive. However, there currently is no such object in GnomeProgram or anything. I think moving to the new Gtk+ icon theme code would be bettter, because then the icon theme object can be shared with the one used for normal gtk+ icon theming.
Created attachment 20859 [details] [review] Patch using GtkIconTheme.
I don't have GTK+ CVS installed, so I can't test the patch. But does it look ok? If yes, I'll try to remove all the GnomeIconTheme stuff in gnome-panel as soon as I'll get GTK+ 2.3.x.
Re-assigning to gnome-panel-maint. Apologies for the spam.
Vincent: patch looks fine apart from the fact that you don't check/free the GError
Committed (I removed the GError stuff since the gnome_about_new falls back on the foot icon if there is no icon provided).