[PATCH 1/8] Rename the callback for updating mountpoint settings
Vratislav Podzimek
vpodzime at redhat.com
Wed Apr 9 15:15:44 UTC 2014
on_apply_clicked doesn't clearly point to the widget it is related to because
that is a button with the "Update settings" label.
Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
---
pyanaconda/ui/gui/spokes/custom.glade | 2 +-
pyanaconda/ui/gui/spokes/custom.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/pyanaconda/ui/gui/spokes/custom.glade b/pyanaconda/ui/gui/spokes/custom.glade
index 81938e9..f984211 100644
--- a/pyanaconda/ui/gui/spokes/custom.glade
+++ b/pyanaconda/ui/gui/spokes/custom.glade
@@ -568,7 +568,7 @@
<property name="valign">start</property>
<property name="margin_top">30</property>
<property name="use_underline">True</property>
- <signal name="clicked" handler="on_apply_clicked" swapped="no"/>
+ <signal name="clicked" handler="on_update_settings_clicked" swapped="no"/>
</object>
<packing>
<property name="expand">False</property>
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index db3b1dc..2697e49 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -2480,7 +2480,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
dlg.run()
dlg.destroy()
- def on_apply_clicked(self, button):
+ def on_update_settings_clicked(self, button):
""" call _save_right_side, then, perhaps, populate_right_side. """
self._save_right_side(self._current_selector)
self._back_already_clicked = False
--
1.9.0
More information about the anaconda-patches
mailing list