file-roller/fr_59941.diff

44 lines
1.5 KiB
Diff

Index: file-roller-2.19.4/ChangeLog
===================================================================
--- file-roller-2.19.4.orig/ChangeLog
+++ file-roller-2.19.4/ChangeLog
@@ -809,6 +809,13 @@
* configure.in: changed version to 2.19.0
2007-03-12 Paolo Bacchilega <paobac@cvs.gnome.org>
+2004-06-16 Subrahmanyam Madduri <smadduri@novell.com>
+
+ * src/ui.h : (action_entries): Added any entry for the "Delete File"
+ in the toolbar. And connected the clckevent of the button to
+ activate_action_delete in actions.c
+ Fixes bug #144800
+
[ File Roller 2.18.0 released ]
Index: file-roller-2.19.4/src/ui.h
===================================================================
--- file-roller-2.19.4.orig/src/ui.h
+++ file-roller-2.19.4/src/ui.h
@@ -108,7 +108,10 @@ static GtkActionEntry action_entries[] =
NULL, NULL,
N_("Delete the selection from the archive"),
G_CALLBACK (activate_action_delete_folder_from_sidebar) },
-
+ { "DeleteFile_Toolbar", GTK_STOCK_REMOVE,
+ N_("Delete"), NULL,
+ N_("Delete file from the archive"),
+ G_CALLBACK (activate_action_delete) },
{ "DeselectAll", NULL,
N_("Dese_lect All"), NULL,
N_("Deselect all files"),
@@ -313,6 +316,7 @@ static const gchar *ui_info =
" <toolbar name='ToolBar'>"
" <toolitem action='New'/>"
" <toolitem action='Extract_Toolbar'/>"
+" <toolitem action='DeleteFile_Toolbar'/>"
" <separator/>"
" <toolitem action='AddFiles_Toolbar'/>"
" <toolitem action='AddFolder_Toolbar'/>"