diff options
author | Ted Gould <ted@gould.cx> | 2010-03-24 11:32:06 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-03-24 11:32:06 -0500 |
commit | 9bda4f7c7b93d4fa14d926c5382a632871ecb0d8 (patch) | |
tree | 078bba053150a55326a5d07fe74b70bca06b3107 | |
parent | 9e0c000273432a04fe431e9e750a0c1a63e411fe (diff) | |
download | ayatana-indicator-messages-9bda4f7c7b93d4fa14d926c5382a632871ecb0d8.tar.gz ayatana-indicator-messages-9bda4f7c7b93d4fa14d926c5382a632871ecb0d8.tar.bz2 ayatana-indicator-messages-9bda4f7c7b93d4fa14d926c5382a632871ecb0d8.zip |
Set the blank icon on proxy objects
-rw-r--r-- | src/app-menu-item.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app-menu-item.c b/src/app-menu-item.c index a47c073..cbd2242 100644 --- a/src/app-menu-item.c +++ b/src/app-menu-item.c @@ -340,6 +340,7 @@ child_added_cb (DbusmenuMenuitem * root, DbusmenuMenuitem * child, guint positio AppMenuItem * self = APP_MENU_ITEM(data); AppMenuItemPrivate * priv = APP_MENU_ITEM_GET_PRIVATE(self); DbusmenuMenuitemProxy * mip = dbusmenu_menuitem_proxy_new(child); + dbusmenu_menuitem_property_set(DBUSMENU_MENUITEM(mip), DBUSMENU_MENUITEM_PROP_ICON_NAME, DBUSMENU_MENUITEM_ICON_NAME_BLANK); priv->shortcuts = g_list_insert(priv->shortcuts, mip, position); @@ -441,6 +442,7 @@ root_changed (DbusmenuClient * client, DbusmenuMenuitem * newroot, gpointer data g_debug("\tProcessing %d children", g_list_length(children)); while (children != NULL) { DbusmenuMenuitemProxy * mip = dbusmenu_menuitem_proxy_new(DBUSMENU_MENUITEM(children->data)); + dbusmenu_menuitem_property_set(DBUSMENU_MENUITEM(mip), DBUSMENU_MENUITEM_PROP_ICON_NAME, DBUSMENU_MENUITEM_ICON_NAME_BLANK); priv->shortcuts = g_list_append(priv->shortcuts, mip); children = g_list_next(children); } |