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



commit 270c79da284254e148929910190388e35cfbab6f
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 ef25fba..273cc75 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]