diff options
author | Cody Russell <crussell@canonical.com> | 2010-01-07 13:34:11 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-01-07 13:34:11 -0600 |
commit | e76d63c3cfdcbb39419499681e9d58448c693c92 (patch) | |
tree | 56b4373bdb70453fa8f85e67dd74f47282687b87 /example/simple-client.c | |
parent | dd2ed951b8aeb16671bebd2ea104953252ab54a5 (diff) | |
parent | a60f25e5ca657a7c781bed90fd67020c7caa2320 (diff) | |
download | ayatana-indicator-application-e76d63c3cfdcbb39419499681e9d58448c693c92.tar.gz ayatana-indicator-application-e76d63c3cfdcbb39419499681e9d58448c693c92.tar.bz2 ayatana-indicator-application-e76d63c3cfdcbb39419499681e9d58448c693c92.zip |
Support for check items in the libappindicator menu parser.
Diffstat (limited to 'example/simple-client.c')
-rw-r--r-- | example/simple-client.c | 4 |
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); |