diff options
| author | Ted Gould <ted@gould.cx> | 2011-01-20 08:35:41 -0600 |
|---|---|---|
| committer | Ted Gould <ted@gould.cx> | 2011-01-20 08:35:41 -0600 |
| commit | 3354af7e467e14415756fc3e640b5c027af5ebde (patch) | |
| tree | efbfca380ee736963f6f1e4aa949c6f25fd28404 /libdbusmenu-gtk/client.c | |
| parent | 2461e539704dc3b306c24b5b841be342111a76b9 (diff) | |
| parent | 97fe110d8f5b65fb39737b7d525db47becd27971 (diff) | |
| download | libdbusmenu-3354af7e467e14415756fc3e640b5c027af5ebde.tar.gz libdbusmenu-3354af7e467e14415756fc3e640b5c027af5ebde.tar.bz2 libdbusmenu-3354af7e467e14415756fc3e640b5c027af5ebde.zip | |
Import upstream version 0.3.93
Diffstat (limited to 'libdbusmenu-gtk/client.c')
| -rw-r--r-- | libdbusmenu-gtk/client.c | 2 |
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); } |
