mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-19 12:10:19 +00:00
Persist GTK userlist column widths
This commit is contained in:
@@ -407,6 +407,9 @@ const struct prefs vars[] =
|
||||
{"gui_autoopen_send", P_OFFINT (hex_gui_autoopen_send), TYPE_BOOL},
|
||||
{"gui_chanlist_maxusers", P_OFFINT (hex_gui_chanlist_maxusers), TYPE_INT},
|
||||
{"gui_chanlist_minusers", P_OFFINT (hex_gui_chanlist_minusers), TYPE_INT},
|
||||
{"gui_chanlist_width_channel", P_OFFINT (hex_gui_chanlist_width_channel), TYPE_INT},
|
||||
{"gui_chanlist_width_topic", P_OFFINT (hex_gui_chanlist_width_topic), TYPE_INT},
|
||||
{"gui_chanlist_width_users", P_OFFINT (hex_gui_chanlist_width_users), TYPE_INT},
|
||||
{"gui_compact", P_OFFINT (hex_gui_compact), TYPE_BOOL},
|
||||
{"gui_dialog_height", P_OFFINT (hex_gui_dialog_height), TYPE_INT},
|
||||
{"gui_dialog_left", P_OFFINT (hex_gui_dialog_left), TYPE_INT},
|
||||
@@ -466,6 +469,8 @@ const struct prefs vars[] =
|
||||
{"gui_ulist_hide", P_OFFINT (hex_gui_ulist_hide), TYPE_BOOL},
|
||||
{"gui_ulist_icons", P_OFFINT (hex_gui_ulist_icons), TYPE_BOOL},
|
||||
{"gui_ulist_pos", P_OFFINT (hex_gui_ulist_pos), TYPE_INT},
|
||||
{"gui_ulist_nick_width", P_OFFINT (hex_gui_ulist_nick_width), TYPE_INT},
|
||||
{"gui_ulist_host_width", P_OFFINT (hex_gui_ulist_host_width), TYPE_INT},
|
||||
{"gui_ulist_show_hosts", P_OFFINT(hex_gui_ulist_show_hosts), TYPE_BOOL},
|
||||
{"gui_ulist_sort", P_OFFINT (hex_gui_ulist_sort), TYPE_INT},
|
||||
{"gui_ulist_style", P_OFFINT (hex_gui_ulist_style), TYPE_BOOL},
|
||||
@@ -824,6 +829,9 @@ load_default_config(void)
|
||||
prefs.hex_flood_msg_time = 30;
|
||||
prefs.hex_gui_chanlist_maxusers = 9999;
|
||||
prefs.hex_gui_chanlist_minusers = 5;
|
||||
prefs.hex_gui_chanlist_width_channel = 0;
|
||||
prefs.hex_gui_chanlist_width_topic = 0;
|
||||
prefs.hex_gui_chanlist_width_users = 0;
|
||||
prefs.hex_gui_dialog_height = 256;
|
||||
prefs.hex_gui_dialog_width = 500;
|
||||
prefs.hex_gui_lagometer = 1;
|
||||
@@ -837,6 +845,8 @@ load_default_config(void)
|
||||
prefs.hex_gui_tab_trunc = 20;
|
||||
prefs.hex_gui_throttlemeter = 1;
|
||||
prefs.hex_gui_ulist_pos = 3;
|
||||
prefs.hex_gui_ulist_nick_width = 0;
|
||||
prefs.hex_gui_ulist_host_width = 0;
|
||||
prefs.hex_gui_win_height = 400;
|
||||
prefs.hex_gui_win_width = 640;
|
||||
prefs.hex_irc_ban_type = 1;
|
||||
|
||||
@@ -248,6 +248,9 @@ struct zoitechatprefs
|
||||
int hex_flood_msg_time;
|
||||
int hex_gui_chanlist_maxusers;
|
||||
int hex_gui_chanlist_minusers;
|
||||
int hex_gui_chanlist_width_channel;
|
||||
int hex_gui_chanlist_width_topic;
|
||||
int hex_gui_chanlist_width_users;
|
||||
int hex_gui_dialog_height;
|
||||
int hex_gui_dialog_left;
|
||||
int hex_gui_dialog_top;
|
||||
@@ -269,6 +272,8 @@ struct zoitechatprefs
|
||||
int hex_gui_transparency;
|
||||
int hex_gui_throttlemeter;
|
||||
int hex_gui_ulist_pos;
|
||||
int hex_gui_ulist_nick_width;
|
||||
int hex_gui_ulist_host_width;
|
||||
int hex_gui_ulist_sort;
|
||||
int hex_gui_url_mod;
|
||||
int hex_gui_win_height;
|
||||
|
||||
Reference in New Issue
Block a user