[evolution-patches] add accel for remove attachment menu (bug #41970)



Hi,
	the attached patch add the missing accel to the Remove item in the
popup menu for the attachment bar. While at it it also add the proper
icon. Fixes bug 41970.

	It should be trivial enaugh to not require copyright assignments.


ciao
	paolo
Index: composer/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/composer/ChangeLog,v
retrieving revision 1.597
diff -u -p -r1.597 ChangeLog
--- composer/ChangeLog	14 Jan 2004 04:25:25 -0000	1.597
+++ composer/ChangeLog	27 Jan 2004 18:18:49 -0000
@@ -1,3 +1,8 @@
+2004-01-25  Paolo Borelli  <pborelli katamail com>
+
+	* e-msg-composer-attachment-bar.c: add accel and icon for
+	the "remove" item in the popup menu.
+
 2004-01-14  Not Zed  <NotZed Ximian com>
 
 	** See Bug #20017.
Index: composer/e-msg-composer-attachment-bar.c
===================================================================
RCS file: /cvs/gnome/evolution/composer/e-msg-composer-attachment-bar.c,v
retrieving revision 1.80
diff -u -p -r1.80 e-msg-composer-attachment-bar.c
--- composer/e-msg-composer-attachment-bar.c	24 Sep 2003 20:12:02 -0000	1.80
+++ composer/e-msg-composer-attachment-bar.c	27 Jan 2004 18:18:50 -0000
@@ -437,13 +438,14 @@ remove_cb (GtkWidget *widget, gpointer d
 	remove_selected (bar);
 }
 
-
+
 /* Popup menu handling.  */
 
 static GnomeUIInfo icon_context_menu_info[] = {
-	GNOMEUIINFO_ITEM (N_("Remove"),
-			  N_("Remove selected items from the attachment list"),
-			  remove_cb, NULL),
+	GNOMEUIINFO_ITEM_STOCK (N_("_Remove"),
+				N_("Remove selected items from the attachment list"),
+				remove_cb,
+				GTK_STOCK_REMOVE),
 	GNOMEUIINFO_MENU_PROPERTIES_ITEM (properties_cb, NULL),
 	GNOMEUIINFO_END
 };


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]