aboutsummaryrefslogtreecommitdiff
path: root/bindings/mono/examples
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-12-07 20:48:49 -0600
committerTed Gould <ted@gould.cx>2010-12-07 20:48:49 -0600
commit4478b59180eeca30d6d7a28db0cefc26672bca23 (patch)
tree0051f4dd16b634466fbbd33c810c2eba3c930558 /bindings/mono/examples
parent15d58f52744f1632d2a2f25a81e53f8fa1fee817 (diff)
parenta413ebac8c43f24d72cfeb983170204418201b58 (diff)
downloadlibayatana-appindicator-4478b59180eeca30d6d7a28db0cefc26672bca23.tar.gz
libayatana-appindicator-4478b59180eeca30d6d7a28db0cefc26672bca23.tar.bz2
libayatana-appindicator-4478b59180eeca30d6d7a28db0cefc26672bca23.zip
* New upstream release.
* Fixes to build with GTK 2/3 * Fixes to build with valac-0.12
Diffstat (limited to 'bindings/mono/examples')
-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 ();