[file-roller] removed the Stop action from the View menu
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller] removed the Stop action from the View menu
- Date: Mon, 6 Aug 2012 17:20:17 +0000 (UTC)
commit 17617ec137d1627317e954f6ea91c4202bd57807
Author: Paolo Bacchilega <paobac src gnome org>
Date: Mon Aug 6 19:18:11 2012 +0200
removed the Stop action from the View menu
the user can use the Cancel button in the progress dialog to
stop a long operation
src/fr-window.c | 2 --
src/ui.h | 4 ----
src/ui/menus-toolbars.ui | 1 -
3 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/src/fr-window.c b/src/fr-window.c
index 86ad4a2..68a162e 100644
--- a/src/fr-window.c
+++ b/src/fr-window.c
@@ -1005,7 +1005,6 @@ fr_window_update_sensitivity (FrWindow *window)
set_sensitive (window, "Rename", ! no_archive && ! ro && ! running && can_store_many_files && one_file_selected);
set_sensitive (window, "SaveAs", ! no_archive && can_store_many_files && ! running);
set_sensitive (window, "SelectAll", ! no_archive);
- set_sensitive (window, "Stop", running && window->priv->stoppable);
set_sensitive (window, "TestArchive", ! no_archive && ! running && window->archive->propTest);
set_sensitive (window, "ViewSelection", file_op && one_file_selected && ! dir_selected);
set_sensitive (window, "ViewSelection_Toolbar", file_op && one_file_selected && ! dir_selected);
@@ -5216,7 +5215,6 @@ fr_archive_stoppable_cb (FrArchive *archive,
FrWindow *window)
{
window->priv->stoppable = stoppable;
- set_sensitive (window, "Stop", stoppable);
if (window->priv->progress_dialog != NULL)
gtk_dialog_set_response_sensitive (GTK_DIALOG (window->priv->progress_dialog),
GTK_RESPONSE_OK,
diff --git a/src/ui.h b/src/ui.h
index 60e8b16..3b11684 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -162,10 +162,6 @@ static GtkActionEntry action_entries[] = {
NULL, "<control>A",
N_("Select all files"),
G_CALLBACK (activate_action_select_all) },
- { "Stop", GTK_STOCK_STOP,
- NULL, "Escape",
- N_("Stop current operation"),
- G_CALLBACK (activate_action_stop) },
{ "TestArchive", NULL,
N_("_Test Integrity"), NULL,
N_("Test whether the archive contains errors"),
diff --git a/src/ui/menus-toolbars.ui b/src/ui/menus-toolbars.ui
index d60dbee..529d383 100644
--- a/src/ui/menus-toolbars.ui
+++ b/src/ui/menus-toolbars.ui
@@ -38,7 +38,6 @@
<menuitem action="ViewAllFiles"/>
<menuitem action="ViewAsFolder"/>
<separator/>
- <menuitem action="Stop"/>
<menuitem action="Reload"/>
</menu>
<menu action="HelpMenu">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]