aboutsummaryrefslogtreecommitdiff
path: root/bindings/mono/examples/IndicatorExample.cs
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-12-03 20:42:15 -0600
committerTed Gould <ted@gould.cx>2010-12-03 20:42:15 -0600
commit63f47256a8dc38452d2ea62f7e846ecb44f6d30d (patch)
tree5a0edd3e8c618f521f8c610fb940fa8c1aaaf704 /bindings/mono/examples/IndicatorExample.cs
parent9c008cd03484b38b968618f1877c64215ba2c2fb (diff)
parent0a09bca306de781117fb92b1084dfafc6c267679 (diff)
downloadlibayatana-appindicator-63f47256a8dc38452d2ea62f7e846ecb44f6d30d.tar.gz
libayatana-appindicator-63f47256a8dc38452d2ea62f7e846ecb44f6d30d.tar.bz2
libayatana-appindicator-63f47256a8dc38452d2ea62f7e846ecb44f6d30d.zip
Fixes to the GObject Introspection and Vala files
Diffstat (limited to 'bindings/mono/examples/IndicatorExample.cs')
-rw-r--r--bindings/mono/examples/IndicatorExample.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/bindings/mono/examples/IndicatorExample.cs b/bindings/mono/examples/IndicatorExample.cs
index c34e020..c18a665 100644
--- a/bindings/mono/examples/IndicatorExample.cs
+++ b/bindings/mono/examples/IndicatorExample.cs
@@ -34,8 +34,8 @@ public class IndicatorExample
win.Add (label);
- ApplicationIndicator indicator = new ApplicationIndicator ("my-id",
- "my-name",
+ ApplicationIndicator indicator = new ApplicationIndicator ("Example",
+ "applications-microblogging-panel",
Category.ApplicationStatus);
indicator.Status = Status.Attention;
@@ -45,6 +45,7 @@ public class IndicatorExample
menu.Append (new MenuItem ("Bar"));
indicator.Menu = menu;
+ indicator.Menu.ShowAll ();
win.ShowAll ();