aboutsummaryrefslogtreecommitdiff
path: root/tests/dummy-indicator-signaler.c
diff options
context:
space:
mode:
authorLuke Yelavich <luke.yelavich@canonical.com>2011-01-18 16:50:37 +1100
committerLuke Yelavich <luke.yelavich@canonical.com>2011-01-18 16:50:37 +1100
commit9215e19e801f59a2abd4dd92563cfe50f366f635 (patch)
tree9b4230d2bdc7a7bb1e46e429db8289ce6e8df3fc /tests/dummy-indicator-signaler.c
parentab0f0abc3571f801ffff8c42ad87d1e53d6a8ccf (diff)
downloadlibayatana-indicator-9215e19e801f59a2abd4dd92563cfe50f366f635.tar.gz
libayatana-indicator-9215e19e801f59a2abd4dd92563cfe50f366f635.tar.bz2
libayatana-indicator-9215e19e801f59a2abd4dd92563cfe50f366f635.zip
Add accessible_name variable in indicator entry structure
Diffstat (limited to 'tests/dummy-indicator-signaler.c')
-rw-r--r--tests/dummy-indicator-signaler.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/dummy-indicator-signaler.c b/tests/dummy-indicator-signaler.c
index 9bd01bf..7dbe704 100644
--- a/tests/dummy-indicator-signaler.c
+++ b/tests/dummy-indicator-signaler.c
@@ -50,6 +50,12 @@ get_menu (IndicatorObject * io)
return main_menu;
}
+gchar *
+get_accessible_name (IndicatorObject * io)
+{
+ return "Signaler Item";
+}
+
static void dummy_indicator_signaler_class_init (DummyIndicatorSignalerClass *klass);
static void dummy_indicator_signaler_init (DummyIndicatorSignaler *self);
static void dummy_indicator_signaler_dispose (GObject *object);
@@ -70,6 +76,7 @@ dummy_indicator_signaler_class_init (DummyIndicatorSignalerClass *klass)
io_class->get_label = get_label;
io_class->get_image = get_icon;
io_class->get_menu = get_menu;
+ io_class->get_accessible_name = get_accessible_name;
return;
}