aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorCody Russell <crussell@canonical.com>2010-01-07 13:01:01 -0600
committerCody Russell <crussell@canonical.com>2010-01-07 13:01:01 -0600
commita60f25e5ca657a7c781bed90fd67020c7caa2320 (patch)
tree56b4373bdb70453fa8f85e67dd74f47282687b87 /example
parent6bde6a4be29ba003b483b9db76226a95419ce115 (diff)
downloadayatana-indicator-application-a60f25e5ca657a7c781bed90fd67020c7caa2320.tar.gz
ayatana-indicator-application-a60f25e5ca657a7c781bed90fd67020c7caa2320.tar.bz2
ayatana-indicator-application-a60f25e5ca657a7c781bed90fd67020c7caa2320.zip
Toggle events
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 850ef18..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_check_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);