aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-sound.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-06-09 12:15:39 +0200
committerConor Curran <conor.curran@canonical.com>2011-06-09 12:15:39 +0200
commit58627767fbd151587a843fd2397f1c293533664a (patch)
treeb3953dd922e99747e8707dcc5dcda55263366d3d /src/indicator-sound.c
parentbf2c6d9d1f7ac8897c76b8917f4feaeff54816d6 (diff)
downloadayatana-indicator-sound-58627767fbd151587a843fd2397f1c293533664a.tar.gz
ayatana-indicator-sound-58627767fbd151587a843fd2397f1c293533664a.tar.bz2
ayatana-indicator-sound-58627767fbd151587a843fd2397f1c293533664a.zip
merged the title and metadata at the backend, now for the tricky UI work@
Diffstat (limited to 'src/indicator-sound.c')
-rw-r--r--src/indicator-sound.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/indicator-sound.c b/src/indicator-sound.c
index 5002463..da5218f 100644
--- a/src/indicator-sound.c
+++ b/src/indicator-sound.c
@@ -94,10 +94,6 @@ static gboolean new_metadata_widget (DbusmenuMenuitem * newitem,
DbusmenuMenuitem * parent,
DbusmenuClient * client,
gpointer user_data);
-static gboolean new_title_widget (DbusmenuMenuitem * newitem,
- DbusmenuMenuitem * parent,
- DbusmenuClient * client,
- gpointer user_data);
// DBUS communication
static GDBusNodeInfo *node_info = NULL;
@@ -208,9 +204,6 @@ get_menu (IndicatorObject * io)
dbusmenu_client_add_type_handler (DBUSMENU_CLIENT(client),
DBUSMENU_METADATA_MENUITEM_TYPE,
new_metadata_widget);
- dbusmenu_client_add_type_handler (DBUSMENU_CLIENT(client),
- DBUSMENU_TITLE_MENUITEM_TYPE,
- new_title_widget);
// Note: Not ideal but all key handling needs to be managed here and then
// delegated to the appropriate widget.
g_signal_connect (menu, "key-press-event", G_CALLBACK(key_press_cb), io);
@@ -369,7 +362,7 @@ new_metadata_widget (DbusmenuMenuitem * newitem,
return TRUE;
}
-static gboolean
+/*static gboolean
new_title_widget(DbusmenuMenuitem * newitem,
DbusmenuMenuitem * parent,
DbusmenuClient * client,
@@ -391,7 +384,7 @@ new_title_widget(DbusmenuMenuitem * newitem,
newitem,
menu_title_widget, parent);
return TRUE;
-}
+}*/
static gboolean
new_volume_slider_widget(DbusmenuMenuitem * newitem,