[kde-doc-english] [krusader/plasma] /: Make Alt+. the default shortcut for toggling hidden files

Simon Persson simon.persson at mykolab.com
Tue Jul 7 10:32:57 UTC 2015


Git commit 96ed8945eab435696a60ae5fd9b5b31a7d73359e by Simon Persson.
Committed on 07/07/2015 at 10:29.
Pushed by persson into branch 'plasma'.

Make Alt+. the default shortcut for toggling hidden files

This solves the conflict with system-wide default shortcut for "next tab". It also makes Krusader have the same shortcut as Dolphin.

M  +14   -14   doc/keyboard-commands.docbook
M  +1    -1    krusader/kractions.cpp

http://commits.kde.org/krusader/96ed8945eab435696a60ae5fd9b5b31a7d73359e

diff --git a/doc/keyboard-commands.docbook b/doc/keyboard-commands.docbook
index c96e3b4..108d48d 100644
--- a/doc/keyboard-commands.docbook
+++ b/doc/keyboard-commands.docbook
@@ -407,6 +407,20 @@
             <entry>
               <para>
                 <keycombo action="simul">&Alt;
+                  <keycap>.</keycap></keycombo>
+              </para>
+            </entry>
+            <entry>
+              <para>
+                <link linkend="view-menu">Show/Hide hidden (dot)
+                  files.</link>
+              </para>
+            </entry>
+          </row>
+          <row>
+            <entry>
+              <para>
+                <keycombo action="simul">&Alt;
                 <keycap>/</keycap></keycombo>
               </para>
             </entry>
@@ -928,20 +942,6 @@
             <entry>
               <para>
                 <keycombo action="simul">&Ctrl;
-                <keycap>.</keycap></keycombo>
-              </para>
-            </entry>
-            <entry>
-              <para>
-                <link linkend="view-menu">Show/Hide hidden (dot)
-                files.</link>
-              </para>
-            </entry>
-          </row>
-          <row>
-            <entry>
-              <para>
-                <keycombo action="simul">&Ctrl;
                 <keycap>/</keycap></keycombo>
               </para>
             </entry>
diff --git a/krusader/kractions.cpp b/krusader/kractions.cpp
index af578d8..4d38027 100644
--- a/krusader/kractions.cpp
+++ b/krusader/kractions.cpp
@@ -203,7 +203,7 @@ void KrActions::setupActions(Krusader *krusaderApp)
     NEW_KTOGGLEACTION(actToggleTerminal, i18n("Show Terminal &Emulator"), 0, Qt::ALT + Qt::CTRL + Qt::Key_T, SLOTS, SLOT(toggleTerminal()), "toggle terminal emulator");
 
 
-    NEW_KTOGGLEACTION(actToggleHidden, i18n("Show &Hidden Files"), 0, Qt::CTRL + Qt::Key_Period, SLOTS, SLOT(showHiddenFiles(bool)), "toggle hidden files");
+    NEW_KTOGGLEACTION(actToggleHidden, i18n("Show &Hidden Files"), 0, Qt::ALT + Qt::Key_Period, SLOTS, SLOT(showHiddenFiles(bool)), "toggle hidden files");
 
     NEW_KACTION(actSwapPanels, i18n("S&wap Panels"), 0, Qt::CTRL + Qt::Key_U, SLOTS, SLOT(swapPanels()), "swap panels");
 



More information about the kde-doc-english mailing list