summaryrefslogtreecommitdiff
path: root/nephilim/nephilim_app.py
diff options
context:
space:
mode:
Diffstat (limited to 'nephilim/nephilim_app.py')
-rw-r--r--nephilim/nephilim_app.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/nephilim/nephilim_app.py b/nephilim/nephilim_app.py
index ee3f88c..269cc9e 100644
--- a/nephilim/nephilim_app.py
+++ b/nephilim/nephilim_app.py
@@ -24,6 +24,7 @@ from settings_wg import SettingsWidget
import plugins
class NephilimApp(QtGui.QApplication):
+ # public, constant
"main window object"
main_win = None
"MPD layer"
@@ -32,6 +33,8 @@ class NephilimApp(QtGui.QApplication):
plugins = None
"settings object"
settings = None
+
+ # private
"settings window"
__settings_win = None
@@ -63,6 +66,8 @@ class NephilimApp(QtGui.QApplication):
self.connect(self, QtCore.SIGNAL('aboutToQuit()'), self.__cleanup)
+ if show_settings:
+ self.show_settings_win()
self.main_win.restore_layout()
QtGui.QApplication.exec_()