aboutsummaryrefslogtreecommitdiff
path: root/example/simple-client.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-02-24 16:02:16 -0600
committerTed Gould <ted@gould.cx>2011-02-24 16:02:16 -0600
commit59d8e5d84c42b48efbe5874b2363b30004012a8b (patch)
tree00de0898518d94b88093efdd3aee9d85357e170b /example/simple-client.c
parentdd6a45171e4d9c93247805043806f1a2e06d362c (diff)
parent7a1564e995770915a51c411a1856508db19206e9 (diff)
downloadlibayatana-appindicator-59d8e5d84c42b48efbe5874b2363b30004012a8b.tar.gz
libayatana-appindicator-59d8e5d84c42b48efbe5874b2363b30004012a8b.tar.bz2
libayatana-appindicator-59d8e5d84c42b48efbe5874b2363b30004012a8b.zip
* New upstream release.
* Add support for accessible descriptions * Move deregistration of object later to send final signals
Diffstat (limited to 'example/simple-client.c')
-rw-r--r--example/simple-client.c6
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",