[ocrfeeder] Fix SpellChecker action's sensitiveness when there are no images



commit 389879fb519baa27689945bcc18a0280c964ca01
Author: Joaquim Rocha <jrocha igalia com>
Date:   Fri Sep 17 19:28:21 2010 +0200

    Fix SpellChecker action's sensitiveness when there are no images

 studio/widgetPresenter.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/studio/widgetPresenter.py b/studio/widgetPresenter.py
index 60717d3..7becc58 100644
--- a/studio/widgetPresenter.py
+++ b/studio/widgetPresenter.py
@@ -264,7 +264,8 @@ class MainWindow:
 
     def setHasContentBoxes(self, has_content_boxes=True):
         actions = ['SelectNextArea', 'SelectPreviousArea',
-                   'SelectAllAreas', 'CopyToClipboard']
+                   'SelectAllAreas', 'CopyToClipboard',
+                   'SpellChecker']
         self.__setActionsSensitiveness(actions, has_content_boxes)
 
     def __setActionsSensitiveness(self, actions, set_sensitive):



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]