diff --git a/safeeyes/safeeyes/SettingsDialog.py b/safeeyes/safeeyes/SettingsDialog.py index 04a61e6..f80a525 100644 --- a/safeeyes/safeeyes/SettingsDialog.py +++ b/safeeyes/safeeyes/SettingsDialog.py @@ -22,7 +22,7 @@ from gi.repository import Gtk, Gdk, GdkX11 class SettingsDialog: """docstring for SettingsDialog""" - def __init__(self, language, config, on_save_settings, glade_file): + def __init__(self, config, language, on_save_settings, glade_file): self.config = config self.on_save_settings = on_save_settings diff --git a/safeeyes/safeeyes/safeeyes b/safeeyes/safeeyes/safeeyes index 73a07e6..422aa66 100755 --- a/safeeyes/safeeyes/safeeyes +++ b/safeeyes/safeeyes/safeeyes @@ -48,7 +48,7 @@ system_language_directory = os.path.join(bin_directory, "config/lang") is_active = True def show_settings(): - settings_dialog = SettingsDialog(language, config, save_settings, settings_dialog_glade) + settings_dialog = SettingsDialog(config, language, save_settings, settings_dialog_glade) settings_dialog.show() def show_notification(): @@ -176,7 +176,7 @@ def main(): core.start() notification = Notification(language) - # handle_system_suspend() + handle_system_suspend() Gtk.main()