[gnome-builder] comment-code: make keybindings bubble, not capture
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] comment-code: make keybindings bubble, not capture
- Date: Thu, 14 Jun 2018 21:40:34 +0000 (UTC)
commit a358fbb389972d277d6bd812b492c4bbfef595c3
Author: Christian Hergert <chergert redhat com>
Date: Thu Jun 14 14:39:08 2018 -0700
comment-code: make keybindings bubble, not capture
We need to give the text view an opportunity to steal these keybindings
before they are taken by the plugin.
src/plugins/comment-code/gbp-comment-code-view-addin.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/comment-code/gbp-comment-code-view-addin.c
b/src/plugins/comment-code/gbp-comment-code-view-addin.c
index 30aa2cfbc..8ad1f7423 100644
--- a/src/plugins/comment-code/gbp-comment-code-view-addin.c
+++ b/src/plugins/comment-code/gbp-comment-code-view-addin.c
@@ -403,13 +403,13 @@ gbp_comment_code_view_addin_load (IdeEditorViewAddin *addin,
dzl_shortcut_controller_add_command_action (controller,
"org.gnome.builder.editor-view.comment-code",
I_("<primary>m"),
- DZL_SHORTCUT_PHASE_CAPTURE,
+ DZL_SHORTCUT_PHASE_BUBBLE,
"view.comment-code::0");
dzl_shortcut_controller_add_command_action (controller,
"org.gnome.builder.editor-view.uncomment-code",
I_("<primary><shift>m"),
- DZL_SHORTCUT_PHASE_CAPTURE,
+ DZL_SHORTCUT_PHASE_BUBBLE,
"view.comment-code::1");
dzl_shortcut_manager_add_shortcut_entries (NULL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]