aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-01-20 16:46:13 -0600
committerTed Gould <ted@canonical.com>2009-01-20 16:46:13 -0600
commitc84bc2ada92f3371f59785fb1a7a9d61fd9f1ea5 (patch)
treeb0b208f8d2a99b97f8cd14ed4615fcff78b06f00 /src
parentd3ee9f8eb7e482eebf6014357f10f460d63e1380 (diff)
downloadayatana-indicator-messages-c84bc2ada92f3371f59785fb1a7a9d61fd9f1ea5.tar.gz
ayatana-indicator-messages-c84bc2ada92f3371f59785fb1a7a9d61fd9f1ea5.tar.bz2
ayatana-indicator-messages-c84bc2ada92f3371f59785fb1a7a9d61fd9f1ea5.zip
ifdef'ing out the mail stuff as we need to get IM working first
Diffstat (limited to 'src')
-rw-r--r--src/indicator-messages.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/indicator-messages.c b/src/indicator-messages.c
index de0dec0..993451e 100644
--- a/src/indicator-messages.c
+++ b/src/indicator-messages.c
@@ -4,7 +4,9 @@
static IndicateListener * listener;
static GHashTable * imHash;
+#if 0
static GHashTable * mailHash;
+#endif
typedef struct _imHash_t imHash_t;
struct _imHash_t {
@@ -59,6 +61,7 @@ subtype_cb (IndicateListener * listener, IndicateListenerServer * server, Indica
g_hash_table_insert(imHash, hasher, menuitem);
gtk_menu_shell_prepend(menushell, menuitem);
+#if 0
} else if (!strcmp(propertydata, "mail")) {
gpointer pntr_menu_item;
pntr_menu_item = g_hash_table_lookup(mailHash, server);
@@ -75,6 +78,7 @@ subtype_cb (IndicateListener * listener, IndicateListenerServer * server, Indica
MailMenuItem * menu_item = MAIL_MENU_ITEM(pntr_menu_item);
mail_menu_item_increment(menu_item);
}
+#endif
}
return;
@@ -99,8 +103,10 @@ get_menu_item (void)
listener = indicate_listener_new();
imHash = g_hash_table_new_full(g_direct_hash, imHash_equal,
imHash_destroy, g_object_unref);
+#if 0
mailHash = g_hash_table_new_full(g_direct_hash, g_direct_equal,
NULL, g_object_unref);
+#endif
GtkWidget * main = gtk_menu_item_new_with_label("Message Me");