aboutsummaryrefslogtreecommitdiff
path: root/example/simple-client.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-01-08 11:03:33 -0600
committerTed Gould <ted@gould.cx>2010-01-08 11:03:33 -0600
commit458b67c8caa792c8176d494095c7eddd72600bf1 (patch)
treeb06f1b8a5828b09f5a6cc1b980a8c1897dce5c59 /example/simple-client.c
parent13de14e2a1944a8bee33bdd574924e0d9c8c66ed (diff)
parentab7949f8ed0d70686453a2e5c124e9095e8c19f7 (diff)
downloadlibayatana-appindicator-458b67c8caa792c8176d494095c7eddd72600bf1.tar.gz
libayatana-appindicator-458b67c8caa792c8176d494095c7eddd72600bf1.tar.bz2
libayatana-appindicator-458b67c8caa792c8176d494095c7eddd72600bf1.zip
Sync to karmic packaging branch
Diffstat (limited to 'example/simple-client.c')
-rw-r--r--example/simple-client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/simple-client.c b/example/simple-client.c
index ea4da9d..8ce9fba 100644
--- a/example/simple-client.c
+++ b/example/simple-client.c
@@ -53,12 +53,12 @@ main (int argc, char ** argv)
app_indicator_set_attention_icon(ci, "indicator-messages-new");
menu = gtk_menu_new ();
- GtkWidget *item = gtk_menu_item_new_with_label ("1");
+ GtkWidget *item = gtk_check_menu_item_new_with_label ("1");
g_signal_connect (item, "activate",
G_CALLBACK (item_clicked_cb), "1");
gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
- item = gtk_menu_item_new_with_label ("2");
+ item = gtk_radio_menu_item_new_with_label (NULL, "2");
g_signal_connect (item, "activate",
G_CALLBACK (item_clicked_cb), "2");
gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);