diff --git a/data/theme/app.css b/data/theme/app.css index acfc692a..aeaa6b4c 100644 --- a/data/theme/app.css +++ b/data/theme/app.css @@ -23,10 +23,10 @@ popover { } separator { - color: transparent; - background-color: @gray_color; - min-width: 1px; - min-height: 1px; + color: transparent; + background-color: @gray_color; + min-width: 1px; + min-height: 1px; } @@ -59,7 +59,7 @@ scrollbar slider { margin: 0; border-radius: 0; border: 0 none transparent; - background-color: alpha(@fg_color, 0.2); + background-color: alpha(@fg_color, 0.4); } scrollbar { background-color: transparent; transition-duration: 0.2s; } @@ -71,10 +71,10 @@ scrollbar.horizontal slider { min-width: 2.40602rem; min-height: 0.75188rem; mar /* }} */ separator { - color: transparent; - background-color: rgba(0, 0, 0, 0.09); - min-width: 1px; - min-height: 1px; + color: transparent; + background-color: @gray_color; + min-width: 1px; + min-height: 1px; } /* }} */ @@ -134,16 +134,16 @@ separator { /* background-image: url("./bg.jpg"); */ /* background-color: @active_color; */ background-image: -gtk-gradient(linear, - left top, right bottom, - /* TODO */ - from(@msglist_color1), to(@msglist_color2)); + left top, right bottom, + /* TODO */ + from(@msglist_color1), to(@msglist_color2)); } /* #unread_label { - background-color: @bg_color; padding: 6px; - box-shadow: alpha(black, 0.2) 0px 2px; +background-color: @bg_color; padding: 6px; +box-shadow: alpha(black, 0.2) 0px 2px; } -*/ + */ /* }} */ diff --git a/src/filter.c b/src/filter.c index b341d2ac..3debedeb 100644 --- a/src/filter.c +++ b/src/filter.c @@ -73,7 +73,7 @@ void filter_relaybot_trans(irc_msg_t *imsg){ memset(imsg->nick, 0, NICK_LEN); strncpy(imsg->nick, imsg->message + strlen(info->ldelim), - (nick_len>NICK_LEN?NICK_LEN:nick_len) - 1); + (nick_len>NICK_LEN?NICK_LEN:nick_len)); strncpy(tmp_msg, rdelim_ptr + strlen(info->rdelim), max_msg_len); memset(imsg->message, 0, MSG_LEN);