[gnome-builder] libide/tweaks: use ctrl+w to close tweaks window
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] libide/tweaks: use ctrl+w to close tweaks window
- Date: Fri, 26 Aug 2022 04:50:44 +0000 (UTC)
commit f990893f733f41a5af3809460bb710d46777a0c2
Author: Christian Hergert <chergert redhat com>
Date: Thu Aug 25 21:45:30 2022 -0700
libide/tweaks: use ctrl+w to close tweaks window
src/libide/tweaks/ide-tweaks-window.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/libide/tweaks/ide-tweaks-window.c b/src/libide/tweaks/ide-tweaks-window.c
index 0f160c6ac..6d4d2affa 100644
--- a/src/libide/tweaks/ide-tweaks-window.c
+++ b/src/libide/tweaks/ide-tweaks-window.c
@@ -594,6 +594,8 @@ ide_tweaks_window_class_init (IdeTweaksWindowClass *klass)
gtk_widget_class_install_action (widget_class, "navigation.back", NULL,
ide_tweaks_window_navigate_back_action);
+ gtk_widget_class_add_binding_action (widget_class, GDK_KEY_w, GDK_CONTROL_MASK, "window.close", NULL);
+
g_type_ensure (IDE_TYPE_TWEAKS_PANEL);
g_type_ensure (IDE_TYPE_TWEAKS_PANEL_LIST);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]