aboutsummaryrefslogtreecommitdiff
path: root/bindings/vala/examples
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/vala/examples')
-rw-r--r--bindings/vala/examples/ayatana-indicator-example.vala4
1 files changed, 3 insertions, 1 deletions
diff --git a/bindings/vala/examples/ayatana-indicator-example.vala b/bindings/vala/examples/ayatana-indicator-example.vala
index 4804314..55535ab 100644
--- a/bindings/vala/examples/ayatana-indicator-example.vala
+++ b/bindings/vala/examples/ayatana-indicator-example.vala
@@ -1,5 +1,6 @@
/*
* Copyright 2011 Canonical Ltd.
+ * Copyright 2022 Robert Tari
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 3, as published
@@ -15,6 +16,7 @@
*
* Authors:
* Marco Trevisan (TreviƱo) <mail@3v1n0.net>
+ * Robert Tari <robert@tari.in>
*/
using Gtk;
@@ -37,7 +39,7 @@ public class IndicatorExample {
if (!(indicator is Indicator)) return -1;
indicator.set_status(IndicatorStatus.ACTIVE);
- indicator.set_attention_icon("indicator-messages-new");
+ indicator.set_attention_icon_full("indicator-messages-new", null);
var menu = new Gtk.Menu();