[gnumeric] Fix undoing of Clear->All. [#623803]
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Fix undoing of Clear->All. [#623803]
- Date: Thu, 8 Jul 2010 04:41:41 +0000 (UTC)
commit 437085622c42040b968e35c18f873760b34fe656
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date: Wed Jul 7 22:42:22 2010 -0600
Fix undoing of Clear->All. [#623803]
2010-07-07 Andreas J. Guelzow <aguelzow pyrshep ca>
* src/wbc-gtk-actions.c (cb_edit_clear_all): include CLEAR_COMMENTS
flag
ChangeLog | 5 +++++
NEWS | 1 +
src/wbc-gtk-actions.c | 2 +-
3 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 267589d..83c2c81 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2010-07-07 Andreas J. Guelzow <aguelzow pyrshep ca>
+ * src/wbc-gtk-actions.c (cb_edit_clear_all): include CLEAR_COMMENTS
+ flag
+
+2010-07-07 Andreas J. Guelzow <aguelzow pyrshep ca>
+
* src/GNOME_Gnumeric-gtk.xml.in: add and move hyperlink and
comment items
* src/HILDON_Gnumeric-gtk.xml.in: ditto
diff --git a/NEWS b/NEWS
index a60281e..22443a3 100644
--- a/NEWS
+++ b/NEWS
@@ -19,6 +19,7 @@ Andreas:
* Fix HDATE and friends. [#623764]
* New functions DATE2HDATE, DATE2HDATE_HEB and DATE2JULIAN.
* Add hyperlink and comment removal menu items.
+ * Fix undoing of Clear->All. [#623803]
Jean:
* Fix strong/weak cursor display. [#623241]
diff --git a/src/wbc-gtk-actions.c b/src/wbc-gtk-actions.c
index 11197e0..8cd04f8 100644
--- a/src/wbc-gtk-actions.c
+++ b/src/wbc-gtk-actions.c
@@ -312,7 +312,7 @@ static GNM_ACTION_DEF (cb_file_quit)
static GNM_ACTION_DEF (cb_edit_clear_all)
{
cmd_selection_clear (WORKBOOK_CONTROL (wbcg),
- CLEAR_VALUES | CLEAR_FORMATS | CLEAR_OBJECTS);
+ CLEAR_VALUES | CLEAR_FORMATS | CLEAR_OBJECTS | CLEAR_COMMENTS);
}
static GNM_ACTION_DEF (cb_edit_clear_formats)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]