mirror of
https://github.com/weechat/weechat.git
synced 2026-07-03 04:45:42 +02:00
Add infolists for bars/bar items/bar windows, code cleanup for bars
This commit is contained in:
@@ -61,6 +61,21 @@
|
||||
<entry>weechat_sharedir</entry>
|
||||
<entry>WeeChat "share" directory</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>infolist</entry>
|
||||
<entry>bar</entry>
|
||||
<entry>list of bars</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>infolist</entry>
|
||||
<entry>bar_item</entry>
|
||||
<entry>list of bar items</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>infolist</entry>
|
||||
<entry>bar_window</entry>
|
||||
<entry>list of bar windows</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>infolist</entry>
|
||||
<entry>buffer</entry>
|
||||
|
||||
@@ -61,6 +61,21 @@
|
||||
<entry>weechat_sharedir</entry>
|
||||
<entry>WeeChat "share" directory</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>infolist</entry>
|
||||
<entry>bar</entry>
|
||||
<entry>list of bars</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>infolist</entry>
|
||||
<entry>bar_item</entry>
|
||||
<entry>list of bar items</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>infolist</entry>
|
||||
<entry>bar_window</entry>
|
||||
<entry>list of bar windows</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>infolist</entry>
|
||||
<entry>buffer</entry>
|
||||
|
||||
@@ -61,6 +61,21 @@
|
||||
<entry>weechat_sharedir</entry>
|
||||
<entry>répertoire "share" de WeeChat</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>infolist</entry>
|
||||
<entry>bar</entry>
|
||||
<entry>liste des barres</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>infolist</entry>
|
||||
<entry>bar_item</entry>
|
||||
<entry>liste des objets de barres</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>infolist</entry>
|
||||
<entry>bar_window</entry>
|
||||
<entry>liste des fenêtres de barre</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>infolist</entry>
|
||||
<entry>buffer</entry>
|
||||
|
||||
@@ -6,7 +6,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.2.7-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2008-12-10 17:02+0100\n"
|
||||
"POT-Creation-Date: 2008-12-12 16:40+0100\n"
|
||||
"PO-Revision-Date: 2008-09-17 16:19+0200\n"
|
||||
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -111,8 +111,8 @@ msgstr "šířka"
|
||||
msgid "auto"
|
||||
msgstr "auto"
|
||||
|
||||
#, c-format
|
||||
msgid " priority: %d, fg: %s, bg: %s, items: %s%s (plugin: %s)"
|
||||
#, fuzzy, c-format
|
||||
msgid " priority: %d, fg: %s, bg: %s, items: %s%s"
|
||||
msgstr " priorita: %d, popředí: %s, pozadí: %s, položky: %s%s (plugin: %s)"
|
||||
|
||||
msgid ", with separator"
|
||||
@@ -4299,6 +4299,18 @@ msgstr ""
|
||||
msgid "1 if filters are enabled"
|
||||
msgstr "uživatel byl zablokován"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of bars"
|
||||
msgstr "Seznam polí:"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of bar items"
|
||||
msgstr "Seznam položek polí:"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of bar windows"
|
||||
msgstr "Seznam položek polí:"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of buffers"
|
||||
msgstr "Seznam pro aliasy:\n"
|
||||
@@ -4312,28 +4324,28 @@ msgid "list of filters"
|
||||
msgstr "Seznam pro aliasy:\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid "nicks in nicklist for a buffer"
|
||||
msgstr "nevalidní délka pro buffer"
|
||||
|
||||
msgid "list of windows"
|
||||
msgstr ""
|
||||
msgid "list of hooks"
|
||||
msgstr "Seznam pro aliasy:\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of buffers in hotlist"
|
||||
msgstr "zobrazit historii příkazů bufferu"
|
||||
|
||||
#, fuzzy
|
||||
msgid "nicks in nicklist for a buffer"
|
||||
msgstr "nevalidní délka pro buffer"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of options"
|
||||
msgstr "nastaví konfigurační možnosti"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of hooks"
|
||||
msgstr "Seznam pro aliasy:\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of plugins"
|
||||
msgstr "nastaví konfigurační možnosti"
|
||||
|
||||
msgid "list of windows"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%sError: unable to load plugin \"%s\": %s"
|
||||
msgstr "%s nemůžu načist plugin \"%s\": %s\n"
|
||||
|
||||
@@ -9,7 +9,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.2.7-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2008-12-10 17:02+0100\n"
|
||||
"POT-Creation-Date: 2008-12-12 16:40+0100\n"
|
||||
"PO-Revision-Date: 2007-09-06 12:44+0200\n"
|
||||
"Last-Translator: Thomas Schuetz <i18n@internet-villa.de>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -118,7 +118,7 @@ msgid "auto"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid " priority: %d, fg: %s, bg: %s, items: %s%s (plugin: %s)"
|
||||
msgid " priority: %d, fg: %s, bg: %s, items: %s%s"
|
||||
msgstr "%sin %s%s%s/%s%s%s:%s ignoriere %s%s%s von %s%s\n"
|
||||
|
||||
#, fuzzy
|
||||
@@ -4272,6 +4272,18 @@ msgstr ""
|
||||
msgid "1 if filters are enabled"
|
||||
msgstr "/users wurde deaktiviert"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of bars"
|
||||
msgstr "Liste der Aliases:\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of bar items"
|
||||
msgstr "Liste der Aliases:\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of bar windows"
|
||||
msgstr "Liste der /ignore-Regeln:\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of buffers"
|
||||
msgstr "Liste der Aliases:\n"
|
||||
@@ -4285,29 +4297,29 @@ msgid "list of filters"
|
||||
msgstr "Liste der Aliases:\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid "nicks in nicklist for a buffer"
|
||||
msgstr "Fehlerhafte Pufferlänge"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of windows"
|
||||
msgstr "Liste der /ignore-Regeln:\n"
|
||||
msgid "list of hooks"
|
||||
msgstr "Liste der Aliases:\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of buffers in hotlist"
|
||||
msgstr "Maximale Länge der Namen in der Hotlist"
|
||||
|
||||
#, fuzzy
|
||||
msgid "nicks in nicklist for a buffer"
|
||||
msgstr "Fehlerhafte Pufferlänge"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of options"
|
||||
msgstr "Konfigurationsparameter setzen"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of hooks"
|
||||
msgstr "Liste der Aliases:\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of plugins"
|
||||
msgstr "Konfigurationsparameter setzen"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of windows"
|
||||
msgstr "Liste der /ignore-Regeln:\n"
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%sError: unable to load plugin \"%s\": %s"
|
||||
msgstr "%s kann Plugin \"%s\" nicht laden: %s\n"
|
||||
|
||||
@@ -6,7 +6,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.2.7-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2008-12-10 17:02+0100\n"
|
||||
"POT-Creation-Date: 2008-12-12 16:40+0100\n"
|
||||
"PO-Revision-Date: 2007-09-19 12:09+0200\n"
|
||||
"Last-Translator: Roberto González Cardenete <robert.glez@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -114,7 +114,7 @@ msgid "auto"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid " priority: %d, fg: %s, bg: %s, items: %s%s (plugin: %s)"
|
||||
msgid " priority: %d, fg: %s, bg: %s, items: %s%s"
|
||||
msgstr "%sen %s%s%s/%s%s%s:%s ignorando %s%s%s de %s%s\n"
|
||||
|
||||
#, fuzzy
|
||||
@@ -4272,6 +4272,18 @@ msgstr ""
|
||||
msgid "1 if filters are enabled"
|
||||
msgstr "los usuarios han sido desactivados"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of bars"
|
||||
msgstr "Lista de alias:\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of bar items"
|
||||
msgstr "Lista de alias:\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of bar windows"
|
||||
msgstr "Lista de ignores:\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of buffers"
|
||||
msgstr "Lista de alias:\n"
|
||||
@@ -4285,29 +4297,29 @@ msgid "list of filters"
|
||||
msgstr "Lista de alias:\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid "nicks in nicklist for a buffer"
|
||||
msgstr "longitud inválida para un búfer"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of windows"
|
||||
msgstr "Lista de ignores:\n"
|
||||
msgid "list of hooks"
|
||||
msgstr "Lista de alias:\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of buffers in hotlist"
|
||||
msgstr "longitud máxima de nombres en la hotlist"
|
||||
|
||||
#, fuzzy
|
||||
msgid "nicks in nicklist for a buffer"
|
||||
msgstr "longitud inválida para un búfer"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of options"
|
||||
msgstr "poner opciones de configuración"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of hooks"
|
||||
msgstr "Lista de alias:\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of plugins"
|
||||
msgstr "poner opciones de configuración"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of windows"
|
||||
msgstr "Lista de ignores:\n"
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%sError: unable to load plugin \"%s\": %s"
|
||||
msgstr "%s no ha sido posible cargar el plugin \"%s\": %s\n"
|
||||
|
||||
@@ -6,8 +6,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.2.7-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2008-12-10 17:02+0100\n"
|
||||
"PO-Revision-Date: 2008-12-10 17:02+0100\n"
|
||||
"POT-Creation-Date: 2008-12-12 16:40+0100\n"
|
||||
"PO-Revision-Date: 2008-12-12 16:41+0100\n"
|
||||
"Last-Translator: FlashCode <flashcode@flashtux.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -114,8 +114,8 @@ msgid "auto"
|
||||
msgstr "auto"
|
||||
|
||||
#, c-format
|
||||
msgid " priority: %d, fg: %s, bg: %s, items: %s%s (plugin: %s)"
|
||||
msgstr " priorité: %d, fg: %s, bg: %s, objets: %s%s (extension: %s)"
|
||||
msgid " priority: %d, fg: %s, bg: %s, items: %s%s"
|
||||
msgstr " priorité: %d, fg: %s, bg: %s, objets: %s%s"
|
||||
|
||||
msgid ", with separator"
|
||||
msgstr ", avec séparateur"
|
||||
@@ -4442,6 +4442,15 @@ msgstr "inactivité du clavier (secondes)"
|
||||
msgid "1 if filters are enabled"
|
||||
msgstr "1 si les filtres sont activés"
|
||||
|
||||
msgid "list of bars"
|
||||
msgstr "liste des barres"
|
||||
|
||||
msgid "list of bar items"
|
||||
msgstr "liste des objets de barres"
|
||||
|
||||
msgid "list of bar windows"
|
||||
msgstr "liste des fenêtres de barre"
|
||||
|
||||
msgid "list of buffers"
|
||||
msgstr "liste des tampons"
|
||||
|
||||
@@ -4451,24 +4460,24 @@ msgstr "lignes d'un tampon"
|
||||
msgid "list of filters"
|
||||
msgstr "liste des filtres"
|
||||
|
||||
msgid "nicks in nicklist for a buffer"
|
||||
msgstr "pseudos dans la liste des pseudos pour un tampon"
|
||||
|
||||
msgid "list of windows"
|
||||
msgstr "liste des fenêtres"
|
||||
msgid "list of hooks"
|
||||
msgstr "liste des hooks"
|
||||
|
||||
msgid "list of buffers in hotlist"
|
||||
msgstr "liste des tampons dans la hotlist"
|
||||
|
||||
msgid "nicks in nicklist for a buffer"
|
||||
msgstr "pseudos dans la liste des pseudos pour un tampon"
|
||||
|
||||
msgid "list of options"
|
||||
msgstr "liste des options"
|
||||
|
||||
msgid "list of hooks"
|
||||
msgstr "liste des hooks"
|
||||
|
||||
msgid "list of plugins"
|
||||
msgstr "liste des extensions"
|
||||
|
||||
msgid "list of windows"
|
||||
msgstr "liste des fenêtres"
|
||||
|
||||
#, c-format
|
||||
msgid "%sError: unable to load plugin \"%s\": %s"
|
||||
msgstr "%sErreur: impossible de charger l'extension \"%s\": %s"
|
||||
|
||||
@@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.2.7-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2008-12-10 17:02+0100\n"
|
||||
"POT-Creation-Date: 2008-12-12 16:40+0100\n"
|
||||
"PO-Revision-Date: 2007-10-10 18:07+0200\n"
|
||||
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -119,7 +119,7 @@ msgid "auto"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid " priority: %d, fg: %s, bg: %s, items: %s%s (plugin: %s)"
|
||||
msgid " priority: %d, fg: %s, bg: %s, items: %s%s"
|
||||
msgstr "%s %s%s%s/%s%s%s:%s %s%s%s mellőzése a következő(k)től: %s%s\n"
|
||||
|
||||
#, fuzzy
|
||||
@@ -4300,6 +4300,18 @@ msgstr ""
|
||||
msgid "1 if filters are enabled"
|
||||
msgstr "a felhasználók le lettek tiltva"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of bars"
|
||||
msgstr "Aliaszok listája:\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of bar items"
|
||||
msgstr "Aliaszok listája:\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of bar windows"
|
||||
msgstr "Mellőzések listája:\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of buffers"
|
||||
msgstr "Aliaszok listája:\n"
|
||||
@@ -4313,29 +4325,29 @@ msgid "list of filters"
|
||||
msgstr "Aliaszok listája:\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid "nicks in nicklist for a buffer"
|
||||
msgstr "érvénytelen pufferhossz"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of windows"
|
||||
msgstr "Mellőzések listája:\n"
|
||||
msgid "list of hooks"
|
||||
msgstr "Aliaszok listája:\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of buffers in hotlist"
|
||||
msgstr "kiemelendő szavak listája"
|
||||
|
||||
#, fuzzy
|
||||
msgid "nicks in nicklist for a buffer"
|
||||
msgstr "érvénytelen pufferhossz"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of options"
|
||||
msgstr "konfigurációs paraméterek beállítása"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of hooks"
|
||||
msgstr "Aliaszok listája:\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of plugins"
|
||||
msgstr "konfigurációs paraméterek beállítása"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of windows"
|
||||
msgstr "Mellőzések listája:\n"
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%sError: unable to load plugin \"%s\": %s"
|
||||
msgstr "%s nem sikerült a modult betölteni \"%s\": %s\n"
|
||||
|
||||
@@ -6,7 +6,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.2.7-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2008-12-10 17:02+0100\n"
|
||||
"POT-Creation-Date: 2008-12-12 16:40+0100\n"
|
||||
"PO-Revision-Date: 2007-09-06 12:44+0200\n"
|
||||
"Last-Translator: Pavel Shevchuk <stlwrt@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -115,7 +115,7 @@ msgid "auto"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid " priority: %d, fg: %s, bg: %s, items: %s%s (plugin: %s)"
|
||||
msgid " priority: %d, fg: %s, bg: %s, items: %s%s"
|
||||
msgstr "%sна %s%s%s/%s%s%s:%s игнорирует %s%s%s с %s%s\n"
|
||||
|
||||
#, fuzzy
|
||||
@@ -4287,6 +4287,18 @@ msgstr ""
|
||||
msgid "1 if filters are enabled"
|
||||
msgstr "команда users отключена"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of bars"
|
||||
msgstr "Список сокращений:\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of bar items"
|
||||
msgstr "Список сокращений:\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of bar windows"
|
||||
msgstr "Список игнорирования:\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of buffers"
|
||||
msgstr "Список сокращений:\n"
|
||||
@@ -4300,29 +4312,29 @@ msgid "list of filters"
|
||||
msgstr "Список сокращений:\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid "nicks in nicklist for a buffer"
|
||||
msgstr "некорректная длина буфера"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of windows"
|
||||
msgstr "Список игнорирования:\n"
|
||||
msgid "list of hooks"
|
||||
msgstr "Список сокращений:\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of buffers in hotlist"
|
||||
msgstr "максимальная длина имён в хотлисте"
|
||||
|
||||
#, fuzzy
|
||||
msgid "nicks in nicklist for a buffer"
|
||||
msgstr "некорректная длина буфера"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of options"
|
||||
msgstr "настроить параметры конфигурации"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of hooks"
|
||||
msgstr "Список сокращений:\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of plugins"
|
||||
msgstr "настроить параметры конфигурации"
|
||||
|
||||
#, fuzzy
|
||||
msgid "list of windows"
|
||||
msgstr "Список игнорирования:\n"
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%sError: unable to load plugin \"%s\": %s"
|
||||
msgstr "%s не могу загрузить plugin \"%s\": %s\n"
|
||||
|
||||
+17
-8
@@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2008-12-10 17:02+0100\n"
|
||||
"POT-Creation-Date: 2008-12-12 16:40+0100\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"
|
||||
@@ -95,7 +95,7 @@ msgid "auto"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid " priority: %d, fg: %s, bg: %s, items: %s%s (plugin: %s)"
|
||||
msgid " priority: %d, fg: %s, bg: %s, items: %s%s"
|
||||
msgstr ""
|
||||
|
||||
msgid ", with separator"
|
||||
@@ -3726,6 +3726,15 @@ msgstr ""
|
||||
msgid "1 if filters are enabled"
|
||||
msgstr ""
|
||||
|
||||
msgid "list of bars"
|
||||
msgstr ""
|
||||
|
||||
msgid "list of bar items"
|
||||
msgstr ""
|
||||
|
||||
msgid "list of bar windows"
|
||||
msgstr ""
|
||||
|
||||
msgid "list of buffers"
|
||||
msgstr ""
|
||||
|
||||
@@ -3735,22 +3744,22 @@ msgstr ""
|
||||
msgid "list of filters"
|
||||
msgstr ""
|
||||
|
||||
msgid "nicks in nicklist for a buffer"
|
||||
msgstr ""
|
||||
|
||||
msgid "list of windows"
|
||||
msgid "list of hooks"
|
||||
msgstr ""
|
||||
|
||||
msgid "list of buffers in hotlist"
|
||||
msgstr ""
|
||||
|
||||
msgid "nicks in nicklist for a buffer"
|
||||
msgstr ""
|
||||
|
||||
msgid "list of options"
|
||||
msgstr ""
|
||||
|
||||
msgid "list of hooks"
|
||||
msgid "list of plugins"
|
||||
msgstr ""
|
||||
|
||||
msgid "list of plugins"
|
||||
msgid "list of windows"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
|
||||
@@ -101,16 +101,14 @@ command_bar_list (int full)
|
||||
_("height") : _("width"),
|
||||
(CONFIG_INTEGER(ptr_bar->size) == 0) ? _("auto") : str_size);
|
||||
gui_chat_printf (NULL,
|
||||
_(" priority: %d, fg: %s, bg: %s, items: %s%s (plugin: "
|
||||
"%s)"),
|
||||
_(" priority: %d, fg: %s, bg: %s, items: %s%s"),
|
||||
CONFIG_INTEGER(ptr_bar->priority),
|
||||
gui_color_get_name (CONFIG_COLOR(ptr_bar->color_fg)),
|
||||
gui_color_get_name (CONFIG_COLOR(ptr_bar->color_bg)),
|
||||
(CONFIG_STRING(ptr_bar->items) && CONFIG_STRING(ptr_bar->items)[0]) ?
|
||||
CONFIG_STRING(ptr_bar->items) : "-",
|
||||
(CONFIG_INTEGER(ptr_bar->separator)) ?
|
||||
_(", with separator") : "",
|
||||
(ptr_bar->plugin) ? ptr_bar->plugin->name : "-");
|
||||
_(", with separator") : "");
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -246,7 +244,7 @@ command_bar (void *data, struct t_gui_buffer *buffer,
|
||||
if (error && !error[0])
|
||||
{
|
||||
/* create bar */
|
||||
if (gui_bar_new (NULL, argv[2], "0", "0", str_type,
|
||||
if (gui_bar_new (argv[2], "0", "0", str_type,
|
||||
(pos_condition) ? pos_condition : "",
|
||||
argv[4],
|
||||
"horizontal", "vertical",
|
||||
|
||||
@@ -112,33 +112,37 @@ gui_main_init ()
|
||||
/* init bar items */
|
||||
gui_bar_item_init ();
|
||||
|
||||
/* create new window/buffer */
|
||||
if (gui_window_new (NULL, 0, 0, COLS, LINES, 100, 100))
|
||||
{
|
||||
gui_current_window = gui_windows;
|
||||
ptr_buffer = gui_buffer_new (NULL, "weechat", NULL, NULL, NULL, NULL);
|
||||
if (ptr_buffer)
|
||||
{
|
||||
gui_init_ok = 1;
|
||||
gui_buffer_set_title (ptr_buffer,
|
||||
"WeeChat " WEECHAT_COPYRIGHT_DATE
|
||||
" - " WEECHAT_WEBSITE);
|
||||
}
|
||||
else
|
||||
gui_init_ok = 0;
|
||||
|
||||
if (CONFIG_BOOLEAN(config_look_set_title))
|
||||
gui_window_title_set ();
|
||||
}
|
||||
gui_init_ok = 0;
|
||||
|
||||
if (gui_init_ok)
|
||||
/* create core buffer */
|
||||
ptr_buffer = gui_buffer_new (NULL, "weechat", NULL, NULL, NULL, NULL);
|
||||
if (ptr_buffer)
|
||||
{
|
||||
gui_init_ok = 1;
|
||||
|
||||
/* set title for core buffer */
|
||||
gui_buffer_set_title (ptr_buffer,
|
||||
"WeeChat " WEECHAT_COPYRIGHT_DATE
|
||||
" - " WEECHAT_WEBSITE);
|
||||
|
||||
/* create main window (using full space) */
|
||||
if (gui_window_new (NULL, ptr_buffer, 0, 0, COLS, LINES, 100, 100))
|
||||
{
|
||||
gui_current_window = gui_windows;
|
||||
|
||||
if (CONFIG_BOOLEAN(config_look_set_title))
|
||||
gui_window_title_set ();
|
||||
}
|
||||
|
||||
/* create bar windows for root bars (they were read from config,
|
||||
but no window was created (GUI was not initialized) */
|
||||
for (ptr_bar = gui_bars; ptr_bar; ptr_bar = ptr_bar->next_bar)
|
||||
{
|
||||
if ((CONFIG_INTEGER(ptr_bar->type) == GUI_BAR_TYPE_ROOT) && (!ptr_bar->bar_window))
|
||||
if ((CONFIG_INTEGER(ptr_bar->type) == GUI_BAR_TYPE_ROOT)
|
||||
&& (!ptr_bar->bar_window))
|
||||
{
|
||||
gui_bar_window_new (ptr_bar, NULL);
|
||||
}
|
||||
}
|
||||
for (ptr_bar_win = gui_windows->bar_windows;
|
||||
ptr_bar_win; ptr_bar_win = ptr_bar_win->next_bar_window)
|
||||
|
||||
@@ -980,7 +980,7 @@ gui_window_split_horiz (struct t_gui_window *window, int percentage)
|
||||
if ((height1 >= GUI_WINDOW_MIN_HEIGHT) && (height2 >= GUI_WINDOW_MIN_HEIGHT)
|
||||
&& (percentage > 0) && (percentage <= 100))
|
||||
{
|
||||
new_window = gui_window_new (window,
|
||||
new_window = gui_window_new (window, window->buffer,
|
||||
window->win_x, window->win_y,
|
||||
window->win_width, height1,
|
||||
100, percentage);
|
||||
@@ -992,7 +992,6 @@ gui_window_split_horiz (struct t_gui_window *window, int percentage)
|
||||
window->win_height_pct = 100 - percentage;
|
||||
|
||||
/* assign same buffer for new window (top window) */
|
||||
new_window->buffer = window->buffer;
|
||||
new_window->buffer->num_displayed++;
|
||||
|
||||
gui_window_switch_to_buffer (window, window->buffer, 1);
|
||||
@@ -1025,7 +1024,7 @@ gui_window_split_vertic (struct t_gui_window *window, int percentage)
|
||||
if ((width1 >= GUI_WINDOW_MIN_WIDTH) && (width2 >= GUI_WINDOW_MIN_WIDTH)
|
||||
&& (percentage > 0) && (percentage <= 100))
|
||||
{
|
||||
new_window = gui_window_new (window,
|
||||
new_window = gui_window_new (window, window->buffer,
|
||||
window->win_x + width1 + 1, window->win_y,
|
||||
width2, window->win_height,
|
||||
percentage, 100);
|
||||
@@ -1036,7 +1035,6 @@ gui_window_split_vertic (struct t_gui_window *window, int percentage)
|
||||
window->win_width_pct = 100 - percentage;
|
||||
|
||||
/* assign same buffer for new window (right window) */
|
||||
new_window->buffer = window->buffer;
|
||||
new_window->buffer->num_displayed++;
|
||||
|
||||
gui_window_switch_to_buffer (window, window->buffer, 1);
|
||||
|
||||
@@ -59,13 +59,6 @@ extern void gui_color_pre_init ();
|
||||
extern void gui_color_init ();
|
||||
extern void gui_color_end ();
|
||||
|
||||
/* bar functions */
|
||||
extern void gui_bar_window_calculate_pos_size (struct t_gui_bar_window *bar_window,
|
||||
struct t_gui_window *window);
|
||||
extern void gui_bar_window_create_win (struct t_gui_bar_window *bar_window);
|
||||
extern int gui_bar_window_remove_unused_bars (struct t_gui_window *window);
|
||||
extern int gui_bar_window_add_missing_bars (struct t_gui_window *window);
|
||||
|
||||
/* chat functions */
|
||||
extern void gui_chat_calculate_line_diff (struct t_gui_window *window,
|
||||
struct t_gui_line **line,
|
||||
|
||||
+39
-15
@@ -35,6 +35,7 @@
|
||||
#include "../../plugins/plugin.h"
|
||||
#include "../gui-bar.h"
|
||||
#include "../gui-bar-item.h"
|
||||
#include "../gui-bar-window.h"
|
||||
#include "../gui-chat.h"
|
||||
#include "../gui-main.h"
|
||||
#include "../gui-buffer.h"
|
||||
@@ -84,6 +85,8 @@ void
|
||||
gui_main_init ()
|
||||
{
|
||||
struct t_gui_buffer *ptr_buffer;
|
||||
struct t_gui_bar *ptr_bar;
|
||||
struct t_gui_bar_window *ptr_bar_win;
|
||||
GdkColor color_fg, color_bg;
|
||||
|
||||
gui_color_init ();
|
||||
@@ -170,23 +173,44 @@ gui_main_init ()
|
||||
|
||||
gtk_widget_show_all (gui_gtk_main_window);
|
||||
|
||||
/* create new window/buffer */
|
||||
if (gui_window_new (NULL, 0, 0, 0, 0, 100, 100))
|
||||
gui_init_ok = 0;
|
||||
|
||||
/* create core buffer */
|
||||
ptr_buffer = gui_buffer_new (NULL, "weechat", NULL, NULL, NULL, NULL);
|
||||
if (ptr_buffer)
|
||||
{
|
||||
gui_current_window = gui_windows;
|
||||
ptr_buffer = gui_buffer_new (NULL, "weechat", NULL, NULL, NULL, NULL);
|
||||
if (ptr_buffer)
|
||||
{
|
||||
gui_init_ok = 1;
|
||||
gui_buffer_set_title (ptr_buffer,
|
||||
PACKAGE_STRING " " WEECHAT_COPYRIGHT_DATE
|
||||
" - " WEECHAT_WEBSITE);
|
||||
}
|
||||
else
|
||||
gui_init_ok = 0;
|
||||
gui_init_ok = 1;
|
||||
|
||||
if (CONFIG_BOOLEAN(config_look_set_title))
|
||||
gui_window_title_set ();
|
||||
/* set title for core buffer */
|
||||
gui_buffer_set_title (ptr_buffer,
|
||||
"WeeChat " WEECHAT_COPYRIGHT_DATE
|
||||
" - " WEECHAT_WEBSITE);
|
||||
|
||||
/* create main window (using full space) */
|
||||
if (gui_window_new (NULL, ptr_buffer, 0, 0, 0, 0, 100, 100))
|
||||
{
|
||||
gui_current_window = gui_windows;
|
||||
|
||||
if (CONFIG_BOOLEAN(config_look_set_title))
|
||||
gui_window_title_set ();
|
||||
}
|
||||
|
||||
/* create bar windows for root bars (they were read from config,
|
||||
but no window was created (GUI was not initialized) */
|
||||
for (ptr_bar = gui_bars; ptr_bar; ptr_bar = ptr_bar->next_bar)
|
||||
{
|
||||
if ((CONFIG_INTEGER(ptr_bar->type) == GUI_BAR_TYPE_ROOT)
|
||||
&& (!ptr_bar->bar_window))
|
||||
{
|
||||
gui_bar_window_new (ptr_bar, NULL);
|
||||
}
|
||||
}
|
||||
for (ptr_bar_win = gui_windows->bar_windows;
|
||||
ptr_bar_win; ptr_bar_win = ptr_bar_win->next_bar_window)
|
||||
{
|
||||
gui_bar_window_calculate_pos_size (ptr_bar_win, gui_windows);
|
||||
gui_bar_window_create_win (ptr_bar_win);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -480,7 +480,7 @@ gui_window_split_horiz (struct t_gui_window *window, int percentage)
|
||||
|
||||
if ((percentage > 0) && (percentage <= 100))
|
||||
{
|
||||
new_window = gui_window_new (window,
|
||||
new_window = gui_window_new (window, window->buffer,
|
||||
window->win_x, window->win_y,
|
||||
window->win_width, height1,
|
||||
100, percentage);
|
||||
@@ -492,7 +492,6 @@ gui_window_split_horiz (struct t_gui_window *window, int percentage)
|
||||
window->win_height_pct = 100 - percentage;
|
||||
|
||||
/* assign same buffer for new window (top window) */
|
||||
new_window->buffer = window->buffer;
|
||||
new_window->buffer->num_displayed++;
|
||||
|
||||
gui_window_switch_to_buffer (window, window->buffer, 1);
|
||||
@@ -526,7 +525,7 @@ gui_window_split_vertic (struct t_gui_window *window, int percentage)
|
||||
|
||||
if ((percentage > 0) && (percentage <= 100))
|
||||
{
|
||||
new_window = gui_window_new (window,
|
||||
new_window = gui_window_new (window, window->buffer,
|
||||
window->win_x + width1 + 1, window->win_y,
|
||||
width2, window->win_height,
|
||||
percentage, 100);
|
||||
@@ -537,7 +536,6 @@ gui_window_split_vertic (struct t_gui_window *window, int percentage)
|
||||
window->win_width_pct = 100 - percentage;
|
||||
|
||||
/* assign same buffer for new window (right window) */
|
||||
new_window->buffer = window->buffer;
|
||||
new_window->buffer->num_displayed++;
|
||||
|
||||
gui_window_switch_to_buffer (window, window->buffer, 1);
|
||||
|
||||
+92
-27
File diff suppressed because it is too large
Load Diff
@@ -71,7 +71,10 @@ extern char *gui_bar_item_names[];
|
||||
|
||||
/* functions */
|
||||
|
||||
extern int gui_bar_item_valid (struct t_gui_bar_item *bar_item);
|
||||
extern struct t_gui_bar_item *gui_bar_item_search (const char *name);
|
||||
extern int gui_bar_item_string_is_item (const char *string,
|
||||
const char *item_name);
|
||||
extern int gui_bar_item_used_in_a_bar (const char *item_name,
|
||||
int partial_name);
|
||||
extern char *gui_bar_item_get_value (const char *name,
|
||||
@@ -93,6 +96,8 @@ extern void gui_bar_item_free_all ();
|
||||
extern void gui_bar_item_free_all_plugin (struct t_weechat_plugin *plugin);
|
||||
extern void gui_bar_item_init ();
|
||||
extern void gui_bar_item_end ();
|
||||
extern int gui_bar_item_add_to_infolist (struct t_infolist *infolist,
|
||||
struct t_gui_bar_item *bar_item);
|
||||
extern void gui_bar_item_print_log ();
|
||||
|
||||
#endif /* gui-bar-item.h */
|
||||
|
||||
+204
-4
File diff suppressed because it is too large
Load Diff
@@ -32,7 +32,8 @@ struct t_gui_bar_window
|
||||
int cursor_x, cursor_y; /* use to move cursor on screen (for */
|
||||
/* input_text item) */
|
||||
int current_size; /* current size (width or height) */
|
||||
char *content; /* bar window content (data displayed) */
|
||||
int items_count; /* number of items */
|
||||
char **items_content; /* content for each item of bar */
|
||||
void *gui_objects; /* pointer to a GUI specific struct */
|
||||
struct t_gui_bar_window *prev_bar_window; /* link to previous bar win */
|
||||
/* (only for non-root bars) */
|
||||
@@ -42,6 +43,12 @@ struct t_gui_bar_window
|
||||
|
||||
/* functions */
|
||||
|
||||
extern int gui_bar_window_valid (struct t_gui_bar_window *bar_window);
|
||||
extern void gui_bar_window_calculate_pos_size (struct t_gui_bar_window *bar_window,
|
||||
struct t_gui_window *window);
|
||||
extern void gui_bar_window_content_build_item (struct t_gui_bar_window *bar_window,
|
||||
struct t_gui_window *window,
|
||||
int item_index);
|
||||
extern struct t_gui_bar_window *gui_bar_window_search_bar (struct t_gui_window *window,
|
||||
struct t_gui_bar *bar);
|
||||
extern int gui_bar_window_get_current_size (struct t_gui_bar_window *bar_window);
|
||||
@@ -53,11 +60,16 @@ extern int gui_bar_window_new (struct t_gui_bar *bar,
|
||||
struct t_gui_window *window);
|
||||
extern void gui_bar_window_free (struct t_gui_bar_window *bar_window,
|
||||
struct t_gui_window *window);
|
||||
extern int gui_bar_window_remove_unused_bars (struct t_gui_window *window);
|
||||
extern int gui_bar_window_add_missing_bars (struct t_gui_window *window);
|
||||
extern void gui_bar_window_scroll (struct t_gui_bar_window *bar_window,
|
||||
struct t_gui_window *window,
|
||||
int add_x, int scroll_beginning,
|
||||
int scroll_end, int add, int percent,
|
||||
int value);
|
||||
extern int gui_bar_window_add_to_infolist (struct t_infolist *infolist,
|
||||
struct t_gui_bar_window *bar_window);
|
||||
extern void gui_bar_window_print_log (struct t_gui_bar_window *bar_window);
|
||||
|
||||
/* functions (GUI dependent) */
|
||||
|
||||
|
||||
+133
-36
File diff suppressed because it is too large
Load Diff
+6
-5
@@ -78,7 +78,6 @@ enum t_gui_bar_filling
|
||||
struct t_gui_bar
|
||||
{
|
||||
/* user choices */
|
||||
struct t_weechat_plugin *plugin; /* plugin */
|
||||
char *name; /* bar name */
|
||||
struct t_config_option *hidden; /* true if bar is hidden */
|
||||
struct t_config_option *priority; /* bar priority */
|
||||
@@ -121,10 +120,13 @@ extern struct t_gui_bar *last_gui_temp_bar;
|
||||
|
||||
/* functions */
|
||||
|
||||
extern int gui_bar_valid (struct t_gui_bar *bar);
|
||||
extern int gui_bar_search_option (const char *option_name);
|
||||
extern int gui_bar_search_type (const char *type);
|
||||
extern int gui_bar_search_position (const char *position);
|
||||
extern struct t_config_option *gui_bar_get_option_filling (struct t_gui_bar *bar);
|
||||
extern int gui_bar_get_item_index (struct t_gui_bar *bar,
|
||||
const char *item_name);
|
||||
extern int gui_bar_check_conditions_for_window (struct t_gui_bar *bar,
|
||||
struct t_gui_window *window);
|
||||
extern int gui_bar_root_get_size (struct t_gui_bar *bar,
|
||||
@@ -136,8 +138,7 @@ extern int gui_bar_set (struct t_gui_bar *bar, const char *property, const char
|
||||
extern void gui_bar_create_option_temp (struct t_gui_bar *temp_bar,
|
||||
int index_option, const char *value);
|
||||
extern struct t_gui_bar *gui_bar_alloc (const char *name);
|
||||
extern struct t_gui_bar *gui_bar_new (struct t_weechat_plugin *plugin,
|
||||
const char *name,
|
||||
extern struct t_gui_bar *gui_bar_new (const char *name,
|
||||
const char *hidden,
|
||||
const char *priority,
|
||||
const char *type,
|
||||
@@ -163,9 +164,9 @@ extern int gui_bar_scroll (struct t_gui_bar *bar, struct t_gui_buffer *buffer,
|
||||
const char *scroll);
|
||||
extern void gui_bar_free (struct t_gui_bar *bar);
|
||||
extern void gui_bar_free_all ();
|
||||
extern void gui_bar_free_all_plugin (struct t_weechat_plugin *plugin);
|
||||
extern void gui_bar_free_bar_windows (struct t_gui_bar *bar);
|
||||
extern void gui_bar_window_print_log (struct t_gui_bar_window *bar_window);
|
||||
extern int gui_bar_add_to_infolist (struct t_infolist *infolist,
|
||||
struct t_gui_bar *bar);
|
||||
extern void gui_bar_print_log ();
|
||||
|
||||
#endif /* gui-bar.h */
|
||||
|
||||
+8
-13
@@ -257,6 +257,7 @@ gui_buffer_new (struct t_weechat_plugin *plugin,
|
||||
{
|
||||
struct t_gui_buffer *new_buffer;
|
||||
struct t_gui_completion *new_completion;
|
||||
int first_buffer_creation;
|
||||
|
||||
if (!name)
|
||||
return NULL;
|
||||
@@ -363,24 +364,18 @@ gui_buffer_new (struct t_weechat_plugin *plugin,
|
||||
gui_buffer_local_var_add (new_buffer, "name", name);
|
||||
|
||||
/* add buffer to buffers list */
|
||||
first_buffer_creation = (gui_buffers == NULL);
|
||||
gui_buffer_insert (new_buffer);
|
||||
|
||||
/* first buffer creation ? */
|
||||
if (!gui_current_window->buffer)
|
||||
{
|
||||
gui_current_window->buffer = new_buffer;
|
||||
gui_current_window->first_line_displayed = 1;
|
||||
gui_current_window->start_line = NULL;
|
||||
gui_current_window->start_line_pos = 0;
|
||||
gui_window_switch_to_buffer (gui_current_window, new_buffer, 0);
|
||||
}
|
||||
|
||||
/* check if this buffer should be assigned to a window,
|
||||
according to windows layout saved */
|
||||
gui_layout_window_check_buffer (new_buffer);
|
||||
|
||||
hook_signal_send ("buffer_open",
|
||||
WEECHAT_HOOK_SIGNAL_POINTER, new_buffer);
|
||||
|
||||
if (!first_buffer_creation)
|
||||
{
|
||||
hook_signal_send ("buffer_open",
|
||||
WEECHAT_HOOK_SIGNAL_POINTER, new_buffer);
|
||||
}
|
||||
}
|
||||
else
|
||||
return NULL;
|
||||
|
||||
@@ -129,7 +129,8 @@ gui_window_tree_free (struct t_gui_window_tree **tree)
|
||||
*/
|
||||
|
||||
struct t_gui_window *
|
||||
gui_window_new (struct t_gui_window *parent, int x, int y, int width, int height,
|
||||
gui_window_new (struct t_gui_window *parent_window, struct t_gui_buffer *buffer,
|
||||
int x, int y, int width, int height,
|
||||
int width_pct, int height_pct)
|
||||
{
|
||||
struct t_gui_window *new_window;
|
||||
@@ -141,7 +142,7 @@ gui_window_new (struct t_gui_window *parent, int x, int y, int width, int height
|
||||
x, y, width, height);
|
||||
#endif
|
||||
|
||||
if (parent)
|
||||
if (parent_window)
|
||||
{
|
||||
child1 = malloc (sizeof (*child1));
|
||||
if (!child1)
|
||||
@@ -152,7 +153,7 @@ gui_window_new (struct t_gui_window *parent, int x, int y, int width, int height
|
||||
free (child1);
|
||||
return NULL;
|
||||
}
|
||||
ptr_tree = parent->ptr_tree;
|
||||
ptr_tree = parent_window->ptr_tree;
|
||||
|
||||
if (width_pct == 100)
|
||||
{
|
||||
@@ -168,7 +169,7 @@ gui_window_new (struct t_gui_window *parent, int x, int y, int width, int height
|
||||
/* parent window leaf becomes node and we add 2 leafs below
|
||||
(#1 is parent win, #2 is new win) */
|
||||
|
||||
parent->ptr_tree = child1;
|
||||
parent_window->ptr_tree = child1;
|
||||
child1->parent_node = ptr_tree;
|
||||
child1->child1 = NULL;
|
||||
child1->child2 = NULL;
|
||||
@@ -225,7 +226,7 @@ gui_window_new (struct t_gui_window *parent, int x, int y, int width, int height
|
||||
new_window->refresh_needed = 0;
|
||||
|
||||
/* buffer and layout infos */
|
||||
new_window->buffer = NULL;
|
||||
new_window->buffer = buffer;
|
||||
new_window->layout_plugin_name = NULL;
|
||||
new_window->layout_buffer_name = NULL;
|
||||
|
||||
|
||||
@@ -107,7 +107,8 @@ extern int gui_window_tree_init (struct t_gui_window *window);
|
||||
extern void gui_window_tree_node_to_leaf (struct t_gui_window_tree *node,
|
||||
struct t_gui_window *window);
|
||||
extern void gui_window_tree_free (struct t_gui_window_tree **tree);
|
||||
extern struct t_gui_window *gui_window_new (struct t_gui_window *parent,
|
||||
extern struct t_gui_window *gui_window_new (struct t_gui_window *parent_window,
|
||||
struct t_gui_buffer *buffer,
|
||||
int x, int y, int width, int height,
|
||||
int width_pct, int height_pct);
|
||||
extern int gui_window_valid (struct t_gui_window *window);
|
||||
|
||||
+217
-85
File diff suppressed because it is too large
Load Diff
@@ -175,9 +175,9 @@ char *
|
||||
script_ptr2str (void *pointer)
|
||||
{
|
||||
char pointer_str[128];
|
||||
|
||||
|
||||
if (!pointer)
|
||||
return strdup ("");
|
||||
return strdup ("0x0");
|
||||
|
||||
snprintf (pointer_str, sizeof (pointer_str),
|
||||
"0x%lx", (long unsigned int)pointer);
|
||||
|
||||
@@ -496,8 +496,7 @@ struct t_weechat_plugin
|
||||
void (*bar_item_update) (const char *name);
|
||||
void (*bar_item_remove) (struct t_gui_bar_item *item);
|
||||
struct t_gui_bar *(*bar_search) (const char *name);
|
||||
struct t_gui_bar *(*bar_new) (struct t_weechat_plugin *plugin,
|
||||
const char *name,
|
||||
struct t_gui_bar *(*bar_new) (const char *name,
|
||||
const char *hidden,
|
||||
const char *priority,
|
||||
const char *type,
|
||||
@@ -1004,12 +1003,12 @@ extern int weechat_plugin_end (struct t_weechat_plugin *plugin);
|
||||
__filling_left_right, __size, __size_max, \
|
||||
__color_fg, __color_delim, __color_bg, \
|
||||
__separator, __items) \
|
||||
weechat_plugin->bar_new(weechat_plugin, __name, __hidden, \
|
||||
__priority, __type, __condition, \
|
||||
__position, __filling_top_bottom, \
|
||||
__filling_left_right, __size, __size_max, \
|
||||
__color_fg, __color_delim, __color_bg, \
|
||||
__separator, __items)
|
||||
weechat_plugin->bar_new(__name, __hidden, __priority, __type, \
|
||||
__condition, __position, \
|
||||
__filling_top_bottom, __filling_left_right, \
|
||||
__size, __size_max, __color_fg, \
|
||||
__color_delim, __color_bg, __separator, \
|
||||
__items)
|
||||
#define weechat_bar_set(__bar, __property, __value) \
|
||||
weechat_plugin->bar_set(__bar, __property, __value)
|
||||
#define weechat_bar_update(__name) \
|
||||
|
||||
Reference in New Issue
Block a user