[gnumeric] Actions: eliminate RedoLast and UndoLast which appear to be duplicates.



commit 103cbf405bc6c332637c404e1de33c47ebbc9411
Author: Morten Welinder <terra gnome org>
Date:   Fri Feb 3 11:46:46 2012 -0500

    Actions: eliminate RedoLast and UndoLast which appear to be duplicates.

 ChangeLog             |    5 +++++
 src/wbc-gtk-actions.c |    9 ---------
 2 files changed, 5 insertions(+), 9 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 2fdfce7..33681f1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-02-03  Morten Welinder  <terra gnome org>
+
+	* src/wbc-gtk-actions.c (permanent_actions): Get rid of UndoLast
+	and RedoLast.
+
 2012-02-02  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* src/wbc-gtk-actions.c (permanent_actions): delete MenuInsertNames
diff --git a/src/wbc-gtk-actions.c b/src/wbc-gtk-actions.c
index aff5500..f1d5d2d 100644
--- a/src/wbc-gtk-actions.c
+++ b/src/wbc-gtk-actions.c
@@ -496,9 +496,6 @@ static GNM_ACTION_DEF (cb_sheet_remove)
 		scg_delete_sheet_if_possible (scg);
 }
 
-static GNM_ACTION_DEF (cb_edit_undo_last) { command_undo (WORKBOOK_CONTROL (wbcg)); }
-static GNM_ACTION_DEF (cb_edit_redo_last) { command_redo (WORKBOOK_CONTROL (wbcg)); }
-
 static void
 common_cell_goto (WBCGtk *wbcg, Sheet *sheet, GnmCellPos const *pos)
 {
@@ -2062,12 +2059,6 @@ static GtkActionEntry const permanent_actions[] = {
 	{ "EditCopy", GTK_STOCK_COPY, NULL,
 		NULL, N_("Copy the selection"),
 		G_CALLBACK (cb_edit_copy) },
-	{ "UndoLast", GTK_STOCK_UNDO, N_("_Undo"),
-		NULL, N_("Undo the last action"),
-		G_CALLBACK (cb_edit_undo_last) },
-	{ "RedoLast", GTK_STOCK_REDO, N_("_Redo"),
-		NULL, N_("Redo the undone action"),
-		G_CALLBACK (cb_edit_redo_last) },
 
 	{ "InsertNames", GTK_STOCK_PASTE, N_("_Name..."),
 	        "F3", N_("Insert a defined name"),



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