[ocrfeeder] Consider the columns' detection preferences when saving the preferences
- From: Joaquim Manuel Pereira Rocha <jrocha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ocrfeeder] Consider the columns' detection preferences when saving the preferences
- Date: Tue, 27 Jul 2010 22:13:48 +0000 (UTC)
commit 2608067f2c9c1f4286bf3de27bf82672fd5b7c96
Author: Joaquim Rocha <jrocha igalia com>
Date: Tue Jul 13 16:58:59 2010 +0200
Consider the columns' detection preferences when saving the preferences
studio/widgetPresenter.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/studio/widgetPresenter.py b/studio/widgetPresenter.py
index 8b448d3..07b271f 100644
--- a/studio/widgetPresenter.py
+++ b/studio/widgetPresenter.py
@@ -1129,13 +1129,16 @@ class PreferencesDialog(gtk.Dialog):
return (red >> 8, green >> 8, blue >> 8, alpha >> 8)
def saveToManager(self):
- self.configuration_manager.setTemporaryDir(self.__getTemporaryDir())
+ self.configuration_manager.temporary_dir =self.__getTemporaryDir()
self.configuration_manager.setWindowSize(self.__getWindowSize())
self.configuration_manager.setTextFill(self.__getColor(self.text_fill_color))
self.configuration_manager.setBoxesStroke(
self.__getColor(self.boxes_stroke_color))
self.configuration_manager.setImageFill(self.__getColor(self.image_fill_color))
self.configuration_manager.setUnpaper(self.unpaper_entry.get_text())
+ self.configuration_manager.improve_column_detection = \
+ self.improve_column_detection.get_active()
+ self.configuration_manager.column_min_width = self.__getColumnMinWidth()
index = self.engines_combo.get_active()
if index != -1:
lib.debug('ACTIVE INDEX: ', index, self.ocr_engines[index][0].name)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]