From 4574948f9633981df5629a99679683972ab2adae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Mon, 18 Jul 2011 18:10:58 +0200 Subject: mono bindings: added SecondaryActivate support. Updated the example too. --- bindings/mono/examples/IndicatorExample.cs | 4 ++++ bindings/mono/libappindicator-api.metadata | 2 ++ 2 files changed, 6 insertions(+) (limited to 'bindings/mono') diff --git a/bindings/mono/examples/IndicatorExample.cs b/bindings/mono/examples/IndicatorExample.cs index c18a665..397049b 100644 --- a/bindings/mono/examples/IndicatorExample.cs +++ b/bindings/mono/examples/IndicatorExample.cs @@ -47,6 +47,10 @@ public class IndicatorExample indicator.Menu = menu; indicator.Menu.ShowAll (); + indicator.SecondaryActivate += delegate { + System.Console.WriteLine ("Got secondary activate event"); + }; + win.ShowAll (); Application.Run (); diff --git a/bindings/mono/libappindicator-api.metadata b/bindings/mono/libappindicator-api.metadata index e610c88..c3c81cd 100644 --- a/bindings/mono/libappindicator-api.metadata +++ b/bindings/mono/libappindicator-api.metadata @@ -11,6 +11,8 @@ new-accessible-desc ConnectionChanged connection-changed + SecondaryActivate + secondary-activate ScrollEvent scroll-event NewIcon -- cgit v1.2.3