Commit c0098674 authored by Paolo Bacchilega's avatar Paolo Bacchilega
Browse files

shortcuts window: ignore hidden shortcuts, not internal

Internal shortcuts can be documented now.
parent 532a249a
......@@ -73,8 +73,7 @@ gth_shortcuts_window_new (GthWindow *app_window)
GthShortcut *shortcut_info = g_ptr_array_index (shortcuts_v, i);
GtkWidget *shortcut;
/* FIXME: document internal shortcuts as well */
if (shortcut_info->context == GTH_SHORTCUT_CONTEXT_INTERNAL)
if (g_strcmp0 (shortcut_info->category, GTH_SHORTCUT_CATEGORY_HIDDEN) == 0)
continue;
if ((shortcut_info->context & context->id) == 0)
......
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