summaryrefslogtreecommitdiff
path: root/mate-volume-control/src
diff options
context:
space:
mode:
Diffstat (limited to 'mate-volume-control/src')
-rw-r--r--mate-volume-control/src/gvc-stream-status-icon.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/mate-volume-control/src/gvc-stream-status-icon.c b/mate-volume-control/src/gvc-stream-status-icon.c
index b7c1b73..3ede4b1 100644
--- a/mate-volume-control/src/gvc-stream-status-icon.c
+++ b/mate-volume-control/src/gvc-stream-status-icon.c
@@ -26,9 +26,8 @@
#include <libmatemixer/matemixer.h>
-//#define MATE_DESKTOP_USE_UNSTABLE_API
-
-//#include <libmate-desktop/mate-desktop-utils.h>
+#define MATE_DESKTOP_USE_UNSTABLE_API
+#include <libmate-desktop/mate-desktop-utils.h>
#include "gvc-channel-bar.h"
#include "gvc-stream-status-icon.h"
@@ -219,11 +218,10 @@ on_menu_activate_open_volume_control (GtkMenuItem *item,
{
GError *error = NULL;
-/*
- mate_spawn_command_line_on_screen (gtk_widget_get_screen (icon->priv->dock),
- "mate-volume-control",
- &error);
- */
+ mate_gdk_spawn_command_line_on_screen (gtk_widget_get_screen (icon->priv->dock),
+ "mate-volume-control",
+ &error);
+
if (error != NULL) {
GtkWidget *dialog;