mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-09-17 13:19:57 +00:00
Merge pull request #395 from B4reMetal/fix-userlist-color-pref
fix(userlist): decouple userlist nick colors from text_color_nicks
This commit is contained in:
@@ -683,7 +683,7 @@ theme_manager_get_userlist_palette_behavior (const PangoFontDescription *font_de
|
|||||||
|
|
||||||
behavior.font_desc = font_desc;
|
behavior.font_desc = font_desc;
|
||||||
behavior.apply_background = TRUE;
|
behavior.apply_background = TRUE;
|
||||||
behavior.apply_foreground = (prefs.hex_gui_ulist_color || prefs.hex_text_color_nicks) ? FALSE : TRUE;
|
behavior.apply_foreground = prefs.hex_gui_ulist_color ? FALSE : TRUE;
|
||||||
|
|
||||||
return behavior;
|
return behavior;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -594,7 +594,7 @@ fe_userlist_rehash (session *sess, struct User *user)
|
|||||||
nick_token = THEME_TOKEN_TAB_AWAY;
|
nick_token = THEME_TOKEN_TAB_AWAY;
|
||||||
have_nick_token = TRUE;
|
have_nick_token = TRUE;
|
||||||
}
|
}
|
||||||
else if (prefs.hex_gui_ulist_color || prefs.hex_text_color_nicks)
|
else if (prefs.hex_gui_ulist_color)
|
||||||
{
|
{
|
||||||
int mirc_index = text_color_of (user->nick);
|
int mirc_index = text_color_of (user->nick);
|
||||||
|
|
||||||
@@ -635,7 +635,7 @@ fe_userlist_insert (session *sess, struct User *newuser, gboolean sel)
|
|||||||
nick_token = THEME_TOKEN_TAB_AWAY;
|
nick_token = THEME_TOKEN_TAB_AWAY;
|
||||||
have_nick_token = TRUE;
|
have_nick_token = TRUE;
|
||||||
}
|
}
|
||||||
else if (prefs.hex_gui_ulist_color || prefs.hex_text_color_nicks)
|
else if (prefs.hex_gui_ulist_color)
|
||||||
{
|
{
|
||||||
int mirc_index = text_color_of (newuser->nick);
|
int mirc_index = text_color_of (newuser->nick);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user