[Xfce4-commits] <midori:master> Use a standard entry widget in the location on Hildon
Christian Dywan
noreply at xfce.org
Sun Nov 29 14:12:05 CET 2009
Updating branch refs/heads/master
to 206fee346bb0dee2043a48bbd849ebc126d8f107 (commit)
from 04ebfb473318cfd6ce60a446b2fe78d2f7e85020 (commit)
commit 206fee346bb0dee2043a48bbd849ebc126d8f107
Author: Christian Dywan <christian at twotoasts.de>
Date: Sat Nov 28 19:43:59 2009 +0100
Use a standard entry widget in the location on Hildon
midori/midori-locationentry.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/midori/midori-locationentry.c b/midori/midori-locationentry.c
index 3503168..cb42c67 100644
--- a/midori/midori-locationentry.c
+++ b/midori/midori-locationentry.c
@@ -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),
More information about the Xfce4-commits
mailing list