[gnome-text-editor] window: dont let AdwTabView steal ctrl+home/end motions
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-text-editor] window: dont let AdwTabView steal ctrl+home/end motions
- Date: Sun, 2 Oct 2022 00:44:53 +0000 (UTC)
commit 92515842e3136406a70cab1203b38b10c5344e44
Author: Christian Hergert <chergert redhat com>
Date: Sat Oct 1 17:44:47 2022 -0700
window: dont let AdwTabView steal ctrl+home/end motions
src/editor-window.c | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/src/editor-window.c b/src/editor-window.c
index 456f82d..40673f1 100644
--- a/src/editor-window.c
+++ b/src/editor-window.c
@@ -986,6 +986,12 @@ editor_window_init (EditorWindow *self)
gtk_window_set_title (GTK_WINDOW (self), _(PACKAGE_NAME));
gtk_window_set_default_size (GTK_WINDOW (self), 700, 520);
+ adw_tab_view_remove_shortcuts (self->tab_view,
+ ADW_TAB_VIEW_SHORTCUT_CONTROL_END |
+ ADW_TAB_VIEW_SHORTCUT_CONTROL_HOME |
+ ADW_TAB_VIEW_SHORTCUT_CONTROL_SHIFT_END |
+ ADW_TAB_VIEW_SHORTCUT_CONTROL_SHIFT_HOME);
+
adw_status_page_set_icon_name (ADW_STATUS_PAGE (self->empty), APP_ID"-symbolic");
self->settings = g_settings_new ("org.gnome.TextEditor");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]