mirror of
https://github.com/weechat/weechat.git
synced 2026-07-06 09:43:13 +02:00
core: add option weechat.look.hotlist_add_buffer_if_away
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
WeeChat ChangeLog
|
||||
=================
|
||||
Sébastien Helleu <flashcode@flashtux.org>
|
||||
v0.3.5-rc1, 2011-04-23
|
||||
v0.3.5-rc1, 2011-04-24
|
||||
|
||||
|
||||
Version 0.3.5 (under dev!)
|
||||
--------------------------
|
||||
|
||||
* core: add buffer to hotlist if away is set on buffer (even if buffer is
|
||||
displayed) (task #10948)
|
||||
displayed), new option weechat.look.hotlist_add_buffer_if_away (task #10948)
|
||||
* core: do not update hotlist during upgrade
|
||||
* core: add option "balance" for command /window (key: alt+"w" + alt+"b")
|
||||
* core: add option "swap" for command /window (key: alt+"w" + alt+"s")
|
||||
|
||||
@@ -378,6 +378,11 @@
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"-"`)
|
||||
|
||||
* *weechat.look.hotlist_add_buffer_if_away*
|
||||
** Beschreibung: `add any buffer to hotlist (including current or visible buffers) if local variable "away" is set on buffer`
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `on`)
|
||||
|
||||
* *weechat.look.hotlist_buffer_separator*
|
||||
** Beschreibung: `Zeichen welches zum Trennen zwischen den verschiedenen Buffern in der Hotlist genutzt werden soll.`
|
||||
** Typ: Zeichenkette
|
||||
|
||||
@@ -378,6 +378,11 @@
|
||||
** type: string
|
||||
** values: any string (default value: `"-"`)
|
||||
|
||||
* *weechat.look.hotlist_add_buffer_if_away*
|
||||
** description: `add any buffer to hotlist (including current or visible buffers) if local variable "away" is set on buffer`
|
||||
** type: boolean
|
||||
** values: on, off (default value: `on`)
|
||||
|
||||
* *weechat.look.hotlist_buffer_separator*
|
||||
** description: `string displayed between buffers in hotlist`
|
||||
** type: string
|
||||
|
||||
@@ -378,6 +378,11 @@
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne (valeur par défaut: `"-"`)
|
||||
|
||||
* *weechat.look.hotlist_add_buffer_if_away*
|
||||
** description: `ajouter tout tampon dans la hotlist (incluant le tampon courant ou les tampons visibles) si la variable locale "away" est définie sur le tampon`
|
||||
** type: booléen
|
||||
** valeurs: on, off (valeur par défaut: `on`)
|
||||
|
||||
* *weechat.look.hotlist_buffer_separator*
|
||||
** description: `chaîne affichée entre les tampons dans la hotlist`
|
||||
** type: chaîne
|
||||
|
||||
@@ -378,6 +378,11 @@
|
||||
** tipo: stringa
|
||||
** valori: qualsiasi stringa (valore predefinito: `"-"`)
|
||||
|
||||
* *weechat.look.hotlist_add_buffer_if_away*
|
||||
** descrizione: `add any buffer to hotlist (including current or visible buffers) if local variable "away" is set on buffer`
|
||||
** tipo: bool
|
||||
** valori: on, off (valore predefinito: `on`)
|
||||
|
||||
* *weechat.look.hotlist_buffer_separator*
|
||||
** descrizione: `string displayed between buffers in hotlist`
|
||||
** tipo: stringa
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.5-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2011-04-23 13:17+0200\n"
|
||||
"POT-Creation-Date: 2011-04-24 08:57+0200\n"
|
||||
"PO-Revision-Date: 2011-04-10 17:32+0200\n"
|
||||
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -2027,6 +2027,11 @@ msgstr ""
|
||||
"hodnota vykreslí skutečnou čáru při použití ncurses, ale může způsobit "
|
||||
"problém s výběrem URL v některých terminálech"
|
||||
|
||||
msgid ""
|
||||
"add any buffer to hotlist (including current or visible buffers) if local "
|
||||
"variable \"away\" is set on buffer"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "string displayed between buffers in hotlist"
|
||||
msgstr "seznam bufferů v hotlistu"
|
||||
|
||||
@@ -22,7 +22,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.5-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2011-04-23 13:17+0200\n"
|
||||
"POT-Creation-Date: 2011-04-24 08:57+0200\n"
|
||||
"PO-Revision-Date: 2011-04-15 21:04+0100\n"
|
||||
"Last-Translator: Nils G.\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -2194,6 +2194,11 @@ msgstr ""
|
||||
"Linie. Dies kann allerdings bei einigen Terminals zu Fehlern führen, falls "
|
||||
"die URL Auswahl genutzt wird. Wide Chars sind für diese Option NICHT erlaubt."
|
||||
|
||||
msgid ""
|
||||
"add any buffer to hotlist (including current or visible buffers) if local "
|
||||
"variable \"away\" is set on buffer"
|
||||
msgstr ""
|
||||
|
||||
msgid "string displayed between buffers in hotlist"
|
||||
msgstr ""
|
||||
"Zeichen welches zum Trennen zwischen den verschiedenen Buffern in der "
|
||||
|
||||
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.5-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2011-04-23 13:17+0200\n"
|
||||
"POT-Creation-Date: 2011-04-24 08:57+0200\n"
|
||||
"PO-Revision-Date: 2011-04-10 17:31+0200\n"
|
||||
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -2078,6 +2078,11 @@ msgstr ""
|
||||
"dibujará una línea verdadera con ncurses, pero puede causar errores con la "
|
||||
"selección de URLs en algunas terminales"
|
||||
|
||||
msgid ""
|
||||
"add any buffer to hotlist (including current or visible buffers) if local "
|
||||
"variable \"away\" is set on buffer"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "string displayed between buffers in hotlist"
|
||||
msgstr "lista de buffers en la lista de actividad"
|
||||
|
||||
@@ -21,8 +21,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.5-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2011-04-23 13:17+0200\n"
|
||||
"PO-Revision-Date: 2011-04-23 13:10+0200\n"
|
||||
"POT-Creation-Date: 2011-04-24 08:57+0200\n"
|
||||
"PO-Revision-Date: 2011-04-24 08:58+0200\n"
|
||||
"Last-Translator: Sebastien Helleu <flashcode@flashtux.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"Language: French\n"
|
||||
@@ -2144,6 +2144,13 @@ msgstr ""
|
||||
"problèmes d'affichage avec la sélection d'URL sous certains terminaux), les "
|
||||
"caractères larges ne sont PAS autorisés ici"
|
||||
|
||||
msgid ""
|
||||
"add any buffer to hotlist (including current or visible buffers) if local "
|
||||
"variable \"away\" is set on buffer"
|
||||
msgstr ""
|
||||
"ajouter tout tampon dans la hotlist (incluant le tampon courant ou les "
|
||||
"tampons visibles) si la variable locale \"away\" est définie sur le tampon"
|
||||
|
||||
msgid "string displayed between buffers in hotlist"
|
||||
msgstr "chaîne affichée entre les tampons dans la hotlist"
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.5-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2011-04-23 13:17+0200\n"
|
||||
"POT-Creation-Date: 2011-04-24 08:57+0200\n"
|
||||
"PO-Revision-Date: 2011-04-10 11:21+0200\n"
|
||||
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1809,6 +1809,11 @@ msgid ""
|
||||
"terminals), wide chars are NOT allowed here"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"add any buffer to hotlist (including current or visible buffers) if local "
|
||||
"variable \"away\" is set on buffer"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "string displayed between buffers in hotlist"
|
||||
msgstr "kiemelendő szavak listája"
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.5-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2011-04-23 13:17+0200\n"
|
||||
"POT-Creation-Date: 2011-04-24 08:57+0200\n"
|
||||
"PO-Revision-Date: 2011-04-10 17:33+0200\n"
|
||||
"Last-Translator: Marco Paolone <marcopaolone@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -2131,6 +2131,11 @@ msgstr ""
|
||||
"con la selezione dell'URL in alcuni terminali), i caratteri wide NON sono "
|
||||
"consentiti"
|
||||
|
||||
msgid ""
|
||||
"add any buffer to hotlist (including current or visible buffers) if local "
|
||||
"variable \"away\" is set on buffer"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "string displayed between buffers in hotlist"
|
||||
msgstr "elenco dei buffer nella hotlist"
|
||||
|
||||
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.5-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2011-04-23 13:17+0200\n"
|
||||
"POT-Creation-Date: 2011-04-24 08:57+0200\n"
|
||||
"PO-Revision-Date: 2011-04-10 17:32+0200\n"
|
||||
"Last-Translator: Krzysztof Koroscik <soltys@szluug.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -2084,6 +2084,11 @@ msgstr ""
|
||||
"linii w ncurses, jednak może powodowac błędy w zaznaczaniu URLi w niektórych "
|
||||
"terminalach"
|
||||
|
||||
msgid ""
|
||||
"add any buffer to hotlist (including current or visible buffers) if local "
|
||||
"variable \"away\" is set on buffer"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "string displayed between buffers in hotlist"
|
||||
msgstr "lista buforów w hotliście"
|
||||
|
||||
+6
-1
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.5-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2011-04-23 13:17+0200\n"
|
||||
"POT-Creation-Date: 2011-04-24 08:57+0200\n"
|
||||
"PO-Revision-Date: 2011-04-10 11:22+0200\n"
|
||||
"Last-Translator: Ivan Sichmann Freitas <ivansichfreitas@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -2075,6 +2075,11 @@ msgstr ""
|
||||
"vai desenha ruma linha real com ncurses, mas pode causar bugs com seleção de "
|
||||
"URL em alguns terminais"
|
||||
|
||||
msgid ""
|
||||
"add any buffer to hotlist (including current or visible buffers) if local "
|
||||
"variable \"away\" is set on buffer"
|
||||
msgstr ""
|
||||
|
||||
msgid "string displayed between buffers in hotlist"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.5-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2011-04-23 13:17+0200\n"
|
||||
"POT-Creation-Date: 2011-04-24 08:57+0200\n"
|
||||
"PO-Revision-Date: 2011-04-10 17:33+0200\n"
|
||||
"Last-Translator: Pavel Shevchuk <stlwrt@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1818,6 +1818,11 @@ msgid ""
|
||||
"terminals), wide chars are NOT allowed here"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"add any buffer to hotlist (including current or visible buffers) if local "
|
||||
"variable \"away\" is set on buffer"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "string displayed between buffers in hotlist"
|
||||
msgstr "максимальная длина имён в хотлисте"
|
||||
|
||||
+6
-1
@@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2011-04-23 13:17+0200\n"
|
||||
"POT-Creation-Date: 2011-04-24 08:57+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@@ -1564,6 +1564,11 @@ msgid ""
|
||||
"terminals), wide chars are NOT allowed here"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"add any buffer to hotlist (including current or visible buffers) if local "
|
||||
"variable \"away\" is set on buffer"
|
||||
msgstr ""
|
||||
|
||||
msgid "string displayed between buffers in hotlist"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -89,6 +89,7 @@ struct t_config_option *config_look_highlight;
|
||||
struct t_config_option *config_look_highlight_regex;
|
||||
struct t_config_option *config_look_highlight_tags;
|
||||
struct t_config_option *config_look_hline_char;
|
||||
struct t_config_option *config_look_hotlist_add_buffer_if_away;
|
||||
struct t_config_option *config_look_hotlist_buffer_separator;
|
||||
struct t_config_option *config_look_hotlist_count_max;
|
||||
struct t_config_option *config_look_hotlist_count_min_msg;
|
||||
@@ -1625,6 +1626,12 @@ config_weechat_init_options ()
|
||||
"will draw a real line with ncurses, but may cause bugs with URL "
|
||||
"selection under some terminals), wide chars are NOT allowed here"),
|
||||
NULL, 0, 0, "-", NULL, 0, NULL, NULL, &config_change_buffers, NULL, NULL, NULL);
|
||||
config_look_hotlist_add_buffer_if_away = config_file_new_option (
|
||||
weechat_config_file, ptr_section,
|
||||
"hotlist_add_buffer_if_away", "boolean",
|
||||
N_("add any buffer to hotlist (including current or visible buffers) "
|
||||
"if local variable \"away\" is set on buffer"),
|
||||
NULL, 0, 0, "on", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
config_look_hotlist_buffer_separator = config_file_new_option (
|
||||
weechat_config_file, ptr_section,
|
||||
"hotlist_buffer_separator", "string",
|
||||
|
||||
@@ -115,6 +115,7 @@ extern struct t_config_option *config_look_day_change_time_format;
|
||||
extern struct t_config_option *config_look_highlight;
|
||||
extern struct t_config_option *config_look_highlight_regex;
|
||||
extern struct t_config_option *config_look_hline_char;
|
||||
extern struct t_config_option *config_look_hotlist_add_buffer_if_away;
|
||||
extern struct t_config_option *config_look_hotlist_buffer_separator;
|
||||
extern struct t_config_option *config_look_hotlist_count_max;
|
||||
extern struct t_config_option *config_look_hotlist_count_min_msg;
|
||||
|
||||
@@ -298,7 +298,9 @@ gui_hotlist_add (struct t_gui_buffer *buffer,
|
||||
|
||||
/* do not add buffer if it is displayed and away is not set */
|
||||
away = hashtable_get (buffer->local_variables, "away");
|
||||
if ((buffer->num_displayed > 0) && (!away || !away[0]))
|
||||
if ((buffer->num_displayed > 0)
|
||||
&& ((!away || !away[0])
|
||||
|| !CONFIG_BOOLEAN(config_look_hotlist_add_buffer_if_away)))
|
||||
return NULL;
|
||||
|
||||
if (priority > GUI_HOTLIST_MAX)
|
||||
|
||||
Reference in New Issue
Block a user