Updating branch refs/heads/master
to 71f89a3d8a4abbb6dd209d3dc9c3a7da23fddeb9 (commit)
from 0ee21d254a210b453edf45a674c84e58c18e21f5 (commit)
commit 71f89a3d8a4abbb6dd209d3dc9c3a7da23fddeb9
Author: Christian Dywan <[email protected]>
Date: Sat Feb 19 23:38:34 2011 +0100
Take text for Go button in location from the entry
midori/midori-browser.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index 087869a..0974f9c 100644
--- a/midori/midori-browser.c
+++ b/midori/midori-browser.c
@@ -3597,7 +3597,10 @@ _action_location_secondary_icon_released (GtkAction*
action,
}
}
else if (gtk_window_get_focus (GTK_WINDOW (browser)) == widget)
- _action_location_submit_uri (action, uri, FALSE, browser);
+ {
+ const gchar* text = gtk_entry_get_text (GTK_ENTRY (widget));
+ _action_location_submit_uri (action, text, FALSE, browser);
+ }
else if ((feed = g_object_get_data (G_OBJECT (view), "news-feeds")))
{
KatzeArray* news_feeds;
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits