[gnumeric] GUI: Return FALSE in a focus-out handler.



commit 9d04e2aed59939c55c7ea4cb25ce2325a1906ad1
Author: Morten Welinder <terra gnome org>
Date:   Sat Mar 15 13:54:31 2014 -0400

    GUI: Return FALSE in a focus-out handler.

 NEWS                                  |    1 +
 src/dialogs/ChangeLog                 |    6 ++++++
 src/dialogs/dialog-cell-format-cond.c |    3 ++-
 3 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/NEWS b/NEWS
index 0545bd1..aba7484 100644
--- a/NEWS
+++ b/NEWS
@@ -23,6 +23,7 @@ Morten:
        * Fix rich text problem. [#726086]
        * Improve xls import/export of conditional formats.  [#726202]
        * Fix case sensitivity for conditional formats. [#726246]
+       * Fix minor conditional format GUI issues.
 
 --------------------------------------------------------------------------
 Gnumeric 1.12.12
diff --git a/src/dialogs/ChangeLog b/src/dialogs/ChangeLog
index f492b86..5f980c0 100644
--- a/src/dialogs/ChangeLog
+++ b/src/dialogs/ChangeLog
@@ -1,3 +1,9 @@
+2014-03-15  Morten Welinder  <terra gnome org>
+
+       * dialog-cell-format-cond.c
+       (cb_c_fmt_dialog_chooser_entry_changed): We need to return FALSE
+       in a focus-out handler.
+
 2014-03-03  Morten Welinder <terra gnome org>
 
        * Release 1.12.12
diff --git a/src/dialogs/dialog-cell-format-cond.c b/src/dialogs/dialog-cell-format-cond.c
index 660417b..351c5cd 100644
--- a/src/dialogs/dialog-cell-format-cond.c
+++ b/src/dialogs/dialog-cell-format-cond.c
@@ -216,11 +216,12 @@ cb_c_fmt_dialog_chooser_type_changed (G_GNUC_UNUSED GtkComboBox *widget, CFormat
        c_fmt_dialog_set_sensitive (state);
 }
 
-static void
+static gboolean
 cb_c_fmt_dialog_chooser_entry_changed (G_GNUC_UNUSED GnmExprEntry *widget, G_GNUC_UNUSED GdkEvent *event,
                                       CFormatState *state)
 {
        c_fmt_dialog_set_sensitive (state);
+       return FALSE;
 }
 
 void


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