Only set using_themed_icon if we actually got an icon list from the theme.
2004-10-04 Matthias Clasen <mclasen@redhat.com> * gtk/gtkwindow.c (gtk_window_realize_icon): Only set using_themed_icon if we actually got an icon list from the theme. (#154472, Morten Welinder)
This commit is contained in:
parent
ce2ddb38d7
commit
9de1565a99
@ -3,6 +3,9 @@
|
|||||||
* gtk/gtkwindow.c (gtk_window_set_icon_list):
|
* gtk/gtkwindow.c (gtk_window_set_icon_list):
|
||||||
(gtk_window_set_default_icon_list): Ref the new icons
|
(gtk_window_set_default_icon_list): Ref the new icons
|
||||||
before unreffing the old ones. (#154468, Morten Welinder)
|
before unreffing the old ones. (#154468, Morten Welinder)
|
||||||
|
(gtk_window_realize_icon): Only set using_themed_icon if
|
||||||
|
we actually got an icon list from the theme. (#154472, Morten
|
||||||
|
Welinder)
|
||||||
|
|
||||||
2004-10-03 Matthias Clasen <mclasen@redhat.com>
|
2004-10-03 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
@ -3,6 +3,9 @@
|
|||||||
* gtk/gtkwindow.c (gtk_window_set_icon_list):
|
* gtk/gtkwindow.c (gtk_window_set_icon_list):
|
||||||
(gtk_window_set_default_icon_list): Ref the new icons
|
(gtk_window_set_default_icon_list): Ref the new icons
|
||||||
before unreffing the old ones. (#154468, Morten Welinder)
|
before unreffing the old ones. (#154468, Morten Welinder)
|
||||||
|
(gtk_window_realize_icon): Only set using_themed_icon if
|
||||||
|
we actually got an icon list from the theme. (#154472, Morten
|
||||||
|
Welinder)
|
||||||
|
|
||||||
2004-10-03 Matthias Clasen <mclasen@redhat.com>
|
2004-10-03 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
@ -3,6 +3,9 @@
|
|||||||
* gtk/gtkwindow.c (gtk_window_set_icon_list):
|
* gtk/gtkwindow.c (gtk_window_set_icon_list):
|
||||||
(gtk_window_set_default_icon_list): Ref the new icons
|
(gtk_window_set_default_icon_list): Ref the new icons
|
||||||
before unreffing the old ones. (#154468, Morten Welinder)
|
before unreffing the old ones. (#154468, Morten Welinder)
|
||||||
|
(gtk_window_realize_icon): Only set using_themed_icon if
|
||||||
|
we actually got an icon list from the theme. (#154472, Morten
|
||||||
|
Welinder)
|
||||||
|
|
||||||
2004-10-03 Matthias Clasen <mclasen@redhat.com>
|
2004-10-03 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
@ -3,6 +3,9 @@
|
|||||||
* gtk/gtkwindow.c (gtk_window_set_icon_list):
|
* gtk/gtkwindow.c (gtk_window_set_icon_list):
|
||||||
(gtk_window_set_default_icon_list): Ref the new icons
|
(gtk_window_set_default_icon_list): Ref the new icons
|
||||||
before unreffing the old ones. (#154468, Morten Welinder)
|
before unreffing the old ones. (#154468, Morten Welinder)
|
||||||
|
(gtk_window_realize_icon): Only set using_themed_icon if
|
||||||
|
we actually got an icon list from the theme. (#154472, Morten
|
||||||
|
Welinder)
|
||||||
|
|
||||||
2004-10-03 Matthias Clasen <mclasen@redhat.com>
|
2004-10-03 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
@ -2713,6 +2713,7 @@ gtk_window_realize_icon (GtkWindow *window)
|
|||||||
if (icon_list == NULL && info->icon_name)
|
if (icon_list == NULL && info->icon_name)
|
||||||
{
|
{
|
||||||
icon_list = icon_list_from_theme (widget, info->icon_name);
|
icon_list = icon_list_from_theme (widget, info->icon_name);
|
||||||
|
if (icon_list)
|
||||||
info->using_themed_icon = TRUE;
|
info->using_themed_icon = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user