[master 1/1] Connect scroll adjustments in the right class (#1206472)

dashea installerbot-noreply at redhat.com
Tue Mar 31 13:37:44 UTC 2015


From: David Shea <dshea at redhat.com>

Oops.
---
 pyanaconda/ui/gui/spokes/source.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/source.py b/pyanaconda/ui/gui/spokes/source.py
index c91be69..42a3913 100644
--- a/pyanaconda/ui/gui/spokes/source.py
+++ b/pyanaconda/ui/gui/spokes/source.py
@@ -122,11 +122,6 @@ def __init__(self, data, proxy_url):
         self._proxyValidate = self.add_check(self._proxyURLEntry, self._checkProxyURL)
         self._proxyValidate.update_check_status()
 
-        # Connect scroll events on the viewport with focus events on the box
-        mainViewport = self.builder.get_object("mainViewport")
-        mainBox = self.builder.get_object("mainBox")
-        mainBox.set_focus_vadjustment(mainViewport.get_vadjustment())
-
     def _checkProxyURL(self, inputcheck):
         proxy_string = self.get_input(inputcheck.input_obj)
 
@@ -610,6 +605,11 @@ def _grabObjects(self):
         self._proxyButton = self.builder.get_object("proxyButton")
         self._nfsOptsBox = self.builder.get_object("nfsOptsBox")
 
+        # Connect scroll events on the viewport with focus events on the box
+        mainViewport = self.builder.get_object("mainViewport")
+        mainBox = self.builder.get_object("mainBox")
+        mainBox.set_focus_vadjustment(mainViewport.get_vadjustment())
+
     def initialize(self):
         NormalSpoke.initialize(self)
 


-- 
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/a19387008d36416d91aa20ffe68c6669af6910f7


More information about the anaconda-patches mailing list