[Goodies-dev] [Patch] Ristretto: Add rotation buttons to toolbar

flo.xfce at gmx-topmail.de flo.xfce at gmx-topmail.de
Wed Aug 12 22:13:59 CEST 2015


Stephan shared a complaint email on the Xfce4-dev list concerning the
"missing" rotation feature in Ristretto. Well, rotation is already
implemented. Although the language of the complaint was far from polite,
I think the user had a valid point - it is hard to find the menu, or
say, not convenient. If there are many images to rotate it can be a
little frustrating to walk through the menus and at least on my keyboard
(german layout) shortcuts are not practical.
This patch adds simply two buttons to the already existing toolbar,
linking to the already implemented rotation feature. A two-liner.
Please let me know if you think this could be helpful and not
overloading the toolbar.

diff --git a/src/main_window_ui.xml b/src/main_window_ui.xml
index 5e8003b..1df49aa 100644
--- a/src/main_window_ui.xml
+++ b/src/main_window_ui.xml
@@ -119,6 +119,8 @@
         <toolitem action="delete"/>
         <separator />
         <toolitem action="edit"/>
+        <toolitem action="rotate-cw"/>
+        <toolitem action="rotate-ccw"/>
         <separator name="separator-1"/>
         <toolitem action="back"/>
         <placeholder name="placeholder-slideshow" />
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ristretto.patch
Type: text/x-patch
Size: 475 bytes
Desc: not available
URL: <https://mail.xfce.org/pipermail/goodies-dev/attachments/20150812/b42211c4/attachment.bin>


More information about the Goodies-dev mailing list