[gnome-control-center/gnome-3-4] shell: Fix not being able to assign Ctrl+Q to a shortcut
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gnome-3-4] shell: Fix not being able to assign Ctrl+Q to a shortcut
- Date: Mon, 16 Jul 2012 17:07:33 +0000 (UTC)
commit 8560cf39a214d973e24667fcc82a192fd18251c4
Author: Bastien Nocera <hadess hadess net>
Date: Mon Jul 16 17:03:36 2012 +0100
shell: Fix not being able to assign Ctrl+Q to a shortcut
Because the shell window was capturing it before the key editing
cell had a change to get to it.
s/g_signal_connect/g_signal_connect_after/
https://bugzilla.gnome.org/show_bug.cgi?id=671448
shell/gnome-control-center.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/shell/gnome-control-center.c b/shell/gnome-control-center.c
index b1c66b3..d046033 100644
--- a/shell/gnome-control-center.c
+++ b/shell/gnome-control-center.c
@@ -1115,8 +1115,8 @@ gnome_control_center_init (GnomeControlCenter *self)
/* connect various signals */
priv->window = W (priv->builder, "main-window");
g_signal_connect_swapped (priv->window, "delete-event", G_CALLBACK (g_object_unref), self);
- g_signal_connect (priv->window, "key_press_event",
- G_CALLBACK (window_key_press_event), self);
+ g_signal_connect_after (priv->window, "key_press_event",
+ G_CALLBACK (window_key_press_event), self);
priv->notebook = W (priv->builder, "notebook");
priv->scrolled_window = W (priv->builder, "scrolledwindow1");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]