Commit 6d9e0854 authored by Paolo Bacchilega's avatar Paolo Bacchilega
Browse files

removed the hardcoded shortcuts from the menus

parent 713f1fe8
......@@ -10,7 +10,6 @@
<item>
<attribute name="label" translatable="yes">_Edit Bookmarks…</attribute>
<attribute name="action">win.bookmarks-edit</attribute>
<attribute name="accel"><![CDATA[<Ctrl>b]]></attribute>
</item>
</section>
<submenu id="system-bookmarks">
......
......@@ -54,12 +54,12 @@ static const GthMenuEntry fixed_menu_entries[] = {
static const GthMenuEntry vfs_open_actions_entries[] = {
{ N_("Open Folder"), "win.go-to-container-from-catalog", "<Alt>end" },
{ N_("Open Folder"), "win.go-to-container-from-catalog" },
};
static const GthMenuEntry vfs_other_actions_entries[] = {
{ N_("Remove from Catalog"), "win.remove-from-catalog", "Delete" },
{ N_("Remove from Catalog"), "win.remove-from-catalog" },
};
......
......@@ -53,8 +53,8 @@ static const GthMenuEntry tools_actions[] = {
static const GthMenuEntry file_list_actions[] = {
{ N_("Comment"), "win.edit-metadata", "C" },
{ N_("Tags"), "win.edit-tags", "T" }
{ N_("Comment"), "win.edit-metadata" },
{ N_("Tags"), "win.edit-tags" }
};
......
......@@ -70,16 +70,16 @@ static const GActionEntry actions[] = {
static const GthMenuEntry fixed_menu_entries_edit[] = {
{ N_("Cut"), "win.edit-cut", "<Control>x" },
{ N_("Copy"), "win.edit-copy", "<Control>c" },
{ N_("Paste"), "win.edit-paste", "<Control>v" },
{ N_("Cut"), "win.edit-cut" },
{ N_("Copy"), "win.edit-copy" },
{ N_("Paste"), "win.edit-paste" },
};
static const GthMenuEntry fixed_menu_entries_file[] = {
{ N_("Copy to…"), "win.copy-to-folder" },
{ N_("Move to…"), "win.move-to-folder" },
{ N_("Rename"), "win.file-list-rename", "F2" },
{ N_("Rename"), "win.file-list-rename" },
};
......@@ -115,7 +115,7 @@ static const GthMenuEntry folder_context_folder_entries[] = {
static const GthMenuEntry vfs_entries[] = {
{ N_("Duplicate"), "win.duplicate", "<Control>d" }
{ N_("Duplicate"), "win.duplicate" }
};
......
......@@ -52,13 +52,13 @@ ip__gth_browser_construct_cb (GthBrowser *browser)
GTH_MENU_MANAGER_NEW_MERGE_ID,
_("Print"),
"win.print",
"<control>P",
NULL,
NULL);
gth_menu_manager_append_entry (gth_browser_get_menu_manager (browser, GTH_BROWSER_MENU_MANAGER_FILE_LIST_OPEN_ACTIONS),
GTH_MENU_MANAGER_NEW_MERGE_ID,
_("Print"),
"win.print",
"<control>P",
NULL,
NULL);
gth_window_add_shortcuts (GTH_WINDOW (browser),
shortcuts,
......
......@@ -49,14 +49,14 @@ static const GthShortcut shortcuts[] = {
static const GthMenuEntry tools1_action_entries[] = {
{ N_("Rotate Left"), "win.rotate-left", "bracketleft", "object-rotate-left-symbolic" },
{ N_("Rotate Right"), "win.rotate-right", "bracketright", "object-rotate-right-symbolic" },
{ N_("Rotate Left"), "win.rotate-left", NULL, "object-rotate-left-symbolic" },
{ N_("Rotate Right"), "win.rotate-right", NULL, "object-rotate-right-symbolic" },
};
static const GthMenuEntry tools2_action_entries[] = {
{ N_("Rotate Physically"), "win.apply-orientation", NULL },
{ N_("Reset the EXIF Orientation"), "win.reset-orientation", NULL }
{ N_("Rotate Physically"), "win.apply-orientation" },
{ N_("Reset the EXIF Orientation"), "win.reset-orientation" }
};
......
......@@ -71,12 +71,12 @@ static const GthShortcut shortcuts[] = {
static const GthMenuEntry file_list_popup_open_entries[] = {
{ N_("Open Folder"), "win.go-to-container-from-selection", "<Alt>end" },
{ N_("Open Folder"), "win.go-to-container-from-selection" },
};
static const GthMenuEntry file_list_popup_delete_entries[] = {
{ N_("Remove from Selection"), "win.remove-from-selection", "Delete" },
{ N_("Remove from Selection"), "win.remove-from-selection" },
};
......
......@@ -6,7 +6,6 @@
<item>
<attribute name="label" translatable="yes">Fullscreen</attribute>
<attribute name="action">win.fullscreen</attribute>
<attribute name="accel">F11</attribute>
</item>
</section>
<section id="open-actions">
......
......@@ -6,7 +6,6 @@
<item>
<attribute name="label" translatable="yes">Fullscreen</attribute>
<attribute name="action">win.fullscreen</attribute>
<attribute name="accel">F11</attribute>
</item>
</section>
<section id="open-actions">
......
......@@ -6,19 +6,16 @@
<item>
<attribute name="label" translatable="yes">New Window</attribute>
<attribute name="action">app.new-window</attribute>
<attribute name="accel"><![CDATA[<Ctrl>n]]></attribute>
</item>
<item>
<attribute name="label" translatable="yes">Open Location…</attribute>
<attribute name="action">win.open-location</attribute>
<attribute name="accel"><![CDATA[<Ctrl>l]]></attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">Save</attribute>
<attribute name="action">win.save</attribute>
<attribute name="accel"><![CDATA[<Ctrl>s]]></attribute>
</item>
<item>
<attribute name="label" translatable="yes">Save As…</attribute>
......@@ -27,7 +24,6 @@
<item>
<attribute name="label" translatable="yes">Revert</attribute>
<attribute name="action">win.revert-to-saved</attribute>
<attribute name="accel">F4</attribute>
</item>
</section>
<section id="view-actions">
......
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