]> spindle.queued.net Git - midori/commitdiff
Use a standard entry widget in the location on Hildon
authorChristian Dywan <christian@twotoasts.de>
Sat, 28 Nov 2009 18:43:59 +0000 (19:43 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sun, 29 Nov 2009 13:09:28 +0000 (14:09 +0100)
midori/midori-locationentry.c

index 350316823b2371882f737dc5fbe337b05c2e800e..cb42c67c90c440c0e86d75ff933223234560195b 100644 (file)
@@ -381,12 +381,13 @@ midori_location_entry_init (MidoriLocationEntry* location_entry)
 
     location_entry->progress = 0.0;
 
-    entry = gtk_icon_entry_new ();
     #if HAVE_HILDON
+    entry = gtk_entry_new ();
     mode = hildon_gtk_entry_get_input_mode (GTK_ENTRY (entry));
     mode &= ~HILDON_GTK_INPUT_MODE_AUTOCAP;
     hildon_gtk_entry_set_input_mode (GTK_ENTRY (entry), mode);
     #else
+    entry = gtk_icon_entry_new ();
     gtk_icon_entry_set_icon_from_stock (GTK_ICON_ENTRY (entry),
          GTK_ICON_ENTRY_PRIMARY, GTK_STOCK_FILE);
     gtk_icon_entry_set_icon_highlight (GTK_ICON_ENTRY (entry),