aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-01-07 13:35:48 -0600
committerTed Gould <ted@gould.cx>2010-01-07 13:35:48 -0600
commit99b4888d63e61e4d2bc4bd61783df992cd9bcdb6 (patch)
tree3ab97efe0f7a4de427f1392999c86b2002e49ce9 /example
parent75de7c2ea6df3d7a4b5f245a0e7fea706a8a93ee (diff)
parente76d63c3cfdcbb39419499681e9d58448c693c92 (diff)
downloadayatana-indicator-application-99b4888d63e61e4d2bc4bd61783df992cd9bcdb6.tar.gz
ayatana-indicator-application-99b4888d63e61e4d2bc4bd61783df992cd9bcdb6.tar.bz2
ayatana-indicator-application-99b4888d63e61e4d2bc4bd61783df992cd9bcdb6.zip
* Upstream update
* Adding ChangeLog to dist * Adding check item support to menu parsing
Diffstat (limited to 'example')
-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);