diff --git a/src/config.py b/src/config.py index ea6f7b065..09671fd33 100644 --- a/src/config.py +++ b/src/config.py @@ -461,6 +461,7 @@ class PreferencesWindow: self.notebook.set_current_page(0) self.window.show_all() + gtkgui_helpers.possibly_move_window_in_current_desktop(self.window) def on_preferences_window_key_press_event(self, widget, event): if event.keyval == gtk.keysyms.Escape: diff --git a/src/gtkgui_helpers.py b/src/gtkgui_helpers.py index 1a62382de..527c2993e 100644 --- a/src/gtkgui_helpers.py +++ b/src/gtkgui_helpers.py @@ -406,7 +406,7 @@ def possibly_move_window_in_current_desktop(window): if current_virtual_desktop_no != window_virtual_desktop: # we are in another VD that the window was # so show it in current VD - window.show() + window.present() def file_is_locked(path_to_file): '''returns True if file is locked (WINDOWS ONLY)'''