summaryrefslogtreecommitdiff
path: root/portato/gui/gui_helper.py
diff options
context:
space:
mode:
authornecoro <>2007-02-20 19:53:20 +0000
committernecoro <>2007-02-20 19:53:20 +0000
commitb4f5605505dad572f4c4ea47e03d8d678c351003 (patch)
treed338947ac9bc8ef7b4c1998fa6d653b7a120bfa5 /portato/gui/gui_helper.py
parent0713215207a7eed95bed8e4ca9044c3eed5f3827 (diff)
downloadportato-b4f5605505dad572f4c4ea47e03d8d678c351003.tar.gz
portato-b4f5605505dad572f4c4ea47e03d8d678c351003.tar.bz2
portato-b4f5605505dad572f4c4ea47e03d8d678c351003.zip
Renamed package.get_env_var to package.get_package_settings
Diffstat (limited to 'portato/gui/gui_helper.py')
-rw-r--r--portato/gui/gui_helper.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/portato/gui/gui_helper.py b/portato/gui/gui_helper.py
index cf03a57..79064b6 100644
--- a/portato/gui/gui_helper.py
+++ b/portato/gui/gui_helper.py
@@ -12,7 +12,7 @@
# some backend things
from portato import backend
-from portato.backend import flags, system
+from portato.backend import flags, system, set_system
from portato.helper import *
# parser
@@ -116,10 +116,16 @@ class Config:
@see: L{helper.set_debug()}"""
set_debug(self.get_boolean("debug_opt"))
+ def modify_system_config (self):
+ """Sets the system config.
+ @see: L{backend.set_system()}"""
+ set_system(self.get("system_opt"))
+
def modify_external_configs (self):
"""Convenience function setting all external configs."""
self.modify_debug_config()
self.modify_flags_config()
+ self.modify_system_config()
def set_local(self, cpv, name, val):
"""Sets some local config.