[PATCH 2/2] Remove the unnecessary step in on_selection_changed (KeyboardSpoke)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 pyanaconda/ui/gui/spokes/keyboard.py |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/keyboard.py b/pyanaconda/ui/gui/spokes/keyboard.py
index 48787b0..1223a63 100644
--- a/pyanaconda/ui/gui/spokes/keyboard.py
+++ b/pyanaconda/ui/gui/spokes/keyboard.py
@@ -282,10 +282,7 @@ class KeyboardSpoke(NormalSpoke):
             dialog.show_all()
             dialog.run()
 
-    def on_selection_changed(self, *args):
-        self.layout_selection_changed(self.builder.get_object("layoutSelection"))
-
-    def layout_selection_changed(self, selection):
+    def on_selection_changed(self, selection, *args):
         # We don't have to worry about multiple rows being selected in this
         # function, because that's disabled by the widget.
         if not selection.count_selected_rows():
-- 
1.7.4.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux