aboutsummaryrefslogtreecommitdiffstats
path: root/lib/widgets
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-06-23 07:03:43 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-06-23 07:03:43 +0800
commitca789c035a4c74bfaf25b52d8d73c4685d4eb91f (patch)
treec3b680c5f273a0e3d3475c0820ee33a971b79515 /lib/widgets
parent250fa48d8848faf5741544fe3e9a083119ba0309 (diff)
downloadgsoc2013-epiphany-ca789c035a4c74bfaf25b52d8d73c4685d4eb91f.tar
gsoc2013-epiphany-ca789c035a4c74bfaf25b52d8d73c4685d4eb91f.tar.gz
gsoc2013-epiphany-ca789c035a4c74bfaf25b52d8d73c4685d4eb91f.tar.bz2
gsoc2013-epiphany-ca789c035a4c74bfaf25b52d8d73c4685d4eb91f.tar.lz
gsoc2013-epiphany-ca789c035a4c74bfaf25b52d8d73c4685d4eb91f.tar.xz
gsoc2013-epiphany-ca789c035a4c74bfaf25b52d8d73c4685d4eb91f.tar.zst
gsoc2013-epiphany-ca789c035a4c74bfaf25b52d8d73c4685d4eb91f.zip
Correct translations dir (leftover from galeon)
2003-06-23 Marco Pesenti Gritti <marco@it.gnome.org> * configure.in: Correct translations dir (leftover from galeon) * embed/ephy-history.c: Lower expire to 10 days, similar to phoenix. Current interface and perf make this a better default. * lib/ephy-dialog.c: (ephy_dialog_init), (setup_default_size): Make sure to not state_add more than one time * lib/widgets/ephy-location-entry.c: (insert_text_cb): Do not show autocompletion on not focused window. This is to work around problems with gnome-entry. * src/ephy-window.c: (popup_menu_at_coords), (show_embed_popup), (tab_context_menu_cb): Do not use custom func to show mouse popups. Fix costum func to be smarter with screen limits.
Diffstat (limited to 'lib/widgets')
-rw-r--r--lib/widgets/ephy-location-entry.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c
index 7c79b9619..94c696ba8 100644
--- a/lib/widgets/ephy-location-entry.c
+++ b/lib/widgets/ephy-location-entry.c
@@ -379,6 +379,11 @@ insert_text_cb (GtkWidget *editable,
EphyLocationEntry *w)
{
EphyLocationEntryPrivate *p = w->priv;
+ GtkWidget *window;
+
+ window = gtk_widget_get_toplevel (editable);
+ g_return_if_fail (window != NULL);
+ if (!GTK_WINDOW (window)->has_focus) return;
if (p->going_to_site) return;