[gnumeric] Make reference display in paste/define names dialog consistent with sheet preferences. [Debian #699



commit 441195646173638c620f56698c7f12b25c6fcabd
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date:   Tue Jun 4 11:27:12 2013 -0600

     Make reference display in paste/define names dialog consistent with sheet preferences. [Debian #699054]
    
    2013-06-04  Andreas J. Guelzow <aguelzow pyrshep ca>
    
        * dialog-define-names.c (name_guru_store_names): use sheet specific
        conventions

 NEWS                              |    2 ++
 src/dialogs/ChangeLog             |    5 +++++
 src/dialogs/dialog-define-names.c |    2 +-
 3 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/NEWS b/NEWS
index d5a0572..32593ab 100644
--- a/NEWS
+++ b/NEWS
@@ -15,6 +15,8 @@ Andreas:
          [#699710]
        * Fix placement of hyperlink tooltip. [#701436]
        * Adjust cell comment display. [#698519]
+       * Make reference display in paste/define names dialog consistent with
+         sheet preferences. [Debian #699054]
 
 Darrell Tangman:
        * Update documentation for Edit and Insert menus. [#700596]
diff --git a/src/dialogs/ChangeLog b/src/dialogs/ChangeLog
index 39c6de5..d267330 100644
--- a/src/dialogs/ChangeLog
+++ b/src/dialogs/ChangeLog
@@ -1,3 +1,8 @@
+2013-06-04  Andreas J. Guelzow <aguelzow pyrshep ca>
+
+       * dialog-define-names.c (name_guru_store_names): use sheet specific
+       conventions
+
 2013-05-29  Andreas J. Guelzow <aguelzow pyrshep ca>
 
        * dialog-cell-format.c (dialog_cell_format_select_style): fix returns
diff --git a/src/dialogs/dialog-define-names.c b/src/dialogs/dialog-define-names.c
index 9071d72..908f894 100644
--- a/src/dialogs/dialog-define-names.c
+++ b/src/dialogs/dialog-define-names.c
@@ -360,7 +360,7 @@ name_guru_store_names (GList            *list,
                        adj_type = type;
 
                content = expr_name_as_string (nexpr, &state->pp,
-                                              gnm_conventions_default);
+                                              sheet_get_conventions (state->sheet));
 
 
                gtk_tree_store_append (state->model, &name_iter,


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