diff options
author | Ted Gould <ted@gould.cx> | 2010-01-24 22:03:21 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-01-24 22:03:21 -0600 |
commit | e68b4e3f23ad6b5e1f909fc50d86d0cc7d24e88f (patch) | |
tree | ee5c13d3fec927e8d73f2f46fc4e6a0e1718081f /src | |
parent | 79cd82fa83fd9f13c4b1187e68264c1ec5eb2ffe (diff) | |
download | ayatana-indicator-application-e68b4e3f23ad6b5e1f909fc50d86d0cc7d24e88f.tar.gz ayatana-indicator-application-e68b4e3f23ad6b5e1f909fc50d86d0cc7d24e88f.tar.bz2 ayatana-indicator-application-e68b4e3f23ad6b5e1f909fc50d86d0cc7d24e88f.zip |
Truth. Bad, Bad, truth.
Diffstat (limited to 'src')
-rw-r--r-- | src/indicator-application.c | 4 |
1 files 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); |