diff options
author | Luke Yelavich <luke.yelavich@canonical.com> | 2011-01-18 16:50:37 +1100 |
---|---|---|
committer | Luke Yelavich <luke.yelavich@canonical.com> | 2011-01-18 16:50:37 +1100 |
commit | 9215e19e801f59a2abd4dd92563cfe50f366f635 (patch) | |
tree | 9b4230d2bdc7a7bb1e46e429db8289ce6e8df3fc /tests/dummy-indicator-signaler.c | |
parent | ab0f0abc3571f801ffff8c42ad87d1e53d6a8ccf (diff) | |
download | libayatana-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.c | 7 |
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; } |