[ocrfeeder] Remove libgnome dependency
- From: Joaquim Manuel Pereira Rocha <jrocha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ocrfeeder] Remove libgnome dependency
- Date: Thu, 6 Oct 2011 17:27:16 +0000 (UTC)
commit 64123029b91910523814553046bc26451afeecfc
Author: GyÃrgy Ballà <ballogy freestart hu>
Date: Thu Oct 6 19:25:33 2011 +0200
Remove libgnome dependency
src/ocrfeeder/studio/studioBuilder.py | 2 --
src/ocrfeeder/util/lib.py | 4 ----
2 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/ocrfeeder/studio/studioBuilder.py b/src/ocrfeeder/studio/studioBuilder.py
index e1286f9..7b6e70d 100644
--- a/src/ocrfeeder/studio/studioBuilder.py
+++ b/src/ocrfeeder/studio/studioBuilder.py
@@ -422,8 +422,6 @@ class Studio:
self.main_window.setHasImages(not is_empty)
def about(self, widget = None):
- from gnome import url_show
- gtk.about_dialog_set_url_hook(lambda x,y,z: url_show(y), "")
about_dialog = widgetPresenter.CustomAboutDialog()
if about_dialog.run():
about_dialog.destroy()
diff --git a/src/ocrfeeder/util/lib.py b/src/ocrfeeder/util/lib.py
index ff7df0c..19d0031 100644
--- a/src/ocrfeeder/util/lib.py
+++ b/src/ocrfeeder/util/lib.py
@@ -25,7 +25,6 @@ import tempfile
import gtk
import math
from constants import *
-from gnome import url_show
import sane
import tempfile
@@ -92,9 +91,6 @@ def getNonExistingFileName(file_name):
i += 1
return name + str(i) + ext
-def openUrl(widget, url, data):
- url_show(url)
-
def getStandardDeviation(list_of_values):
if not list_of_values:
return 0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]