diff options
-rw-r--r-- | hildon/hildon-touch-selector-entry.c | 3 | ||||
-rw-r--r-- | hildon/hildon-touch-selector.c | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/hildon/hildon-touch-selector-entry.c b/hildon/hildon-touch-selector-entry.c index 1db7793..efc85a1 100644 --- a/hildon/hildon-touch-selector-entry.c +++ b/hildon/hildon-touch-selector-entry.c @@ -52,6 +52,7 @@ */ #include "hildon-touch-selector.h" +#include "hildon-touch-selector-private.h" #include "hildon-touch-selector-entry.h" #include "hildon-entry.h" @@ -373,6 +374,8 @@ hildon_touch_selector_entry_set_text_column (HildonTouchSelectorEntry *selector, column = hildon_touch_selector_get_column (HILDON_TOUCH_SELECTOR (selector), 0); hildon_touch_selector_column_set_text_column (column, text_column); + + hildon_touch_selector_column_disable_focus (column); } /** diff --git a/hildon/hildon-touch-selector.c b/hildon/hildon-touch-selector.c index 1d86eb9..7355db4 100644 --- a/hildon/hildon-touch-selector.c +++ b/hildon/hildon-touch-selector.c @@ -879,9 +879,6 @@ _create_new_column (HildonTouchSelector * selector, #endif /* MAEMO_GTK */ gtk_tree_view_set_enable_search (tv, FALSE); - if (!selector->priv->has_live_search) { - GTK_WIDGET_UNSET_FLAGS (GTK_WIDGET (tv), GTK_CAN_FOCUS); - } filter = gtk_tree_model_filter_new (model, NULL); gtk_tree_view_set_model (tv, filter); |