changeset 1985:93141e9745c8

Set Ctrl-w as default for close tab/window (it was Ctrl-q)
author Jorge Arellano Cid <jcid@dillo.org>
date Wed, 27 Apr 2011 15:59:47 -0300
parents dd26b1bebabc
children 165b50e3f996
files doc/user_help.html src/keys.cc
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/doc/user_help.html	Fri Apr 22 18:32:01 2011 -0300
+++ b/doc/user_help.html	Wed Apr 27 15:59:47 2011 -0300
@@ -37,7 +37,7 @@
       <li> Some  of the functions in Dillo are handled by independent
            processes.  For  instance,  downloads come through <em>wget</em>.
            If Dillo exits, the download can continue (more details
-	   below).
+           below).
     </ul>
     </td></tr>
   </table>
@@ -69,7 +69,7 @@
       <li> Dialogs can be closed with the ESC key.
       <li> If you want to try a different control panel, right-click over the
            search button until you find one that suits your needs, then make
-	   it the default in your <code>dillorc</code> file.
+           it the default in your <code>dillorc</code> file.
       <li> The whole window area can be used to display the page. Just hit
            Ctrl-Space!
     </ul>
@@ -232,7 +232,7 @@
      <li>If you don't have root access, install <em>dpid</em> and
          the <em>dpis</em>
          inside your <code>~/.dillo/</code> directory as explained
-	 in the README file.
+         in the README file.
    </ul>
    </td></tr>
  </table>
@@ -273,7 +273,7 @@
 <tr><td>Ctrl-R                     <td>Reload          <td>reload current page
 <tr><td>Ctrl-N                     <td>New             <td>New browser window
 <tr><td>Ctrl-T                     <td>Tab             <td>New tab
-<tr><td>Ctrl-Q                     <td>Quit            <td>quit tab/window
+<tr><td>Ctrl-W                     <td>Window          <td>quit tab/window
 <tr><td>Ctrl-O                     <td>Open            <td>Open file
 <tr><td>Ctrl-B                     <td>Bookmarks       <td>view bookmarks
 <tr><td>Ctrl-Space                 <td>"more space!"   <td>Hide/show controls
--- a/src/keys.cc	Fri Apr 22 18:32:01 2011 -0300
+++ b/src/keys.cc	Wed Apr 27 15:59:47 2011 -0300
@@ -85,7 +85,7 @@
    { "new-tab"      , KEYS_NEW_TAB      , FL_CTRL   , 't'             },
    { "left-tab"     , KEYS_LEFT_TAB     , FL_SHIFT  , FL_Tab          },
    { "right-tab"    , KEYS_RIGHT_TAB    , FL_CTRL   , FL_Tab          },
-   { "close-tab"    , KEYS_CLOSE_TAB    , FL_CTRL   , 'q'             },
+   { "close-tab"    , KEYS_CLOSE_TAB    , FL_CTRL   , 'w'             },
    { "find"         , KEYS_FIND         , FL_CTRL   , 'f'             },
    { "websearch"    , KEYS_WEBSEARCH    , FL_CTRL   , 's'             },
    { "bookmarks"    , KEYS_BOOKMARKS    , FL_CTRL   , 'b'             },