1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 06:16:40 +02:00

core: add option weechat.color.status_nicklist_count (closes #109, closes #110)

This commit is contained in:
Sébastien Helleu
2014-07-12 08:13:58 +02:00
parent b168a43070
commit f80a80204a
22 changed files with 121 additions and 25 deletions
+2
View File
@@ -15,6 +15,8 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
== Version 1.0 (under dev)
* core: add option weechat.color.status_nicklist_count (closes #109,
closes #110)
* core: fix socks5 proxy for curl downloads (closes #119)
* core: display curl error after a failed download
* core: do not display content of passphrase on /secure buffer
@@ -293,6 +293,11 @@
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen (Standardwert: `lightgreen`)
* [[option_weechat.color.status_nicklist_count]] *weechat.color.status_nicklist_count*
** Beschreibung: `text color for number of nicks in nicklist (status bar)`
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen (Standardwert: `default`)
* [[option_weechat.color.status_number]] *weechat.color.status_number*
** Beschreibung: `Farbe des aktuellen Channels in der Statuszeile`
** Typ: Farbe
@@ -293,6 +293,11 @@
** type: color
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline (default value: `lightgreen`)
* [[option_weechat.color.status_nicklist_count]] *weechat.color.status_nicklist_count*
** description: `text color for number of nicks in nicklist (status bar)`
** type: color
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline (default value: `default`)
* [[option_weechat.color.status_number]] *weechat.color.status_number*
** description: `text color for current buffer number in status bar`
** type: color
@@ -293,6 +293,11 @@
** type: couleur
** valeurs: un nom de couleur WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numéro de couleur du terminal ou un alias ; des attributs sont autorisés avant la couleur (seulement pour la couleur du texte, pas le fond) : "*" pour le gras, "!" pour la vidéo inverse, "/" pour l'italique, "_" pour le souligné (valeur par défaut: `lightgreen`)
* [[option_weechat.color.status_nicklist_count]] *weechat.color.status_nicklist_count*
** description: `couleur du texte pour le nombre de pseudos dans la liste de pseudos (barre de statut)`
** type: couleur
** valeurs: un nom de couleur WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numéro de couleur du terminal ou un alias ; des attributs sont autorisés avant la couleur (seulement pour la couleur du texte, pas le fond) : "*" pour le gras, "!" pour la vidéo inverse, "/" pour l'italique, "_" pour le souligné (valeur par défaut: `default`)
* [[option_weechat.color.status_number]] *weechat.color.status_number*
** description: `couleur du texte pour le numéro du tampon courant dans la barre de statut`
** type: couleur
@@ -293,6 +293,11 @@
** tipo: colore
** valori: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline (valore predefinito: `lightgreen`)
* [[option_weechat.color.status_nicklist_count]] *weechat.color.status_nicklist_count*
** descrizione: `text color for number of nicks in nicklist (status bar)`
** tipo: colore
** valori: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline (valore predefinito: `default`)
* [[option_weechat.color.status_number]] *weechat.color.status_number*
** descrizione: `colore del testo per il numero del buffer corrente nella barra di stato`
** tipo: colore
@@ -293,6 +293,11 @@
** タイプ: 色
** 値: WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、brown、yellow、(light)blue、(light)magenta、(light)cyan) 、ターミナル色番号またはその別名; 色の前に属性を置くことができます (テキスト前景色のみ、背景色は出来ません): 太字は "*"、反転は "!"、イタリックは "/"、下線は "_" (デフォルト値: `lightgreen`)
* [[option_weechat.color.status_nicklist_count]] *weechat.color.status_nicklist_count*
** 説明: `text color for number of nicks in nicklist (status bar)`
** タイプ: 色
** 値: WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、brown、yellow、(light)blue、(light)magenta、(light)cyan) 、ターミナル色番号またはその別名; 色の前に属性を置くことができます (テキスト前景色のみ、背景色は出来ません): 太字は "*"、反転は "!"、イタリックは "/"、下線は "_" (デフォルト値: `default`)
* [[option_weechat.color.status_number]] *weechat.color.status_number*
** 説明: `ステータスバーの現在のバッファ番号のテキスト色`
** タイプ: 色
@@ -293,6 +293,11 @@
** typ: kolor
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `lightgreen`)
* [[option_weechat.color.status_nicklist_count]] *weechat.color.status_nicklist_count*
** opis: `text color for number of nicks in nicklist (status bar)`
** typ: kolor
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `default`)
* [[option_weechat.color.status_number]] *weechat.color.status_number*
** opis: `kolor numeru obecnego bufora w pasku statusu`
** typ: kolor
+5 -1
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-07-05 22:14+0200\n"
"POT-Creation-Date: 2014-07-12 08:02+0200\n"
"PO-Revision-Date: 2014-06-28 13:18+0200\n"
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -3482,6 +3482,10 @@ msgstr ""
"barva textu pro aktuální jméno bufferu ve stavovém řádku, pokud jsou data "
"zabezpečeny protokolem jako je SSL"
#, fuzzy
msgid "text color for number of nicks in nicklist (status bar)"
msgstr "barva textu pro počet zpráv v hotlistu (stavový řádek)"
msgid "text color for current buffer number in status bar"
msgstr "barva textu pro aktuální číslo bufferu ve stavovém řádku"
+7 -1
View File
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-07-05 22:14+0200\n"
"POT-Creation-Date: 2014-07-12 08:02+0200\n"
"PO-Revision-Date: 2014-06-29 12:38+0100\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <weechatter@arcor.de>\n"
@@ -4093,6 +4093,12 @@ msgstr ""
"soll, sofern die Verbindung durch ein Protokoll, zum Beispiel, SSL geschützt "
"ist"
#, fuzzy
msgid "text color for number of nicks in nicklist (status bar)"
msgstr ""
"Farbe für die Anzahl der Nachrichten die in der Hotlist dargestellt werden "
"(Statusbar)"
msgid "text color for current buffer number in status bar"
msgstr "Farbe des aktuellen Channels in der Statuszeile"
+6 -1
View File
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-07-05 22:14+0200\n"
"POT-Creation-Date: 2014-07-12 08:02+0200\n"
"PO-Revision-Date: 2014-06-28 13:18+0200\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -3686,6 +3686,11 @@ msgstr ""
"color para el nombre del buffer actual en la barra de estado, si los datos "
"están protegidos con un protocolo como SSL"
#, fuzzy
msgid "text color for number of nicks in nicklist (status bar)"
msgstr ""
"color para el contador de mensajes en la lista de actividad (barra de estado)"
msgid "text color for current buffer number in status bar"
msgstr "color para el número del buffer actual en la barra de estado"
+7 -2
View File
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-07-05 22:14+0200\n"
"PO-Revision-Date: 2014-07-05 22:15+0200\n"
"POT-Creation-Date: 2014-07-12 08:02+0200\n"
"PO-Revision-Date: 2014-07-12 08:04+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
@@ -3993,6 +3993,11 @@ msgstr ""
"couleur du texte pour le nom du tampon courant dans la barre de statut, si "
"les données sont sécurisées avec un protocole tel que SSL"
msgid "text color for number of nicks in nicklist (status bar)"
msgstr ""
"couleur du texte pour le nombre de pseudos dans la liste de pseudos (barre "
"de statut)"
msgid "text color for current buffer number in status bar"
msgstr ""
"couleur du texte pour le numéro du tampon courant dans la barre de statut"
+5 -1
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-07-05 22:14+0200\n"
"POT-Creation-Date: 2014-07-12 08:02+0200\n"
"PO-Revision-Date: 2014-06-28 13:18+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -3109,6 +3109,10 @@ msgid ""
"protocol like SSL"
msgstr "aktuális szoba színe a státuszsorban"
#, fuzzy
msgid "text color for number of nicks in nicklist (status bar)"
msgstr "kiemelt üzenetet tartalmazó ablak színe (státuszsor)"
#, fuzzy
msgid "text color for current buffer number in status bar"
msgstr "aktuális szoba színe a státuszsorban"
+6 -1
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-07-05 22:14+0200\n"
"POT-Creation-Date: 2014-07-12 08:02+0200\n"
"PO-Revision-Date: 2014-06-28 14:49+0200\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -3794,6 +3794,11 @@ msgstr ""
"colore del testo per il nome del buffer corrente nella barra di stato, se i "
"dati sono messi al sicuro con un protocollo come SSL"
#, fuzzy
msgid "text color for number of nicks in nicklist (status bar)"
msgstr ""
"colore del testo per il conteggio dei messaggi nella hotlist (barra di stato)"
msgid "text color for current buffer number in status bar"
msgstr ""
"colore del testo per il numero del buffer corrente nella barra di stato"
+16 -12
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-07-05 22:14+0200\n"
"POT-Creation-Date: 2014-07-12 08:02+0200\n"
"PO-Revision-Date: 2014-07-06 10:54+0900\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/translation_ja>\n"
@@ -40,11 +40,11 @@ msgid "max chars"
msgstr "最大文字数"
msgid ""
"a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)"
"green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal "
"color number or an alias; attributes are allowed before color (for text "
"color only, not background): \"*\" for bold, \"!\" for reverse, \"/\" for "
"italic, \"_\" for underline"
"a WeeChat color name (default, black, (dark)gray, white, (light)red, "
"(light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a "
"terminal color number or an alias; attributes are allowed before color (for "
"text color only, not background): \"*\" for bold, \"!\" for reverse, \"/\" "
"for italic, \"_\" for underline"
msgstr ""
"WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、"
"brown、yellow、(light)blue、(light)magenta、(light)cyan) 、ターミナル色番号ま"
@@ -3838,6 +3838,10 @@ msgstr ""
"SSL などでセキュリティプロトコルを使っている場合のステータスバーの現在のバッ"
"ファ名のテキスト色、"
#, fuzzy
msgid "text color for number of nicks in nicklist (status bar)"
msgstr "ホットリスト内のメッセージ数のテキスト色 (ステータスバー)"
msgid "text color for current buffer number in status bar"
msgstr "ステータスバーの現在のバッファ番号のテキスト色"
@@ -5854,8 +5858,8 @@ msgstr ""
" - 内部サーバ名 (/server add で作成されたもの、利用推奨)\n"
" - ホスト名/ポート番号、又は IP アドレス/ポート番号 (これは一時的"
"サーバを作る)、デフォルトのポート番号は 6667\n"
" - 次のフォーマットに従う URL: irc[6][s]://[nickname[:password]@]"
"irc.example.org[:port][/#channel1][,#channel2[...]]\n"
" - 次のフォーマットに従う URL: irc[6][s]://[nickname[:"
"password]@]irc.example.org[:port][/#channel1][,#channel2[...]]\n"
" option: サーバに関するオプション (ブール型オプションでは、value は無視さ"
"れる)\n"
" nooption: ブール型オプションを 'off' にする (例: -nossl)\n"
@@ -10740,8 +10744,8 @@ msgid ""
"Examples (you can also look at default triggers with /trigger listdefault):\n"
" add text attributes *bold*, _underline_ and /italic/ (only in user "
"messages):\n"
" /trigger add effects modifier weechat_print \"${tg_tag_nick}\" \"==\\*"
"(\\S+)\\*==*${color:bold}$1${color:-bold}*== ==_(\\S+)_==_${color:"
" /trigger add effects modifier weechat_print \"${tg_tag_nick}\" \"=="
"\\*(\\S+)\\*==*${color:bold}$1${color:-bold}*== ==_(\\S+)_==_${color:"
"underline}$1${color:-underline}_== ==/(\\S+)/==/${color:italic}$1${color:-"
"italic}/\"\n"
" hide nicklist bar on small terminals:\n"
@@ -10815,8 +10819,8 @@ msgstr ""
"\n"
"例 (/trigger listdefault でデフォルトトリガを見ることができます):\n"
" テキスト属性 *太字*、_下線_、/イタリック/ を追加 (ユーザメッセージのみ):\n"
" /trigger add effects modifier weechat_print \"${tg_tag_nick}\" \"==\\*"
"(\\S+)\\*==*${color:bold}$1${color:-bold}*== ==_(\\S+)_==_${color:"
" /trigger add effects modifier weechat_print \"${tg_tag_nick}\" \"=="
"\\*(\\S+)\\*==*${color:bold}$1${color:-bold}*== ==_(\\S+)_==_${color:"
"underline}$1${color:-underline}_== ==/(\\S+)/==/${color:italic}$1${color:-"
"italic}/\"\n"
" 狭い端末ではニックネームリストバーを隠す:\n"
+5 -1
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-07-05 22:14+0200\n"
"POT-Creation-Date: 2014-07-12 08:02+0200\n"
"PO-Revision-Date: 2014-06-28 14:49+0200\n"
"Last-Translator: Krzysztof Korościk <soltys@szluug.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -3899,6 +3899,10 @@ msgstr ""
"kolor nazwy obecnego bufora w pasku statusu, jeśli połączenie jest "
"szyfrowane np poprzez SSL"
#, fuzzy
msgid "text color for number of nicks in nicklist (status bar)"
msgstr "kolor tekstu dla licznika wiadomości w hotliście (pasek statusu)"
msgid "text color for current buffer number in status bar"
msgstr "kolor numeru obecnego bufora w pasku statusu"
+7 -1
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-07-05 22:14+0200\n"
"POT-Creation-Date: 2014-07-12 08:02+0200\n"
"PO-Revision-Date: 2014-06-28 13:18+0200\n"
"Last-Translator: Sergio Durigan Junior <sergiosdj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -3585,6 +3585,12 @@ msgstr ""
"cor de texto para o nome do buffer atual na barra de status, se os dados "
"estão seguros com um protocolo como SSL"
#, fuzzy
msgid "text color for number of nicks in nicklist (status bar)"
msgstr ""
"cor de texto para contagem de mensagens na lista de ativdade (barra de "
"status)"
msgid "text color for current buffer number in status bar"
msgstr "cor de texto para o número do buffer atual na barra de status"
+5 -1
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-07-05 22:14+0200\n"
"POT-Creation-Date: 2014-07-12 08:02+0200\n"
"PO-Revision-Date: 2014-06-28 13:18+0200\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -3139,6 +3139,10 @@ msgid ""
"protocol like SSL"
msgstr "цвет текущего канала в строке состояния"
#, fuzzy
msgid "text color for number of nicks in nicklist (status bar)"
msgstr "цвет окна с подсвеченным сообщением (в строке состояния)"
#, fuzzy
msgid "text color for current buffer number in status bar"
msgstr "цвет текущего канала в строке состояния"
+5 -1
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-07-05 22:14+0200\n"
"POT-Creation-Date: 2014-07-12 08:02+0200\n"
"PO-Revision-Date: 2014-06-28 13:18+0200\n"
"Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -2788,6 +2788,10 @@ msgid ""
"protocol like SSL"
msgstr ""
#, fuzzy
msgid "text color for number of nicks in nicklist (status bar)"
msgstr "zaman için metin rengi (durum çubuğu)"
msgid "text color for current buffer number in status bar"
msgstr ""
+4 -1
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.4.1-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-07-05 22:14+0200\n"
"POT-Creation-Date: 2014-07-12 08:02+0200\n"
"PO-Revision-Date: 2013-02-14 18:20+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -2788,6 +2788,9 @@ msgid ""
"protocol like SSL"
msgstr ""
msgid "text color for number of nicks in nicklist (status bar)"
msgstr ""
msgid "text color for current buffer number in status bar"
msgstr ""
+7
View File
@@ -230,6 +230,7 @@ struct t_config_option *config_color_status_data_private;
struct t_config_option *config_color_status_filter;
struct t_config_option *config_color_status_name;
struct t_config_option *config_color_status_name_ssl;
struct t_config_option *config_color_status_nicklist_count;
struct t_config_option *config_color_status_number;
struct t_config_option *config_color_status_more;
struct t_config_option *config_color_status_time;
@@ -3105,6 +3106,12 @@ config_weechat_init_options ()
"secured with a protocol like SSL"),
NULL, -1, 0, "lightgreen", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_status_nicklist_count = config_file_new_option (
weechat_config_file, ptr_section,
"status_nicklist_count", "color",
N_("text color for number of nicks in nicklist (status bar)"),
NULL, -1, 0, "default", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_status_number = config_file_new_option (
weechat_config_file, ptr_section,
"status_number", "color",
+1
View File
@@ -265,6 +265,7 @@ extern struct t_config_option *config_color_status_data_private;
extern struct t_config_option *config_color_status_filter;
extern struct t_config_option *config_color_status_name;
extern struct t_config_option *config_color_status_name_ssl;
extern struct t_config_option *config_color_status_nicklist_count;
extern struct t_config_option *config_color_status_number;
extern struct t_config_option *config_color_status_more;
extern struct t_config_option *config_color_status_time;
+3 -1
View File
@@ -1170,7 +1170,9 @@ gui_bar_item_default_buffer_nicklist_count (void *data,
if (!buffer || !buffer->nicklist)
return NULL;
snprintf (str_count, sizeof (str_count), "%d",
snprintf (str_count, sizeof (str_count),
"%s%d",
gui_color_get_custom (gui_color_get_name (CONFIG_COLOR(config_color_status_nicklist_count))),
buffer->nicklist_visible_count);
return strdup (str_count);