diff options
author | David Cantrell <dcantrell@redhat.com> | 2006-05-19 17:53:56 +0000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2006-05-19 17:53:56 +0000 |
commit | 702c46696928191e663531cef567d391c0bdc024 (patch) | |
tree | 1a9f82de2e671e5f3b456417a9d50941da536f1f /iw | |
parent | 43a704ac61b359d05f026ca1b2f241e098c01115 (diff) | |
download | anaconda-702c46696928191e663531cef567d391c0bdc024.tar.gz anaconda-702c46696928191e663531cef567d391c0bdc024.tar.xz anaconda-702c46696928191e663531cef567d391c0bdc024.zip |
* gui.py (handleRenderCallback): Sure would be nice if I could keep
indentation correct when modifying functions. Discontinue use of
gtk.gdk.threads_init() and use gobject.threads_init() because of our
use of callbacks. Remove threads_enter/leave wrapper around gtk.main()
* iw/checklist.py: Remove threads_enter/leave wrapper around gtk.main()
since we're using gobject.threads_init() now.
* iw/datacombo.py: Likewise.
* iw/ipwidget.py: Likewise.
* iw/pixmapRadioButtonGroup.py: Likewise.
* iw/release_notes.py: Likewise.
Diffstat (limited to 'iw')
-rw-r--r-- | iw/checklist.py | 2 | ||||
-rw-r--r-- | iw/datacombo.py | 2 | ||||
-rw-r--r-- | iw/ipwidget.py | 2 | ||||
-rw-r--r-- | iw/pixmapRadioButtonGroup_gui.py | 2 | ||||
-rw-r--r-- | iw/release_notes.py | 2 |
5 files changed, 0 insertions, 10 deletions
diff --git a/iw/checklist.py b/iw/checklist.py index 1356ceafd..6e0dcfcdc 100644 --- a/iw/checklist.py +++ b/iw/checklist.py @@ -175,9 +175,7 @@ def main(): win.set_size_request(250, 250) win.show_all() - gtk.threads_enter() gtk.main() - gtk.threads_leave() if __name__ == "__main__": main() diff --git a/iw/datacombo.py b/iw/datacombo.py index 8f227c8ec..d33f53088 100644 --- a/iw/datacombo.py +++ b/iw/datacombo.py @@ -82,7 +82,5 @@ if __name__ == "__main__": win.add(cb) win.show_all() - gtk.threads_enter() gtk.main() - gtk.threads_leave() diff --git a/iw/ipwidget.py b/iw/ipwidget.py index eac92ac97..eab91da77 100644 --- a/iw/ipwidget.py +++ b/iw/ipwidget.py @@ -147,6 +147,4 @@ if __name__ == "__main__": win.add(vbox) win.show_all() - gtk.threads_enter() gtk.main() - gtk.threads_leave() diff --git a/iw/pixmapRadioButtonGroup_gui.py b/iw/pixmapRadioButtonGroup_gui.py index 95d066935..a62d6dca0 100644 --- a/iw/pixmapRadioButtonGroup_gui.py +++ b/iw/pixmapRadioButtonGroup_gui.py @@ -240,6 +240,4 @@ if __name__ == "__main__": win.add(vbox) win.show_all() - gtk.threads_enter() gtk.main() - gtk.threads_leave() diff --git a/iw/release_notes.py b/iw/release_notes.py index 632687eba..b191f2fca 100644 --- a/iw/release_notes.py +++ b/iw/release_notes.py @@ -242,9 +242,7 @@ class ReleaseNotesViewer(threading.Thread): cursor = gtk.gdk.Cursor(gtk.gdk.LEFT_PTR) root.set_cursor(cursor) - gtk.threads_enter() gtk.main() - gtk.threads_leave() def resolveURI(self, link): parts = urlparse.urlparse(link) |