diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2011-02-24 22:15:21 -0500 |
---|---|---|
committer | Ken VanDine <ken.vandine@canonical.com> | 2011-02-24 22:15:21 -0500 |
commit | 5f97e91d0017b93369d3ddc7e7354a8f285bf336 (patch) | |
tree | 0a340347ff7d0532e0e5862d5391eaaa7a92575e /example/simple-client.c | |
parent | 3c0119b757b0c9f449d944e4423ff7d8ec723eaf (diff) | |
parent | 22fbdf6340b9b4e233c033e20009d2c65d18c804 (diff) | |
download | libayatana-appindicator-0.2.96-0ubuntu1.tar.gz libayatana-appindicator-0.2.96-0ubuntu1.tar.bz2 libayatana-appindicator-0.2.96-0ubuntu1.zip |
releasing version 0.2.96-0ubuntu10.2.96-0ubuntu1
Diffstat (limited to 'example/simple-client.c')
-rw-r--r-- | example/simple-client.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/example/simple-client.c b/example/simple-client.c index 1cf06dc..9e63e14 100644 --- a/example/simple-client.c +++ b/example/simple-client.c @@ -65,9 +65,9 @@ local_icon_toggle_cb (GtkWidget *widget, gpointer data) AppIndicator * ci = APP_INDICATOR(data); if (gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(widget))) { - app_indicator_set_icon(ci, LOCAL_ICON); + app_indicator_set_icon_full(ci, LOCAL_ICON, "Local Icon"); } else { - app_indicator_set_icon(ci, "indicator-messages"); + app_indicator_set_icon_full(ci, "indicator-messages", "System Icon"); } return; @@ -165,7 +165,7 @@ main (int argc, char ** argv) g_assert (G_IS_OBJECT (ci)); app_indicator_set_status (ci, APP_INDICATOR_STATUS_ACTIVE); - app_indicator_set_attention_icon(ci, "indicator-messages-new"); + app_indicator_set_attention_icon_full(ci, "indicator-messages-new", "System Messages Icon Highlighted"); app_indicator_set_label (ci, "1%", "100%"); g_signal_connect (ci, "scroll-event", |