[Xfce4-commits] xfce4-terminal:master I18n: Update translation nl (100%).
Updating branch refs/heads/master to 37dc3743551350ea429b6d69423f4da9f8fac3ef (commit) from 68db3a5e6cb088be63f0480d2417c6b7f36ebd80 (commit) commit 37dc3743551350ea429b6d69423f4da9f8fac3ef Author: Pjotr123 pjotrverta...@gmail.com Date: Mon Dec 23 12:31:03 2013 +0100 I18n: Update translation nl (100%). 282 translated messages. Transifex (https://www.transifex.com/projects/p/xfce/). po/nl.po | 29 +++-- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/po/nl.po b/po/nl.po index 6ca7a6e..2975639 100644 --- a/po/nl.po +++ b/po/nl.po @@ -5,12 +5,13 @@ # Translators: # Benedikt Meurer be...@xfce.org, 2004 # Jasper Huijsmans jas...@xfce.org, 2005 +# Pjotr123 pjotrverta...@gmail.com, 2013 msgid msgstr Project-Id-Version: Xfce Apps\n Report-Msgid-Bugs-To: \n -POT-Creation-Date: 2013-07-03 20:42+0200\n -PO-Revision-Date: 2013-09-19 14:32+\n +POT-Creation-Date: 2013-12-23 00:31+0100\n +PO-Revision-Date: 2013-12-23 10:52+\n Last-Translator: Pjotr123 pjotrverta...@gmail.com\n Language-Team: Dutch (http://www.transifex.com/projects/p/xfce/language/nl/)\n MIME-Version: 1.0\n @@ -32,8 +33,8 @@ msgid Green on Black msgstr Groen op zwart #: ../colorschemes/solarized-dark.theme.in.h:1 -msgid Solarized -msgstr Zonnestijl +msgid Solarized (dark) +msgstr Overbelicht (donker) #: ../colorschemes/tango.theme.in.h:1 msgid Tango @@ -219,7 +220,7 @@ msgstr Anders #. action to reset to the default #: ../terminal/terminal-encoding-action.c:254 -#: ../terminal/terminal-encoding-action.c:386 +#: ../terminal/terminal-encoding-action.c:385 #, c-format msgid Default (%s) msgstr Standaard (%s) @@ -392,46 +393,46 @@ msgstr Stephan Arts step...@xfce.org\nJasper Huijsmans jas...@xfce.org\nPjo msgid Visit Terminal website msgstr Bezoek de Terminal-website -#: ../terminal/terminal-widget.c:323 +#: ../terminal/terminal-widget.c:325 msgid Copy Email Address msgstr Kopieer e-mailadres -#: ../terminal/terminal-widget.c:324 +#: ../terminal/terminal-widget.c:326 msgid Compose Email msgstr Stel e-mail op -#: ../terminal/terminal-widget.c:328 +#: ../terminal/terminal-widget.c:330 msgid Copy Link Address msgstr Kopieer adres van koppeling -#: ../terminal/terminal-widget.c:329 +#: ../terminal/terminal-widget.c:331 msgid Open Link msgstr Open koppeling -#: ../terminal/terminal-widget.c:483 +#: ../terminal/terminal-widget.c:485 #, c-format msgid Unable to drop selection of type text/plain to terminal: Wrong format (%d) or length (%d)\n msgstr Kon selectie met type 'platte tekst' niet naar terminal slepen: verkeerde opmaak (%d) of lengte (%d)\n -#: ../terminal/terminal-widget.c:499 +#: ../terminal/terminal-widget.c:501 #, c-format msgid Unable to drop Mozilla URL on terminal: Wrong format (%d) or length (%d)\n msgstr Kon Mozilla URL niet naar terminal slepen: verkeerde opmaak (%d) of lengte (%d)\n -#: ../terminal/terminal-widget.c:525 +#: ../terminal/terminal-widget.c:527 #, c-format msgid Unable to drop URI list on terminal: Wrong format (%d) or length (%d)\n msgstr Kon URI lijst niet naar terminal slepen: verkeerde opmaak (%d) of lengte (%d)\n -#: ../terminal/terminal-widget.c:570 +#: ../terminal/terminal-widget.c:572 #, c-format msgid Received invalid color data: Wrong format (%d) or length (%d)\n msgstr Ongeldige kleurinformatie ontvangen: verkeerde opmaak (%d) of lengte (%d)\n -#: ../terminal/terminal-widget.c:704 +#: ../terminal/terminal-widget.c:706 #, c-format msgid Failed to open the URL `%s' msgstr Kon het webdadres `%s' niet openen ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] xfce4-xfapplet-plugin:master I18n: Add new translation hr (100%).
Updating branch refs/heads/master to bbd630e6d3cdce0e5bcceacd637dd4d25e3ba69a (commit) from 2567c40308196174451c3b94d6900caa26c39997 (commit) commit bbd630e6d3cdce0e5bcceacd637dd4d25e3ba69a Author: Ivica Kolić ik...@yahoo.com Date: Mon Dec 23 12:31:48 2013 +0100 I18n: Add new translation hr (100%). 14 translated messages. Transifex (https://www.transifex.com/projects/p/xfce/). po/{is.po = hr.po} | 40 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/po/is.po b/po/hr.po similarity index 61% copy from po/is.po copy to po/hr.po index 9e3aa53..bb37096 100644 --- a/po/is.po +++ b/po/hr.po @@ -3,81 +3,81 @@ # This file is distributed under the same license as the PACKAGE package. # # Translators: -# Sveinn í Felli svei...@nett.is, 2013 +# Ivica Kolić ik...@yahoo.com, 2013 msgid msgstr Project-Id-Version: Xfce Panel Plugins\n Report-Msgid-Bugs-To: \n POT-Creation-Date: 2006-09-10 21:12+0200\n -PO-Revision-Date: 2013-12-14 06:08+\n -Last-Translator: Sveinn í Felli s...@fellsnet.is\n -Language-Team: Icelandic (http://www.transifex.com/projects/p/xfce/language/is/)\n +PO-Revision-Date: 2013-12-23 09:01+\n +Last-Translator: Ivica Kolić ik...@yahoo.com\n +Language-Team: Croatian (http://www.transifex.com/projects/p/xfce/language/hr/)\n MIME-Version: 1.0\n Content-Type: text/plain; charset=UTF-8\n Content-Transfer-Encoding: 8bit\n -Language: is\n -Plural-Forms: nplurals=2; plural=(n != 1);\n +Language: hr\n +Plural-Forms: nplurals=3; plural=n%10==1 n%100!=11 ? 0 : n%10=2 n%10=4 (n%10010 || n%100=20) ? 1 : 2;\n #. creation of the dialog #: ../panel-plugin/chooser.c:444 ../panel-plugin/xfapplet.desktop.in.in.h:2 msgid XfApplet -msgstr XfApplet +msgstr XfProgramčić #: ../panel-plugin/chooser.c:465 msgid Choose an applet -msgstr Veldu smáforrit +msgstr Odaberite programčić #: ../panel-plugin/chooser.c:474 msgid Choose an applet from the list. If you have already chosen an applet previously, it will be substituted by the one you choose. -msgstr Veldu smáforrit úr listanum. Ef þú ert þegar búin(n) að velja smáforrit, verður því skipt út fyrir það sem þú velur núna. +msgstr Odaberite programčić sa liste.Ako ste prethodno već izabrali programčić, biti će zamjenjen ovim koji odaberete. #: ../panel-plugin/chooser.c:486 msgid Available applets -msgstr Tiltæk smáforrit +msgstr Dostupni programčići #: ../panel-plugin/xfapplet.c:148 #, c-format msgid '%s' has quit unexpectedly. -msgstr '%s' hætti óvænt. +msgstr '%s' je neočekivano prekinuo. #: ../panel-plugin/xfapplet.c:151 msgid If you don't reload the applet, XfApplet plugin will go back to its initial empty state. -msgstr Ef þú endurhleður ekki smáforritið mun XfApplet-viðbótin endurstillast á upphaflega auða stöðu. +msgstr Ako ne učitate programčić ponovno,XfProgramčić će se vratiti na svoje početno prazno stanje. #: ../panel-plugin/xfapplet.c:153 msgid Don't Reload -msgstr Ekki endurlesa +msgstr Nemoj ponovno učitati #: ../panel-plugin/xfapplet.c:154 msgid Reload -msgstr Endurlesa +msgstr Učitaj #: ../panel-plugin/xfapplet.c:477 msgid Display Gnome applets on the Xfce4 Panel -msgstr Birta GNOME smáforrit á Xfce skjástikunni +msgstr Prikaz Gnome programčića na Xfce4 ploči #: ../panel-plugin/xfapplet.c:480 msgid Author/Maintainer -msgstr Höfundur/umsjónarmaður +msgstr Autor/Održavatelj #: ../panel-plugin/xfapplet.c:484 #, c-format msgid Translator (%s) -msgstr Þýðandi (%s) +msgstr Prevoditelj (%s) #: ../panel-plugin/xfapplet.c:574 #, c-format msgid '%s' could not be loaded. -msgstr Ekki var hægt að hlaða inn '%s'. +msgstr '%s' ne može biti učitan. #: ../panel-plugin/xfapplet.c:577 msgid An internal error occurred and the applet could not be loaded. -msgstr Innri villa kom upp og ekki var hægt að hlaða inn smáforritinu. +msgstr Došlo je do interne greške i programčić ne može biti učitan. #: ../panel-plugin/xfapplet.desktop.in.in.h:1 msgid Display Gnome applets in the panel -msgstr Birta GNOME smáforrit á skjástikunni +msgstr Prikaži Gnome programčiće na ploči ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] xfconf:master I18n: Add new translation zh_HK (100%).
Updating branch refs/heads/master to f8745bcb1cb6ec8dc4a19f90cfba1c31e342c0c8 (commit) from 8833577c66d98713bc32e059a3b8d5262314cf99 (commit) commit f8745bcb1cb6ec8dc4a19f90cfba1c31e342c0c8 Author: Walter Cheuk wwych...@gmail.com Date: Mon Dec 23 12:31:55 2013 +0100 I18n: Add new translation zh_HK (100%). 67 translated messages. Transifex (https://www.transifex.com/projects/p/xfce/). po/{zh_TW.po = zh_HK.po} | 72 ++--- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/po/zh_TW.po b/po/zh_HK.po similarity index 82% copy from po/zh_TW.po copy to po/zh_HK.po index 8b4e745..0ddab87 100644 --- a/po/zh_TW.po +++ b/po/zh_HK.po @@ -9,13 +9,13 @@ msgstr Project-Id-Version: Xfconf\n Report-Msgid-Bugs-To: \n POT-Creation-Date: 2013-07-02 22:48+0200\n -PO-Revision-Date: 2013-11-19 10:53+\n -Last-Translator: Nick n...@xfce.org\n -Language-Team: Chinese (Taiwan) (http://www.transifex.com/projects/p/xfce/language/zh_TW/)\n +PO-Revision-Date: 2013-12-23 06:41+\n +Last-Translator: Walter Cheuk wwych...@gmail.com\n +Language-Team: Chinese (Hong Kong) (http://www.transifex.com/projects/p/xfce/language/zh_HK/)\n MIME-Version: 1.0\n Content-Type: text/plain; charset=UTF-8\n Content-Transfer-Encoding: 8bit\n -Language: zh_TW\n +Language: zh_HK\n Plural-Forms: nplurals=1; plural=0;\n #: ../xfconf/xfconf-cache.c:897 @@ -26,13 +26,13 @@ msgstr 未能建立 ResetProperty DBus 呼叫 #: ../xfconfd/xfconf-backend-perchannel-xml.c:277 #, c-format msgid Unable to create configuration directory \%s\ -msgstr 無法建立組態目錄「%s」 +msgstr 無法建立設定目錄「%s」 #: ../xfconfd/xfconf-backend-perchannel-xml.c:322 #: ../xfconfd/xfconf-daemon.c:238 #, c-format msgid Permission denied while modifying property \%s\ on channel \%s\ -msgstr 正在於通道「%s」修改屬性「%s」時不被允許 +msgstr 於「%2$s」通道修改「%1$s」屬性時被拒 #: ../xfconfd/xfconf-backend-perchannel-xml.c:387 #: ../xfconfd/xfconf-backend-perchannel-xml.c:469 @@ -40,12 +40,12 @@ msgstr 正在於通道「%s」修改屬性「%s」時不被允許 #: ../xfconfd/xfconf-backend-perchannel-xml.c:654 ../xfconf-query/main.c:341 #, c-format msgid Property \%s\ does not exist on channel \%s\ -msgstr 屬性「%s」不存在於通道「%s」 +msgstr 「%2$s」通道沒有「%1$s」屬性 #: ../xfconfd/xfconf-backend-perchannel-xml.c:601 #, c-format msgid Unable to remove channel \%s\: %s -msgstr 無法移除通道「%s」:%s +msgstr 無法移除「%s」通道:%s #: ../xfconfd/xfconf-backend-perchannel-xml.c:1298 #, c-format @@ -72,17 +72,17 @@ msgstr value 有無效的類型:「%s」 #: ../xfconfd/xfconf-backend-perchannel-xml.c:1904 #, c-format msgid Channel \%s\ does not exist -msgstr 通道「%s」不存在 +msgstr 沒有「%s」通道 #: ../xfconfd/xfconf-backend-perchannel-xml.c:1962 #, c-format msgid Unable to write channel \%s\: %s -msgstr 無法寫入通道「%s」:%s +msgstr 無法寫入「%s」通道:%s #: ../xfconfd/xfconf-backend-factory.c:76 #, c-format msgid Unable to find Xfconf backend of type \%s\ -msgstr 找不到類型「%s」的 Xfconf 後端程式 +msgstr 找不到「%s」類型的 Xfconf 後端程式 #: ../xfconfd/xfconf-backend.c:103 #, c-format @@ -99,29 +99,29 @@ msgstr 根元素 ('/') 不是有效的屬性名稱 msgid Property names can only include the ASCII characters A-Z, a-z, 0-9, '_', '-', '' and '', as well as '/' as a separator -msgstr 屬性名稱只能包含 ASCII 字元 A-Z、a-z、0-9、'_'、'-'、''、'',而 '/' 作為分隔符 +msgstr 屬性名稱只能包括 ASCII 字符 A-Z、a-z、0-9、'_'、'-'、''、'',而 '/' 作為分隔符 #: ../xfconfd/xfconf-backend.c:135 #, c-format msgid Property names cannot have two or more consecutive '/' characters -msgstr 屬性名稱無法擁有兩個或多個連續的 '/' 字元 +msgstr 屬性名稱不能有兩個或以上連續的 '/' 字符 #: ../xfconfd/xfconf-backend.c:146 #, c-format msgid Property names cannot end with a '/' character -msgstr 屬性名稱無法以 '/' 字元作結尾 +msgstr 屬性名稱不能以 '/' 字符作結尾 #: ../xfconfd/xfconf-backend.c:163 #, c-format msgid Channel name cannot be an empty string -msgstr 通道名稱無法是空字串 +msgstr 通道名稱不能是空字串 #: ../xfconfd/xfconf-backend.c:176 #, c-format msgid Channel names can only include the ASCII characters A-Z, a-z, 0-9, '_', and '-' -msgstr 通道名稱只能包含 ASCII 字元 A-Z、a-z、0-9、'_'、'-' +msgstr 通道名稱只能包括 ASCII 字符 A-Z、a-z、0-9、'_'、'-' #: ../xfconfd/xfconf-backend.c:398 #, c-format @@ -132,25 +132,25 @@ msgstr 屬性名稱可能是空白,或是當指定遞迴性重設時是 \/\ #: ../xfconfd/main.c:134 msgid Prints the xfconfd version. -msgstr 印出 xfconfd 版本。 +msgstr 顯示 xfconfd 版本。 #: ../xfconfd/main.c:136 msgid Configuration backends to use. The first backend specified is opened read/write; the others, read-only. -msgstr 要使用的組態後端程式。第一個指定的後端程式可以讀寫;其他的只能讀。 +msgstr 要使用的設定後端程式。第一個指定的後端程式可以讀寫;其他的只能讀。 #: ../xfconfd/main.c:139 msgid Fork into background after starting; only useful for testing purposes -msgstr 在啟動後分叉至背景中;只有在測試用途中有用 +msgstr 在啟動後分叉至背景;只用於測試 #: ../xfconfd/main.c:159 msgid Xfce Configuration Daemon -msgstr Xfce 組態幕後程式 +msgstr Xfce 設定幕後程式 #: ../xfconfd/main.c:165 msgid Xfce configuration daemon -msgstr Xfce 組態幕後程式 +msgstr Xfce 設定幕後程式 #: ../xfconfd/main.c:167 msgid Report bugs to http://bugs.xfce.org/\n; @@ -164,7 +164,7 @@ msgstr 解析選項時發生錯誤:%s\n #: ../xfconfd/xfconf-daemon.c:482 #, c-format msgid
[Xfce4-commits] xfce4-eyes-plugin:master I18n: Add new translation hr (100%).
Updating branch refs/heads/master to 34c077d9049615f6223005d1bdb34d53047c5bf5 (commit) from 03683f4a9e172c87bf109b6f7a0338df580d9112 (commit) commit 34c077d9049615f6223005d1bdb34d53047c5bf5 Author: Ivica Kolić ik...@yahoo.com Date: Mon Dec 23 12:31:16 2013 +0100 I18n: Add new translation hr (100%). 4 translated messages. Transifex (https://www.transifex.com/projects/p/xfce/). po/{sl.po = hr.po} | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/po/sl.po b/po/hr.po similarity index 59% copy from po/sl.po copy to po/hr.po index deb9685..69c35ac 100644 --- a/po/sl.po +++ b/po/hr.po @@ -3,20 +3,20 @@ # This file is distributed under the same license as the PACKAGE package. # # Translators: -# anthonmanix anthon.ma...@gmail.com, 2013 +# Ivica Kolić ik...@yahoo.com, 2013 msgid msgstr Project-Id-Version: Xfce Panel Plugins\n Report-Msgid-Bugs-To: \n POT-Creation-Date: 2013-07-03 20:59+0200\n -PO-Revision-Date: 2013-12-03 07:33+\n -Last-Translator: anthonmanix anthon.ma...@gmail.com\n -Language-Team: Slovenian (http://www.transifex.com/projects/p/xfce/language/sl/)\n +PO-Revision-Date: 2013-12-23 09:23+\n +Last-Translator: Ivica Kolić ik...@yahoo.com\n +Language-Team: Croatian (http://www.transifex.com/projects/p/xfce/language/hr/)\n MIME-Version: 1.0\n Content-Type: text/plain; charset=UTF-8\n Content-Transfer-Encoding: 8bit\n -Language: sl\n -Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n +Language: hr\n +Plural-Forms: nplurals=3; plural=n%10==1 n%100!=11 ? 0 : n%10=2 n%10=4 (n%10010 || n%100=20) ? 1 : 2;\n #: ../panel-plugin/eyes.c:332 ../panel-plugin/eyes.desktop.in.h:1 msgid Eyes @@ -24,12 +24,12 @@ msgstr Oči #: ../panel-plugin/eyes.c:348 msgid _Select a theme: -msgstr _Izberite temo: +msgstr _Odaberite temu: #: ../panel-plugin/eyes.c:385 msgid Use single _row in multi-row panel -msgstr Uporabi eno _vrstico na več vrstičnem pladnju +msgstr Koristi jedan _red u višerednoj ploči #: ../panel-plugin/eyes.desktop.in.h:2 msgid Eyes that spy on you -msgstr Oči vohunijo za vami +msgstr Oči koje vas špijuniraju ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] xfce4-trigger-launcher:master I18n: Add new translation hr (78%).
Updating branch refs/heads/master to 133fd422a6c73f6f7c3fd2875b61c04ea0ce85df (commit) from bdbf9b0ba95008a444594f92ba15be775b9b05b7 (commit) commit 133fd422a6c73f6f7c3fd2875b61c04ea0ce85df Author: Ivica Kolić ik...@yahoo.com Date: Mon Dec 23 12:31:41 2013 +0100 I18n: Add new translation hr (78%). 18 translated messages, 5 untranslated messages. Transifex (https://www.transifex.com/projects/p/xfce/). po/{en_AU.po = hr.po} | 58 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/po/en_AU.po b/po/hr.po similarity index 73% copy from po/en_AU.po copy to po/hr.po index 2621c70..a33e2b2 100644 --- a/po/en_AU.po +++ b/po/hr.po @@ -3,114 +3,114 @@ # This file is distributed under the same license as the PACKAGE package. # # Translators: -# k3lt01 keltoi...@gmail.com, 2013 +# Ivica Kolić ik...@yahoo.com, 2013 msgid msgstr Project-Id-Version: Xfce Panel Plugins\n Report-Msgid-Bugs-To: \n POT-Creation-Date: 2006-05-18 00:44+0900\n -PO-Revision-Date: 2013-07-29 09:39+\n -Last-Translator: k3lt01 keltoi...@gmail.com\n -Language-Team: English (Australia) (http://www.transifex.com/projects/p/xfce/language/en_AU/)\n +PO-Revision-Date: 2013-12-23 08:44+\n +Last-Translator: Ivica Kolić ik...@yahoo.com\n +Language-Team: Croatian (http://www.transifex.com/projects/p/xfce/language/hr/)\n MIME-Version: 1.0\n Content-Type: text/plain; charset=UTF-8\n Content-Transfer-Encoding: 8bit\n -Language: en_AU\n -Plural-Forms: nplurals=2; plural=(n != 1);\n +Language: hr\n +Plural-Forms: nplurals=3; plural=n%10==1 n%100!=11 ? 0 : n%10=2 n%10=4 (n%10010 || n%100=20) ? 1 : 2;\n #: ../panel-plugin/triggerlauncher-old2.c:287 msgid Check status every -msgstr Check status every +msgstr Provjeri status svakih #: ../panel-plugin/triggerlauncher-old2.c:296 #: ../panel-plugin/xfce-trigger-launcher-options.c:132 msgid seconds -msgstr seconds +msgstr sekunde #: ../panel-plugin/triggerlauncher-old2.c:1005 msgid Icon (off) -msgstr Icon (off) +msgstr Ikona (off) #: ../panel-plugin/triggerlauncher-old2.c:1006 msgid Icon (on) -msgstr Icon (on) +msgstr Ikona (on) #: ../panel-plugin/triggerlauncher-old2.c:1143 msgid Two-state Launcher -msgstr Two-state Launcher +msgstr #: ../panel-plugin/xfce-file-chooser-button.c:141 msgid Select Icon -msgstr Select Icon +msgstr Odaberi ikonu #: ../panel-plugin/xfce-file-chooser-button.c:146 msgid _Select -msgstr _Select +msgstr _Odaberi #: ../panel-plugin/xfce-file-chooser-button.c:157 msgid (None Selected) -msgstr (None Selected) +msgstr (Nijedna nije odabrana) #: ../panel-plugin/xfce-launcher-command-entry.c:118 #, c-format msgid Could not run \%s\ -msgstr Could not run \%s\ +msgstr Ne mogu pokrenuti \%s\ #: ../panel-plugin/xfce-launcher-command-entry.c:120 msgid Xfce Panel -msgstr Xfce Panel +msgstr Xfce ploča #: ../panel-plugin/xfce-trigger-launcher-options.c:127 msgid Command To Check Status: -msgstr Command To Check Status: +msgstr Naredba za provjeru statusa: #: ../panel-plugin/xfce-trigger-launcher-options.c:128 msgid Command To Enable: -msgstr Command To Enable: +msgstr Naredba za omogućavanje: #: ../panel-plugin/xfce-trigger-launcher-options.c:129 msgid Command To Disable: -msgstr Command To Disable: +msgstr Naredba za onemogućavanje: #: ../panel-plugin/xfce-trigger-launcher-options.c:130 msgid Command to Poke: -msgstr Command to Poke: +msgstr #: ../panel-plugin/xfce-trigger-launcher-options.c:131 msgid Check Interval: -msgstr Check Interval: +msgstr Interval provjere: #: ../panel-plugin/xfce-trigger-launcher-options.c:134 #: ../panel-plugin/xfce-trigger-launcher-options.c:135 #: ../panel-plugin/xfce-trigger-launcher-options.c:136 #: ../panel-plugin/xfce-trigger-launcher-options.c:137 msgid Icon: -msgstr Icon: +msgstr Ikona: #: ../panel-plugin/xfce-trigger-launcher-options.c:236 msgid To Check Status -msgstr To Check Status +msgstr Za provjeru statusa #: ../panel-plugin/xfce-trigger-launcher-options.c:237 msgid When Disabled -msgstr When Disabled +msgstr Kada je onemogućen #: ../panel-plugin/xfce-trigger-launcher-options.c:238 msgid When Enabled -msgstr When Enabled +msgstr Kada je omogućen #: ../panel-plugin/xfce-trigger-launcher-options.c:239 msgid When Undefined -msgstr When Undefined +msgstr Kada je nedefiniran #: ../panel-plugin/xfce-trigger-launcher-options.c:240 msgid When Dodgy -msgstr When Dodgy +msgstr #: ../panel-plugin/xfce4-trigger-launcher.desktop.in.in.h:1 msgid Keeps track of the state of something and can control it -msgstr Keeps track of the state of something and can control it +msgstr #: ../panel-plugin/xfce4-trigger-launcher.desktop.in.in.h:2 msgid Trigger Launcher Plugin -msgstr Trigger Launcher Plugin +msgstr ___ Xfce4-commits mailing list Xfce4-commits@xfce.org
[Xfce4-commits] xfconf:xfce-4.10 I18n: Add new translation zh_HK (100%).
Updating branch refs/heads/xfce-4.10 to 19293afda59f43f3ce2d9f6532b2ef14318708fd (commit) from 15687d48b4b6bb09acea69cab666c447c3157de1 (commit) commit 19293afda59f43f3ce2d9f6532b2ef14318708fd Author: Walter Cheuk wwych...@gmail.com Date: Mon Dec 23 12:31:57 2013 +0100 I18n: Add new translation zh_HK (100%). 67 translated messages. Transifex (https://www.transifex.com/projects/p/xfce/). po/{zh_TW.po = zh_HK.po} | 72 ++--- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/po/zh_TW.po b/po/zh_HK.po similarity index 82% copy from po/zh_TW.po copy to po/zh_HK.po index 4bf483b..917cb6f 100644 --- a/po/zh_TW.po +++ b/po/zh_HK.po @@ -9,13 +9,13 @@ msgstr Project-Id-Version: Xfconf\n Report-Msgid-Bugs-To: \n POT-Creation-Date: 2013-07-02 23:18+0200\n -PO-Revision-Date: 2013-11-19 14:49+\n -Last-Translator: Nick n...@xfce.org\n -Language-Team: Chinese (Taiwan) (http://www.transifex.com/projects/p/xfce/language/zh_TW/)\n +PO-Revision-Date: 2013-12-23 06:39+\n +Last-Translator: Walter Cheuk wwych...@gmail.com\n +Language-Team: Chinese (Hong Kong) (http://www.transifex.com/projects/p/xfce/language/zh_HK/)\n MIME-Version: 1.0\n Content-Type: text/plain; charset=UTF-8\n Content-Transfer-Encoding: 8bit\n -Language: zh_TW\n +Language: zh_HK\n Plural-Forms: nplurals=1; plural=0;\n #: ../xfconf/xfconf-cache.c:881 @@ -26,13 +26,13 @@ msgstr 未能建立 ResetProperty DBus 呼叫 #: ../xfconfd/xfconf-backend-perchannel-xml.c:277 #, c-format msgid Unable to create configuration directory \%s\ -msgstr 無法建立組態目錄「%s」 +msgstr 無法建立設定目錄「%s」 #: ../xfconfd/xfconf-backend-perchannel-xml.c:322 #: ../xfconfd/xfconf-daemon.c:238 #, c-format msgid Permission denied while modifying property \%s\ on channel \%s\ -msgstr 正在於通道「%s」修改屬性「%s」時不被允許 +msgstr 於「%2$s」通道修改「%1$s」屬性時被拒 #: ../xfconfd/xfconf-backend-perchannel-xml.c:387 #: ../xfconfd/xfconf-backend-perchannel-xml.c:469 @@ -40,12 +40,12 @@ msgstr 正在於通道「%s」修改屬性「%s」時不被允許 #: ../xfconfd/xfconf-backend-perchannel-xml.c:654 ../xfconf-query/main.c:341 #, c-format msgid Property \%s\ does not exist on channel \%s\ -msgstr 屬性「%s」不存在於通道「%s」 +msgstr 「%2$s」通道沒有「%1$s」屬性 #: ../xfconfd/xfconf-backend-perchannel-xml.c:601 #, c-format msgid Unable to remove channel \%s\: %s -msgstr 無法移除通道「%s」:%s +msgstr 無法移除「%s」通道:%s #: ../xfconfd/xfconf-backend-perchannel-xml.c:1298 #, c-format @@ -72,17 +72,17 @@ msgstr value 有無效的類型:「%s」 #: ../xfconfd/xfconf-backend-perchannel-xml.c:1904 #, c-format msgid Channel \%s\ does not exist -msgstr 通道「%s」不存在 +msgstr 沒有「%s」通道 #: ../xfconfd/xfconf-backend-perchannel-xml.c:1962 #, c-format msgid Unable to write channel \%s\: %s -msgstr 無法寫入通道「%s」:%s +msgstr 無法寫入「%s」通道:%s #: ../xfconfd/xfconf-backend-factory.c:76 #, c-format msgid Unable to find Xfconf backend of type \%s\ -msgstr 找不到類型「%s」的 Xfconf 後端程式 +msgstr 找不到「%s」類型的 Xfconf 後端程式 #: ../xfconfd/xfconf-backend.c:103 #, c-format @@ -99,29 +99,29 @@ msgstr 根元素 ('/') 不是有效的屬性名稱 msgid Property names can only include the ASCII characters A-Z, a-z, 0-9, '_', '-', '' and '', as well as '/' as a separator -msgstr 屬性名稱只能包含 ASCII 字元 A-Z、a-z、0-9、'_'、'-'、''、'',而 '/' 作為分隔符 +msgstr 屬性名稱只能包括 ASCII 字符 A-Z、a-z、0-9、'_'、'-'、''、'',而 '/' 作為分隔符 #: ../xfconfd/xfconf-backend.c:135 #, c-format msgid Property names cannot have two or more consecutive '/' characters -msgstr 屬性名稱無法擁有兩個或多個連續的 '/' 字元 +msgstr 屬性名稱不能有兩個或以上連續的 '/' 字符 #: ../xfconfd/xfconf-backend.c:146 #, c-format msgid Property names cannot end with a '/' character -msgstr 屬性名稱無法以 '/' 字元作結尾 +msgstr 屬性名稱不能以 '/' 字符作結尾 #: ../xfconfd/xfconf-backend.c:163 #, c-format msgid Channel name cannot be an empty string -msgstr 通道名稱無法是空字串 +msgstr 通道名稱不能是空字串 #: ../xfconfd/xfconf-backend.c:176 #, c-format msgid Channel names can only include the ASCII characters A-Z, a-z, 0-9, '_', and '-' -msgstr 通道名稱只能包含 ASCII 字元 A-Z、a-z、0-9、'_'、'-' +msgstr 通道名稱只能包括 ASCII 字符 A-Z、a-z、0-9、'_'、'-' #: ../xfconfd/xfconf-backend.c:398 #, c-format @@ -132,25 +132,25 @@ msgstr 屬性名稱可能是空白,或是當指定遞迴性重設時是 \/\ #: ../xfconfd/main.c:134 msgid Prints the xfconfd version. -msgstr 印出 xfconfd 版本。 +msgstr 顯示 xfconfd 版本。 #: ../xfconfd/main.c:136 msgid Configuration backends to use. The first backend specified is opened read/write; the others, read-only. -msgstr 要使用的組態後端程式。第一個指定的後端程式可以讀寫;其他的只能讀。 +msgstr 要使用的設定後端程式。第一個指定的後端程式可以讀寫;其他的只能讀。 #: ../xfconfd/main.c:139 msgid Fork into background after starting; only useful for testing purposes -msgstr 在啟動後分叉至背景中;只有在測試用途中有用 +msgstr 在啟動後分叉至背景中;只用於測試 #: ../xfconfd/main.c:159 msgid Xfce Configuration Daemon -msgstr Xfce 組態幕後程式 +msgstr Xfce 設定幕後程式 #: ../xfconfd/main.c:165 msgid Xfce configuration daemon -msgstr Xfce 組態幕後程式 +msgstr Xfce 設定幕後程式 #: ../xfconfd/main.c:167 msgid Report bugs to http://bugs.xfce.org/\n; @@ -164,7 +164,7 @@ msgstr 解析選項時發生錯誤:%s\n #: ../xfconfd/xfconf-daemon.c:482 #, c-format
[Xfce4-commits] xfce4-time-out-plugin:master I18n: Add new translation hr (59%).
Updating branch refs/heads/master to 74c6d9ea44a3c2cb8b79f8b01c6580331e7f6ce1 (commit) from 196601883f3df4ea84170ed5f7274078eda39fa7 (commit) commit 74c6d9ea44a3c2cb8b79f8b01c6580331e7f6ce1 Author: Ivica Kolić ik...@yahoo.com Date: Mon Dec 23 12:31:38 2013 +0100 I18n: Add new translation hr (59%). 19 translated messages, 13 untranslated messages. Transifex (https://www.transifex.com/projects/p/xfce/). po/{en_AU.po = hr.po} | 81 +--- 1 file changed, 42 insertions(+), 39 deletions(-) diff --git a/po/en_AU.po b/po/hr.po similarity index 79% copy from po/en_AU.po copy to po/hr.po index 7958230..a58387f 100644 --- a/po/en_AU.po +++ b/po/hr.po @@ -3,133 +3,133 @@ # This file is distributed under the same license as the PACKAGE package. # # Translators: -# k3lt01 keltoi...@gmail.com, 2013 +# Ivica Kolić ik...@yahoo.com, 2013 msgid msgstr Project-Id-Version: Xfce Panel Plugins\n Report-Msgid-Bugs-To: \n POT-Creation-Date: 2013-07-03 21:22+0200\n -PO-Revision-Date: 2013-07-29 09:37+\n -Last-Translator: k3lt01 keltoi...@gmail.com\n -Language-Team: English (Australia) (http://www.transifex.com/projects/p/xfce/language/en_AU/)\n +PO-Revision-Date: 2013-12-23 09:21+\n +Last-Translator: Ivica Kolić ik...@yahoo.com\n +Language-Team: Croatian (http://www.transifex.com/projects/p/xfce/language/hr/)\n MIME-Version: 1.0\n Content-Type: text/plain; charset=UTF-8\n Content-Transfer-Encoding: 8bit\n -Language: en_AU\n -Plural-Forms: nplurals=2; plural=(n != 1);\n +Language: hr\n +Plural-Forms: nplurals=3; plural=n%10==1 n%100!=11 ? 0 : n%10=2 n%10=4 (n%10010 || n%100=20) ? 1 : 2;\n #. Create menu item for taking an instant break #: ../panel-plugin/time-out.c:260 msgid Take a break -msgstr Take a break +msgstr #. Create menu item for resetting the timer #: ../panel-plugin/time-out.c:268 msgid Reset timer -msgstr Reset timer +msgstr #. Create menu item for enabling/disabling the countdown #: ../panel-plugin/time-out.c:276 msgid Enabled -msgstr Enabled +msgstr #. Update tooltips #: ../panel-plugin/time-out.c:340 msgid Paused -msgstr Paused +msgstr Pauzirano #: ../panel-plugin/time-out.c:419 msgid Xfce Panel plugin for taking a break from computer work every now and then. -msgstr Xfce Panel plugin for taking a break from computer work every now and then. +msgstr #: ../panel-plugin/time-out.c:428 msgid translator-credits -msgstr translator-credits +msgstr Ivica Kolić ik...@yahoo.com #. Create properties dialog #: ../panel-plugin/time-out.c:460 #: ../panel-plugin/xfce4-time-out-plugin.desktop.in.h:1 msgid Time Out -msgstr Time Out +msgstr #. Create time settings section #: ../panel-plugin/time-out.c:477 msgid Time settings -msgstr Time settings +msgstr #. Create the labels for the minutes and seconds spins #: ../panel-plugin/time-out.c:490 msgid Minutes -msgstr Minutes +msgstr Minute #: ../panel-plugin/time-out.c:495 msgid Seconds -msgstr Seconds +msgstr Sekunde #. Create break countdown time label #: ../panel-plugin/time-out.c:501 msgid Time between breaks: -msgstr Time between breaks: +msgstr #. Create lock countdown time label #: ../panel-plugin/time-out.c:525 msgid Break length: -msgstr Break length: +msgstr Dužina prekida: #. Create postpone countdown time label #: ../panel-plugin/time-out.c:543 msgid Postpone length: -msgstr Postpone length: +msgstr #. Create behaviour section #: ../panel-plugin/time-out.c:561 msgid Behaviour -msgstr Behaviour +msgstr Ponašanje #. Create postpone check button #: ../panel-plugin/time-out.c:572 msgid Allow postpone -msgstr Allow postpone +msgstr #. Create resume check button #: ../panel-plugin/time-out.c:579 msgid Resume automatically -msgstr Resume automatically +msgstr #. Create appearance section #: ../panel-plugin/time-out.c:586 msgid Appearance -msgstr Appearance +msgstr Izgled #. Create display time check button #: ../panel-plugin/time-out.c:597 msgid Display remaining time in the panel -msgstr Display remaining time in the panel +msgstr Prikaži preostalo vrijeme na ploči #. Create display hours check button #: ../panel-plugin/time-out.c:604 msgid Display hours -msgstr Display hours +msgstr Prikaži sate #. Create display seconds check button #: ../panel-plugin/time-out.c:611 msgid Display seconds -msgstr Display seconds +msgstr Prikaži sekunde #. Create postpone button #: ../panel-plugin/time-out-lock-screen.c:219 msgid _Postpone -msgstr _Postpone +msgstr #. Create resume button #: ../panel-plugin/time-out-lock-screen.c:225 msgid _Resume -msgstr _Resume +msgstr #: ../panel-plugin/time-out-countdown.c:377 msgid The break is over. -msgstr The break is over. +msgstr Prekid je gotov. #. Hours:minutes:seconds #: ../panel-plugin/time-out-countdown.c:399 @@ -149,8 +149,9 @@ msgstr %02d:%02d #, c-format msgid %d hour msgid_plural %d hours
[Xfce4-commits] xfce4-sensors-plugin:master I18n: Add new translation hr (64%).
Updating branch refs/heads/master to e10f5eb2787541d5bcd54d06b9b11d39d8823b1f (commit) from 617464090001a7a8a4f8ea901988b7ae30ed1d69 (commit) commit e10f5eb2787541d5bcd54d06b9b11d39d8823b1f Author: Ivica Kolić ik...@yahoo.com Date: Mon Dec 23 12:31:32 2013 +0100 I18n: Add new translation hr (64%). 47 translated messages, 26 untranslated messages. Transifex (https://www.transifex.com/projects/p/xfce/). po/{sv.po = hr.po} | 173 --- 1 file changed, 83 insertions(+), 90 deletions(-) diff --git a/po/sv.po b/po/hr.po similarity index 76% copy from po/sv.po copy to po/hr.po index 08df2f1..3e7b626 100644 --- a/po/sv.po +++ b/po/hr.po @@ -1,30 +1,32 @@ -# Swedish translation for xfce4-sensors-plugin. -# Copyright (C) 2008 Free Software Foundation, Inc. -# This file is distributed under the same license as the xfce4-sensors-plugin package. -# Daniel Nylander p...@danielnylander.se, 2008. -# +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Ivica Kolić ik...@yahoo.com, 2013 msgid msgstr -Project-Id-Version: xfce4-sensors-plugin\n +Project-Id-Version: Xfce Panel Plugins\n Report-Msgid-Bugs-To: \n -POT-Creation-Date: 2012-06-03 11:30+0200\n -PO-Revision-Date: 2009-12-16 17:48+0100\n -Last-Translator: Daniel Nylander p...@danielnylander.se\n -Language-Team: Swedish tp...@listor.tp-sv.se\n -Language: sv\n +POT-Creation-Date: 2013-07-03 21:16+0200\n +PO-Revision-Date: 2013-12-23 09:15+\n +Last-Translator: Ivica Kolić ik...@yahoo.com\n +Language-Team: Croatian (http://www.transifex.com/projects/p/xfce/language/hr/)\n MIME-Version: 1.0\n Content-Type: text/plain; charset=UTF-8\n Content-Transfer-Encoding: 8bit\n +Language: hr\n +Plural-Forms: nplurals=3; plural=n%10==1 n%100!=11 ? 0 : n%10=2 n%10=4 (n%10010 || n%100=20) ? 1 : 2;\n #: ../panel-plugin/sensors-plugin.c:287 ../panel-plugin/sensors-plugin.c:384 #: ../panel-plugin/sensors-plugin.c:977 msgid span foreground=\#00\bSensors/b/span -msgstr span foreground=\#00\bSensorer/b/span +msgstr span foreground=\#00\bSenzori/b/span #. widget = sensors-eventbox; #: ../panel-plugin/sensors-plugin.c:783 msgid No sensors selected! -msgstr Inga sensorer har valts! +msgstr NIjedan senzor nije odabran! #. FIXME: either print nothing, or undertake appropriate action, #. * or pop up a message box. @@ -42,11 +44,11 @@ msgstr #: ../panel-plugin/sensors-plugin.c:1685 msgid _text -msgstr _text +msgstr _tekst #: ../panel-plugin/sensors-plugin.c:1687 msgid _progress bars -msgstr +msgstr _trake napretka #: ../panel-plugin/sensors-plugin.c:1689 msgid _tachos @@ -54,78 +56,78 @@ msgstr #: ../panel-plugin/sensors-plugin.c:1734 msgid Show _labels -msgstr Visa _etiketter +msgstr #: ../panel-plugin/sensors-plugin.c:1764 msgid Show colored _bars -msgstr Visa färgade _staplar +msgstr Pokaži obojane _trake #: ../panel-plugin/sensors-plugin.c:1792 msgid _Show title -msgstr _Visa titel +msgstr _Pokaži naslov #: ../panel-plugin/sensors-plugin.c:1816 msgid _Number of text lines: -msgstr A_ntal textrader: +msgstr _Broj redaka teksta: #: ../panel-plugin/sensors-plugin.c:1851 msgid F_ont size: -msgstr Storlek på t_ypsnitt: +msgstr V_eličina fonta: -#. gtk_widget_set_sensitive(myFontBox, !sd-sensors-display_values_graphically); +#. gtk_widget_set_sensitive(myFontBox, +#. !sd-sensors-display_values_graphically); #: ../panel-plugin/sensors-plugin.c:1858 msgid x-small -msgstr mindre +msgstr x-mali #: ../panel-plugin/sensors-plugin.c:1859 msgid small -msgstr liten +msgstr mali #: ../panel-plugin/sensors-plugin.c:1860 msgid medium -msgstr medel +msgstr srednji #: ../panel-plugin/sensors-plugin.c:1861 msgid large -msgstr stor +msgstr veliki #: ../panel-plugin/sensors-plugin.c:1862 msgid x-large -msgstr större +msgstr x-veliki #: ../panel-plugin/sensors-plugin.c:1893 -#, fuzzy msgid F_ont: -msgstr Storlek på t_ypsnitt: +msgstr F_ont: #: ../panel-plugin/sensors-plugin.c:1927 msgid Show _Units -msgstr Visa _enheter +msgstr Pokaži _jedinice #: ../panel-plugin/sensors-plugin.c:1948 msgid Small horizontal s_pacing -msgstr +msgstr Mali vodoravni r_azmak #: ../panel-plugin/sensors-plugin.c:1970 msgid Suppress messages -msgstr Visa inte meddelanden +msgstr #: ../panel-plugin/sensors-plugin.c:1995 msgid E_xecute on double click: -msgstr _Kör vid dubbelklick: +msgstr I_zvrši nakon dvostrukog klika: #: ../panel-plugin/sensors-plugin.c:2038 msgid _View -msgstr _Visa +msgstr _Pogled #: ../panel-plugin/sensors-plugin.c:2072 msgid _Miscellaneous -msgstr _Diverse +msgstr _Razno #: ../panel-plugin/sensors-plugin.c:2145 ../panel-plugin/sensors-plugin.h:30 #: ../lib/hddtemp.c:180 msgid Sensors Plugin -msgstr +msgstr Priključak senzora #. gtk_cpu_paint(sensors-tachos
[Xfce4-commits] xfce4-panel:master Fix transparency issues with GTK3 plugins
Updating branch refs/heads/master to cdc3737f971d48d57dae15875f416ba772d0a8bf (commit) from 964741f5b67e5f4fa97bab338d980c5eea0fa09b (commit) commit cdc3737f971d48d57dae15875f416ba772d0a8bf Author: Eric Koegel eric.koe...@gmail.com Date: Mon Dec 23 11:53:02 2013 +0300 Fix transparency issues with GTK3 plugins This patch uses some GTK3 CSS magic written by Simon Steinbeiß to make the GtkPlug button in the panel transparent. Small changes were made to the wrapper_plug_draw code as well, i.e. no need to check GTK_WIDGET_IS_DRAWABLE since gtk does this before calling the draw signal. It also transforms the draw coordinates from widget-relative back to window-relative. libxfce4panel/xfce-panel-plugin.c |5 +- wrapper/wrapper-plug.c| 115 + 2 files changed, 68 insertions(+), 52 deletions(-) diff --git a/libxfce4panel/xfce-panel-plugin.c b/libxfce4panel/xfce-panel-plugin.c index df417fe..9fb43d1 100644 --- a/libxfce4panel/xfce-panel-plugin.c +++ b/libxfce4panel/xfce-panel-plugin.c @@ -715,10 +715,7 @@ xfce_panel_plugin_init (XfcePanelPlugin *plugin) #endif /* hide the event box window to make the plugin transparent */ - // FIXME - // Temporarily disabled to workaround plugin transparency issues. - // It breaks background transparency and color support. - //gtk_event_box_set_visible_window (GTK_EVENT_BOX (plugin), FALSE); + gtk_event_box_set_visible_window (GTK_EVENT_BOX (plugin), FALSE); } diff --git a/wrapper/wrapper-plug.c b/wrapper/wrapper-plug.c index 6dc4432..6832a35 100644 --- a/wrapper/wrapper-plug.c +++ b/wrapper/wrapper-plug.c @@ -94,6 +94,8 @@ wrapper_plug_init (WrapperPlug *plug) GdkVisual *visual = NULL; GdkScreen *screen; GtkStyleContext *context; + GtkCssProvider *provider = gtk_css_provider_new(); + gchar *css_string; #else GdkColormap *colormap = NULL; GdkScreen *screen; @@ -135,6 +137,17 @@ wrapper_plug_init (WrapperPlug *plug) context = gtk_widget_get_style_context (GTK_WIDGET (plug)); gtk_style_context_add_class (context, panel); gtk_style_context_add_class (context, xfce4-panel); + + /* We need to set the plugin button to transparent and let everything else + * be in the theme or panel's color */ + css_string = g_strdup_printf (.xfce4-panel .button { background-color: transparent; }); + gtk_css_provider_load_from_data (provider, css_string, -1, NULL); + gtk_style_context_add_provider (context, + GTK_STYLE_PROVIDER (provider), + GTK_STYLE_PROVIDER_PRIORITY_APPLICATION); + + g_free (css_string); + g_object_unref (provider); #endif } @@ -163,72 +176,78 @@ wrapper_plug_draw (GtkWidget *widget, GdkPixbuf *pixbuf; GError *error = NULL; - if (gtk_widget_is_drawable (widget)) + cairo_save (cr); + + /* The draw signal is in widget coordinates, transform back to window */ + gtk_cairo_transform_to_window (cr, + GTK_WIDGET (plug), + gtk_widget_get_window (gtk_widget_get_toplevel (GTK_WIDGET (plug; + + if (G_UNLIKELY (plug-background_image != NULL)) { - if (G_UNLIKELY (plug-background_image != NULL)) + cairo_set_operator (cr, CAIRO_OPERATOR_SOURCE); + + if (G_LIKELY (plug-background_image_cache != NULL)) { - cairo_set_operator (cr, CAIRO_OPERATOR_SOURCE); + cairo_set_source (cr, plug-background_image_cache); + cairo_paint (cr); +} + else +{ + /* load the image in a pixbuf */ + pixbuf = gdk_pixbuf_new_from_file (plug-background_image, error); - if (G_LIKELY (plug-background_image_cache != NULL)) + if (G_LIKELY (pixbuf != NULL)) { - cairo_set_source (cr, plug-background_image_cache); + gdk_cairo_set_source_pixbuf (cr, pixbuf, 0, 0); + g_object_unref (G_OBJECT (pixbuf)); + + plug-background_image_cache = cairo_get_source (cr); + cairo_pattern_reference (plug-background_image_cache); + cairo_pattern_set_extend (plug-background_image_cache, CAIRO_EXTEND_REPEAT); cairo_paint (cr); } else { - /* load the image in a pixbuf */ - pixbuf = gdk_pixbuf_new_from_file (plug-background_image, error); - - if (G_LIKELY (pixbuf != NULL)) -{ - gdk_cairo_set_source_pixbuf (cr, pixbuf, 0, 0); - g_object_unref (G_OBJECT (pixbuf)); - - plug-background_image_cache = cairo_get_source (cr); - cairo_pattern_reference (plug-background_image_cache); - cairo_pattern_set_extend (plug-background_image_cache, CAIRO_EXTEND_REPEAT); - cairo_paint (cr); -} -