From ca789c035a4c74bfaf25b52d8d73c4685d4eb91f Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sun, 22 Jun 2003 23:03:43 +0000 Subject: Correct translations dir (leftover from galeon) 2003-06-23 Marco Pesenti Gritti * 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. --- lib/widgets/ephy-location-entry.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/widgets/ephy-location-entry.c') 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; -- cgit v1.2.3