diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2012-03-21 16:23:18 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2012-03-21 16:23:18 -0500 |
commit | 812ded8224978f47453e53eb63fc11c754bac0c6 (patch) | |
tree | a757b8957f3ee95d10d83f56ef4a8fb4f1173858 /bindings/vala | |
parent | b681b75cecff5f916350c6340c137a7c99e7a0c6 (diff) | |
parent | d4b572c408dcfa78695b47f0c1f2860e8819276f (diff) | |
download | libayatana-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.vala | 6 |
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); |