From 3f67020b032c7307fdc8d66777c808f75a2c4016 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Mon, 24 Jul 2006 19:05:16 +0000 Subject: =?UTF-8?q?Reset=20IM=20context=20before=20activation.=20Bug=20#34?= =?UTF-8?q?8478,=20patch=20by=20Nguy=E1=BB=85n=20Th=C3=A1i?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2006-07-24 Christian Persch * lib/widgets/ephy-location-entry.c: (match_selected_cb): Reset IM context before activation. Bug #348478, patch by Nguyễn Thái Ngọc Duy. --- lib/widgets/ephy-location-entry.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c index 16b2c523b..329c5310a 100644 --- a/lib/widgets/ephy-location-entry.c +++ b/lib/widgets/ephy-location-entry.c @@ -534,6 +534,7 @@ match_selected_cb (GtkEntryCompletion *completion, state == (GDK_CONTROL_MASK | GDK_SHIFT_MASK)); ephy_location_entry_set_location (entry, item, NULL); + gtk_im_context_reset (GTK_ENTRY (entry->priv->icon_entry->entry)->im_context); g_signal_emit_by_name (priv->icon_entry->entry, "activate"); g_free (item); -- cgit v1.2.3