[gnumeric] .gnumeric: load loading of scrollbars and spinbuttons.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] .gnumeric: load loading of scrollbars and spinbuttons.
- Date: Fri, 23 Mar 2012 20:32:16 +0000 (UTC)
commit cb5f6825bb29064ddf43ffb5246a86249608214a
Author: Morten Welinder <terra gnome org>
Date: Fri Mar 23 16:31:21 2012 -0400
.gnumeric: load loading of scrollbars and spinbuttons.
Cut-and-paste problem.
ChangeLog | 6 ++++++
NEWS | 1 +
src/sheet-object-widget.c | 2 +-
3 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 8e62db4..cf1b746 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-03-23 Morten Welinder <terra gnome org>
+
+ * src/sheet-object-widget.c
+ (sheet_widget_adjustment_prep_sax_parser): Set the right thing
+ when we see a "Page" attribute. Fixes #672716 item 2.
+
2012-03-18 Jean Brefort <jean brefort normalesup org>
* src/graph.c (gnm_go_data_vector_eval),
diff --git a/NEWS b/NEWS
index 36e874a..24a1ef2 100644
--- a/NEWS
+++ b/NEWS
@@ -46,6 +46,7 @@ Morten:
* Allow pattern matching for VLOOKUP/HLOOKUP. [#672319]
* Fix pattern matching for VLOOKUP/HLOOKUP/MATCH.
* Improve test suite for ods.
+ * Fix scrollbar/spinbutton load-from-.gnumeric. [Part of #672716]
--------------------------------------------------------------------------
Gnumeric 1.11.2
diff --git a/src/sheet-object-widget.c b/src/sheet-object-widget.c
index e6053fa..16567ff 100644
--- a/src/sheet-object-widget.c
+++ b/src/sheet-object-widget.c
@@ -1593,7 +1593,7 @@ sheet_widget_adjustment_prep_sax_parser (SheetObject *so, GsfXMLIn *xin,
else if (gnm_xml_attr_double (attrs, "Inc", &tmp))
gtk_adjustment_set_step_increment (swa->adjustment, tmp);
else if (gnm_xml_attr_double (attrs, "Page", &tmp))
- gtk_adjustment_set_step_increment (swa->adjustment, tmp);
+ gtk_adjustment_set_page_increment (swa->adjustment, tmp);
else if (gnm_xml_attr_double (attrs, "Value", &tmp))
gtk_adjustment_set_value (swa->adjustment, tmp);
else if (sax_read_dep (attrs, "Input", &swa->dep, xin, convs))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]