aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-08-24 14:59:07 -0500
committerTed Gould <ted@gould.cx>2010-08-24 14:59:07 -0500
commitadf2ffddfbf1837ec9db20d2648786e57565719e (patch)
tree10c5b75bd7a500a3cb108d56a13e1aa4579768e2
parentada8fb9e0a3b41d1b21a3bf9b86d5be0f647051f (diff)
downloadayatana-indicator-messages-adf2ffddfbf1837ec9db20d2648786e57565719e.tar.gz
ayatana-indicator-messages-adf2ffddfbf1837ec9db20d2648786e57565719e.tar.bz2
ayatana-indicator-messages-adf2ffddfbf1837ec9db20d2648786e57565719e.zip
Set the image menu icon
-rw-r--r--src/indicator-messages.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indicator-messages.c b/src/indicator-messages.c
index df2d972..dcb57dc 100644
--- a/src/indicator-messages.c
+++ b/src/indicator-messages.c
@@ -418,7 +418,7 @@ new_application_item (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, Dbu
GtkWidget * icon = gtk_image_new_from_icon_name(dbusmenu_menuitem_property_get(newitem, APPLICATION_MENUITEM_PROP_ICON), GTK_ICON_SIZE_MENU);
gtk_widget_set_size_request(icon, width, height);
gtk_misc_set_alignment(GTK_MISC(icon), 0.0, 0.5);
- gtk_box_pack_start(GTK_BOX(hbox), icon, FALSE, FALSE, padding);
+ gtk_image_menu_item_set_image(GTK_IMAGE_MENU_ITEM(gmi), icon);
gtk_widget_show(icon);
/* Application name in a label */