aboutsummaryrefslogtreecommitdiff
path: root/tests/dummy-indicator-simple.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-02-16 15:10:23 -0600
committerTed Gould <ted@gould.cx>2011-02-16 15:10:23 -0600
commit01fe1bccaab200186bd403cca1f199af0e016ce1 (patch)
tree08fef8cdde91060a99878224b38a0996b75b121b /tests/dummy-indicator-simple.c
parent2b78c2fe68593532f69ce18a6898058dfa67e10c (diff)
parenta51274553b1a95227abefc80a65e2cc74364c7b2 (diff)
downloadlibayatana-indicator-01fe1bccaab200186bd403cca1f199af0e016ce1.tar.gz
libayatana-indicator-01fe1bccaab200186bd403cca1f199af0e016ce1.tar.bz2
libayatana-indicator-01fe1bccaab200186bd403cca1f199af0e016ce1.zip
Merging support for having an accessible description
Diffstat (limited to 'tests/dummy-indicator-simple.c')
-rw-r--r--tests/dummy-indicator-simple.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/dummy-indicator-simple.c b/tests/dummy-indicator-simple.c
index 654650f..70937ba 100644
--- a/tests/dummy-indicator-simple.c
+++ b/tests/dummy-indicator-simple.c
@@ -50,6 +50,12 @@ get_menu (IndicatorObject * io)
return main_menu;
}
+const gchar *
+get_accessible_desc (IndicatorObject * io)
+{
+ return "Simple Item";
+}
+
static void dummy_indicator_simple_class_init (DummyIndicatorSimpleClass *klass);
static void dummy_indicator_simple_init (DummyIndicatorSimple *self);
static void dummy_indicator_simple_dispose (GObject *object);
@@ -70,6 +76,7 @@ dummy_indicator_simple_class_init (DummyIndicatorSimpleClass *klass)
io_class->get_label = get_label;
io_class->get_image = get_icon;
io_class->get_menu = get_menu;
+ io_class->get_accessible_desc = get_accessible_desc;
return;
}