Changing soundpacks from settings take effect

This commit is contained in:
Manuel Cortez 2015-03-11 05:54:46 -06:00
parent 9d4063b662
commit 4c56850da6
2 changed files with 2 additions and 3 deletions

View File

@ -136,8 +136,7 @@ class accountSettingsController(globalSettingsController):
self.config["sound"]["output_device"] = "default" self.config["sound"]["output_device"] = "default"
self.config["sound"]["volume"] = self.dialog.get_value("sound", "volumeCtrl")/100.0 self.config["sound"]["volume"] = self.dialog.get_value("sound", "volumeCtrl")/100.0
self.config["sound"]["global_mute"] = self.dialog.get_value("sound", "global_mute") self.config["sound"]["global_mute"] = self.dialog.get_value("sound", "global_mute")
print self.dialog.sound.get("soundpack") self.config["sound"]["current_soundpack"] = self.dialog.sound.get("soundpack")
self.config["sound"]["soundpack"] = self.dialog.sound.get("soundpack")
self.buffer.session.sound.config = self.config["sound"] self.buffer.session.sound.config = self.config["sound"]
self.buffer.session.sound.check_soundpack() self.buffer.session.sound.check_soundpack()
self.config["sound"]["sndup_api_key"] = self.dialog.get_value("services", "apiKey") self.config["sound"]["sndup_api_key"] = self.dialog.get_value("services", "apiKey")

View File

@ -1,5 +1,5 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
""" This module contains some bugfixes for packages used in TWBlue. We will make pull requests to the source code of these packages.""" """ This module contains some bugfixes for packages used in TWBlue."""
import fix_arrow # A few new locales for Three languages in arrow. import fix_arrow # A few new locales for Three languages in arrow.
def setup(): def setup():