1
0
Fork 0

tuned-gtk: fixed global name 'GlobalConfig' is not defined

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
Jaroslav Škarvada 2015-07-09 17:19:18 +02:00
parent 7d20183c01
commit 6eb14deba3
2 changed files with 5 additions and 2 deletions

View file

@ -40,6 +40,7 @@ import tuned.admin.dbus_controller
import tuned.gtk.gui_profile_loader
import tuned.gtk.gui_plugin_loader
import tuned.profiles.profile as profile
import tuned.utils.global_config
from tuned.utils.commands import commands
from tuned.gtk.managerException import ManagerException
@ -97,7 +98,7 @@ class Base(object):
self._cmd = commands(debug)
self.config = GlobalConfig()
self.config = tuned.utils.global_config.GlobalConfig()
self.builder = Gtk.Builder()
try:
self.builder.add_from_file(GLADEUI)

View file

@ -79,8 +79,10 @@ class GuiPluginLoader(PluginLoader):
hardware_inventory,
device_matcher,
plugin_instance_factory,
self._set_loader_parameters(),
None,
None
)
self._set_loader_parameters(),
self.create_all(self._import_plugin_names())
@property