diff options
author | Ted Gould <ted@gould.cx> | 2011-02-16 15:10:23 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-02-16 15:10:23 -0600 |
commit | 01fe1bccaab200186bd403cca1f199af0e016ce1 (patch) | |
tree | 08fef8cdde91060a99878224b38a0996b75b121b /tests/dummy-indicator-simple.c | |
parent | 2b78c2fe68593532f69ce18a6898058dfa67e10c (diff) | |
parent | a51274553b1a95227abefc80a65e2cc74364c7b2 (diff) | |
download | libayatana-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.c | 7 |
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; } |