[file-roller] Remove "Last Output" from menu.
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller] Remove "Last Output" from menu.
- Date: Fri, 13 Jan 2012 15:09:23 +0000 (UTC)
commit fa51cfb6aae4462d49d24de18ee39261a3c465d2
Author: Krzesimir Nowak <qdlacz gmail com>
Date: Fri Jan 13 10:55:25 2012 +0100
Remove "Last Output" from menu.
This is meaningless for most users. Note that this feature is still
used when testing integrity.
src/actions.c | 9 ---------
src/actions.h | 1 -
src/fr-window.c | 3 ---
src/ui.h | 6 ------
4 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/src/actions.c b/src/actions.c
index c1a87bc..564fad8 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -786,15 +786,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)
{
diff --git a/src/actions.h b/src/actions.h
index 3e4502c..d2b9d95 100644
--- a/src/actions.h
+++ b/src/actions.h
@@ -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);
diff --git a/src/fr-window.c b/src/fr-window.c
index 0657d2e..a9ec234 100644
--- a/src/fr-window.c
+++ b/src/fr-window.c
@@ -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);
diff --git a/src/ui.h b/src/ui.h
index 4e35326..2890bad 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -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>"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]