[gedit] Change shortcut for "change to uppercase" to ctrl+U
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Change shortcut for "change to uppercase" to ctrl+U
- Date: Tue, 25 Mar 2014 08:54:19 +0000 (UTC)
commit 5758e97e63169250b844dbbe9634bb89692b957d
Author: Paolo Borelli <pborelli gnome org>
Date: Tue Mar 25 09:46:35 2014 +0100
Change shortcut for "change to uppercase" to ctrl+U
Ctrl+shift+L is already taken by Save All, on the other hand
ctrl+shift+U is already taken by the unicode gtk thingie, so lets go
with the plain ctrl+L and ctrl+U
gedit/gedit-view.c | 4 ++--
help/C/gedit-shortcut-keys.page | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gedit/gedit-view.c b/gedit/gedit-view.c
index 256b7e3..0205924 100644
--- a/gedit/gedit-view.c
+++ b/gedit/gedit-view.c
@@ -840,8 +840,8 @@ gedit_view_class_init (GeditViewClass *klass)
G_TYPE_INT, 1);
gtk_binding_entry_add_signal (binding_set,
- GDK_KEY_l,
- GDK_CONTROL_MASK | GDK_SHIFT_MASK,
+ GDK_KEY_u,
+ GDK_CONTROL_MASK,
"change_case", 1,
G_TYPE_ENUM, GTK_SOURCE_CHANGE_CASE_UPPER);
gtk_binding_entry_add_signal (binding_set,
diff --git a/help/C/gedit-shortcut-keys.page b/help/C/gedit-shortcut-keys.page
index f8af7a1..10bfd8c 100644
--- a/help/C/gedit-shortcut-keys.page
+++ b/help/C/gedit-shortcut-keys.page
@@ -240,7 +240,7 @@ Please skip this list for now. I'm not sure if it is needed.
</tr>
<tr>
<td><p>Convert the selected text to upper case</p></td>
- <td><p><keyseq><key>Ctrl</key><key>Shift</key><key>L</key></keyseq></p></td>
+ <td><p><keyseq><key>Ctrl</key><key>U</key></keyseq></p></td>
</tr>
<tr>
<td><p>Convert the selected text to lower case</p></td>
@@ -248,7 +248,7 @@ Please skip this list for now. I'm not sure if it is needed.
</tr>
<tr>
<td><p>Toggle case of the selected text</p></td>
- <td><p><keyseq><key>Ctrl</key><key>L</key></keyseq></p></td>
+ <td><p><keyseq><key>Ctrl</key><key>~</key></keyseq></p></td>
</tr>
</tbody>
</table>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]