Mark keyboard keys with a span and make them look like a key through css style.
[geeqie.git] / doc / main_window_menus.html
index 081bd7e..7d5bb5e 100644 (file)
   <p><code>; (gtk_accel_path "&lt;main&gt;/File/Quit" "&lt;Control&gt;q")</code>
   </p>
 
-  <p>To change this menu's keyboard shortcut, first remove the leading semicolon (;), removing the semicolon will tell Geeqie that this menu item has been customized. Then change the keyboard shortcut defined by the text in quotes at the end of the line, be sure to only change the text within the quotes; in this case the text &ldquo;&lt;control&gt;q&rdquo;. For example changing the shortcut associated with Quit to the Q key will result in this line:</p>
+  <p>To change this menu's keyboard shortcut, first remove the leading semicolon (;), removing the semicolon will tell Geeqie that this menu item has been customized. Then change the keyboard shortcut defined by the text in quotes at the end of the line, be sure to only change the text within the quotes; in this case the text &ldquo;&lt;control&gt;q&rdquo;. For example changing the shortcut associated with Quit to the <span class="key">Q</span> key will result in this line:</p>
 
   <p><code>(gtk_accel_path "&lt;main&gt;/File/Quit" "q")</code>
   </p>
          <tbody>
             <tr>
               <td>
-                <p>[Shift]</p>
+                <p><span class="key">Shift</span></p>
               </td>
 
               <td>
 
             <tr>
               <td>
-                <p>[Ctrl]</p>
+                <p><span class="key">Ctrl</span></p>
               </td>
 
               <td>
 
             <tr>
               <td>
-                <p>[Alt]</p>
+                <p><span class="key">Alt</span></p>
               </td>
 
               <td>
           </table>
   </div>
 
-  <p>Modifiers can be combined, for example in the exit line above, the text would be &ldquo;&lt;control&gt;&lt;shift&gt;q&rdquo; to set the exit shortcut to [Ctrl] + [Shift] + Q.</p>
+  <p>Modifiers can be combined, for example in the exit line above, the text would be &ldquo;&lt;control&gt;&lt;shift&gt;q&rdquo; to set the exit shortcut to <span class="key">Ctrl</span> + <span class="key">Shift</span> + <span class="key">Q</span>.</p>
 
   <hr id="bottomseparator" />