[gnome-control-center] shell: Add Ctrl+Q as a way to exit the shell
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] shell: Add Ctrl+Q as a way to exit the shell
- Date: Fri, 26 Aug 2011 14:44:31 +0000 (UTC)
commit 054f798b16c7d6ca040466df60cfa857a00a353d
Author: Bastien Nocera <hadess hadess net>
Date: Fri Aug 26 15:43:57 2011 +0100
shell: Add Ctrl+Q as a way to exit the shell
https://bugzilla.gnome.org/show_bug.cgi?id=653443
shell/gnome-control-center.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/shell/gnome-control-center.c b/shell/gnome-control-center.c
index a52e04a..721dae2 100644
--- a/shell/gnome-control-center.c
+++ b/shell/gnome-control-center.c
@@ -1114,6 +1114,11 @@ window_key_press_event (GtkWidget *win,
gtk_widget_grab_focus (self->priv->search_entry);
retval = TRUE;
break;
+ case GDK_KEY_Q:
+ case GDK_KEY_q:
+ g_object_unref (self);
+ retval = TRUE;
+ break;
}
}
return retval;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]