aboutsummaryrefslogtreecommitdiff
path: root/bindings/mono/examples/IndicatorExample.cs
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2010-12-08 04:27:50 -0500
committerKen VanDine <ken.vandine@canonical.com>2010-12-08 04:27:50 -0500
commitbe69a42947c59dc9a047e3cb304e858db669bb95 (patch)
treec3b66304300acb67f41ed8dd931df52a80c05560 /bindings/mono/examples/IndicatorExample.cs
parent853fe81d0bab3ba0011a6759026223e96013a762 (diff)
parentc05b64af5fc28789f404629d64a1ade4d6c6da34 (diff)
downloadlibayatana-appindicator-be69a42947c59dc9a047e3cb304e858db669bb95.tar.gz
libayatana-appindicator-be69a42947c59dc9a047e3cb304e858db669bb95.tar.bz2
libayatana-appindicator-be69a42947c59dc9a047e3cb304e858db669bb95.zip
* New upstream release.
* A race fix on the dbus name (LP: #526499) * Fixing the Watcher Interface * Fixes to build with GTK 2/3 * Fixes to build with valac-0.12 * debian/control - Changed the valac build depends to valac-0.12 * debian/python-appindicator.install - Make sure python2.6 and python2.7 files get included * debian/rules - Fix builds for multiple python versions - disable parallel builds, it breaks the mono binding generation
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 ();