GNOME Bugzilla – Bug 154561
GtkAboutDialog - API bug: load logo pixbuf from icon theme
Last modified: 2004-12-22 21:47:04 UTC
This feature request come from a thread on GNOME desktop devel mailing list. See http://lists.gnome.org/archives/desktop-devel-list/2004-October/msg00134.html and http://lists.gnome.org/archives/desktop-devel-list/2004-October/msg00135.html Actually you can set the logo image for the about dialog loading an image as GdkPixbuf. The request is provide in GtkAboutDialog API a function like void gtk_about_dialog_set_icon_name (GtkAboutDialog *about, const char *icon_name); ---------------------------- First of all note that we can distinguish GNOME/GTK+ applications in: * applications that provide a cool/custom logo (gedit, rhythmbox, sound-juicer) to use ONLY in about dialog * applications that use a named icon as logo in about window (gpdf, gnome-dictionary, all panel applets...) So, when the application don't provide a custom pixmap to use as logo, but it uses a named icon, is reasonable make the logo themeable too. By now you can do something like gtk_window_set_default_icon_name ("named-icon"); .... icon_theme = gtk_icon_theme_get_default(); pixbuf = gtk_icon_theme_load_icon ( icon_theme,"named-icon", 48, 0, NULL); about = gtk_about_dialog_new (); gtk_about_dialog_set_logo (about, pixbuf); .... and use a named icon as logo, but if you change the icon theme while the about dialog is open, the logo is not updated. We are asking for a function to manage the named icon directly in GtkAboutDialog API, as gtk_window_set_(default_)icon_name do for GtkWindows.
*** This bug has been marked as a duplicate of 154488 ***