aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-sound.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-09-06 13:19:53 +0100
committerConor Curran <conor.curran@canonical.com>2010-09-06 13:19:53 +0100
commit41b5b22e56892b7246f5bcfc270d685f052c0f70 (patch)
treebf285767d0633fc2666c895b0eda577f24823180 /src/indicator-sound.c
parent0d231118f14f622ca025ac29db0b2cd0eeaec004 (diff)
downloadayatana-indicator-sound-41b5b22e56892b7246f5bcfc270d685f052c0f70.tar.gz
ayatana-indicator-sound-41b5b22e56892b7246f5bcfc270d685f052c0f70.tar.bz2
ayatana-indicator-sound-41b5b22e56892b7246f5bcfc270d685f052c0f70.zip
tried everything, the image will not show on the menu
Diffstat (limited to 'src/indicator-sound.c')
-rw-r--r--src/indicator-sound.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/indicator-sound.c b/src/indicator-sound.c
index 937ed68..4f954c3 100644
--- a/src/indicator-sound.c
+++ b/src/indicator-sound.c
@@ -48,7 +48,6 @@ typedef struct _IndicatorSoundPrivate IndicatorSoundPrivate;
struct _IndicatorSoundPrivate
{
GtkWidget* volume_widget;
- //DbusmenuGtkMenu* menu;
};
#define INDICATOR_SOUND_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), INDICATOR_SOUND_TYPE, IndicatorSoundPrivate))
@@ -211,8 +210,6 @@ static GtkMenu *
get_menu (IndicatorObject * io)
{
DbusmenuGtkMenu* menu = dbusmenu_gtkmenu_new(INDICATOR_SOUND_DBUS_NAME, INDICATOR_SOUND_DBUS_OBJECT);
- //IndicatorSoundPrivate* priv = INDICATOR_SOUND_GET_PRIVATE(INDICATOR_SOUND (io));
- //priv->menu = menu;
DbusmenuGtkClient *client = dbusmenu_gtkmenu_get_client(menu);
g_object_set_data (G_OBJECT (client), "indicator", io);
@@ -223,7 +220,6 @@ get_menu (IndicatorObject * io)
dbusmenu_client_add_type_handler(DBUSMENU_CLIENT(client), DBUSMENU_SCRUB_MENUITEM_TYPE, new_scrub_bar_widget);
// register Key-press listening on the menu widget as the slider does not allow this.
g_signal_connect(menu, "key-press-event", G_CALLBACK(key_press_cb), io);
- //priv->menu = menu;
return GTK_MENU(menu);
}