[ocrfeeder] widgetModeler: Fix adding an image the regular way
- From: Joaquim Manuel Pereira Rocha <jrocha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ocrfeeder] widgetModeler: Fix adding an image the regular way
- Date: Tue, 6 Jul 2010 10:49:34 +0000 (UTC)
commit 6e1d2a904ce32398fbce456556eb3ca43c26f0d9
Author: Joaquim Rocha <jrocha igalia com>
Date: Tue Jul 6 12:45:51 2010 +0200
widgetModeler: Fix adding an image the regular way
Some code that was added for the PDF parallel importation
was not allowing an image to be added with the regular
Add Image action.
studio/widgetModeler.py | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/studio/widgetModeler.py b/studio/widgetModeler.py
index 70e5c61..51dc92e 100644
--- a/studio/widgetModeler.py
+++ b/studio/widgetModeler.py
@@ -72,10 +72,8 @@ class SourceImagesSelector(gobject.GObject):
pixbuf = gtk.gdk.pixbuf_new_from_file_at_size(path, 150, 100)
except:
return
- gtk.gdk.threads_enter()
iter = self.list_store.append([path, image_name, pixbuf])
self.emit('selection_changed', self.isEmpty())
- gtk.gdk.threads_leave()
return pixbuf, path, iter
def __countEqualPathsStored(self, path):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]