set a default icon for capplets, patch by Jaap A. Haitsma
2005-07-27 Sebastien Bacher <seb128@debian.org> * capplet-util.c: (capplet_set_icon): set a default icon for capplets, patch by Jaap A. Haitsma <jaap@haitsma.org> (Closes: #305086).
This commit is contained in:
parent
890e069b82
commit
26ce733fb7
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-07-27 Sebastien Bacher <seb128@debian.org>
|
||||
|
||||
* capplet-util.c: (capplet_set_icon): set a default icon for capplets,
|
||||
patch by Jaap A. Haitsma <jaap@haitsma.org> (Closes: #305086).
|
||||
|
||||
2005-07-11 Rodney Dawes <dobey@novell.com>
|
||||
|
||||
* capplet-util.c (capplet_set_icon): Remove the unref call on the
|
||||
|
|
|
@ -394,7 +394,11 @@ capplet_set_icon (GtkWidget *window, char const *icon_file_name)
|
|||
}
|
||||
|
||||
if (icon_pixbuf != NULL) {
|
||||
/* Make sure that every window gets an icon */
|
||||
gtk_window_set_default_icon (icon_pixbuf);
|
||||
|
||||
gtk_window_set_icon (GTK_WINDOW (window), icon_pixbuf);
|
||||
|
||||
g_object_unref (icon_pixbuf);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue