aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-gtk/client.c
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-01-20 21:03:03 -0500
committerKen VanDine <ken.vandine@canonical.com>2011-01-20 21:03:03 -0500
commit4ef0a2886c4d4865a453ee32656937eb37669421 (patch)
tree69a464310d4ff98b63a3a30a825dafaed9f55525 /libdbusmenu-gtk/client.c
parent06dd3e27c76990fc2a2f4404561586f9bdc32243 (diff)
parentde9872351ee2646f577620956c6844c428cb2760 (diff)
downloadlibdbusmenu-4ef0a2886c4d4865a453ee32656937eb37669421.tar.gz
libdbusmenu-4ef0a2886c4d4865a453ee32656937eb37669421.tar.bz2
libdbusmenu-4ef0a2886c4d4865a453ee32656937eb37669421.zip
releasing version 0.3.93-0ubuntu1
Diffstat (limited to 'libdbusmenu-gtk/client.c')
-rw-r--r--libdbusmenu-gtk/client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdbusmenu-gtk/client.c b/libdbusmenu-gtk/client.c
index b01156f..18a2cdd 100644
--- a/libdbusmenu-gtk/client.c
+++ b/libdbusmenu-gtk/client.c
@@ -789,6 +789,7 @@ image_property_handle (DbusmenuMenuitem * item, const gchar * property, GVariant
gtkimage = NULL;
} else if (g_strcmp0(iconname, DBUSMENU_MENUITEM_ICON_NAME_BLANK) == 0) {
gtkimage = gtk_image_new();
+ g_object_set(G_OBJECT(gtkimage), "use-fallback", TRUE, NULL);
} else {
/* Look to see if we want to have an icon with the 'ltr' or
'rtl' depending on what we're doing. */
@@ -807,6 +808,7 @@ image_property_handle (DbusmenuMenuitem * item, const gchar * property, GVariant
can just convert it to this name. */
if (gtkimage == NULL) {
gtkimage = gtk_image_new_from_icon_name(finaliconname, GTK_ICON_SIZE_MENU);
+ g_object_set(G_OBJECT(gtkimage), "use-fallback", TRUE, NULL);
} else {
gtk_image_set_from_icon_name(GTK_IMAGE(gtkimage), finaliconname, GTK_ICON_SIZE_MENU);
}