aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--hildon-widgets/hildon-time-editor.c5
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ee724fe..6350757 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+3006-05-10 Tapani Palli <tapani.palli@nokia.com>
+
+ * hildon-widgets/hildon-time-editor.c:
+ block signal handler for hildon_time_editor_inserted_text
+
+ NB#28679
+
2006-05-09 Luc Pionchon <luc.pionchon@nokia.com>
* hildon-widgets/hildon-time-editor.c:
diff --git a/hildon-widgets/hildon-time-editor.c b/hildon-widgets/hildon-time-editor.c
index bd17482..73a04ce 100644
--- a/hildon-widgets/hildon-time-editor.c
+++ b/hildon-widgets/hildon-time-editor.c
@@ -771,6 +771,8 @@ void hildon_time_editor_set_ticks (HildonTimeEditor * editor,
{
g_signal_handlers_block_by_func(priv->entries[i],
(gpointer) hildon_time_editor_entry_changed, editor);
+ g_signal_handlers_block_by_func(priv->entries[i],
+ (gpointer) hildon_time_editor_inserted_text, editor);
}
g_snprintf(str, sizeof(str), "%02u", h);
@@ -1429,7 +1431,8 @@ hildon_time_editor_inserted_text (GtkEditable * editable,
gtk_widget_grab_focus(priv->entries[ENTRY_MINS]);
*position = -1;
}
- else if (GTK_WIDGET(editable) == priv->entries[ENTRY_MINS])
+ else if (GTK_WIDGET(editable) == priv->entries[ENTRY_MINS] &&
+ GTK_WIDGET_VISIBLE (priv->entries[ENTRY_SECS]))
{
gtk_widget_grab_focus(priv->entries[ENTRY_SECS]);
*position = -1;