[gthumb] shortcuts window: ignore hidden shortcuts, not internal
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] shortcuts window: ignore hidden shortcuts, not internal
- Date: Sun, 24 Nov 2019 12:31:32 +0000 (UTC)
commit c009867416fbb566b122cbc36a088f95f2e3697c
Author: Paolo Bacchilega <paobac src gnome org>
Date: Wed Nov 13 17:03:19 2019 +0100
shortcuts window: ignore hidden shortcuts, not internal
Internal shortcuts can be documented now.
gthumb/gth-shortcuts-window.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/gthumb/gth-shortcuts-window.c b/gthumb/gth-shortcuts-window.c
index 3ec609ea..6198507c 100644
--- a/gthumb/gth-shortcuts-window.c
+++ b/gthumb/gth-shortcuts-window.c
@@ -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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]