mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-12 00:30:19 +00:00
Get rid of ALL gui_tweaks
This commit is contained in:
@@ -3046,7 +3046,7 @@ mg_create_topwindow (session *sess)
|
||||
if (!prefs.userlistbuttons)
|
||||
gtk_widget_hide (sess->gui->button_box);
|
||||
|
||||
if (prefs.gui_tweaks & 2)
|
||||
if (prefs.gui_input_nick)
|
||||
gtk_widget_hide (sess->gui->nick_box);
|
||||
|
||||
mg_decide_userlist (sess, FALSE);
|
||||
@@ -3149,7 +3149,7 @@ mg_create_tabwindow (session *sess)
|
||||
if (!prefs.userlistbuttons)
|
||||
gtk_widget_hide (sess->gui->button_box);
|
||||
|
||||
if (prefs.gui_tweaks & 2)
|
||||
if (prefs.gui_input_nick)
|
||||
gtk_widget_hide (sess->gui->nick_box);
|
||||
|
||||
mg_place_userlist_and_chanview (sess->gui);
|
||||
|
||||
@@ -212,6 +212,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(style_inputbox),0,0,0},
|
||||
{ST_TOGGLE, N_("Show nick box"), P_OFFINTNL(gui_input_nick),0,0,0},
|
||||
#if defined(USE_GTKSPELL) || defined(USE_LIBSEXY)
|
||||
{ST_TOGGLE, N_("Spell checking"), P_OFFINTNL(gui_input_spell),0,0,0},
|
||||
{ST_ENTRY, N_("Dictionaries to use:"), P_OFFSETNL(spell_langs),0,0,sizeof prefs.spell_langs},
|
||||
@@ -2205,6 +2206,8 @@ setup_apply (struct xchatprefs *pr)
|
||||
#endif
|
||||
if (DIFF (paned_userlist))
|
||||
noapply = TRUE;
|
||||
if (DIFF (gui_input_nick))
|
||||
noapply = TRUE;
|
||||
if (DIFF (lagometer))
|
||||
noapply = TRUE;
|
||||
if (DIFF (throttlemeter))
|
||||
|
||||
Reference in New Issue
Block a user