mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-19 04:00:19 +00:00
Disable hiding characters in the input
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user