Commit 88c42837 authored by Paolo Bacchilega's avatar Paolo Bacchilega

selection: removed shortcut for the go-to-container action

parent 4d179f50
......@@ -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" },
};
......
......@@ -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);
......
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