shell: Add Ctrl+Q as a way to exit the shell

https://bugzilla.gnome.org/show_bug.cgi?id=653443
This commit is contained in:
Bastien Nocera 2011-08-26 15:43:57 +01:00
parent 93d7d6b6ea
commit 054f798b16

View file

@ -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;