[Kde-imaging] [Bug 141530] use "rotate left" and "rotate right" instead of 90 and 270 degrees

Luka Renko lure at kubuntu.org
Tue Mar 6 10:23:02 CET 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=141530         
lure kubuntu org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From lure kubuntu org  2007-03-06 10:23 -------
SVN commit 639921 by lure:

JPEGLossLess: Use Rotate Left/Right actions instead of rotate
by degree (90/180/270).  This is more intuitive and easier for user.
Use Ctrl-Left and Ctrl-Right as keyboard shortcuts.

BUG: 141530


 M  +2 -1      NEWS  
 M  +12 -27    jpeglossless/plugin_jpeglossless.cpp  


--- trunk/extragear/libs/kipi-plugins/NEWS #639920:639921
 @ -18,7 +18,8  @
 006 ==> 138241 : SendImages   : A patch that adds support for the Claws Mail MUA.
 007 ==> 140865 : RAWConverter : Plugin does not work (image can not be converted).
 008 ==> 141528 : JPEGLossLess : Remove confirmation dialog for image rotate.
-009 ==> 
+009 ==> 141530 : JPEGLossLess : Use Rotate left/right instead of degrees
+010 ==> 
 
 v 0.1.3 
 ----------------------------------------------------------------------------
--- trunk/extragear/libs/kipi-plugins/jpeglossless/plugin_jpeglossless.cpp #639920:639921
 @ -89,30 +89,21  @
                                   actionCollection(),
                                   "jpeglossless_rotate");
 
-    m_action_RotateImage->insert( new KAction(i18n("90 Degrees"),
-                                  0,
-                                  CTRL+Key_9,
+    m_action_RotateImage->insert( new KAction(i18n("Left"),
+                                  "rotate_ccw",
+                                  CTRL+Key_Left,
                                   this,
                                   SLOT(slotRotate()),
                                   actionCollection(),
-                                  "rotate_90") );
-
-    m_action_RotateImage->insert( new KAction(i18n("180 Degrees"),
-                                  0,
-                                  CTRL+Key_8,
+                                  "rotate_ccw") );
+    m_action_RotateImage->insert( new KAction(i18n("Right"),
+                                  "rotate_cw",
+                                  CTRL+Key_Right,
                                   this,
                                   SLOT(slotRotate()),
                                   actionCollection(),
-                                  "rotate_180") );
+                                  "rotate_cw") );
 
-    m_action_RotateImage->insert( new KAction(i18n("270 Degrees"),
-                                  0,
-                                  CTRL+Key_7,
-                                  this,
-                                  SLOT(slotRotate()),
-                                  actionCollection(),
-                                  "rotate_270") );
-
     m_action_FlipImage = new KActionMenu(i18n("Flip"),
                                   "flip",
                                   actionCollection(),
 @ -237,22 +228,16  @
     QString title;
     bool proceed = false;
 
-    if (from == "rotate_90") 
+    if (from == "rotate_cw") 
     {
         m_thread->rotate(items, KIPIJPEGLossLessPlugin::Rot90);
-        title = i18n("to 90 degrees");
+        title = i18n("right (clockwise)");
         proceed = true;
     }
-    else if (from == "rotate_180") 
+    else if (from == "rotate_ccw") 
     {
-        m_thread->rotate(items, KIPIJPEGLossLessPlugin::Rot180);
-        title = i18n("to 180 degrees");
-        proceed = true;
-    }
-    else if (from == "rotate_270") 
-    {
         m_thread->rotate(items, KIPIJPEGLossLessPlugin::Rot270);
-        title = i18n("to 270 degrees");
+        title = i18n("left (counterclockwise)");
         proceed = true;
     }
     else if (from == "rotate_exif")


More information about the Kde-imaging mailing list