diff options
author | Ted Gould <ted@gould.cx> | 2012-01-28 21:38:55 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2012-01-28 21:38:55 -0600 |
commit | 84ba24014072bc09f8200d252c6e8a35b00e593c (patch) | |
tree | 5094c72cc5290f1163a539e7c6fe1b044d543cf0 /example | |
parent | f12cf320a0d665e2c304b4415aac3cedfaf559a1 (diff) | |
download | libayatana-appindicator-84ba24014072bc09f8200d252c6e8a35b00e593c.tar.gz libayatana-appindicator-84ba24014072bc09f8200d252c6e8a35b00e593c.tar.bz2 libayatana-appindicator-84ba24014072bc09f8200d252c6e8a35b00e593c.zip |
Setting the titles in the examples
Diffstat (limited to 'example')
-rw-r--r-- | example/simple-client-vala.vala | 1 | ||||
-rw-r--r-- | example/simple-client.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/example/simple-client-vala.vala b/example/simple-client-vala.vala index 8d661ce..1b8bad9 100644 --- a/example/simple-client-vala.vala +++ b/example/simple-client-vala.vala @@ -46,6 +46,7 @@ class SimpleClient { ci.set_status(IndicatorStatus.ACTIVE); ci.set_attention_icon("indicator-messages-new"); ci.set_label("1%", "100%"); + ci.set_title("Test Indicator (vala)"); active = true; can_haz_label = true; diff --git a/example/simple-client.c b/example/simple-client.c index dcee81b..6d67955 100644 --- a/example/simple-client.c +++ b/example/simple-client.c @@ -167,6 +167,7 @@ main (int argc, char ** argv) app_indicator_set_status (ci, APP_INDICATOR_STATUS_ACTIVE); app_indicator_set_attention_icon_full(ci, "indicator-messages-new", "System Messages Icon Highlighted"); app_indicator_set_label (ci, "1%", "100%"); + app_indicator_set_title (ci, "Test Inidcator"); g_signal_connect (ci, "scroll-event", G_CALLBACK (scroll_event_cb), NULL); |