Disable hiding characters in the input

This commit is contained in:
TingPing 2014-03-10 21:14:56 -04:00
parent 664da30ee4
commit d374f3ffe6
1 changed files with 4 additions and 0 deletions

View File

@ -285,6 +285,9 @@ gtk_entry_find_position (GtkEntry *entry, gint x)
static void static void
insert_hiddenchar (SexySpellEntry *entry, guint start, guint end) 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; PangoAttribute *hattr;
PangoRectangle *rect = g_malloc (sizeof (PangoRectangle)); 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); pango_attr_list_insert (entry->priv->attr_list, hattr);
g_free (rect); g_free (rect);
#endif
} }
static void static void