aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-messages.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/indicator-messages.c')
-rw-r--r--src/indicator-messages.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/indicator-messages.c b/src/indicator-messages.c
index 91c817f..b4333f6 100644
--- a/src/indicator-messages.c
+++ b/src/indicator-messages.c
@@ -168,7 +168,11 @@ get_menu_item (void)
NULL, g_object_unref);
#endif
- GtkWidget * mainmenu = gtk_menu_item_new_with_label("Message");
+ GtkWidget * mainmenu = gtk_menu_item_new();
+
+ GtkWidget * image = gtk_image_new_from_icon_name("indicator-messages", GTK_ICON_SIZE_MENU);
+ gtk_widget_show(image);
+ gtk_container_add(GTK_CONTAINER(mainmenu), image);
GtkWidget * submenu = gtk_menu_new();
gtk_menu_item_set_submenu(GTK_MENU_ITEM(mainmenu), submenu);