From e7e460435824dc513b2206ee67a437345de964db Mon Sep 17 00:00:00 2001 From: Ken VanDine Date: Fri, 3 Dec 2010 16:38:48 -0500 Subject: * Explicitly call ShowAll on the menu, otherwise it isn't shown * Specify a panel icon that exists for the example --- bindings/mono/examples/IndicatorExample.cs | 5 +++-- 1 file 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 (); -- cgit v1.2.3