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:
parent
93d7d6b6ea
commit
054f798b16
1 changed files with 5 additions and 0 deletions
|
@ -1114,6 +1114,11 @@ window_key_press_event (GtkWidget *win,
|
||||||
gtk_widget_grab_focus (self->priv->search_entry);
|
gtk_widget_grab_focus (self->priv->search_entry);
|
||||||
retval = TRUE;
|
retval = TRUE;
|
||||||
break;
|
break;
|
||||||
|
case GDK_KEY_Q:
|
||||||
|
case GDK_KEY_q:
|
||||||
|
g_object_unref (self);
|
||||||
|
retval = TRUE;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return retval;
|
return retval;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue