1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 09:13:14 +02:00

buflist: add mouse support

New options:
- buflist.look.mouse_jump_visited_buffer
- buflist.look.mouse_move_buffer
- buflist.look.mouse_wheel

New keys added by buflist plugin:
- @item(buflist):button1*      => hsignal:buflist_mouse
- @item(buflist):button2*      => hsignal:buflist_mouse
- @bar(buflist):ctrl-wheelup   => hsignal:buflist_mouse
- @bar(buflist):ctrl-wheeldown => hsignal:buflist_mouse
This commit is contained in:
Sébastien Helleu
2017-03-30 20:39:37 +02:00
parent 467f482ea6
commit f0c8da2f05
33 changed files with 687 additions and 16 deletions
+2
View File
@@ -128,6 +128,8 @@
./src/plugins/buflist/buflist-command.h
./src/plugins/buflist/buflist-config.c
./src/plugins/buflist/buflist-config.h
./src/plugins/buflist/buflist-mouse.c
./src/plugins/buflist/buflist-mouse.h
./src/plugins/buflist/buflist.h
./src/plugins/charset/charset.c
./src/plugins/exec/exec.c
+13 -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: 2017-03-29 19:58+0200\n"
"POT-Creation-Date: 2017-03-30 20:31+0200\n"
"PO-Revision-Date: 2017-01-06 21:59+0100\n"
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -4928,6 +4928,18 @@ msgid ""
"buflist)"
msgstr "příkaz spuštěný při startu WeeChat, před načtením pluginů"
msgid ""
"if enabled, clicks with left/right buttons on the line with current buffer "
"jump to previous/next visited buffer"
msgstr ""
msgid "if enabled, mouse gestures (drag & drop) move buffers in list"
msgstr ""
msgid ""
"if enabled, mouse wheel up/down actions jump to previous/next buffer in list"
msgstr ""
#, fuzzy
msgid ""
"comma-separated list of signals that are hooked and trigger the refresh of "
+13 -1
View File
@@ -19,7 +19,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2017-03-29 19:58+0200\n"
"POT-Creation-Date: 2017-03-30 20:31+0200\n"
"PO-Revision-Date: 2017-03-12 21:27+0100\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n"
@@ -5797,6 +5797,18 @@ msgstr ""
"Realname der auf dem Server genutzt werden soll (Hinweis: Inhalt wird "
"evaluiert, siehe /help eval)"
msgid ""
"if enabled, clicks with left/right buttons on the line with current buffer "
"jump to previous/next visited buffer"
msgstr ""
msgid "if enabled, mouse gestures (drag & drop) move buffers in list"
msgstr ""
msgid ""
"if enabled, mouse wheel up/down actions jump to previous/next buffer in list"
msgstr ""
#, fuzzy
msgid ""
"comma-separated list of signals that are hooked and trigger the refresh of "
+13 -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: 2017-03-29 19:58+0200\n"
"POT-Creation-Date: 2017-03-30 20:31+0200\n"
"PO-Revision-Date: 2017-01-06 22:01+0100\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -5140,6 +5140,18 @@ msgid ""
"buflist)"
msgstr "comando ejecutado cuando WeeChat inicia, antes de cargar los plugins"
msgid ""
"if enabled, clicks with left/right buttons on the line with current buffer "
"jump to previous/next visited buffer"
msgstr ""
msgid "if enabled, mouse gestures (drag & drop) move buffers in list"
msgstr ""
msgid ""
"if enabled, mouse wheel up/down actions jump to previous/next buffer in list"
msgstr ""
#, fuzzy
msgid ""
"comma-separated list of signals that are hooked and trigger the refresh of "
+27 -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: 2017-03-29 19:58+0200\n"
"PO-Revision-Date: 2017-03-29 19:58+0200\n"
"POT-Creation-Date: 2017-03-30 20:31+0200\n"
"PO-Revision-Date: 2017-03-30 20:32+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
@@ -5716,6 +5716,24 @@ msgstr ""
"conditions pour afficher un tampon (note : le contenu est évalué, voir /help "
"buflist)"
msgid ""
"if enabled, clicks with left/right buttons on the line with current buffer "
"jump to previous/next visited buffer"
msgstr ""
"si activé, les clics avec les boutons gauche/droit sur la ligne avec le "
"tampon courant sautent au tampon visité avant/après"
msgid "if enabled, mouse gestures (drag & drop) move buffers in list"
msgstr ""
"si activé, les gestes de souris (glisser/déposer) déplacent les tampons dans "
"la liste"
msgid ""
"if enabled, mouse wheel up/down actions jump to previous/next buffer in list"
msgstr ""
"si activé, les actions de roulette de souris haut/bas sautent au tampon "
"précédent/suivant dans la liste"
msgid ""
"comma-separated list of signals that are hooked and trigger the refresh of "
"buffers list"
@@ -13029,6 +13047,13 @@ msgstr "%s%s : délai d'attente dépassé pour \"%s\" avec %s"
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s : impossible de se connecter : erreur inattendue (%d)"
#~ msgid ""
#~ "jump to previous/next visited buffer if you click with left/right mouse "
#~ "button on line with current buffer"
#~ msgstr ""
#~ "sauter au tampon visité avant/après si vous cliquez avec le bouton gauche/"
#~ "droit de la souris sur la ligne avec le tampon courant"
#~ msgid "\"days\" (optional: just return the number of days)"
#~ msgstr "\"days\" (optionnel : retourner juste le nombre de jours)"
+13 -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: 2017-03-29 19:58+0200\n"
"POT-Creation-Date: 2017-03-30 20:31+0200\n"
"PO-Revision-Date: 2017-01-06 22:03+0100\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -4465,6 +4465,18 @@ msgid ""
"buflist)"
msgstr "felhasználónév az IRC szerveren"
msgid ""
"if enabled, clicks with left/right buttons on the line with current buffer "
"jump to previous/next visited buffer"
msgstr ""
msgid "if enabled, mouse gestures (drag & drop) move buffers in list"
msgstr ""
msgid ""
"if enabled, mouse wheel up/down actions jump to previous/next buffer in list"
msgstr ""
msgid ""
"comma-separated list of signals that are hooked and trigger the refresh of "
"buffers list"
+13 -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: 2017-03-29 19:58+0200\n"
"POT-Creation-Date: 2017-03-30 20:31+0200\n"
"PO-Revision-Date: 2017-01-06 22:04+0100\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -5281,6 +5281,18 @@ msgstr ""
"nome utente per il server proxy (nota: il contenuto viene valutato, "
"consultare /help eval)"
msgid ""
"if enabled, clicks with left/right buttons on the line with current buffer "
"jump to previous/next visited buffer"
msgstr ""
msgid "if enabled, mouse gestures (drag & drop) move buffers in list"
msgstr ""
msgid ""
"if enabled, mouse wheel up/down actions jump to previous/next buffer in list"
msgstr ""
#, fuzzy
msgid ""
"comma-separated list of signals that are hooked and trigger the refresh of "
+13 -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: 2017-03-29 19:58+0200\n"
"POT-Creation-Date: 2017-03-30 20:31+0200\n"
"PO-Revision-Date: 2017-03-26 09:00+0900\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
@@ -5448,6 +5448,18 @@ msgid ""
msgstr ""
"バッファの表示条件 (注意: 値は評価されます、/help eval を参照してください)"
msgid ""
"if enabled, clicks with left/right buttons on the line with current buffer "
"jump to previous/next visited buffer"
msgstr ""
msgid "if enabled, mouse gestures (drag & drop) move buffers in list"
msgstr ""
msgid ""
"if enabled, mouse wheel up/down actions jump to previous/next buffer in list"
msgstr ""
msgid ""
"comma-separated list of signals that are hooked and trigger the refresh of "
"buffers list"
+13 -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: 2017-03-29 19:58+0200\n"
"POT-Creation-Date: 2017-03-30 20:31+0200\n"
"PO-Revision-Date: 2017-01-06 22:05+0100\n"
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -5534,6 +5534,18 @@ msgstr ""
"prawdziwa nazwa do użycia na serwerze (uwaga: zawartość jest przetwarzana, "
"zobacz /help eval)"
msgid ""
"if enabled, clicks with left/right buttons on the line with current buffer "
"jump to previous/next visited buffer"
msgstr ""
msgid "if enabled, mouse gestures (drag & drop) move buffers in list"
msgstr ""
msgid ""
"if enabled, mouse wheel up/down actions jump to previous/next buffer in list"
msgstr ""
#, fuzzy
msgid ""
"comma-separated list of signals that are hooked and trigger the refresh of "
+13 -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: 2017-03-29 19:58+0200\n"
"POT-Creation-Date: 2017-03-30 20:31+0200\n"
"PO-Revision-Date: 2017-01-14 21:39+0100\n"
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
"Language-Team: Portuguese <>\n"
@@ -5535,6 +5535,18 @@ msgid ""
msgstr ""
"nome real a usar no servidor (nota: o conteúdo é avaliado, ver /help eval)"
msgid ""
"if enabled, clicks with left/right buttons on the line with current buffer "
"jump to previous/next visited buffer"
msgstr ""
msgid "if enabled, mouse gestures (drag & drop) move buffers in list"
msgstr ""
msgid ""
"if enabled, mouse wheel up/down actions jump to previous/next buffer in list"
msgstr ""
#, fuzzy
msgid ""
"comma-separated list of signals that are hooked and trigger the refresh of "
+13 -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: 2017-03-29 19:58+0200\n"
"POT-Creation-Date: 2017-03-30 20:31+0200\n"
"PO-Revision-Date: 2016-09-03 08:24+0200\n"
"Last-Translator: Eduardo Elias <camponez@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -5083,6 +5083,18 @@ msgstr ""
"comando executado quando o WeeChat inicia, antes do carregamento dos plugins "
"(nota: conteúdo é avaliado, veja /help eval)"
msgid ""
"if enabled, clicks with left/right buttons on the line with current buffer "
"jump to previous/next visited buffer"
msgstr ""
msgid "if enabled, mouse gestures (drag & drop) move buffers in list"
msgstr ""
msgid ""
"if enabled, mouse wheel up/down actions jump to previous/next buffer in list"
msgstr ""
#, fuzzy
msgid ""
"comma-separated list of signals that are hooked and trigger the refresh of "
+13 -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: 2017-03-29 19:58+0200\n"
"POT-Creation-Date: 2017-03-30 20:31+0200\n"
"PO-Revision-Date: 2017-01-06 22:06+0100\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -4503,6 +4503,18 @@ msgid ""
"buflist)"
msgstr "ник, используемый на IRC сервере"
msgid ""
"if enabled, clicks with left/right buttons on the line with current buffer "
"jump to previous/next visited buffer"
msgstr ""
msgid "if enabled, mouse gestures (drag & drop) move buffers in list"
msgstr ""
msgid ""
"if enabled, mouse wheel up/down actions jump to previous/next buffer in list"
msgstr ""
msgid ""
"comma-separated list of signals that are hooked and trigger the refresh of "
"buffers list"
+2
View File
@@ -129,6 +129,8 @@ SET(WEECHAT_SOURCES
./src/plugins/buflist/buflist-command.h
./src/plugins/buflist/buflist-config.c
./src/plugins/buflist/buflist-config.h
./src/plugins/buflist/buflist-mouse.c
./src/plugins/buflist/buflist-mouse.h
./src/plugins/buflist/buflist.h
./src/plugins/charset/charset.c
./src/plugins/exec/exec.c
+13 -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: 2017-03-29 19:58+0200\n"
"POT-Creation-Date: 2017-03-30 20:31+0200\n"
"PO-Revision-Date: 2017-01-06 22:07+0100\n"
"Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -4068,6 +4068,18 @@ msgid ""
"buflist)"
msgstr ""
msgid ""
"if enabled, clicks with left/right buttons on the line with current buffer "
"jump to previous/next visited buffer"
msgstr ""
msgid "if enabled, mouse gestures (drag & drop) move buffers in list"
msgstr ""
msgid ""
"if enabled, mouse wheel up/down actions jump to previous/next buffer in list"
msgstr ""
msgid ""
"comma-separated list of signals that are hooked and trigger the refresh of "
"buffers list"
+13 -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: 2017-03-29 19:58+0200\n"
"POT-Creation-Date: 2017-03-30 20:31+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"
@@ -4053,6 +4053,18 @@ msgid ""
"buflist)"
msgstr ""
msgid ""
"if enabled, clicks with left/right buttons on the line with current buffer "
"jump to previous/next visited buffer"
msgstr ""
msgid "if enabled, mouse gestures (drag & drop) move buffers in list"
msgstr ""
msgid ""
"if enabled, mouse wheel up/down actions jump to previous/next buffer in list"
msgstr ""
msgid ""
"comma-separated list of signals that are hooked and trigger the refresh of "
"buffers list"