[Xfce4-commits] <xfce4-session:master> Don't fallback to "system" icon in the logout dialog (bug #7196).
Jérôme Guelfucci
noreply at xfce.org
Mon Jan 31 19:26:01 CET 2011
Updating branch refs/heads/master
to fd459002e75fc86b4284b1bf806719c1eb290025 (commit)
from c39536f2f8058b674bbf34207dd7c4b746229426 (commit)
commit fd459002e75fc86b4284b1bf806719c1eb290025
Author: Lionel Le Folgoc <mrpouit at gmail.com>
Date: Mon Jan 31 19:23:26 2011 +0100
Don't fallback to "system" icon in the logout dialog (bug #7196).
GTK_ICON_LOOKUP_GENERIC_FALLBACK caused gtk+ to look for "system" if
"system-*" was not found and "system" exists in most icon themes so the
"xfsm-*" fallback icons were never used.
xfce4-session/shutdown.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/xfce4-session/shutdown.c b/xfce4-session/shutdown.c
index 6a97ef5..19fdfde 100644
--- a/xfce4-session/shutdown.c
+++ b/xfce4-session/shutdown.c
@@ -405,7 +405,7 @@ shutdownDialog(const gchar *sessionName, XfsmShutdownType *shutdownType, gboolea
icon = gtk_icon_theme_load_icon (icon_theme,
"system-log-out",
32,
- GTK_ICON_LOOKUP_GENERIC_FALLBACK,
+ 0,
NULL);
if (!icon)
icon = gtk_icon_theme_load_icon (icon_theme,
@@ -439,7 +439,7 @@ shutdownDialog(const gchar *sessionName, XfsmShutdownType *shutdownType, gboolea
icon = gtk_icon_theme_load_icon (icon_theme,
"system-reboot",
32,
- GTK_ICON_LOOKUP_GENERIC_FALLBACK,
+ 0,
NULL);
if (!icon)
@@ -481,7 +481,7 @@ shutdownDialog(const gchar *sessionName, XfsmShutdownType *shutdownType, gboolea
icon = gtk_icon_theme_load_icon (icon_theme,
"system-shutdown",
32,
- GTK_ICON_LOOKUP_GENERIC_FALLBACK,
+ 0,
NULL);
if (!icon)
@@ -543,7 +543,7 @@ shutdownDialog(const gchar *sessionName, XfsmShutdownType *shutdownType, gboolea
icon = gtk_icon_theme_load_icon (icon_theme,
"system-suspend",
32,
- GTK_ICON_LOOKUP_GENERIC_FALLBACK,
+ 0,
NULL);
if (!icon)
@@ -581,7 +581,7 @@ shutdownDialog(const gchar *sessionName, XfsmShutdownType *shutdownType, gboolea
icon = gtk_icon_theme_load_icon (icon_theme,
"system-hibernate",
32,
- GTK_ICON_LOOKUP_GENERIC_FALLBACK,
+ 0,
NULL);
if (!icon)
More information about the Xfce4-commits
mailing list