summaryrefslogtreecommitdiff
path: root/mate-volume-control
diff options
context:
space:
mode:
Diffstat (limited to 'mate-volume-control')
-rw-r--r--mate-volume-control/data/mate-volume-control-applet.desktop.in2
-rw-r--r--mate-volume-control/data/mate-volume-control.desktop.in.in2
-rw-r--r--mate-volume-control/src/gvc-mixer-dialog.c10
3 files changed, 11 insertions, 3 deletions
diff --git a/mate-volume-control/data/mate-volume-control-applet.desktop.in b/mate-volume-control/data/mate-volume-control-applet.desktop.in
index 2977ae6..90f9ee3 100644
--- a/mate-volume-control/data/mate-volume-control-applet.desktop.in
+++ b/mate-volume-control/data/mate-volume-control-applet.desktop.in
@@ -5,7 +5,7 @@ Icon=multimedia-volume-control
Exec=mate-volume-control-applet
Terminal=false
Type=Application
-Categories=GTK;Settings;HardwareSettings;
+Categories=AudioVideo;Mixer;Settings;HardwareSettings;
NoDisplay=true
OnlyShowIn=MATE;
X-MATE-Bugzilla-Bugzilla=MATE
diff --git a/mate-volume-control/data/mate-volume-control.desktop.in.in b/mate-volume-control/data/mate-volume-control.desktop.in.in
index 7005d13..341e99d 100644
--- a/mate-volume-control/data/mate-volume-control.desktop.in.in
+++ b/mate-volume-control/data/mate-volume-control.desktop.in.in
@@ -6,7 +6,7 @@ Icon=multimedia-volume-control
Terminal=false
Type=Application
StartupNotify=true
-Categories=MATE;GTK;Settings;HardwareSettings;
+Categories=AudioVideo;Mixer;Settings;HardwareSettings;
OnlyShowIn=MATE;
X-MATE-Bugzilla-Bugzilla=MATE
X-MATE-Bugzilla-Product=mate-media
diff --git a/mate-volume-control/src/gvc-mixer-dialog.c b/mate-volume-control/src/gvc-mixer-dialog.c
index b93518c..37eaaf0 100644
--- a/mate-volume-control/src/gvc-mixer-dialog.c
+++ b/mate-volume-control/src/gvc-mixer-dialog.c
@@ -64,6 +64,7 @@ struct GvcMixerDialogPrivate
GtkWidget *input_box;
GtkWidget *output_box;
GtkWidget *applications_box;
+ GtkWidget *applications_scrolled_window;
GtkWidget *no_apps_label;
GtkWidget *output_treeview;
GtkWidget *output_settings_box;
@@ -1960,11 +1961,18 @@ gvc_mixer_dialog_constructor (GType type,
gtk_container_add (GTK_CONTAINER (box), self->priv->output_settings_box);
/* Applications */
+ self->priv->applications_scrolled_window = gtk_scrolled_window_new (NULL, NULL);
+ gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (self->priv->applications_scrolled_window),
+ GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
+ gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (self->priv->applications_scrolled_window),
+ GTK_SHADOW_IN);
self->priv->applications_box = gtk_vbox_new (FALSE, 12);
gtk_container_set_border_width (GTK_CONTAINER (self->priv->applications_box), 12);
+ gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (self->priv->applications_scrolled_window),
+ self->priv->applications_box);
label = gtk_label_new (_("Applications"));
gtk_notebook_append_page (GTK_NOTEBOOK (self->priv->notebook),
- self->priv->applications_box,
+ self->priv->applications_scrolled_window,
label);
self->priv->no_apps_label = gtk_label_new (_("No application is currently playing or recording audio."));
gtk_box_pack_start (GTK_BOX (self->priv->applications_box),