1
0
mirror of https://github.com/moparisthebest/hexchat synced 2025-02-16 15:20:11 -05:00

Disable hiding characters in the input

This commit is contained in:
TingPing 2014-03-10 21:14:56 -04:00
parent 664da30ee4
commit d374f3ffe6

View File

@ -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