aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-02-13 16:28:23 -0600
committerTed Gould <ted@canonical.com>2009-02-13 16:28:23 -0600
commit6d9f90ca471ce7b0229d18b49987dc7a1260319b (patch)
treeb700ee99cb6c8139372b5cf7a82a40fc57eb4802 /src
parentb63bf8103240f06e05ed99024d4ff24bbc08b725 (diff)
downloadayatana-indicator-messages-6d9f90ca471ce7b0229d18b49987dc7a1260319b.tar.gz
ayatana-indicator-messages-6d9f90ca471ce7b0229d18b49987dc7a1260319b.tar.bz2
ayatana-indicator-messages-6d9f90ca471ce7b0229d18b49987dc7a1260319b.zip
Forgot to change all the names.
Diffstat (limited to 'src')
-rw-r--r--src/indicator-messages.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/indicator-messages.c b/src/indicator-messages.c
index 20417e6..f61b4de 100644
--- a/src/indicator-messages.c
+++ b/src/indicator-messages.c
@@ -156,7 +156,10 @@ subtype_cb (IndicateListener * listener, IndicateListenerServer * server, Indica
}
if (g_list_length(imList) != 0) {
+ g_debug("Setting image to 'new'");
gtk_image_set_from_icon_name(main_image, "indicator-messages-new", GTK_ICON_SIZE_MENU);
+ } else {
+ g_debug("Hmm, still no entries");
}
return;
@@ -235,8 +238,8 @@ get_menu_item (void)
GtkWidget * mainmenu = gtk_menu_item_new();
main_image = gtk_image_new_from_icon_name("indicator-messages", GTK_ICON_SIZE_MENU);
- gtk_widget_show(image);
- gtk_container_add(GTK_CONTAINER(mainmenu), image);
+ gtk_widget_show(main_image);
+ gtk_container_add(GTK_CONTAINER(mainmenu), main_image);
GtkWidget * submenu = gtk_menu_new();
gtk_menu_item_set_submenu(GTK_MENU_ITEM(mainmenu), submenu);