summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2014-03-10 21:14:56 -0400
committerTingPing <tingping@tingping.se>2014-03-15 12:12:38 -0400
commitd374f3ffe6556cc8861b4ffb1f3619dd8211a33a (patch)
tree9f8cf711cc330413ce836edf731c03c85c7f297e
parent664da30ee464a915d73972d0a1486d04cf7d8a4f (diff)
Disable hiding characters in the input
-rw-r--r--src/fe-gtk/sexy-spell-entry.c4
1 files changed, 4 insertions, 0 deletions
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