[PATCH 4/5] Always center the AddLayout dialog
Martin Kolman
mkolman at redhat.com
Mon Nov 11 17:14:07 UTC 2013
From: Vratislav Podzimek <vpodzime at redhat.com>
Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
---
pyanaconda/ui/gui/spokes/keyboard.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/pyanaconda/ui/gui/spokes/keyboard.py b/pyanaconda/ui/gui/spokes/keyboard.py
index 42a7fee..e36b7e0 100644
--- a/pyanaconda/ui/gui/spokes/keyboard.py
+++ b/pyanaconda/ui/gui/spokes/keyboard.py
@@ -98,6 +98,7 @@ class AddLayoutDialog(GUIObject):
def refresh(self):
selected = self._newLayoutSelection.count_selected_rows()
self._confirmAddButton.set_sensitive(selected)
+ self.window.set_position(Gtk.WindowPosition.CENTER_ALWAYS)
self._entry.grab_focus()
def initialize(self):
--
1.8.4.2
More information about the anaconda-patches
mailing list