Commit e6c906bf authored by Paolo Borelli's avatar Paolo Borelli Committed by Ignacio Casal Quinteiro

Bring back Save All and Close All

parent 016d2475
......@@ -2872,13 +2872,15 @@ activate_toggle (GSimpleAction *action,
}
static GActionEntry win_entries[] = {
{ "open", _gedit_cmd_file_open },
{ "new_tab", _gedit_cmd_file_new },
{ "open", _gedit_cmd_file_open },
{ "revert", _gedit_cmd_file_revert },
{ "save", _gedit_cmd_file_save },
{ "save_as", _gedit_cmd_file_save_as },
{ "print", _gedit_cmd_file_print },
{ "revert", _gedit_cmd_file_revert },
{ "save_all", _gedit_cmd_file_save_all },
{ "close", _gedit_cmd_file_close },
{ "close_all", _gedit_cmd_file_close_all },
{ "print", _gedit_cmd_file_print },
{ "side_panel", activate_toggle, NULL, "false", _gedit_cmd_view_toggle_side_panel },
{ "bottom_panel", activate_toggle, NULL, "false", _gedit_cmd_view_toggle_bottom_panel },
{ "fullscreen", activate_toggle, NULL, "false", _gedit_cmd_view_toggle_fullscreen_mode },
......@@ -2889,8 +2891,6 @@ static GActionEntry win_entries[] = {
{ "replace", _gedit_cmd_search_replace },
{ "clear_highlight", _gedit_cmd_search_clear_highlight },
{ "goto_line", _gedit_cmd_search_goto_line },
{ "save_all", _gedit_cmd_file_save_all },
{ "close_all", _gedit_cmd_file_close_all },
{ "new_tab_group", _gedit_cmd_documents_new_tab_group },
{ "previous_tab_group", _gedit_cmd_documents_previous_tab_group },
{ "next_tab_group", _gedit_cmd_documents_next_tab_group },
......
......@@ -7,13 +7,18 @@
</section>
<section>
<attribute name="id">ext2</attribute>
<item>
<attribute name="label" translatable="yes">_Reload</attribute>
<attribute name="action">win.revert</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Save As…</attribute>
<attribute name="action">win.save_as</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Reload</attribute>
<attribute name="action">win.revert</attribute>
<attribute name="label" translatable="yes">Save _All</attribute>
<attribute name="action">win.save_all</attribute>
<attribute name="accel">&lt;Primary&gt;&lt;Shift&gt;l</attribute>
</item>
</section>
<section>
......@@ -81,6 +86,11 @@
</section>
<section>
<attribute name="id">ext12</attribute>
<item>
<attribute name="label" translatable="yes">_Close All</attribute>
<attribute name="action">win.close_all</attribute>
<attribute name="accel">&lt;Primary&gt;&lt;Shift&gt;w</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Close</attribute>
<attribute name="action">win.close</attribute>
......
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