aboutsummaryrefslogtreecommitdiff
path: root/bindings/vala
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-03-21 16:23:18 -0500
committerCharles Kerr <charles.kerr@canonical.com>2012-03-21 16:23:18 -0500
commit812ded8224978f47453e53eb63fc11c754bac0c6 (patch)
treea757b8957f3ee95d10d83f56ef4a8fb4f1173858 /bindings/vala
parentb681b75cecff5f916350c6340c137a7c99e7a0c6 (diff)
parentd4b572c408dcfa78695b47f0c1f2860e8819276f (diff)
downloadlibayatana-appindicator-812ded8224978f47453e53eb63fc11c754bac0c6.tar.gz
libayatana-appindicator-812ded8224978f47453e53eb63fc11c754bac0c6.tar.bz2
libayatana-appindicator-812ded8224978f47453e53eb63fc11c754bac0c6.zip
Import upstream version 0.4.92
Diffstat (limited to 'bindings/vala')
-rw-r--r--bindings/vala/examples/indicator-example.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/bindings/vala/examples/indicator-example.vala b/bindings/vala/examples/indicator-example.vala
index 8feb4ba..764009f 100644
--- a/bindings/vala/examples/indicator-example.vala
+++ b/bindings/vala/examples/indicator-example.vala
@@ -39,16 +39,16 @@ public class IndicatorExample {
indicator.set_status(IndicatorStatus.ACTIVE);
indicator.set_attention_icon("indicator-messages-new");
- var menu = new Menu();
+ var menu = new Gtk.Menu();
- var item = new MenuItem.with_label("Foo");
+ var item = new Gtk.MenuItem.with_label("Foo");
item.activate.connect(() => {
indicator.set_status(IndicatorStatus.ATTENTION);
});
item.show();
menu.append(item);
- var bar = item = new MenuItem.with_label("Bar");
+ var bar = item = new Gtk.MenuItem.with_label("Bar");
item.show();
item.activate.connect(() => {
indicator.set_status(IndicatorStatus.ACTIVE);