1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-26 19:22:22 -05:00

Fix nick box setting

This commit is contained in:
Berke Viktor 2012-10-22 18:34:31 +02:00
parent fd47409e76
commit f5338e014a
2 changed files with 3 additions and 2 deletions

View File

@ -715,6 +715,7 @@ load_config (void)
prefs.hex_flood_msg_time = 5; prefs.hex_flood_msg_time = 5;
prefs.hex_flood_ctcp_time = 30; prefs.hex_flood_ctcp_time = 30;
prefs.hex_flood_ctcp_num = 5; prefs.hex_flood_ctcp_num = 5;
prefs.hex_gui_input_nick = 1;
prefs.hex_gui_topicbar = 1; prefs.hex_gui_topicbar = 1;
prefs.hex_gui_lagometer = 1; prefs.hex_gui_lagometer = 1;
prefs.hex_gui_throttlemeter = 1; prefs.hex_gui_throttlemeter = 1;

View File

@ -3046,7 +3046,7 @@ mg_create_topwindow (session *sess)
if (!prefs.hex_gui_ulist_buttons) if (!prefs.hex_gui_ulist_buttons)
gtk_widget_hide (sess->gui->button_box); gtk_widget_hide (sess->gui->button_box);
if (prefs.hex_gui_input_nick) if (!prefs.hex_gui_input_nick)
gtk_widget_hide (sess->gui->nick_box); gtk_widget_hide (sess->gui->nick_box);
mg_decide_userlist (sess, FALSE); mg_decide_userlist (sess, FALSE);
@ -3149,7 +3149,7 @@ mg_create_tabwindow (session *sess)
if (!prefs.hex_gui_ulist_buttons) if (!prefs.hex_gui_ulist_buttons)
gtk_widget_hide (sess->gui->button_box); gtk_widget_hide (sess->gui->button_box);
if (prefs.hex_gui_input_nick) if (!prefs.hex_gui_input_nick)
gtk_widget_hide (sess->gui->nick_box); gtk_widget_hide (sess->gui->nick_box);
mg_place_userlist_and_chanview (sess->gui); mg_place_userlist_and_chanview (sess->gui);