[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-imaging
Subject:    [Kde-imaging] extragear/libs/kipi-plugins/jpeglossless
From:       Gilles Caulier <caulier.gilles () free ! fr>
Date:       2006-05-03 8:20:14
Message-ID: 1146644414.571734.17837.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 536831 by cgilles:

kipi jpeglosslessplugin : If an error is detected during rotate/flip/convertB&W image \
process, displaying error messages into progress dialog like a warning. Note that all \
message from ImageMagick are reported too.

CCMAIL: kde-imaging@kde.org, digikam-devel@kde.org 


 M  +7 -5      plugin_jpeglossless.cpp  


--- trunk/extragear/libs/kipi-plugins/jpeglossless/plugin_jpeglossless.cpp \
#536830:536831 @@ -167,7 +167,7 @@
 
 Plugin_JPEGLossless::~Plugin_JPEGLossless()
 {
-    // Remove KIPI JPEGLossLess plugin temporary folder in KDE tmp directory.
+    // TODO: remove KIPI JPEGLossLess plugin temporary folder in KDE tmp directory.
 
     delete m_thread;
 
@@ -368,17 +368,17 @@
             {
                 case(KIPIJPEGLossLessPlugin::Rotate): 
                 {
-                    text = i18n("Failed to Rotate");
+                    text = i18n("Failed to Rotate image");
                     break;
                 }
                 case(KIPIJPEGLossLessPlugin::Flip): 
                 {
-                    text = i18n("Failed to flip Image");
+                    text = i18n("Failed to Flip image");
                     break;
                 }
                 case(KIPIJPEGLossLessPlugin::GrayScale): 
                 {
-                    text = i18n("Failed to convert to Black & White");
+                    text = i18n("Failed to convert image to Black & White");
                     break;
                 }
                 default: 
@@ -388,6 +388,8 @@
             }
             
             m_progressDlg->addedAction(text, KIPI::WarningMessage);
+            if (!d->errString.isEmpty())
+                m_progressDlg->addedAction(d->errString, KIPI::WarningMessage);      \
  }
         else
         {
@@ -400,7 +402,7 @@
                 }
                 case(KIPIJPEGLossLessPlugin::Flip): 
                 {
-                    text = i18n("Flip Image complete");
+                    text = i18n("Flip image complete");
                     break;
                 }
                 case(KIPIJPEGLossLessPlugin::GrayScale): 
_______________________________________________
Kde-imaging mailing list
Kde-imaging@kde.org
https://mail.kde.org/mailman/listinfo/kde-imaging


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic