summaryrefslogtreecommitdiffstats
path: root/iw/xconfig_gui.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-06-25 16:33:12 +0000
committerMike Fulbright <msf@redhat.com>2002-06-25 16:33:12 +0000
commit9676ac1ecf2cdd09478099adc322716ea8913fc6 (patch)
treee637e32b39755567f487400c423bc6c411559930 /iw/xconfig_gui.py
parent63fa21d56b3e7137e409c013507513b9d9453a38 (diff)
downloadanaconda-9676ac1ecf2cdd09478099adc322716ea8913fc6.tar.gz
anaconda-9676ac1ecf2cdd09478099adc322716ea8913fc6.tar.xz
anaconda-9676ac1ecf2cdd09478099adc322716ea8913fc6.zip
fun wiz bang idle handler to make scroll_to_cell work yay dont do this at home kids
Diffstat (limited to 'iw/xconfig_gui.py')
-rw-r--r--iw/xconfig_gui.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/iw/xconfig_gui.py b/iw/xconfig_gui.py
index 9f190c0d6..ef22488fc 100644
--- a/iw/xconfig_gui.py
+++ b/iw/xconfig_gui.py
@@ -30,6 +30,8 @@ from rhpl.videocard import Videocard_blacklist
from desktop import ENABLE_DESKTOP_CHOICE
+from gui import setupTreeViewFixupIdleHandler
+
ddc_monitor_string = _("DDC Probed Monitor")
unprobed_monitor_string = _("Unprobed Monitor")
@@ -715,7 +717,10 @@ class MonitorWindow (InstallWindow):
synctable.attach(align, 3, 4, 1, 2)
box.pack_start (synctable, gtk.FALSE, gtk.FALSE)
-
+
+ # ok hack to see if we can get scroll_to_cell to work
+ setupTreeViewFixupIdleHandler(self.monitorview, self.monitorstore)
+
return box
class XConfigWindow (InstallWindow):
@@ -1058,4 +1063,8 @@ class XConfigWindow (InstallWindow):
self.probedMem = self.videocard.primaryCard(useProbed=1).getVideoRam()
self.setCurrent(self.currentCard, self.currentMem)
+ # ok hack to see if we can get scroll_to_cell to work
+ setupTreeViewFixupIdleHandler(self.cardview, self.cardstore)
+
+
return self.topbox