aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-02-24 16:01:21 -0600
committerTed Gould <ted@gould.cx>2011-02-24 16:01:21 -0600
commit7a1564e995770915a51c411a1856508db19206e9 (patch)
tree08513a375dbcc01cd2ee27b6d833ce777c13131c /example
parent596f48a0a0c29e683fb31bc837ff54b1b8ca7343 (diff)
parentd634d56953314f19911f4331b7e9a03f04f20b7f (diff)
downloadlibayatana-appindicator-7a1564e995770915a51c411a1856508db19206e9.tar.gz
libayatana-appindicator-7a1564e995770915a51c411a1856508db19206e9.tar.bz2
libayatana-appindicator-7a1564e995770915a51c411a1856508db19206e9.zip
Import upstream version 0.2.96
Diffstat (limited to 'example')
-rw-r--r--example/simple-client-vala.c2
-rw-r--r--example/simple-client.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/example/simple-client-vala.c b/example/simple-client-vala.c
index 0053429..44dca9e 100644
--- a/example/simple-client-vala.c
+++ b/example/simple-client-vala.c
@@ -1,4 +1,4 @@
-/* simple-client-vala.c generated by valac 0.11.5, the Vala compiler
+/* simple-client-vala.c generated by valac 0.11.6, the Vala compiler
* generated from simple-client-vala.vala, do not modify */
/*
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",