aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-sound.c
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2011-11-07 04:07:52 +0100
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2011-11-07 04:07:52 +0100
commit165dad49ccada35cdff74ae9692e9b5f6ec43a38 (patch)
tree95667756dbcec31cb8fc56353b2cc4e0948b5d19 /src/indicator-sound.c
parentef3495e8ca6aa257c2d3123a7b0a25067570b0de (diff)
downloadayatana-indicator-sound-165dad49ccada35cdff74ae9692e9b5f6ec43a38.tar.gz
ayatana-indicator-sound-165dad49ccada35cdff74ae9692e9b5f6ec43a38.tar.bz2
ayatana-indicator-sound-165dad49ccada35cdff74ae9692e9b5f6ec43a38.zip
Indicator-sound: Added the "indicator-sound" name hint.
Diffstat (limited to 'src/indicator-sound.c')
-rw-r--r--src/indicator-sound.c6
1 files changed, 6 insertions, 0 deletions
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,