aboutsummaryrefslogtreecommitdiff
path: root/tests/dummy-indicator-simple.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-02-17 10:19:45 -0600
committerTed Gould <ted@gould.cx>2011-02-17 10:19:45 -0600
commit7840128ffb7df770b4ff84c2ec6472e3fcb43d3d (patch)
tree13a2e25db352c4589611f18c4603f76517ec1b36 /tests/dummy-indicator-simple.c
parentb22f471a026de778bc2594b23768d1a3024f27c3 (diff)
parent27d079891cdcc65bc1e7174a2d8dfe6bb2f639df (diff)
downloadlibayatana-indicator-7840128ffb7df770b4ff84c2ec6472e3fcb43d3d.tar.gz
libayatana-indicator-7840128ffb7df770b4ff84c2ec6472e3fcb43d3d.tar.bz2
libayatana-indicator-7840128ffb7df770b4ff84c2ec6472e3fcb43d3d.zip
Import upstream version 0.3.19
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;
}