Take text for Go button in location from the entry
This commit is contained in:
parent
0ee21d254a
commit
71f89a3d8a
1 changed files with 4 additions and 1 deletions
|
@ -3597,7 +3597,10 @@ _action_location_secondary_icon_released (GtkAction* action,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (gtk_window_get_focus (GTK_WINDOW (browser)) == widget)
|
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")))
|
else if ((feed = g_object_get_data (G_OBJECT (view), "news-feeds")))
|
||||||
{
|
{
|
||||||
KatzeArray* news_feeds;
|
KatzeArray* news_feeds;
|
||||||
|
|
Loading…
Reference in a new issue