[Xfce4-commits] [xfce/thunar] 01/01: Add Ctrl+= as alternative accelerator for Zoom In (Bug #14586)

noreply at xfce.org noreply at xfce.org
Sat Aug 11 03:44:33 CEST 2018


This is an automated email from the git hooks/post-receive script.

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       x   f   c   e   -   4   .   1   4   
   in repository xfce/thunar.

commit 2af8c327045c683f6052bab30baed7a8925ad387
Author: Andre Miranda <andreldm at xfce.org>
Date:   Fri Aug 10 22:40:22 2018 -0300

    Add Ctrl+= as alternative accelerator for Zoom In (Bug #14586)
---
 thunar/thunar-standard-view-ui.xml | 2 ++
 thunar/thunar-window.c             | 1 +
 2 files changed, 3 insertions(+)

diff --git a/thunar/thunar-standard-view-ui.xml b/thunar/thunar-standard-view-ui.xml
index a365fe8..2a1c609 100644
--- a/thunar/thunar-standard-view-ui.xml
+++ b/thunar/thunar-standard-view-ui.xml
@@ -8,6 +8,8 @@
     works, because it's too easy to break something.
   -->
 
+  <accelerator action="zoom-in-alt"/>
+
   <menubar name="main-menu">
     <menu action="file-menu">
       <placeholder name="placeholder-create-actions">
diff --git a/thunar/thunar-window.c b/thunar/thunar-window.c
index 33da6ef..a5e718d 100644
--- a/thunar/thunar-window.c
+++ b/thunar/thunar-window.c
@@ -362,6 +362,7 @@ static GtkActionEntry action_entries[] =
   { "view-location-selector-menu", NULL, N_ ("_Location Selector"), NULL, },
   { "view-side-pane-menu", NULL, N_ ("_Side Pane"), NULL, },
   { "zoom-in", "zoom-in-symbolic", N_ ("Zoom I_n"), "<control>plus", N_ ("Show the contents in more detail"), G_CALLBACK (thunar_window_action_zoom_in), },
+  { "zoom-in-alt", NULL, "zoom-in-alt", "<control>equal", NULL, G_CALLBACK (thunar_window_action_zoom_in), },
   { "zoom-out", "zoom-out-symbolic", N_ ("Zoom _Out"), "<control>minus", N_ ("Show the contents in less detail"), G_CALLBACK (thunar_window_action_zoom_out), },
   { "zoom-reset", "zoom-original-symbolic", N_ ("Normal Si_ze"), "<control>0", N_ ("Show the contents at the normal size"), G_CALLBACK (thunar_window_action_zoom_reset), },
   { "go-menu", NULL, N_ ("_Go"), NULL, },

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list