aboutsummaryrefslogtreecommitdiff
path: root/bindings
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2011-07-18 18:10:58 +0200
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2011-07-18 18:10:58 +0200
commit4574948f9633981df5629a99679683972ab2adae (patch)
tree5dee399d78278c894b619fd5cef990f18ee0a80e /bindings
parent0e4c805aa984369a1aad72e1a6591d013edaf280 (diff)
downloadlibayatana-appindicator-4574948f9633981df5629a99679683972ab2adae.tar.gz
libayatana-appindicator-4574948f9633981df5629a99679683972ab2adae.tar.bz2
libayatana-appindicator-4574948f9633981df5629a99679683972ab2adae.zip
mono bindings: added SecondaryActivate support.
Updated the example too.
Diffstat (limited to 'bindings')
-rw-r--r--bindings/mono/examples/IndicatorExample.cs4
-rw-r--r--bindings/mono/libappindicator-api.metadata2
2 files changed, 6 insertions, 0 deletions
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 @@
<attr path="/api/namespace/object[@cname='AppIndicator']/signal[@field_name='new_accessible_desc']" name="cname">new-accessible-desc</attr>
<attr path="/api/namespace/object[@cname='AppIndicator']/signal[@field_name='connection_changed']" name="name">ConnectionChanged</attr>
<attr path="/api/namespace/object[@cname='AppIndicator']/signal[@field_name='connection_changed']" name="cname">connection-changed</attr>
+ <attr path="/api/namespace/object[@cname='AppIndicator']/signal[@field_name='secondary_activate']" name="name">SecondaryActivate</attr>
+ <attr path="/api/namespace/object[@cname='AppIndicator']/signal[@field_name='secondary_activate']" name="cname">secondary-activate</attr>
<attr path="/api/namespace/object[@cname='AppIndicator']/signal[@field_name='scroll_event']" name="name">ScrollEvent</attr>
<attr path="/api/namespace/object[@cname='AppIndicator']/signal[@field_name='scroll_event']" name="cname">scroll-event</attr>
<attr path="/api/namespace/object[@cname='AppIndicator']/signal[@field_name='new_icon']" name="name">NewIcon</attr>