[PATCH 1/2] Remove useless handler of Cancel button (AddLayout dialog)
Vratislav Podzimek
vpodzime at redhat.com
Tue Sep 25 09:54:53 UTC 2012
Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
---
pyanaconda/ui/gui/spokes/keyboard.glade | 1 -
pyanaconda/ui/gui/spokes/keyboard.py | 3 ---
2 files changed, 4 deletions(-)
diff --git a/pyanaconda/ui/gui/spokes/keyboard.glade b/pyanaconda/ui/gui/spokes/keyboard.glade
index a4cd335..b0408e7 100644
--- a/pyanaconda/ui/gui/spokes/keyboard.glade
+++ b/pyanaconda/ui/gui/spokes/keyboard.glade
@@ -31,7 +31,6 @@
<property name="receives_default">True</property>
<property name="use_action_appearance">False</property>
<property name="use_stock">True</property>
- <signal name="clicked" handler="on_cancel_clicked" swapped="no"/>
</object>
<packing>
<property name="expand">False</property>
diff --git a/pyanaconda/ui/gui/spokes/keyboard.py b/pyanaconda/ui/gui/spokes/keyboard.py
index 899fc96..9e25040 100644
--- a/pyanaconda/ui/gui/spokes/keyboard.py
+++ b/pyanaconda/ui/gui/spokes/keyboard.py
@@ -134,9 +134,6 @@ class AddLayoutDialog(GUIObject):
selected = selection.count_selected_rows()
self._confirmAddButton.set_sensitive(selected)
- def on_cancel_clicked(self, *args):
- print "CANCELING"
-
def on_entry_changed(self, *args):
self._treeModelFilter.refilter()
--
1.7.11.4
More information about the anaconda-patches
mailing list