aboutsummaryrefslogtreecommitdiff
path: root/bindings/mono/examples/IndicatorExample.cs
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-12-03 21:37:58 -0600
committerTed Gould <ted@gould.cx>2010-12-03 21:37:58 -0600
commit2855f7ddc41cee49729cc94a43a3bead2de22055 (patch)
treef04bc5fb347c145d8ee5a015967ccfb2e3faaa85 /bindings/mono/examples/IndicatorExample.cs
parent40c2ed841e817647a7f9bf0798815bbf8279769c (diff)
parent671666f8ece765624fe6f2c94e6ece24688c5b8c (diff)
downloadlibayatana-appindicator-2855f7ddc41cee49729cc94a43a3bead2de22055.tar.gz
libayatana-appindicator-2855f7ddc41cee49729cc94a43a3bead2de22055.tar.bz2
libayatana-appindicator-2855f7ddc41cee49729cc94a43a3bead2de22055.zip
Merging in removing of the service
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 ();