diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-07-01 06:26:45 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-07-01 06:26:45 +0800 |
commit | 486e1939b5347d6ead5d1d0dcbc65399a1072ecc (patch) | |
tree | 4e616f4bad2b03e61b6a2a991414633d1325e46d /lib/widgets/ephy-location-entry.c | |
parent | ece5e036c19540f6973b510bd7d108bc3c0ad742 (diff) | |
download | gsoc2013-epiphany-486e1939b5347d6ead5d1d0dcbc65399a1072ecc.tar gsoc2013-epiphany-486e1939b5347d6ead5d1d0dcbc65399a1072ecc.tar.gz gsoc2013-epiphany-486e1939b5347d6ead5d1d0dcbc65399a1072ecc.tar.bz2 gsoc2013-epiphany-486e1939b5347d6ead5d1d0dcbc65399a1072ecc.tar.lz gsoc2013-epiphany-486e1939b5347d6ead5d1d0dcbc65399a1072ecc.tar.xz gsoc2013-epiphany-486e1939b5347d6ead5d1d0dcbc65399a1072ecc.tar.zst gsoc2013-epiphany-486e1939b5347d6ead5d1d0dcbc65399a1072ecc.zip |
Hide only when necessary. Remove gdk_ungrab stuff that doesnt seem to be
2003-07-01 Marco Pesenti Gritti <marco@it.gnome.org>
* lib/widgets/ephy-autocompletion-window.c:
(ephy_autocompletion_window_finalize_impl),
(ephy_autocompletion_window_show),
(ephy_autocompletion_window_hide):
Hide only when necessary. Remove gdk_ungrab stuff
that doesnt seem to be necessary.
* lib/widgets/ephy-location-entry.c:
(ephy_location_entry_autocompletion_show_alternatives):
Reset entry->button when showing autocompletion, the grab
get gtk crazy otherwise.
Diffstat (limited to 'lib/widgets/ephy-location-entry.c')
-rw-r--r-- | lib/widgets/ephy-location-entry.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c index 8e869e1a5..3ecebe5a2 100644 --- a/lib/widgets/ephy-location-entry.c +++ b/lib/widgets/ephy-location-entry.c @@ -343,6 +343,13 @@ static void ephy_location_entry_autocompletion_show_alternatives (EphyLocationEntry *w) { EphyLocationEntryPrivate *p = w->priv; + + /* Reset it because if we do a grab on click (like when pasting + text in the location entry, the entry will lose the release + event and will not reset it. It's what gtk does for the entry + popup */ + GTK_ENTRY (w)->button = 0; + if (p->autocompletion_window) { ephy_autocompletion_window_show (p->autocompletion_window); |