1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 04:46:37 +02:00

fset: remove option fset.look.show_help_bar

This commit is contained in:
Sébastien Helleu
2017-06-26 23:55:45 +02:00
parent be28f3c7f4
commit 16132ed7ba
24 changed files with 68 additions and 376 deletions
-6
View File
@@ -440,12 +440,6 @@
** Werte: 1 .. 100
** Standardwert: `+10+`
* [[option_fset.look.show_help_bar]] *fset.look.show_help_bar*
** Beschreibung: pass:none[display help bar in fset buffer (description of option, allowed values and default value)]
** Typ: boolesch
** Werte: on, off
** Standardwert: `+on+`
* [[option_fset.look.show_plugins_desc]] *fset.look.show_plugins_desc*
** Beschreibung: pass:none[show the plugin description options (plugins.desc.*)]
** Typ: boolesch
-6
View File
@@ -440,12 +440,6 @@
** values: 1 .. 100
** default value: `+10+`
* [[option_fset.look.show_help_bar]] *fset.look.show_help_bar*
** description: pass:none[display help bar in fset buffer (description of option, allowed values and default value)]
** type: boolean
** values: on, off
** default value: `+on+`
* [[option_fset.look.show_plugins_desc]] *fset.look.show_plugins_desc*
** description: pass:none[show the plugin description options (plugins.desc.*)]
** type: boolean
-6
View File
@@ -440,12 +440,6 @@
** valeurs: 1 .. 100
** valeur par défaut: `+10+`
* [[option_fset.look.show_help_bar]] *fset.look.show_help_bar*
** description: pass:none[afficher la barre d'aide dans le tampon fset (description de l'option, valeurs autorisées et valeur par défaut)]
** type: booléen
** valeurs: on, off
** valeur par défaut: `+on+`
* [[option_fset.look.show_plugins_desc]] *fset.look.show_plugins_desc*
** description: pass:none[afficher les options de description des extensions (plugins.desc.*)]
** type: booléen
-6
View File
@@ -440,12 +440,6 @@
** valori: 1 .. 100
** valore predefinito: `+10+`
* [[option_fset.look.show_help_bar]] *fset.look.show_help_bar*
** descrizione: pass:none[display help bar in fset buffer (description of option, allowed values and default value)]
** tipo: bool
** valori: on, off
** valore predefinito: `+on+`
* [[option_fset.look.show_plugins_desc]] *fset.look.show_plugins_desc*
** descrizione: pass:none[show the plugin description options (plugins.desc.*)]
** tipo: bool
-6
View File
@@ -440,12 +440,6 @@
** 値: 1 .. 100
** デフォルト値: `+10+`
* [[option_fset.look.show_help_bar]] *fset.look.show_help_bar*
** 説明: pass:none[display help bar in fset buffer (description of option, allowed values and default value)]
** タイプ: ブール
** 値: on, off
** デフォルト値: `+on+`
* [[option_fset.look.show_plugins_desc]] *fset.look.show_plugins_desc*
** 説明: pass:none[show the plugin description options (plugins.desc.*)]
** タイプ: ブール
-6
View File
@@ -440,12 +440,6 @@
** wartości: 1 .. 100
** domyślna wartość: `+10+`
* [[option_fset.look.show_help_bar]] *fset.look.show_help_bar*
** opis: pass:none[display help bar in fset buffer (description of option, allowed values and default value)]
** typ: bool
** wartości: on, off
** domyślna wartość: `+on+`
* [[option_fset.look.show_plugins_desc]] *fset.look.show_plugins_desc*
** opis: pass:none[show the plugin description options (plugins.desc.*)]
** typ: bool
+2 -23
View File
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2017-06-26 22:20+0200\n"
"PO-Revision-Date: 2017-06-23 11:58+0200\n"
"POT-Creation-Date: 2017-06-26 23:32+0200\n"
"PO-Revision-Date: 2017-06-26 23:32+0200\n"
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: cs\n"
@@ -5703,11 +5703,6 @@ msgstr ""
msgid "left/right scroll in fset buffer (percent of width)"
msgstr ""
msgid ""
"display help bar in fset buffer (description of option, allowed values and "
"default value)"
msgstr ""
msgid "show the plugin description options (plugins.desc.*)"
msgstr ""
@@ -12281,19 +12276,3 @@ msgstr "%s%s: vypršel časový limit \"%s\" pro %s"
#, c-format
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: nemohu se připojit\" neočekávaná chyba (%d)"
#, fuzzy
#~ msgid "color for parent name"
#~ msgstr "barva textu pro jeméno serveru"
#, fuzzy
#~ msgid "color for parent name on the selected line"
#~ msgstr "barva textu řádku vybraného klienta"
#, fuzzy
#~ msgid "color for parent value"
#~ msgstr "barva textu pro hodnoty"
#, fuzzy
#~ msgid "color for unmarked string"
#~ msgstr "barva položek, které jsou pryč"
+2 -25
View File
@@ -19,8 +19,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2017-06-26 22:20+0200\n"
"PO-Revision-Date: 2017-06-24 00:57+0200\n"
"POT-Creation-Date: 2017-06-26 23:32+0200\n"
"PO-Revision-Date: 2017-06-26 23:32+0200\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n"
"Language: de\n"
@@ -6845,11 +6845,6 @@ msgstr ""
msgid "left/right scroll in fset buffer (percent of width)"
msgstr ""
msgid ""
"display help bar in fset buffer (description of option, allowed values and "
"default value)"
msgstr ""
msgid "show the plugin description options (plugins.desc.*)"
msgstr ""
@@ -14091,21 +14086,3 @@ msgstr "%s%s: Zeitüberschreitung für \"%s\" mit %s"
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr ""
"%s%s: Verbindung konnte nicht hergestellt werden: unerwarteter Fehler (%d)"
#, fuzzy
#~ msgid "color for parent name"
#~ msgstr "Textfarbe für den Namen des Servers"
#, fuzzy
#~ msgid "color for parent name on the selected line"
#~ msgstr ""
#~ "Textfarbe für den Namen des Skriptes, im Skript Buffer, wenn die Zeile "
#~ "angewählt wird"
#, fuzzy
#~ msgid "color for parent value"
#~ msgstr "Farbe für Werte"
#, fuzzy
#~ msgid "color for unmarked string"
#~ msgstr "Textfarbe in der der Verlaufsspeicher dargestellt werden soll"
+2 -25
View File
@@ -22,8 +22,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2017-06-26 22:20+0200\n"
"PO-Revision-Date: 2017-06-23 11:58+0200\n"
"POT-Creation-Date: 2017-06-26 23:32+0200\n"
"PO-Revision-Date: 2017-06-26 23:32+0200\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: es\n"
@@ -5919,11 +5919,6 @@ msgstr ""
msgid "left/right scroll in fset buffer (percent of width)"
msgstr ""
msgid ""
"display help bar in fset buffer (description of option, allowed values and "
"default value)"
msgstr ""
msgid "show the plugin description options (plugins.desc.*)"
msgstr ""
@@ -12557,21 +12552,3 @@ msgstr "%s%s: tiempo de espera máximo para \"%s\" con %s"
#, fuzzy, c-format
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: no es posible conectarse al transmisor"
#, fuzzy
#~ msgid "color for parent name"
#~ msgstr "color para los nombres de los servidores"
#, fuzzy
#~ msgid "color for parent name on the selected line"
#~ msgstr ""
#~ "color del texto para el nombre del script, en línea seleccionada del "
#~ "buffer de scripts"
#, fuzzy
#~ msgid "color for parent value"
#~ msgstr "color para los valores"
#, fuzzy
#~ msgid "color for unmarked string"
#~ msgstr "color para las líneas del último registro"
+2 -9
View File
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2017-06-26 22:20+0200\n"
"PO-Revision-Date: 2017-06-26 22:21+0200\n"
"POT-Creation-Date: 2017-06-26 23:32+0200\n"
"PO-Revision-Date: 2017-06-26 23:32+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
@@ -6926,13 +6926,6 @@ msgid "left/right scroll in fset buffer (percent of width)"
msgstr ""
"défilement gauche/droite dans le tampon fset (pourcentage de la largeur)"
msgid ""
"display help bar in fset buffer (description of option, allowed values and "
"default value)"
msgstr ""
"afficher la barre d'aide dans le tampon fset (description de l'option, "
"valeurs autorisées et valeur par défaut)"
msgid "show the plugin description options (plugins.desc.*)"
msgstr "afficher les options de description des extensions (plugins.desc.*)"
+2 -23
View File
@@ -20,8 +20,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2017-06-26 22:20+0200\n"
"PO-Revision-Date: 2017-06-23 11:58+0200\n"
"POT-Creation-Date: 2017-06-26 23:32+0200\n"
"PO-Revision-Date: 2017-06-26 23:32+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: hu\n"
@@ -5237,11 +5237,6 @@ msgstr ""
msgid "left/right scroll in fset buffer (percent of width)"
msgstr ""
msgid ""
"display help bar in fset buffer (description of option, allowed values and "
"default value)"
msgstr ""
msgid "show the plugin description options (plugins.desc.*)"
msgstr ""
@@ -11574,19 +11569,3 @@ msgstr "%s hiányzó argumentum a(z) \"%s\" opciónak\n"
#, fuzzy, c-format
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s DCC: nem sikerült kapcsolódni a küldőhöz\n"
#, fuzzy
#~ msgid "color for parent name"
#~ msgstr "szerver nevének színe"
#, fuzzy
#~ msgid "color for parent name on the selected line"
#~ msgstr "szerver nevének színe"
#, fuzzy
#~ msgid "color for parent value"
#~ msgstr "üzenetek színe"
#, fuzzy
#~ msgid "color for unmarked string"
#~ msgstr "távollevő felhasználók nevének színe"
+2 -25
View File
@@ -20,8 +20,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2017-06-26 22:20+0200\n"
"PO-Revision-Date: 2017-06-23 11:58+0200\n"
"POT-Creation-Date: 2017-06-26 23:32+0200\n"
"PO-Revision-Date: 2017-06-26 23:32+0200\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: it\n"
@@ -6090,11 +6090,6 @@ msgstr ""
msgid "left/right scroll in fset buffer (percent of width)"
msgstr ""
msgid ""
"display help bar in fset buffer (description of option, allowed values and "
"default value)"
msgstr ""
msgid "show the plugin description options (plugins.desc.*)"
msgstr ""
@@ -12775,21 +12770,3 @@ msgstr "%s%s: timeout per \"%s\" con %s"
#, fuzzy, c-format
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: impossibile connettersi al mittente"
#, fuzzy
#~ msgid "color for parent name"
#~ msgstr "colore del testo per i nomi dei server"
#, fuzzy
#~ msgid "color for parent name on the selected line"
#~ msgstr ""
#~ "colore del testo del nome dello script per la riga selezionata nel buffer "
#~ "degli script"
#, fuzzy
#~ msgid "color for parent value"
#~ msgstr "colore del testo per i valori"
#, fuzzy
#~ msgid "color for unmarked string"
#~ msgstr "colore per la cronologia"
+2 -23
View File
@@ -20,8 +20,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2017-06-26 22:20+0200\n"
"PO-Revision-Date: 2017-06-25 09:00+0900\n"
"POT-Creation-Date: 2017-06-26 23:32+0200\n"
"PO-Revision-Date: 2017-06-26 23:33+0200\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
"translation/ja_JP>\n"
@@ -6413,11 +6413,6 @@ msgstr ""
msgid "left/right scroll in fset buffer (percent of width)"
msgstr ""
msgid ""
"display help bar in fset buffer (description of option, allowed values and "
"default value)"
msgstr ""
msgid "show the plugin description options (plugins.desc.*)"
msgstr ""
@@ -13279,19 +13274,3 @@ msgstr "%s%s: \"%s\" のタイムアウト %s"
#, c-format
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: 接続できません: 未定義のエラー (%d)"
#, fuzzy
#~ msgid "color for parent name"
#~ msgstr "サーバ名のテキスト色"
#, fuzzy
#~ msgid "color for parent name on the selected line"
#~ msgstr "スクリプトバッファ内のスクリプト名が選択された場合のテキスト色"
#, fuzzy
#~ msgid "color for parent value"
#~ msgstr "値のテキスト色"
#, fuzzy
#~ msgid "color for unmarked string"
#~ msgstr "バックログ行の色"
+2 -23
View File
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2017-06-26 22:20+0200\n"
"PO-Revision-Date: 2017-06-23 11:58+0200\n"
"POT-Creation-Date: 2017-06-26 23:32+0200\n"
"PO-Revision-Date: 2017-06-26 23:33+0200\n"
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: pl\n"
@@ -6550,11 +6550,6 @@ msgstr ""
msgid "left/right scroll in fset buffer (percent of width)"
msgstr ""
msgid ""
"display help bar in fset buffer (description of option, allowed values and "
"default value)"
msgstr ""
msgid "show the plugin description options (plugins.desc.*)"
msgstr ""
@@ -13514,19 +13509,3 @@ msgstr "%s%s: przekroczono czas na \"%s\" z %s"
#, c-format
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: nie można połączyć: niespodziewany błąd (%d)"
#, fuzzy
#~ msgid "color for parent name"
#~ msgstr "kolor nazw serwerów"
#, fuzzy
#~ msgid "color for parent name on the selected line"
#~ msgstr "kolor nazwy skryptu w zaznaczonej linii w buforze skryptów"
#, fuzzy
#~ msgid "color for parent value"
#~ msgstr "kolor wyświetlania wartości"
#, fuzzy
#~ msgid "color for unmarked string"
#~ msgstr "kolor linii backloga"
+2 -24
View File
@@ -20,8 +20,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2017-06-26 22:20+0200\n"
"PO-Revision-Date: 2017-06-23 11:58+0200\n"
"POT-Creation-Date: 2017-06-26 23:32+0200\n"
"PO-Revision-Date: 2017-06-26 23:33+0200\n"
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
"Language-Team: Portuguese <>\n"
"Language: pt\n"
@@ -6446,11 +6446,6 @@ msgstr ""
msgid "left/right scroll in fset buffer (percent of width)"
msgstr ""
msgid ""
"display help bar in fset buffer (description of option, allowed values and "
"default value)"
msgstr ""
msgid "show the plugin description options (plugins.desc.*)"
msgstr ""
@@ -13406,20 +13401,3 @@ msgstr "%s%s: tempo limite de \"%s\" com %s"
#, c-format
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: não foi possível conectar: erro inesperado (%d)"
#, fuzzy
#~ msgid "color for parent name"
#~ msgstr "cor de texto do nome dos servidores"
#, fuzzy
#~ msgid "color for parent name on the selected line"
#~ msgstr ""
#~ "cor do texto do nome do script da linha selecionada no buffer de scripts"
#, fuzzy
#~ msgid "color for parent value"
#~ msgstr "cor do texto de valores"
#, fuzzy
#~ msgid "color for unmarked string"
#~ msgstr "cor das linhas do registo recente"
+2 -23
View File
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2017-06-26 22:20+0200\n"
"PO-Revision-Date: 2017-06-23 11:58+0200\n"
"POT-Creation-Date: 2017-06-26 23:32+0200\n"
"PO-Revision-Date: 2017-06-26 23:33+0200\n"
"Last-Translator: Eduardo Elias <camponez@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: pt_BR\n"
@@ -5883,11 +5883,6 @@ msgstr ""
msgid "left/right scroll in fset buffer (percent of width)"
msgstr ""
msgid ""
"display help bar in fset buffer (description of option, allowed values and "
"default value)"
msgstr ""
msgid "show the plugin description options (plugins.desc.*)"
msgstr ""
@@ -12054,19 +12049,3 @@ msgstr "%s%s: tempo esgotado para \"%s\" com %s"
#, fuzzy, c-format
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: não foi possível conectar ao remetente"
#, fuzzy
#~ msgid "color for parent name"
#~ msgstr "cor do texto para nomes de servidor"
#, fuzzy
#~ msgid "color for parent name on the selected line"
#~ msgstr "cor do texto da linha do cliente selecionada"
#, fuzzy
#~ msgid "color for parent value"
#~ msgstr "cor de texto para valores"
#, fuzzy
#~ msgid "color for unmarked string"
#~ msgstr "cor de texto para valores"
+2 -23
View File
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2017-06-26 22:20+0200\n"
"PO-Revision-Date: 2017-06-23 11:58+0200\n"
"POT-Creation-Date: 2017-06-26 23:32+0200\n"
"PO-Revision-Date: 2017-06-26 23:33+0200\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: ru\n"
@@ -5275,11 +5275,6 @@ msgstr ""
msgid "left/right scroll in fset buffer (percent of width)"
msgstr ""
msgid ""
"display help bar in fset buffer (description of option, allowed values and "
"default value)"
msgstr ""
msgid "show the plugin description options (plugins.desc.*)"
msgstr ""
@@ -11606,19 +11601,3 @@ msgstr "%s нет аргумента для параметра \"%s\"\n"
#, fuzzy, c-format
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s DCC: не могу соединиться с отправителем\n"
#, fuzzy
#~ msgid "color for parent name"
#~ msgstr "цвет названия сервера"
#, fuzzy
#~ msgid "color for parent name on the selected line"
#~ msgstr "цвет названия сервера"
#, fuzzy
#~ msgid "color for parent value"
#~ msgstr "цвет чата"
#, fuzzy
#~ msgid "color for unmarked string"
#~ msgstr "цвет отошедших ников"
+2 -15
View File
@@ -20,8 +20,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2017-06-26 22:20+0200\n"
"PO-Revision-Date: 2017-06-23 11:58+0200\n"
"POT-Creation-Date: 2017-06-26 23:32+0200\n"
"PO-Revision-Date: 2017-06-26 23:33+0200\n"
"Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: tr\n"
@@ -4820,11 +4820,6 @@ msgstr ""
msgid "left/right scroll in fset buffer (percent of width)"
msgstr ""
msgid ""
"display help bar in fset buffer (description of option, allowed values and "
"default value)"
msgstr ""
msgid "show the plugin description options (plugins.desc.*)"
msgstr ""
@@ -10568,11 +10563,3 @@ msgstr ""
#, c-format
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr ""
#, fuzzy
#~ msgid "color for parent name"
#~ msgstr "sunucu isimleri için metin rengi"
#, fuzzy
#~ msgid "color for parent value"
#~ msgstr "değerler için metin rengi"
+1 -6
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2017-06-26 22:20+0200\n"
"POT-Creation-Date: 2017-06-26 23:32+0200\n"
"PO-Revision-Date: 2014-08-16 10:27+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -4797,11 +4797,6 @@ msgstr ""
msgid "left/right scroll in fset buffer (percent of width)"
msgstr ""
msgid ""
"display help bar in fset buffer (description of option, allowed values and "
"default value)"
msgstr ""
msgid "show the plugin description options (plugins.desc.*)"
msgstr ""
+1 -2
View File
@@ -41,8 +41,7 @@ struct t_gui_bar_item *fset_bar_item_fset = NULL;
void
fset_bar_item_update ()
{
if (weechat_config_boolean (fset_config_look_show_help_bar))
weechat_bar_item_update (FSET_BAR_ITEM_NAME);
weechat_bar_item_update (FSET_BAR_ITEM_NAME);
}
/*
+40 -40
View File
@@ -950,23 +950,23 @@ fset_buffer_input_cb (const void *pointer, void *data,
const char *input_data)
{
char *actions[][2] = {
{ "<<", "/fset -go 0" },
{ ">>", "/fset -go end" },
{ "<", "/fset -left" },
{ ">", "/fset -right" },
{ "t", "/fset -toggle" },
{ "-", "/fset -add -1" },
{ "+", "/fset -add 1" },
{ "r", "/fset -reset" },
{ "u", "/fset -unset" },
{ "s", "/fset -set" },
{ "n", "/fset -setnew" },
{ "a", "/fset -append" },
{ ",", "/fset -mark 1" },
{ "p", "/mute /set fset.look.show_plugins_desc toggle", },
{ "v", "/mute /set fset.look.show_help_bar toggle" },
{ "x", "/fset -format" },
{ NULL, NULL },
{ "<<", "/fset -go 0" },
{ ">>", "/fset -go end" },
{ "<", "/fset -left" },
{ ">", "/fset -right" },
{ "t", "/fset -toggle" },
{ "-", "/fset -add -1" },
{ "+", "/fset -add 1" },
{ "r", "/fset -reset" },
{ "u", "/fset -unset" },
{ "s", "/fset -set" },
{ "n", "/fset -setnew" },
{ "a", "/fset -append" },
{ ",", "/fset -mark 1" },
{ "p", "/mute /set fset.look.show_plugins_desc toggle" },
{ "v", "/bar toggle " FSET_BAR_NAME },
{ "x", "/fset -format" },
{ NULL, NULL },
};
const char *ptr_input;
int i;
@@ -1121,29 +1121,29 @@ void
fset_buffer_set_keys ()
{
char *keys[][2] = {
{ "meta2-A", "/fset -up" },
{ "meta2-B", "/fset -down" },
{ "meta-meta2-1~", "/fset -go 0" },
{ "meta-meta2-4~", "/fset -go end" },
{ "meta2-23~", "/fset -left" },
{ "meta2-24~", "/fset -right" },
{ "meta-space", "/fset -toggle" },
{ "meta--", "/fset -add -1" },
{ "meta-+", "/fset -add 1" },
{ "meta-fmeta-r", "/fset -reset" },
{ "meta-fmeta-u", "/fset -unset" },
{ "meta-ctrl-J", "/fset -set" },
{ "meta-ctrl-M", "/fset -set" },
{ "meta-fmeta-n", "/fset -setnew" },
{ "meta-fmeta-a", "/fset -append" },
{ "meta-,", "/fset -mark" },
{ "meta2-a", "/fset -up; /fset -mark" },
{ "meta2-b", "/fset -mark; /fset -down" },
{ "ctrl-L", "/fset -refresh" },
{ "meta-p", "/mute /set fset.look.show_plugins_desc toggle", },
{ "meta-v", "/mute /set fset.look.show_help_bar toggle" },
{ "ctrl-X", "/fset -format" },
{ NULL, NULL },
{ "meta2-A", "/fset -up" },
{ "meta2-B", "/fset -down" },
{ "meta-meta2-1~", "/fset -go 0" },
{ "meta-meta2-4~", "/fset -go end" },
{ "meta2-23~", "/fset -left" },
{ "meta2-24~", "/fset -right" },
{ "meta-space", "/fset -toggle" },
{ "meta--", "/fset -add -1" },
{ "meta-+", "/fset -add 1" },
{ "meta-fmeta-r", "/fset -reset" },
{ "meta-fmeta-u", "/fset -unset" },
{ "meta-ctrl-J", "/fset -set" },
{ "meta-ctrl-M", "/fset -set" },
{ "meta-fmeta-n", "/fset -setnew" },
{ "meta-fmeta-a", "/fset -append" },
{ "meta-,", "/fset -mark" },
{ "meta2-a", "/fset -up; /fset -mark" },
{ "meta2-b", "/fset -mark; /fset -down" },
{ "ctrl-L", "/fset -refresh" },
{ "meta-p", "/mute /set fset.look.show_plugins_desc toggle" },
{ "meta-v", "/bar toggle " FSET_BAR_NAME },
{ "ctrl-X", "/fset -format" },
{ NULL, NULL },
};
char str_key[64];
int i;
-26
View File
@@ -40,7 +40,6 @@ struct t_config_option *fset_config_look_export_help_default;
struct t_config_option *fset_config_look_format_number;
struct t_config_option *fset_config_look_marked_string;
struct t_config_option *fset_config_look_scroll_horizontal;
struct t_config_option *fset_config_look_show_help_bar;
struct t_config_option *fset_config_look_show_plugins_desc;
struct t_config_option *fset_config_look_sort;
struct t_config_option *fset_config_look_unmarked_string;
@@ -116,22 +115,6 @@ fset_config_change_format_number_cb (const void *pointer, void *data,
fset_buffer_check_line_outside_window ();
}
/*
* Callback for changes on option "fset.look.show_help_bar".
*/
void
fset_config_change_show_help_bar_cb (const void *pointer, void *data,
struct t_config_option *option)
{
/* make C compiler happy */
(void) pointer;
(void) data;
(void) option;
weechat_command (NULL, "/window refresh");
}
/*
* Callback for changes on option "fset.look.show_plugins_desc".
*/
@@ -404,15 +387,6 @@ fset_config_init ()
NULL, NULL, NULL,
NULL, NULL, NULL,
NULL, NULL, NULL);
fset_config_look_show_help_bar = weechat_config_new_option (
fset_config_file, ptr_section,
"show_help_bar", "boolean",
N_("display help bar in fset buffer (description of option, "
"allowed values and default value)"),
NULL, 0, 0, "on", NULL, 0,
NULL, NULL, NULL,
&fset_config_change_show_help_bar_cb, NULL, NULL,
NULL, NULL, NULL);
fset_config_look_show_plugins_desc = weechat_config_new_option (
fset_config_file, ptr_section,
"show_plugins_desc", "boolean",
-1
View File
@@ -30,7 +30,6 @@ extern struct t_config_option *fset_config_look_export_help_default;
extern struct t_config_option *fset_config_look_format_number;
extern struct t_config_option *fset_config_look_marked_string;
extern struct t_config_option *fset_config_look_scroll_horizontal;
extern struct t_config_option *fset_config_look_show_help_bar;
extern struct t_config_option *fset_config_look_show_plugins_desc;
extern struct t_config_option *fset_config_look_sort;
extern struct t_config_option *fset_config_look_unmarked_string;
+2 -4
View File
@@ -59,8 +59,7 @@ fset_add_bar ()
{
weechat_bar_new (
FSET_BAR_NAME, "off", "0", "window",
"${fset.look.show_help_bar} "
"&& ${buffer.full_name} == " FSET_PLUGIN_NAME "." FSET_BAR_NAME,
"${buffer.full_name} == " FSET_PLUGIN_NAME "." FSET_BAR_NAME,
"top", "horizontal", "vertical", "3", "3",
"default", "cyan", "default", "on",
FSET_BAR_ITEM_NAME);
@@ -101,8 +100,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
fset_completion_init ();
if (weechat_config_boolean (fset_config_look_show_help_bar))
fset_add_bar ();
fset_add_bar ();
fset_bar_item_update ();