[ocrfeeder] Correct dialog types when showing error messages for scanner things



commit 59e044f5d31d2bf8b7deaacc450ea150acc8236b
Author: Joaquim Rocha <jrocha igalia com>
Date:   Sun Aug 1 19:31:10 2010 +0200

    Correct dialog types when showing error messages for scanner things

 studio/studioBuilder.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/studio/studioBuilder.py b/studio/studioBuilder.py
index e0516f4..d3e5c70 100644
--- a/studio/studioBuilder.py
+++ b/studio/studioBuilder.py
@@ -209,7 +209,7 @@ class Studio:
             error = widgetPresenter.SimpleDialog(\
                                              _("No scanner devices were found"),
                                              _("Error"),
-                                             _("Check your sane config"))
+                                             'warning')
             gtk.gdk.threads_enter()
             error.run()
             gtk.gdk.threads_leave()
@@ -222,9 +222,9 @@ class Studio:
             gtk.gdk.threads_leave()
         else:
             error = widgetPresenter.SimpleDialog(\
-                                             _("Error during scanning"),
+                                             _("Error scanning page"),
                                              _("Error"),
-                                             _("Check your sane config"))
+                                             'warning')
             gtk.gdk.threads_enter()
             error.run()
             gtk.gdk.threads_leave()



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