aboutsummaryrefslogtreecommitdiff
path: root/example/simple-client.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-01-08 11:20:32 -0600
committerTed Gould <ted@gould.cx>2010-01-08 11:20:32 -0600
commit96e4332ec96cd0b649d829857efb4d4f0268bb76 (patch)
tree535fb7809abc19be414318743bc55f586470d926 /example/simple-client.c
parent5d97173ceb9192b8cf01c8f1ba0d761f2434817c (diff)
parenta5753822cc80f3f579aa61801b54134b3baa8076 (diff)
downloadlibayatana-appindicator-96e4332ec96cd0b649d829857efb4d4f0268bb76.tar.gz
libayatana-appindicator-96e4332ec96cd0b649d829857efb4d4f0268bb76.tar.bz2
libayatana-appindicator-96e4332ec96cd0b649d829857efb4d4f0268bb76.zip
Updating to trunk
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);