From e68b4e3f23ad6b5e1f909fc50d86d0cc7d24e88f Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Sun, 24 Jan 2010 22:03:21 -0600 Subject: Truth. Bad, Bad, truth. --- src/indicator-application.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/indicator-application.c b/src/indicator-application.c index 68f7d0e..5327ff2 100644 --- a/src/indicator-application.c +++ b/src/indicator-application.c @@ -331,7 +331,7 @@ application_added (DBusGProxy * proxy, const gchar * iconname, gint position, co icon is available we want to use it. Otherwise we'll just use the name we were given. */ gchar * longname = g_strdup_printf("%s-%s", iconname, PANEL_ICON_SUFFIX); - if (!gtk_icon_theme_has_icon(gtk_icon_theme_get_default(), longname)) { + if (gtk_icon_theme_has_icon(gtk_icon_theme_get_default(), longname)) { app->entry.image = GTK_IMAGE(gtk_image_new_from_icon_name(longname, GTK_ICON_SIZE_MENU)); } else { app->entry.image = GTK_IMAGE(gtk_image_new_from_icon_name(iconname, GTK_ICON_SIZE_MENU)); @@ -406,7 +406,7 @@ application_icon_changed (DBusGProxy * proxy, gint position, const gchar * iconn icon is available we want to use it. Otherwise we'll just use the name we were given. */ gchar * longname = g_strdup_printf("%s-%s", iconname, PANEL_ICON_SUFFIX); - if (!gtk_icon_theme_has_icon(gtk_icon_theme_get_default(), longname)) { + if (gtk_icon_theme_has_icon(gtk_icon_theme_get_default(), longname)) { gtk_image_set_from_icon_name(app->entry.image, longname, GTK_ICON_SIZE_MENU); } else { gtk_image_set_from_icon_name(app->entry.image, iconname, GTK_ICON_SIZE_MENU); -- cgit v1.2.3