[PATCH f18-branch] Fix Quit button in standalone network spoke (#892120)

Radek Vykydal rvykydal at redhat.com
Mon Jan 7 15:28:50 UTC 2013


---
 pyanaconda/ui/gui/spokes/network.glade | 1 -
 pyanaconda/ui/gui/spokes/network.py    | 4 ----
 2 files changed, 5 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/network.glade b/pyanaconda/ui/gui/spokes/network.glade
index f9221e8..891394a 100644
--- a/pyanaconda/ui/gui/spokes/network.glade
+++ b/pyanaconda/ui/gui/spokes/network.glade
@@ -35,7 +35,6 @@
     <property name="can_focus">False</property>
     <property name="startup_id">filler</property>
     <property name="window_name" translatable="yes">NETWORK CONFIGURATION</property>
-    <signal name="quit-clicked" handler="on_back_clicked" swapped="no"/>
     <child internal-child="main_box">
       <object class="GtkBox" id="AnacondaStandaloneWindow-main_box5">
         <property name="can_focus">False</property>
diff --git a/pyanaconda/ui/gui/spokes/network.py b/pyanaconda/ui/gui/spokes/network.py
index 6cefb4a..1d0bce5 100644
--- a/pyanaconda/ui/gui/spokes/network.py
+++ b/pyanaconda/ui/gui/spokes/network.py
@@ -1147,10 +1147,6 @@ class NetworkStandaloneSpoke(StandaloneSpoke):
             self.clear_info()
             StandaloneSpoke._on_continue_clicked(self, cb)
 
-    def on_back_clicked(self, window):
-        self.window.hide()
-        Gtk.main_quit()
-
     # Use case: slow dhcp has connected when on spoke
     def on_nm_state_changed(self, *args):
         gtk_call_once(self._update_hostname)
-- 
1.7.11.7



More information about the anaconda-patches mailing list