From 165dad49ccada35cdff74ae9692e9b5f6ec43a38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Mon, 7 Nov 2011 04:07:52 +0100 Subject: Indicator-sound: Added the "indicator-sound" name hint. --- src/indicator-sound.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/indicator-sound.c') diff --git a/src/indicator-sound.c b/src/indicator-sound.c index 7c72900..ee90647 100644 --- a/src/indicator-sound.c +++ b/src/indicator-sound.c @@ -74,6 +74,7 @@ static GtkLabel * get_label (IndicatorObject * io); static GtkImage * get_icon (IndicatorObject * io); static GtkMenu * get_menu (IndicatorObject * io); static const gchar * get_accessible_desc (IndicatorObject * io); +static const gchar * get_name_hint (IndicatorObject * io); static void indicator_sound_scroll (IndicatorObject * io, IndicatorObjectEntry * entry, gint delta, IndicatorScrollDirection direction); @@ -133,6 +134,7 @@ indicator_sound_class_init (IndicatorSoundClass *klass) io_class->get_image = get_icon; io_class->get_menu = get_menu; io_class->get_accessible_desc = get_accessible_desc; + io_class->get_name_hint = get_name_hint; io_class->entry_scrolled = indicator_sound_scroll; io_class->secondary_activate = indicator_sound_middle_click; } @@ -241,6 +243,10 @@ get_accessible_desc (IndicatorObject * io) return NULL; } +static const gchar * get_name_hint (IndicatorObject * io) +{ + return "indicator-sound"; +} static void connection_changed (IndicatorServiceManager * sm, -- cgit v1.2.3