Commit 08ede3b0 authored by Paolo Bacchilega's avatar Paolo Bacchilega
Browse files

ignore internal shortcuts in gth_window_activate_shortcut

They are activated elsewhere.
parent 8115cd5e
......@@ -857,6 +857,9 @@ gth_window_activate_shortcut (GthWindow *window,
if (shortcut != NULL) {
GAction *action;
if ((shortcut->context & GTH_SHORTCUT_CONTEXT_INTERNAL) != 0)
return FALSE;
action = g_action_map_lookup_action (G_ACTION_MAP (window), shortcut->action_name);
if (action != NULL) {
GVariant *variant;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment