[gthumb] selection: removed shortcut for the go-to-container action
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] selection: removed shortcut for the go-to-container action
- Date: Sun, 24 Nov 2019 12:35:24 +0000 (UTC)
commit 88c428370cbda70e044121c3e42af847fb0e9fa8
Author: Paolo Bacchilega <paobac src gnome org>
Date: Wed Nov 20 17:05:12 2019 +0100
selection: removed shortcut for the go-to-container action
extensions/selections/callbacks.c | 2 --
extensions/selections/main.c | 6 ------
2 files changed, 8 deletions(-)
---
diff --git a/extensions/selections/callbacks.c b/extensions/selections/callbacks.c
index 9f1934de..3a8901d1 100644
--- a/extensions/selections/callbacks.c
+++ b/extensions/selections/callbacks.c
@@ -65,8 +65,6 @@ static const GthShortcut shortcuts[] = {
{ "go-to-selection-1", N_("Show selection 1"), GTH_SHORTCUT_CONTEXT_INTERNAL,
GTH_SHORTCUT_CATEGORY_SELECTIONS, "<Primary>1" },
{ "go-to-selection-2", N_("Show selection 2"), GTH_SHORTCUT_CONTEXT_INTERNAL,
GTH_SHORTCUT_CATEGORY_SELECTIONS, "<Primary>2" },
{ "go-to-selection-3", N_("Show selection 3"), GTH_SHORTCUT_CONTEXT_INTERNAL,
GTH_SHORTCUT_CATEGORY_SELECTIONS, "<Primary>3" },
-
- { "go-to-container-from-selection", N_("Open the file folder"), GTH_SHORTCUT_CONTEXT_BROWSER_VIEWER,
GTH_SHORTCUT_CATEGORY_SELECTIONS, "<Alt>End" },
};
diff --git a/extensions/selections/main.c b/extensions/selections/main.c
index f2d8aabe..01f7b592 100644
--- a/extensions/selections/main.c
+++ b/extensions/selections/main.c
@@ -29,17 +29,11 @@
#include "shortcuts.h"
-static GthShortcutCategory shortcut_categories[] = {
- { GTH_SHORTCUT_CATEGORY_SELECTIONS, N_("Selections"), 17 },
-};
-
-
G_MODULE_EXPORT void
gthumb_extension_activate (void)
{
gth_main_register_file_source (GTH_TYPE_FILE_SOURCE_SELECTIONS);
gth_main_register_metadata_provider (GTH_TYPE_METADATA_PROVIDER_SELECTIONS);
- gth_main_register_shortcut_category (shortcut_categories, G_N_ELEMENTS (shortcut_categories));
gth_hook_add_callback ("gth-browser-construct", 10, G_CALLBACK
(selections__gth_browser_construct_cb), NULL);
gth_hook_add_callback ("gth-browser-selection-changed", 10, G_CALLBACK
(selections__gth_browser_selection_changed_cb), NULL);
gth_hook_add_callback ("gth-browser-file-list-key-press", 10, G_CALLBACK
(selections__gth_browser_file_list_key_press_cb), NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]