[gnome-flashback] sound-applet: allow to set volume more then 100%



commit 2faa377a1d3ddeb1696e9679f7fceff4c1f95ffa
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Thu Sep 10 11:35:35 2015 +0300

    sound-applet: allow to set volume more then 100%
    
    https://bugzilla.gnome.org/show_bug.cgi?id=632720

 .../libsound-applet/gvc-stream-status-icon.c       |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gnome-flashback/libsound-applet/gvc-stream-status-icon.c 
b/gnome-flashback/libsound-applet/gvc-stream-status-icon.c
index d8161d6..70044ca 100644
--- a/gnome-flashback/libsound-applet/gvc-stream-status-icon.c
+++ b/gnome-flashback/libsound-applet/gvc-stream-status-icon.c
@@ -568,6 +568,11 @@ gvc_stream_status_icon_set_mixer_stream (GvcStreamStatusIcon *icon,
                                   "notify::is-muted",
                                   G_CALLBACK (on_stream_is_muted_notify),
                                   icon);
+
+                gvc_channel_bar_set_base_volume (GVC_CHANNEL_BAR (icon->priv->bar),
+                                                 gvc_mixer_stream_get_base_volume (stream));
+                gvc_channel_bar_set_is_amplified (GVC_CHANNEL_BAR (icon->priv->bar),
+                                                  gvc_mixer_stream_get_can_decibel (stream));
         }
 
         update_icon (icon);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]