aboutsummaryrefslogtreecommitdiffstats
path: root/lib/widgets/ephy-location-entry.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-07-25 03:05:16 +0800
committerChristian Persch <chpe@src.gnome.org>2006-07-25 03:05:16 +0800
commit3f67020b032c7307fdc8d66777c808f75a2c4016 (patch)
treeed6b3ee3b1078b050f5674d62b7bef6d340c70d4 /lib/widgets/ephy-location-entry.c
parentdf2b117c3ba2c3a71108ec4e4d6fb2cf9780a741 (diff)
downloadgsoc2013-epiphany-3f67020b032c7307fdc8d66777c808f75a2c4016.tar
gsoc2013-epiphany-3f67020b032c7307fdc8d66777c808f75a2c4016.tar.gz
gsoc2013-epiphany-3f67020b032c7307fdc8d66777c808f75a2c4016.tar.bz2
gsoc2013-epiphany-3f67020b032c7307fdc8d66777c808f75a2c4016.tar.lz
gsoc2013-epiphany-3f67020b032c7307fdc8d66777c808f75a2c4016.tar.xz
gsoc2013-epiphany-3f67020b032c7307fdc8d66777c808f75a2c4016.tar.zst
gsoc2013-epiphany-3f67020b032c7307fdc8d66777c808f75a2c4016.zip
Reset IM context before activation. Bug #348478, patch by Nguyễn Thái
2006-07-24 Christian Persch <chpe@cvs.gnome.org> * 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.
Diffstat (limited to 'lib/widgets/ephy-location-entry.c')
-rw-r--r--lib/widgets/ephy-location-entry.c1
1 files changed, 1 insertions, 0 deletions
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);