diff options
author | Ted Gould <ted@canonical.com> | 2009-02-04 19:10:33 +0100 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-02-04 19:10:33 +0100 |
commit | 48a971fcdfeff3c8a141d5601c24e11a5cc3b6f6 (patch) | |
tree | e2703a4a7928a1619a0c4eadcad8bad8433c587b /src/indicator-messages.c | |
parent | 96c625323ec1074415147dd15bede4d8cec9d484 (diff) | |
download | ayatana-indicator-messages-48a971fcdfeff3c8a141d5601c24e11a5cc3b6f6.tar.gz ayatana-indicator-messages-48a971fcdfeff3c8a141d5601c24e11a5cc3b6f6.tar.bz2 ayatana-indicator-messages-48a971fcdfeff3c8a141d5601c24e11a5cc3b6f6.zip |
Using the right damn function
Diffstat (limited to 'src/indicator-messages.c')
-rw-r--r-- | src/indicator-messages.c | 6 |
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); |