Commit fa51cfb6 authored by Krzesimir Nowak's avatar Krzesimir Nowak Committed by Paolo Bacchilega

Remove "Last Output" from menu.

This is meaningless for most users. Note that this feature is still
used when testing integrity.
parent 3f98264c
......@@ -785,15 +785,6 @@ activate_action_sort_reverse_order (GtkAction *action,
}
void
activate_action_last_output (GtkAction *action,
gpointer data)
{
FrWindow *window = data;
fr_window_view_last_output (window, _("Last Output"));
}
void
activate_action_go_back (GtkAction *action,
gpointer data)
......
......@@ -67,7 +67,6 @@ void activate_action_view_folders (GtkAction *action, gpointer data);
void activate_action_stop (GtkAction *action, gpointer data);
void activate_action_reload (GtkAction *action, gpointer data);
void activate_action_sort_reverse_order (GtkAction *action, gpointer data);
void activate_action_last_output (GtkAction *action, gpointer data);
void activate_action_go_back (GtkAction *action, gpointer data);
void activate_action_go_forward (GtkAction *action, gpointer data);
......
......@@ -2104,9 +2104,6 @@ fr_window_update_sensitivity (FrWindow *window)
set_sensitive (window, "Extract", file_op);
set_sensitive (window, "Extract_Toolbar", file_op);
set_sensitive (window, "Find", ! no_archive);
set_sensitive (window, "LastOutput", ((window->archive != NULL)
&& (window->archive->process != NULL)
&& (window->archive->process->out.raw != NULL)));
set_sensitive (window, "New", ! running);
set_sensitive (window, "Open", ! running);
set_sensitive (window, "Open_Toolbar", ! running);
......
......@@ -126,10 +126,6 @@ static GtkActionEntry action_entries[] = {
NULL,
G_CALLBACK (activate_action_find) },
{ "LastOutput", NULL,
N_("_Last Output"), NULL,
N_("View the output produced by the last executed command"),
G_CALLBACK (activate_action_last_output) },
{ "New", GTK_STOCK_NEW,
N_("New…"), NULL,
N_("Create a new archive"),
......@@ -321,8 +317,6 @@ static const gchar *ui_info =
" <menuitem action='SortReverseOrder'/>"
" </menu>"*/
" <separator/>"
" <menuitem action='LastOutput'/>"
" <separator/>"
" <menuitem action='Stop'/>"
" <menuitem action='Reload'/>"
" </menu>"
......
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