From 2e647d4c5892e8e1494a1b0a4a41d0c0ad87522b Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Tue, 28 May 2013 23:13:07 +0200 Subject: [PATCH] core: set options weechat.look.color_inactive_{buffer|window} to "on" by default --- ChangeLog | 4 +++- doc/de/autogen/user/weechat_options.txt | 4 ++-- doc/en/autogen/user/weechat_options.txt | 4 ++-- doc/fr/autogen/user/weechat_options.txt | 4 ++-- doc/it/autogen/user/weechat_options.txt | 4 ++-- doc/ja/autogen/user/weechat_options.txt | 4 ++-- src/core/wee-config.c | 4 ++-- 7 files changed, 15 insertions(+), 13 deletions(-) diff --git a/ChangeLog b/ChangeLog index ce218b207..8c57c33f1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,7 @@ WeeChat ChangeLog ================= Sébastien Helleu -v0.4.2-dev, 2013-05-27 +v0.4.2-dev, 2013-05-28 This document lists all changes for each version. @@ -14,6 +14,8 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes] Version 0.4.2 (under dev!) -------------------------- +* core: set options weechat.look.color_inactive_{buffer|window} to "on" by + default * core: add infolist "layout" and hdata "layout", "layout_buffer" and "layout_window" * core: fix line alignment when option weechat.look.buffer_time_format is set diff --git a/doc/de/autogen/user/weechat_options.txt b/doc/de/autogen/user/weechat_options.txt index dbd7c578e..0369777f1 100644 --- a/doc/de/autogen/user/weechat_options.txt +++ b/doc/de/autogen/user/weechat_options.txt @@ -411,7 +411,7 @@ * [[option_weechat.look.color_inactive_buffer]] *weechat.look.color_inactive_buffer* ** Beschreibung: `Textfarbe für Zeilen in einem inaktiven Buffer (betrifft Zeilen in einem zusammengefügt Buffer, welcher nicht aktiv ist)` ** Typ: boolesch -** Werte: on, off (Standardwert: `off`) +** Werte: on, off (Standardwert: `on`) * [[option_weechat.look.color_inactive_message]] *weechat.look.color_inactive_message* ** Beschreibung: `nutzt eine andere Farbe um die inaktiven Nachrichten darzustellen (Fenster ist nicht das aktuelle Fenster oder wenn die Zeile des zusammengefügten Buffers nicht die aktiv Zeile ist)` @@ -436,7 +436,7 @@ * [[option_weechat.look.color_inactive_window]] *weechat.look.color_inactive_window* ** Beschreibung: `Textfarbe für Zeilen in einem inaktiven Fenster (betrifft das Fenster, welches nicht aktiv ist)` ** Typ: boolesch -** Werte: on, off (Standardwert: `off`) +** Werte: on, off (Standardwert: `on`) * [[option_weechat.look.color_nick_offline]] *weechat.look.color_nick_offline* ** Beschreibung: `Nicks die Offline sind werden im Buffer in einer anderen Farbe dargestellt (dies betrifft Nicks, die nicht in der Nickliste vorhanden sind!)` diff --git a/doc/en/autogen/user/weechat_options.txt b/doc/en/autogen/user/weechat_options.txt index d7839bc3a..2bfed3186 100644 --- a/doc/en/autogen/user/weechat_options.txt +++ b/doc/en/autogen/user/weechat_options.txt @@ -411,7 +411,7 @@ * [[option_weechat.look.color_inactive_buffer]] *weechat.look.color_inactive_buffer* ** description: `use a different color for lines in inactive buffer (when line is from a merged buffer not selected)` ** type: boolean -** values: on, off (default value: `off`) +** values: on, off (default value: `on`) * [[option_weechat.look.color_inactive_message]] *weechat.look.color_inactive_message* ** description: `use a different color for inactive message (when window is not current window, or if line is from a merged buffer not selected)` @@ -436,7 +436,7 @@ * [[option_weechat.look.color_inactive_window]] *weechat.look.color_inactive_window* ** description: `use a different color for lines in inactive window (when window is not current window)` ** type: boolean -** values: on, off (default value: `off`) +** values: on, off (default value: `on`) * [[option_weechat.look.color_nick_offline]] *weechat.look.color_nick_offline* ** description: `use a different color for offline nicks (not in nicklist any more)` diff --git a/doc/fr/autogen/user/weechat_options.txt b/doc/fr/autogen/user/weechat_options.txt index b53ea7b98..3924a0238 100644 --- a/doc/fr/autogen/user/weechat_options.txt +++ b/doc/fr/autogen/user/weechat_options.txt @@ -411,7 +411,7 @@ * [[option_weechat.look.color_inactive_buffer]] *weechat.look.color_inactive_buffer* ** description: `utiliser une couleur différente pour les lignes dans un tampon inactif (si la ligne est d'un tampon mélangé et le tampon n'est pas sélectionné)` ** type: booléen -** valeurs: on, off (valeur par défaut: `off`) +** valeurs: on, off (valeur par défaut: `on`) * [[option_weechat.look.color_inactive_message]] *weechat.look.color_inactive_message* ** description: `utiliser une couleur différente pour un message inactif (quand la fenêtre n'est pas la fenêtre courante, ou si la ligne est d'un tampon mélangé et le tampon n'est pas sélectionné)` @@ -436,7 +436,7 @@ * [[option_weechat.look.color_inactive_window]] *weechat.look.color_inactive_window* ** description: `utiliser une couleur différente pour les lignes dans une fenêtre inactive (quand la fenêtre n'est pas la fenêtre courante)` ** type: booléen -** valeurs: on, off (valeur par défaut: `off`) +** valeurs: on, off (valeur par défaut: `on`) * [[option_weechat.look.color_nick_offline]] *weechat.look.color_nick_offline* ** description: `utiliser une couleur différente pour les pseudos déconnectés (qui ne sont plus dans la liste de pseudos)` diff --git a/doc/it/autogen/user/weechat_options.txt b/doc/it/autogen/user/weechat_options.txt index dc650b2cd..446088e9b 100644 --- a/doc/it/autogen/user/weechat_options.txt +++ b/doc/it/autogen/user/weechat_options.txt @@ -411,7 +411,7 @@ * [[option_weechat.look.color_inactive_buffer]] *weechat.look.color_inactive_buffer* ** descrizione: `usa un colore diverso per le righe nel buffer inattivo (quando la riga viene da un buffer unito non selezionato)` ** tipo: bool -** valori: on, off (valore predefinito: `off`) +** valori: on, off (valore predefinito: `on`) * [[option_weechat.look.color_inactive_message]] *weechat.look.color_inactive_message* ** descrizione: `usa un colore diverso per un messaggio inattivo (quando la finestra non è quella corrente, o se la riga viene da un buffer unito non selezionato)` @@ -436,7 +436,7 @@ * [[option_weechat.look.color_inactive_window]] *weechat.look.color_inactive_window* ** descrizione: `usa un colore diverso per le righe nella finestra inattiva (quando la finestra non è quella corrente)` ** tipo: bool -** valori: on, off (valore predefinito: `off`) +** valori: on, off (valore predefinito: `on`) * [[option_weechat.look.color_nick_offline]] *weechat.look.color_nick_offline* ** descrizione: `usa un colore diverso per i nick non in linea (non più in lista nick)` diff --git a/doc/ja/autogen/user/weechat_options.txt b/doc/ja/autogen/user/weechat_options.txt index f88e8c487..3ecdec1ff 100644 --- a/doc/ja/autogen/user/weechat_options.txt +++ b/doc/ja/autogen/user/weechat_options.txt @@ -411,7 +411,7 @@ * [[option_weechat.look.color_inactive_buffer]] *weechat.look.color_inactive_buffer* ** 説明: `アクティブでないバッファでは行に異なる色を使用 (行が未選択のマージバッファからの場合)` ** タイプ: ブール -** 値: on, off (デフォルト値: `off`) +** 値: on, off (デフォルト値: `on`) * [[option_weechat.look.color_inactive_message]] *weechat.look.color_inactive_message* ** 説明: `アクティブでないメッセージに異なる色を使用 (ウィンドウにフォーカスが無いか、行が未選択のマージバッファからの場合)` @@ -436,7 +436,7 @@ * [[option_weechat.look.color_inactive_window]] *weechat.look.color_inactive_window* ** 説明: `アクティブでないウィンドウでは行に異なる色を使用 (ウィンドウにフォーカスが無い場合)` ** タイプ: ブール -** 値: on, off (デフォルト値: `off`) +** 値: on, off (デフォルト値: `on`) * [[option_weechat.look.color_nick_offline]] *weechat.look.color_nick_offline* ** 説明: `オフライン状態のニックネームに異なる色を使用 (ニックネームリストにも表示しない)` diff --git a/src/core/wee-config.c b/src/core/wee-config.c index 8c932c416..c2de4e3c3 100644 --- a/src/core/wee-config.c +++ b/src/core/wee-config.c @@ -1946,13 +1946,13 @@ config_weechat_init_options () "color_inactive_window", "boolean", N_("use a different color for lines in inactive window (when window " "is not current window)"), - NULL, 0, 0, "off", NULL, 0, NULL, NULL, &config_change_buffers, NULL, NULL, NULL); + NULL, 0, 0, "on", NULL, 0, NULL, NULL, &config_change_buffers, NULL, NULL, NULL); config_look_color_inactive_buffer = config_file_new_option ( weechat_config_file, ptr_section, "color_inactive_buffer", "boolean", N_("use a different color for lines in inactive buffer (when line is " "from a merged buffer not selected)"), - NULL, 0, 0, "off", NULL, 0, NULL, NULL, &config_change_buffers, NULL, NULL, NULL); + NULL, 0, 0, "on", NULL, 0, NULL, NULL, &config_change_buffers, NULL, NULL, NULL); config_look_color_inactive_time = config_file_new_option ( weechat_config_file, ptr_section, "color_inactive_time", "boolean",