tuned-gtk: fixed global name 'GlobalConfig' is not defined
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
parent
7d20183c01
commit
6eb14deba3
2 changed files with 5 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue