From d374f3ffe6556cc8861b4ffb1f3619dd8211a33a Mon Sep 17 00:00:00 2001 From: TingPing Date: Mon, 10 Mar 2014 21:14:56 -0400 Subject: Disable hiding characters in the input --- src/fe-gtk/sexy-spell-entry.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/fe-gtk/sexy-spell-entry.c b/src/fe-gtk/sexy-spell-entry.c index db52eecb..8345c7d9 100644 --- a/src/fe-gtk/sexy-spell-entry.c +++ b/src/fe-gtk/sexy-spell-entry.c @@ -285,6 +285,9 @@ gtk_entry_find_position (GtkEntry *entry, gint x) static void insert_hiddenchar (SexySpellEntry *entry, guint start, guint end) { + /* FIXME: Pango does not properly reflect the new widths after a char + * is 'hidden' */ +#if 0 PangoAttribute *hattr; PangoRectangle *rect = g_malloc (sizeof (PangoRectangle)); @@ -299,6 +302,7 @@ insert_hiddenchar (SexySpellEntry *entry, guint start, guint end) pango_attr_list_insert (entry->priv->attr_list, hattr); g_free (rect); +#endif } static void -- cgit 1.4.1