[gnumeric] Fix custom colour combos for conditional format selection. [#677967]



commit 99630a5601d19c4bca7afb8cf974c4e8925805b8
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date:   Tue Jun 12 19:57:01 2012 -0600

    Fix custom colour combos for conditional format selection. [#677967]
    
    2012-06-12  Andreas J. Guelzow <aguelzow pyrshep ca>
    
    	* dialog-cell-format.c (dialog_cell_format_select_style): use
    	go_gtk_nonmodal_dialog

 NEWS                             |    1 +
 src/dialogs/ChangeLog            |    5 +++++
 src/dialogs/dialog-cell-format.c |    4 +---
 3 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/NEWS b/NEWS
index 7432cc7..6f65c9c 100644
--- a/NEWS
+++ b/NEWS
@@ -23,6 +23,7 @@ Andreas:
 	* Add single sample t-test.
 	* Fix random generator/new view combination crash. [#677956]
 	* Improve Mann-Whitney test to allow for two separate data ranges.
+	* Fix custom colour combos for conditional format selection. [#677967]
 
 Jean:
 	* Fix graph series headers when a multiple selection is used. [#675913]
diff --git a/src/dialogs/ChangeLog b/src/dialogs/ChangeLog
index b75397e..d158d9e 100644
--- a/src/dialogs/ChangeLog
+++ b/src/dialogs/ChangeLog
@@ -1,5 +1,10 @@
 2012-06-12  Andreas J. Guelzow <aguelzow pyrshep ca>
 
+	* dialog-cell-format.c (dialog_cell_format_select_style): use
+	go_gtk_nonmodal_dialog
+
+2012-06-12  Andreas J. Guelzow <aguelzow pyrshep ca>
+
 	* wilcoxon-mann-whitney.ui: use two input entries
 	* dialog-analysis-tool-wilcoxon-mann-whitney.c (dialog_wilcoxon_m_w_tool):
 	adjust to two input fields
diff --git a/src/dialogs/dialog-cell-format.c b/src/dialogs/dialog-cell-format.c
index 030f9d2..6dd3d58 100644
--- a/src/dialogs/dialog-cell-format.c
+++ b/src/dialogs/dialog-cell-format.c
@@ -2577,8 +2577,6 @@ dialog_cell_format_select_style (WBCGtk *wbcg, gint pages,
 
 	gtk_widget_hide (state->apply_button);
 
-	go_gtk_window_set_transient (GTK_WINDOW (w),
-				     GTK_WINDOW (state->dialog));
-	gtk_window_set_modal (GTK_WINDOW (state->dialog), TRUE);
+	go_gtk_nonmodal_dialog (w, GTK_WINDOW (state->dialog));
 	gtk_widget_show (GTK_WIDGET (state->dialog));
 }



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