[libgda] Emit the "contents-activated" signal even if the data entry's value is its reference



commit 97396cd7ffe8ccdbb1993f5847f527dfc7eaf7bd
Author: Vivien Malerba <malerba gnome-db org>
Date:   Mon Aug 2 20:22:50 2010 +0200

    Emit the "contents-activated" signal even if the data entry's value is its reference
    
    because it may have changed once and then changed again to its reference value

 libgda-ui/data-entries/gdaui-entry-wrapper.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgda-ui/data-entries/gdaui-entry-wrapper.c b/libgda-ui/data-entries/gdaui-entry-wrapper.c
index cdc1709..3034fda 100644
--- a/libgda-ui/data-entries/gdaui-entry-wrapper.c
+++ b/libgda-ui/data-entries/gdaui-entry-wrapper.c
@@ -377,7 +377,7 @@ static void
 contents_activated_cb (GtkWidget *entry, GdauiEntryWrapper *mgwrap)
 {
 	/* @entry is not used */
-	if (! mgwrap->priv->signals_blocked && mgwrap->priv->contents_has_changed) {
+	if (! mgwrap->priv->signals_blocked) {
 		mgwrap->priv->null_forced = FALSE;
 		mgwrap->priv->default_forced = FALSE;
 #ifdef debug_signal



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