[goffice] Conf: fix problem saving string lists.



commit 0b21189506126981cb138220123bf6a6d1a9e5d4
Author: Morten Welinder <terra gnome org>
Date:   Wed Mar 12 14:36:25 2014 -0400

    Conf: fix problem saving string lists.

 ChangeLog                       |    5 +++++
 NEWS                            |    3 +++
 goffice/app/go-conf-gsettings.c |    1 +
 3 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index b2bdd15..2647c90 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-03-12  Morten Welinder  <terra gnome org>
+
+       * goffice/app/go-conf-gsettings.c (go_conf_load_str_list): Don't
+       reverse the order of elements.  Fixes #698630.
+
 2014-03-09 Andreas J. Guelzow <aguelzow pyrshep ca>
 
        * goffice/utils/go-format.c (go_format_output_number_to_odf): write
diff --git a/NEWS b/NEWS
index 7528cca..13389df 100644
--- a/NEWS
+++ b/NEWS
@@ -10,6 +10,9 @@ Jean:
 Julian Sikorski:
        * Remove extra DESTDIR in mathml to itex converter. [#725684]
 
+Morten:
+       * Fix problem saving print settings.  [#698630]
+
 --------------------------------------------------------------------------
 goffice 0.10.12:
 
diff --git a/goffice/app/go-conf-gsettings.c b/goffice/app/go-conf-gsettings.c
index 803303a..ca8992e 100644
--- a/goffice/app/go-conf-gsettings.c
+++ b/goffice/app/go-conf-gsettings.c
@@ -363,6 +363,7 @@ go_conf_load_str_list (GOConfNode *node, gchar const *key)
                for (ptr = strs; *ptr; ptr++)
                        list = g_slist_prepend (list, g_strdup (*ptr));
                g_strfreev (strs);
+               list = g_slist_reverse (list);
        }
 
        return list;


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