[gnumeric] GUI: Fix update of status line after drags.



commit 54b28a657b9a23b793c79659779aaa85fd0539dd
Author: Morten Welinder <terra gnome org>
Date:   Tue Sep 8 21:44:41 2009 -0400

    GUI: Fix update of status line after drags.

 ChangeLog       |    5 +++++
 NEWS            |    1 +
 src/item-edit.c |    6 ++----
 3 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 3b50297..0c33d7f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-09-08  Morten Welinder  <terra gnome org>
+
+	* src/item-cursor.c (item_cursor_button_released): Clear status
+	message in drag and autofill cases too.  Fixes #594469.
+
 2009-09-08  Emmanuel Pacaud <emmanuel pacaud lapp in2p3 fr>
 
 	Use automake 1.11 SILENT_RULES when present, for cleaner build
diff --git a/NEWS b/NEWS
index 3c15006..5c5ad9c 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,7 @@ Gnumeric 1.9.13
 
 Morten:
 	* Fixes text export GUI issue.  [#594155]
+	* Fix minor status line issue.  [#594469]
 
 --------------------------------------------------------------------------
 Gnumeric 1.9.12
diff --git a/src/item-edit.c b/src/item-edit.c
index 1298876..c6ead22 100644
--- a/src/item-edit.c
+++ b/src/item-edit.c
@@ -235,10 +235,8 @@ item_edit_update_bounds (GocItem *item)
 			attr->end_index = G_MAXINT;
 			pango_attr_list_insert (attrs, attr);
 		}
-		attr = pango_attr_scale_new (item->canvas->pixels_per_unit);
-		attr->start_index = 0;
-		attr->end_index = G_MAXINT;
-		pango_attr_list_insert_before (attrs, attr);
+		pango_attr_list_insert_before (attrs,
+					       pango_attr_scale_new (scale));
 
 		pango_layout_set_attributes (ie->layout, attrs);
 		pango_attr_list_unref (attrs);



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