aboutsummaryrefslogtreecommitdiffstats
path: root/lib/widgets/ephy-location-entry.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-03-01 02:34:48 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-03-01 02:34:48 +0800
commit30268048c1a62294bfe663d95830eeffb594aaf4 (patch)
tree50bf47aa2590b520a36c01089619c3a3e69441ac /lib/widgets/ephy-location-entry.c
parentf622f8192547ed09c59f09416a4b532c5541a372 (diff)
downloadgsoc2013-epiphany-30268048c1a62294bfe663d95830eeffb594aaf4.tar
gsoc2013-epiphany-30268048c1a62294bfe663d95830eeffb594aaf4.tar.gz
gsoc2013-epiphany-30268048c1a62294bfe663d95830eeffb594aaf4.tar.bz2
gsoc2013-epiphany-30268048c1a62294bfe663d95830eeffb594aaf4.tar.lz
gsoc2013-epiphany-30268048c1a62294bfe663d95830eeffb594aaf4.tar.xz
gsoc2013-epiphany-30268048c1a62294bfe663d95830eeffb594aaf4.tar.zst
gsoc2013-epiphany-30268048c1a62294bfe663d95830eeffb594aaf4.zip
Remove old toolbar editor ui
2003-02-28 Marco Pesenti Gritti <marco@it.gnome.org> * data/glade/Makefile.am: * data/glade/toolbar-editor.glade: Remove old toolbar editor ui * lib/ephy-autocompletion.c: (ephy_autocompletion_update_matches): Remove an obsolete FIXME * lib/ephy-gui.c: * lib/ephy-gui.h: Remove some functions that was used only in galeon bookmarks * lib/widgets/ephy-autocompletion-window.c: (hack_tree_view_move_selection), (ephy_autocompletion_window_key_press_hack): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_autocompletion_window_url_selected_cb): Up on the top border of the autocompl window goes back to the entry * src/appearance-prefs.c: (setup_font_menu): Free fonts list * src/ephy-tab.c: (ephy_tab_parent_set_cb), (ephy_tab_set_visibility): * src/window-commands.c: (window_cmd_tabs_move_left), (window_cmd_tabs_move_right): Implement tabs moving
Diffstat (limited to 'lib/widgets/ephy-location-entry.c')
-rw-r--r--lib/widgets/ephy-location-entry.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c
index 57fb89485..15bcac979 100644
--- a/lib/widgets/ephy-location-entry.c
+++ b/lib/widgets/ephy-location-entry.c
@@ -478,7 +478,15 @@ ephy_location_entry_autocompletion_window_url_selected_cb (EphyAutocompletionWin
int action,
EphyLocationEntry *w)
{
- real_entry_set_location (w, action ? w->priv->before_completion : target);
+ if (target)
+ {
+ real_entry_set_location (w, action ? w->priv->before_completion : target);
+ }
+ else
+ {
+ real_entry_set_location (w, w->priv->before_completion);
+ gtk_editable_set_position (GTK_EDITABLE (w->priv->entry), -1);
+ }
}
void