aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-10-08 13:20:55 -0500
committerTed Gould <ted@gould.cx>2014-10-08 13:20:55 -0500
commita3359396e93b45678ebb41f23a5d33884fd2ba26 (patch)
tree204d7701be8de2262ebbc21c5a10262171fe5892
parentc0cecdcd99352f2a9b5ecb1d5da599bf4c3d49f7 (diff)
parentdbcb55e3fb48831124a3210abe36f049262bb22d (diff)
downloadayatana-indicator-sound-a3359396e93b45678ebb41f23a5d33884fd2ba26.tar.gz
ayatana-indicator-sound-a3359396e93b45678ebb41f23a5d33884fd2ba26.tar.bz2
ayatana-indicator-sound-a3359396e93b45678ebb41f23a5d33884fd2ba26.zip
Update to trunk
-rw-r--r--debian/changelog19
-rw-r--r--src/sound-menu.vala8
2 files changed, 23 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog
index b6f24dd..e472d77 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,22 @@
+indicator-sound (12.10.2+14.10.20141007-0ubuntu1) utopic; urgency=low
+
+ [ Ted Gould ]
+ * Merge trunk into older branches to resolve conflicts.
+
+ [ Nick Dedekind ]
+ * Use label for Volume sliders.
+
+ [ Mirco Müller ]
+ * Merge trunk into older branches to resolve conflicts.
+
+ [ CI bot ]
+ * Added use of synchronous notifications for volume-changes. (LP:
+ #1232633)
+ * Volume control: properly scale channels when setting the volume (LP:
+ #1374249)
+
+ -- Ubuntu daily release <ps-jenkins@lists.canonical.com> Tue, 07 Oct 2014 02:51:42 +0000
+
indicator-sound (12.10.2+14.10.20141001-0ubuntu2) utopic; urgency=medium
* debian/control: adjusting libpulse-dev version deps
diff --git a/src/sound-menu.vala b/src/sound-menu.vala
index e37c4e9..03faa89 100644
--- a/src/sound-menu.vala
+++ b/src/sound-menu.vala
@@ -35,7 +35,7 @@ public class SoundMenu: Object
this.volume_section = new Menu ();
if ((flags & DisplayFlags.SHOW_MUTE) != 0)
volume_section.append (_("Mute"), "indicator.mute");
- volume_section.append_item (this.create_slider_menu_item ("indicator.volume(0)", 0.0, 1.0, 0.01,
+ volume_section.append_item (this.create_slider_menu_item (_("Volume"), "indicator.volume(0)", 0.0, 1.0, 0.01,
"audio-volume-low-zero-panel",
"audio-volume-high-panel"));
@@ -75,7 +75,7 @@ public class SoundMenu: Object
}
set {
if (value && !this.mic_volume_shown) {
- var slider = this.create_slider_menu_item ("indicator.mic-volume", 0.0, 1.0, 0.01,
+ var slider = this.create_slider_menu_item (_("Microphone Volume"), "indicator.mic-volume", 0.0, 1.0, 0.01,
"audio-input-microphone-low-zero-panel",
"audio-input-microphone-high-panel");
volume_section.append_item (slider);
@@ -227,11 +227,11 @@ public class SoundMenu: Object
player_section.append_submenu (_("Choose Playlist"), submenu);
}
- MenuItem create_slider_menu_item (string action, double min, double max, double step, string min_icon_name, string max_icon_name) {
+ MenuItem create_slider_menu_item (string label, string action, double min, double max, double step, string min_icon_name, string max_icon_name) {
var min_icon = new ThemedIcon.with_default_fallbacks (min_icon_name);
var max_icon = new ThemedIcon.with_default_fallbacks (max_icon_name);
- var slider = new MenuItem (null, action);
+ var slider = new MenuItem (label, action);
slider.set_attribute ("x-canonical-type", "s", "com.canonical.unity.slider");
slider.set_attribute_value ("min-icon", min_icon.serialize ());
slider.set_attribute_value ("max-icon", max_icon.serialize ());