file-roller/fr_59941.diff

41 lines
1.4 KiB
Diff

Index: file-roller-2.18.0/ChangeLog
===================================================================
--- file-roller-2.18.0.orig/ChangeLog
+++ file-roller-2.18.0/ChangeLog
@@ -1,4 +1,11 @@
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.18.0/src/ui.h
===================================================================
--- file-roller-2.18.0.orig/src/ui.h
+++ file-roller-2.18.0/src/ui.h
@@ -78,6 +78,10 @@ static GtkActionEntry action_entries[] =
NULL, NULL,
N_("Delete the selection from the archive"),
G_CALLBACK (activate_action_delete) },
+ { "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"),
@@ -276,6 +280,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'/>"