2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
authorClaudio Saavedra <csaavedra@igalia.com>
Tue, 9 Dec 2008 11:28:48 +0000 (11:28 +0000)
committerClaudio Saavedra <csaavedra@igalia.com>
Tue, 9 Dec 2008 11:28:48 +0000 (11:28 +0000)
* src/hildon-touch-selector-entry.c:
(hildon_touch_selector_entry_init): Use a HildonEntry instead
of a GtkEntry to get proper theming.

Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
widget, not GtkEntry)

ChangeLog
src/hildon-touch-selector-entry.c

index f7456ef..ca295f2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
 
+       * src/hildon-touch-selector-entry.c:
+       (hildon_touch_selector_entry_init): Use a HildonEntry instead
+       of a GtkEntry to get proper theming.
+
+       Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
+       widget, not GtkEntry)
+
+2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
+
        * src/hildon-wizard-dialog.c: (response): Move forward if there is
        no HildonWizardDialogPageFunc.
 
index 2e20011..54fef7f 100644 (file)
@@ -25,7 +25,7 @@
  *
  * #HildonTouchSelectorEntry is a selector widget with a text entry, similar in
  * behaviour to #GtkComboBoxEntry, that allows user to select an item from a
- * predefined list or to enter a different one in a #GtkEntry. Items can also
+ * predefined list or to enter a different one in a #HildonEntry. Items can also
  * be searched and selected by typing in the entry.
  *
  * The main difference between the #GtkTreeModel used by #HildonTouchSelector
@@ -45,6 +45,7 @@
 
 #include "hildon-touch-selector.h"
 #include "hildon-touch-selector-entry.h"
+#include "hildon-entry.h"
 
 G_DEFINE_TYPE (HildonTouchSelectorEntry, hildon_touch_selector_entry, HILDON_TYPE_TOUCH_SELECTOR)
 
@@ -165,7 +166,7 @@ hildon_touch_selector_entry_init (HildonTouchSelectorEntry *self)
 
   priv = HILDON_TOUCH_SELECTOR_ENTRY_GET_PRIVATE (self);
 
-  priv->entry = gtk_entry_new ();
+  priv->entry = hildon_entry_new (HILDON_SIZE_AUTO);
   gtk_entry_set_activates_default (GTK_ENTRY (priv->entry), TRUE);
 
   completion = gtk_entry_completion_new ();