[pitivi] MainWindow: Release gdk lock when running MissingURI dialog.
- From: Edward Hervey <edwardrv src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [pitivi] MainWindow: Release gdk lock when running MissingURI dialog.
- Date: Tue, 8 Sep 2009 07:34:36 +0000 (UTC)
commit e76168b590de40ccc8b6cc29d9fee727fe1f2b80
Author: Edward Hervey <bilboed bilboed com>
Date: Mon Sep 7 11:27:20 2009 +0200
MainWindow: Release gdk lock when running MissingURI dialog.
pitivi/ui/mainwindow.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/ui/mainwindow.py b/pitivi/ui/mainwindow.py
index 94fa57e..333465f 100644
--- a/pitivi/ui/mainwindow.py
+++ b/pitivi/ui/mainwindow.py
@@ -856,7 +856,9 @@ class PitiviMainWindow(gtk.Window, Loggable):
chooser.show()
dialog.set_size_request(640, 480)
+ gtk.gdk.threads_enter()
response = dialog.run()
+ gtk.gdk.threads_leave()
if response == gtk.RESPONSE_OK:
self.log("User chose a URI to save project to")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]