[gnumeric] possible fix for #646771
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] possible fix for #646771
- Date: Tue, 5 Apr 2011 04:21:34 +0000 (UTC)
commit 29bbd775c945ec7a7839e5a5f639f194154ec71c
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date: Mon Apr 4 22:20:59 2011 -0600
possible fix for #646771
2011-04-04 Andreas J. Guelzow <aguelzow pyrshep ca>
* dialog-define-names.c (name_guru_init): use the correct key
src/dialogs/ChangeLog | 4 ++++
src/dialogs/dialog-define-names.c | 3 ++-
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/src/dialogs/ChangeLog b/src/dialogs/ChangeLog
index f327217..b28ce5a 100644
--- a/src/dialogs/ChangeLog
+++ b/src/dialogs/ChangeLog
@@ -1,3 +1,7 @@
+2011-04-04 Andreas J. Guelzow <aguelzow pyrshep ca>
+
+ * dialog-define-names.c (name_guru_init): use the correct key
+
2011-03-24 Morten Welinder <terra gnome org>
* Release 1.10.14
diff --git a/src/dialogs/dialog-define-names.c b/src/dialogs/dialog-define-names.c
index 9bead16..b9f6ca9 100644
--- a/src/dialogs/dialog-define-names.c
+++ b/src/dialogs/dialog-define-names.c
@@ -1260,7 +1260,8 @@ name_guru_init (NameGuruState *state, WBCGtk *wbcg, gboolean is_paste_dialog)
/* a candidate for merging into attach guru */
gnumeric_keyed_dialog (state->wbcg, GTK_WINDOW (state->dialog),
- DEFINE_NAMES_KEY);
+ is_paste_dialog ? PASTE_NAMES_KEY
+ : DEFINE_NAMES_KEY);
go_gtk_nonmodal_dialog (wbcg_toplevel (state->wbcg),
GTK_WINDOW (state->dialog));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]