Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Development Java (http://www.linux-archive.org/fedora-development-java/)
-   -   Remove the unnecessary step in on_selection_changed (KeyboardSpoke) (http://www.linux-archive.org/fedora-development-java/665635-remove-unnecessary-step-on_selection_changed-keyboardspoke.html)

Vratislav Podzimek 05-11-2012 11:24 AM

Remove the unnecessary step in on_selection_changed (KeyboardSpoke)
 
---
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_obj ect("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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 11:43 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.