mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-12 08:40:19 +00:00
Add option to hide user mode icon in nick box
This commit is contained in:
@@ -334,7 +334,7 @@ mg_set_access_icon (session_gui *gui, GdkPixbuf *pix, gboolean away)
|
||||
gui->op_xpm = NULL;
|
||||
}
|
||||
|
||||
if (pix)
|
||||
if (pix && prefs.hex_gui_input_icon)
|
||||
{
|
||||
gui->op_xpm = gtk_image_new_from_pixbuf (pix);
|
||||
gtk_box_pack_start (GTK_BOX (gui->nick_box), gui->op_xpm, 0, 0, 0);
|
||||
|
||||
@@ -213,6 +213,7 @@ static const setting inputbox_settings[] =
|
||||
{ST_HEADER, N_("Input Box"),0,0,0},
|
||||
{ST_TOGGLE, N_("Use the Text box font and colors"), P_OFFINTNL(hex_gui_input_style),0,0,0},
|
||||
{ST_TOGGLE, N_("Show nick box"), P_OFFINTNL(hex_gui_input_nick),0,0,0},
|
||||
{ST_TOGGLE, N_("Show user mode icon in nick box"), P_OFFINTNL(hex_gui_input_icon),0,0,0},
|
||||
#if defined(USE_GTKSPELL) || defined(USE_LIBSEXY)
|
||||
{ST_TOGGLE, N_("Spell checking"), P_OFFINTNL(hex_gui_input_spell),0,0,2},
|
||||
{ST_ENTRY, N_("Dictionaries to use:"), P_OFFSETNL(hex_text_spell_langs),0,0,sizeof prefs.hex_text_spell_langs},
|
||||
|
||||
Reference in New Issue
Block a user