[gnumeric] Sheet: fix duplication of display-outlines attribute.



commit 6c2ac2122f53f62e3a0df339df9e40bdda8b68ee
Author: Morten Welinder <terra gnome org>
Date:   Sun Mar 2 10:39:20 2014 -0500

    Sheet: fix duplication of display-outlines attribute.

 ChangeLog   |    3 +++
 NEWS        |    1 +
 src/sheet.c |    2 +-
 3 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index d303b63..c0178af 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2014-03-02  Morten Welinder  <terra gnome org>
 
+       * src/sheet.c (sheet_dup): Don't flip display-outlines for the new
+       sheet.
+
        * src/xml-sax-read.c (xml_sax_named_expr_end): Avoid criticals
        when encountering strangeness.
 
diff --git a/NEWS b/NEWS
index cc8cb61..0f0999f 100644
--- a/NEWS
+++ b/NEWS
@@ -50,6 +50,7 @@ Morten:
        * Fix split pane problem.  [#725375]
        * Don't generate value format during xls read.  [#725453]
        * Fix name criticals.
+       * Fix sheet duplication issue.  [#725504]
 
 --------------------------------------------------------------------------
 Gnumeric 1.12.11
diff --git a/src/sheet.c b/src/sheet.c
index 51249c7..a70d665 100644
--- a/src/sheet.c
+++ b/src/sheet.c
@@ -6201,7 +6201,7 @@ sheet_dup (Sheet const *src)
                "display-grid",            !src->hide_grid,
                "display-column-header",   !src->hide_col_header,
                "display-row-header",      !src->hide_row_header,
-               "display-outlines",        !src->display_outlines,
+               "display-outlines",         src->display_outlines,
                "display-outlines-below",   src->outline_symbols_below,
                "display-outlines-right",   src->outline_symbols_right,
                "conventions",              src->convs,


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