aboutsummaryrefslogtreecommitdiff
path: root/src/mute-menu-item.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-02-07 11:19:17 +0000
committerConor Curran <conor.curran@canonical.com>2011-02-07 11:19:17 +0000
commitdf4cae2aab47e33f20528b9d35a3c942c4a97eac (patch)
tree0836d4609583fd321290d318b0dbcdabca65bfed /src/mute-menu-item.c
parent381d827c0da72499f6092c7bb8cb6238ba0d2746 (diff)
downloadayatana-indicator-sound-df4cae2aab47e33f20528b9d35a3c942c4a97eac.tar.gz
ayatana-indicator-sound-df4cae2aab47e33f20528b9d35a3c942c4a97eac.tar.bz2
ayatana-indicator-sound-df4cae2aab47e33f20528b9d35a3c942c4a97eac.zip
fully functional once again
Diffstat (limited to 'src/mute-menu-item.c')
-rw-r--r--src/mute-menu-item.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mute-menu-item.c b/src/mute-menu-item.c
index fdd4391..df98d5d 100644
--- a/src/mute-menu-item.c
+++ b/src/mute-menu-item.c
@@ -1,4 +1,4 @@
-/*
+#/*
Copyright 2011 Canonical Ltd.
Authors:
@@ -24,7 +24,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#include "common-defs.h"
#include "mute-menu-item.h"
-#include "pulse-manager.h"
+#include "pulseaudio-mgr.h"
typedef struct _MuteMenuItemPrivate MuteMenuItemPrivate;
@@ -90,10 +90,8 @@ mute_menu_item_set_global_mute_from_ui (gpointer user_data)
DbusmenuMenuitem* button = DBUSMENU_MENUITEM (user_data);
gboolean current_value = dbusmenu_menuitem_property_get_bool (button,
DBUSMENU_MUTE_MENUITEM_VALUE);
-
gboolean new_value = !current_value;
- // pa manager api - to be refactored
- //toggle_global_mute (new_value);
+ pm_update_mute (new_value);
}
void