[gnumeric] GUI: Fix redraw on redo.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] GUI: Fix redraw on redo.
- Date: Fri, 3 May 2013 18:39:29 +0000 (UTC)
commit b757b3aa646859c3b4ec641328d09cabf1853e14
Author: Morten Welinder <terra gnome org>
Date: Fri May 3 14:38:50 2013 -0400
GUI: Fix redraw on redo.
ChangeLog | 4 ++++
src/commands.c | 2 +-
src/sheet.c | 1 +
3 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 0e40e1f..af6fd13 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-05-03 Morten Welinder <terra gnome org>
+
+ * src/sheet.c (sheet_range_set_text_cb): Add redraw.
+
2013-05-01 Morten Welinder <terra gnome org>
* src/print-info.c: Add gsf includes to make things work with
diff --git a/src/commands.c b/src/commands.c
index ca8a08d..0ebe12d 100644
--- a/src/commands.c
+++ b/src/commands.c
@@ -1028,7 +1028,7 @@ cmd_set_text_full (WorkbookControl *wbc, GSList *selection, GnmEvalPos *ep,
go_undo_undo (undo);
}
if (same_text_and_not_same_markup) {
- /*We had the same text and differnt markup but we are not entering strings. */
+ /*We had the same text and different markup but we are not entering strings. */
g_object_unref (undo);
g_object_unref (redo);
g_free (text);
diff --git a/src/sheet.c b/src/sheet.c
index 8e3dc8b..52291d2 100644
--- a/src/sheet.c
+++ b/src/sheet.c
@@ -2726,6 +2726,7 @@ sheet_range_set_text_cb (GnmSheetRange const *sr, gchar const *text)
sheet_flag_status_update_range (sr->sheet, &sr->range);
sheet_queue_respan (sr->sheet, sr->range.start.row,
sr->range.end.row);
+ sheet_redraw_range (sr->sheet, &sr->range);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]