[gnome-sound-recorder/gnome-3-12] mainWindow.js: Set the audioProfile correctly on startup



commit 539574156cd4fbc2a48a63753709a1420eadc0b3
Author: Meg Ford <megford gnome org>
Date:   Mon Jun 2 00:52:43 2014 -0500

    mainWindow.js: Set the audioProfile correctly on startup

 src/mainWindow.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/mainWindow.js b/src/mainWindow.js
index be4aa97..8578c9b 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -248,7 +248,7 @@ const MainView = new Lang.Class({
         let playVolume = Application.application.getSpeakerVolume();
         let micVolume = Application.application.getMicVolume();
         volumeValue.push({ record: micVolume, play: playVolume });
-        activeProfile = AudioProfile.comboBoxMap.OGG_VORBIS;
+        activeProfile = Application.application.getPreferences();
                 
         this.recordGrid = new Gtk.Grid({ orientation: Gtk.Orientation.HORIZONTAL,
                                          height_request: 36,


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