[Xfce4-commits] [apps/xfce4-terminal] branch master updated (c595879 -> 284c345)

2017-04-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

transifex pushed a change to branch master
in repository apps/xfce4-terminal.

  from  c595879   I18n: Update translation nb (100%).
   new  284c345   I18n: Update translation ru (100%).

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 po/ru.po | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [apps/xfce4-terminal] 01/01: I18n: Update translation ru (100%).

2017-04-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

transifex pushed a commit to branch master
in repository apps/xfce4-terminal.

commit 284c3454132a136fd52de78a3aa31d66e6912591
Author: Igor 
Date:   Thu Apr 20 00:31:20 2017 +0200

I18n: Update translation ru (100%).

334 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).
---
 po/ru.po | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/po/ru.po b/po/ru.po
index 5c3303a..e8fbecc 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -15,7 +15,7 @@ msgstr ""
 "Project-Id-Version: Xfce Apps\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2017-01-25 12:30+0100\n"
-"PO-Revision-Date: 2017-04-14 21:06+\n"
+"PO-Revision-Date: 2017-04-19 20:39+\n"
 "Last-Translator: Igor \n"
 "Language-Team: Russian 
(http://www.transifex.com/xfce/xfce-apps/language/ru/)\n"
 "MIME-Version: 1.0\n"
@@ -823,7 +823,7 @@ msgstr "Нет (сплошной цвет)"
 
 #: ../terminal/terminal-preferences.glade.h:9
 msgid "Background image"
-msgstr "Фоновый рисунок"
+msgstr "Фоновое изображение"
 
 #: ../terminal/terminal-preferences.glade.h:10
 msgid "Transparent background"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/xfce4-panel] 03/03: I18n: Update translation pt (100%).

2017-04-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

transifex pushed a commit to branch master
in repository xfce/xfce4-panel.

commit 35647c5bb1cb259e11e1cb3bbc6bdea11c4555cd
Author: José Vieira 
Date:   Thu Apr 20 00:30:35 2017 +0200

I18n: Update translation pt (100%).

398 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).
---
 po/pt.po | 51 ---
 1 file changed, 32 insertions(+), 19 deletions(-)

diff --git a/po/pt.po b/po/pt.po
index 64b8a94..d2d2d31 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -12,8 +12,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: Xfce4-panel\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-04-11 00:30+0200\n"
-"PO-Revision-Date: 2017-04-15 10:22+\n"
+"POT-Creation-Date: 2017-04-19 12:30+0200\n"
+"PO-Revision-Date: 2017-04-19 22:11+\n"
 "Last-Translator: José Vieira \n"
 "Language-Team: Portuguese 
(http://www.transifex.com/xfce/xfce4-panel/language/pt/)\n"
 "MIME-Version: 1.0\n"
@@ -44,13 +44,13 @@ msgstr "Personalizar painel"
 
 #. I18N: %s is the name of the plugin
 #: ../libxfce4panel/xfce-panel-plugin.c:1028
-#: ../panel/panel-preferences-dialog.c:1195
+#: ../panel/panel-preferences-dialog.c:1201
 #, c-format
 msgid "Are you sure that you want to remove \"%s\"?"
 msgstr "Tem a certeza que pretende remover \"%s\"?"
 
 #: ../libxfce4panel/xfce-panel-plugin.c:1033
-#: ../panel/panel-preferences-dialog.c:1198
+#: ../panel/panel-preferences-dialog.c:1204
 msgid "If you remove the item from the panel, it is permanently lost."
 msgstr "Se remover este item do painel, será perdido permanentemente."
 
@@ -61,6 +61,7 @@ msgid "Cancel"
 msgstr "Cancelar"
 
 #: ../libxfce4panel/xfce-panel-plugin.c:1035
+#: ../panel/panel-preferences-dialog.c:929
 msgid "Remove"
 msgstr "Remover"
 
@@ -187,6 +188,10 @@ msgstr "Falha ao fechar o painel"
 msgid "Failed to send D-Bus message"
 msgstr "Falha ao enviar a mensagem D-Bus"
 
+#: ../panel/main.c:403
+msgid "Execute"
+msgstr "Executar"
+
 #: ../panel/main.c:404
 msgid ""
 "Do you want to start the panel? If you do, make sure you save the session on"
@@ -202,34 +207,38 @@ msgstr "Nenhuma instância de %s foi encontrada"
 msgid "Failed to launch the migration application"
 msgstr "Falha ao iniciar a aplicação de migração"
 
-#: ../panel/panel-application.c:983
+#: ../panel/panel-application.c:982
 msgid "Create _Launcher"
 msgstr "Criar _lançador"
 
-#: ../panel/panel-application.c:984
+#: ../panel/panel-application.c:983
 msgid ""
 "This will create a new launcher plugin on the panel and inserts the dropped "
 "files as menu items."
 msgstr "Isto irá criar um novo lançador no painel e inserir os ficheiros 
largados como itens de menu."
 
-#: ../panel/panel-application.c:986
+#: ../panel/panel-application.c:985
 #, c-format
 msgid "Create new launcher from %d desktop file"
 msgid_plural "Create new launcher from %d desktop files"
 msgstr[0] "Criar novo lançador de %d ficheiro .desktop"
 msgstr[1] "Criar novo lançador de %d ficheiros .desktop"
 
-#: ../panel/panel-application.c:1726
+#: ../panel/panel-application.c:1724
+msgid "Quit"
+msgstr "Sair"
+
+#: ../panel/panel-application.c:1725
 msgid ""
 "You have started X without session manager. Clicking Quit will close the X "
 "server."
 msgstr "Iniciou o X sem o gestor de sessões. Se clicar em Sair fechará o 
servidor X."
 
-#: ../panel/panel-application.c:1727
+#: ../panel/panel-application.c:1726
 msgid "Are you sure you want to quit the panel?"
 msgstr "Tem a certeza que pretende sair do painel?"
 
-#: ../panel/panel-application.c:1735
+#: ../panel/panel-application.c:1734
 #, c-format
 msgid "Failed to execute command \"%s\""
 msgstr "Falha ao executar o comando \"%s\""
@@ -263,7 +272,7 @@ msgstr "Adicionar novo item"
 msgid "Please choose a panel for the new plugin:"
 msgstr "Por favor escolha o painel para o novo \"plugin\":"
 
-#: ../panel/panel-dialogs.c:159 ../panel/panel-preferences-dialog.c:858
+#: ../panel/panel-dialogs.c:159 ../panel/panel-preferences-dialog.c:864
 #, c-format
 msgid "Panel %d"
 msgstr "Painel %d"
@@ -320,41 +329,41 @@ msgstr "O \"plugin\" reiniciou mais que uma vez nos 
últimos %d segundos. Se pre
 msgid "Automatic"
 msgstr "Automático"
 
-#: ../panel/panel-preferences-dialog.c:497
+#: ../panel/panel-preferences-dialog.c:502
 msgid "Primary"
 msgstr "Principal"
 
 #. I18N: screen name in the output selector
-#: ../panel/panel-preferences-dialog.c:516
+#: ../panel/panel-preferences-dialog.c:522
 #, c-format
 msgid "Screen %d"
 msgstr "Ecrã %d"
 
 #. I18N: monitor name in the output selector
-#: ../panel/panel-preferences-dialog.c:542
+#: ../panel/panel-preferences-dialog.c:548
 #, c-format
 msgid "Monitor %d"
 msgstr "Monitor %d"
 
-#: ../panel/panel-preferences-dialog.c:924
+#: ../panel/panel-preferences-dialog.c:930
 msgid "The panel and plugin configurations will be permanently removed"
 msgstr "As configurações 

[Xfce4-commits] [xfce/xfce4-panel] branch master updated (4bb48b0 -> 35647c5)

2017-04-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

transifex pushed a change to branch master
in repository xfce/xfce4-panel.

  from  4bb48b0   Replace more GtkStock items with icons and text (Bug 
#13505)
   new  be03e01   I18n: Update translation ca (100%).
   new  316c6b3   I18n: Update translation nl (100%).
   new  35647c5   I18n: Update translation pt (100%).

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 po/ca.po | 51 ---
 po/nl.po | 51 ---
 po/pt.po | 51 ---
 3 files changed, 96 insertions(+), 57 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/xfce4-panel] 01/03: I18n: Update translation ca (100%).

2017-04-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

transifex pushed a commit to branch master
in repository xfce/xfce4-panel.

commit be03e0122a8eba833910702dae60e77652755f8b
Author: Robert Antoni Buj Gelonch 
Date:   Thu Apr 20 00:30:35 2017 +0200

I18n: Update translation ca (100%).

398 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).
---
 po/ca.po | 51 ---
 1 file changed, 32 insertions(+), 19 deletions(-)

diff --git a/po/ca.po b/po/ca.po
index 48023c4..49c3ad6 100644
--- a/po/ca.po
+++ b/po/ca.po
@@ -11,8 +11,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: Xfce4-panel\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-04-11 00:30+0200\n"
-"PO-Revision-Date: 2017-04-11 05:43+\n"
+"POT-Creation-Date: 2017-04-19 12:30+0200\n"
+"PO-Revision-Date: 2017-04-19 18:32+\n"
 "Last-Translator: Robert Antoni Buj Gelonch \n"
 "Language-Team: Catalan 
(http://www.transifex.com/xfce/xfce4-panel/language/ca/)\n"
 "MIME-Version: 1.0\n"
@@ -43,13 +43,13 @@ msgstr "Personalitzeu el plafó"
 
 #. I18N: %s is the name of the plugin
 #: ../libxfce4panel/xfce-panel-plugin.c:1028
-#: ../panel/panel-preferences-dialog.c:1195
+#: ../panel/panel-preferences-dialog.c:1201
 #, c-format
 msgid "Are you sure that you want to remove \"%s\"?"
 msgstr "Esteu segur que voleu suprimir «%s»?"
 
 #: ../libxfce4panel/xfce-panel-plugin.c:1033
-#: ../panel/panel-preferences-dialog.c:1198
+#: ../panel/panel-preferences-dialog.c:1204
 msgid "If you remove the item from the panel, it is permanently lost."
 msgstr "Si suprimiu l'element del plafó, es perdrà permanentment."
 
@@ -60,6 +60,7 @@ msgid "Cancel"
 msgstr "Cancel·la"
 
 #: ../libxfce4panel/xfce-panel-plugin.c:1035
+#: ../panel/panel-preferences-dialog.c:929
 msgid "Remove"
 msgstr "Suprimeix"
 
@@ -186,6 +187,10 @@ msgstr "No s'ha pogut sortir del plafó"
 msgid "Failed to send D-Bus message"
 msgstr "No s'ha pogut enviar un missatge a través de D-BUS"
 
+#: ../panel/main.c:403
+msgid "Execute"
+msgstr "Executa"
+
 #: ../panel/main.c:404
 msgid ""
 "Do you want to start the panel? If you do, make sure you save the session on"
@@ -201,34 +206,38 @@ msgstr "No s'ha trobat una instància en marxa de %s"
 msgid "Failed to launch the migration application"
 msgstr "No s'ha pogut iniciar l'aplicació de migració"
 
-#: ../panel/panel-application.c:983
+#: ../panel/panel-application.c:982
 msgid "Create _Launcher"
 msgstr "Crea un _llançador"
 
-#: ../panel/panel-application.c:984
+#: ../panel/panel-application.c:983
 msgid ""
 "This will create a new launcher plugin on the panel and inserts the dropped "
 "files as menu items."
 msgstr "Això crearà un nou connector de llançador en el plafó i inserirà els 
fitxers que es deixin caure com a elements de menú."
 
-#: ../panel/panel-application.c:986
+#: ../panel/panel-application.c:985
 #, c-format
 msgid "Create new launcher from %d desktop file"
 msgid_plural "Create new launcher from %d desktop files"
 msgstr[0] "Crea un nou llançador per %d fitxer d'escriptori"
 msgstr[1] "Crea un nou llançador per %d fitxers d'escriptori"
 
-#: ../panel/panel-application.c:1726
+#: ../panel/panel-application.c:1724
+msgid "Quit"
+msgstr "Surt"
+
+#: ../panel/panel-application.c:1725
 msgid ""
 "You have started X without session manager. Clicking Quit will close the X "
 "server."
 msgstr "Heu iniciat les X sense un gestor de sessions. Premeu Surt per a 
sortir del servidor de les X."
 
-#: ../panel/panel-application.c:1727
+#: ../panel/panel-application.c:1726
 msgid "Are you sure you want to quit the panel?"
 msgstr "Esteu segur que voleu sortir del plafó?"
 
-#: ../panel/panel-application.c:1735
+#: ../panel/panel-application.c:1734
 #, c-format
 msgid "Failed to execute command \"%s\""
 msgstr "No s'ha pogut executar l'ordre «%s»"
@@ -262,7 +271,7 @@ msgstr "Afegeix un element nou"
 msgid "Please choose a panel for the new plugin:"
 msgstr "Trieu un plafó per al connector nou:"
 
-#: ../panel/panel-dialogs.c:159 ../panel/panel-preferences-dialog.c:858
+#: ../panel/panel-dialogs.c:159 ../panel/panel-preferences-dialog.c:864
 #, c-format
 msgid "Panel %d"
 msgstr "Plafó %d"
@@ -319,41 +328,41 @@ msgstr "El connector s'ha reiniciat més d'un cop en els 
últims %d segons. Si p
 msgid "Automatic"
 msgstr "Automàtica"
 
-#: ../panel/panel-preferences-dialog.c:497
+#: ../panel/panel-preferences-dialog.c:502
 msgid "Primary"
 msgstr "Primària"
 
 #. I18N: screen name in the output selector
-#: ../panel/panel-preferences-dialog.c:516
+#: ../panel/panel-preferences-dialog.c:522
 #, c-format
 msgid "Screen %d"
 msgstr "Pantalla %d"
 
 #. I18N: monitor name in the output selector
-#: ../panel/panel-preferences-dialog.c:542
+#: ../panel/panel-preferences-dialog.c:548
 #, c-format
 msgid "Monitor %d"
 msgstr "Monitor %d"
 
-#: ../panel/panel-preferences-dialog.c:924
+#: 

[Xfce4-commits] [xfce/xfce4-panel] 02/03: I18n: Update translation nl (100%).

2017-04-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

transifex pushed a commit to branch master
in repository xfce/xfce4-panel.

commit 316c6b371390addd9d0d120e0f3da8fecdefd78e
Author: Pjotr 
Date:   Thu Apr 20 00:30:35 2017 +0200

I18n: Update translation nl (100%).

398 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).
---
 po/nl.po | 51 ---
 1 file changed, 32 insertions(+), 19 deletions(-)

diff --git a/po/nl.po b/po/nl.po
index 538c5e3..373981f 100644
--- a/po/nl.po
+++ b/po/nl.po
@@ -10,8 +10,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: Xfce4-panel\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-04-11 00:30+0200\n"
-"PO-Revision-Date: 2017-04-11 22:03+\n"
+"POT-Creation-Date: 2017-04-19 12:30+0200\n"
+"PO-Revision-Date: 2017-04-19 18:40+\n"
 "Last-Translator: Pjotr \n"
 "Language-Team: Dutch 
(http://www.transifex.com/xfce/xfce4-panel/language/nl/)\n"
 "MIME-Version: 1.0\n"
@@ -42,13 +42,13 @@ msgstr "Pas de werkbalk aan"
 
 #. I18N: %s is the name of the plugin
 #: ../libxfce4panel/xfce-panel-plugin.c:1028
-#: ../panel/panel-preferences-dialog.c:1195
+#: ../panel/panel-preferences-dialog.c:1201
 #, c-format
 msgid "Are you sure that you want to remove \"%s\"?"
 msgstr "Weet u zeker dat u '%s' wil verwijderen?"
 
 #: ../libxfce4panel/xfce-panel-plugin.c:1033
-#: ../panel/panel-preferences-dialog.c:1198
+#: ../panel/panel-preferences-dialog.c:1204
 msgid "If you remove the item from the panel, it is permanently lost."
 msgstr "Als u een element van de werkbalk verwijdert, dan kan dit niet meer 
ongedaan worden gemaakt."
 
@@ -59,6 +59,7 @@ msgid "Cancel"
 msgstr "Afbreken"
 
 #: ../libxfce4panel/xfce-panel-plugin.c:1035
+#: ../panel/panel-preferences-dialog.c:929
 msgid "Remove"
 msgstr "Verwijderen"
 
@@ -185,6 +186,10 @@ msgstr "Kon de werkbalk niet afsluiten"
 msgid "Failed to send D-Bus message"
 msgstr "Kon het D-Busbericht niet versturen"
 
+#: ../panel/main.c:403
+msgid "Execute"
+msgstr "Uitvoeren"
+
 #: ../panel/main.c:404
 msgid ""
 "Do you want to start the panel? If you do, make sure you save the session on"
@@ -200,34 +205,38 @@ msgstr "Geen actieve functie van %s gevonden"
 msgid "Failed to launch the migration application"
 msgstr "Kon de migratietoepassing niet openen"
 
-#: ../panel/panel-application.c:983
+#: ../panel/panel-application.c:982
 msgid "Create _Launcher"
 msgstr "Maak starter"
 
-#: ../panel/panel-application.c:984
+#: ../panel/panel-application.c:983
 msgid ""
 "This will create a new launcher plugin on the panel and inserts the dropped "
 "files as menu items."
 msgstr "Dit zal een nieuwe starter toevoegen aan de werkbalk en voegt de 
geplaatste bestanden in als menu-onderdelen."
 
-#: ../panel/panel-application.c:986
+#: ../panel/panel-application.c:985
 #, c-format
 msgid "Create new launcher from %d desktop file"
 msgid_plural "Create new launcher from %d desktop files"
 msgstr[0] "Maak een nieuwe starter van %d bureaubladbestand"
 msgstr[1] "Maak een nieuwe starter van %d bureaubladbestanden"
 
-#: ../panel/panel-application.c:1726
+#: ../panel/panel-application.c:1724
+msgid "Quit"
+msgstr "Sluiten"
+
+#: ../panel/panel-application.c:1725
 msgid ""
 "You have started X without session manager. Clicking Quit will close the X "
 "server."
 msgstr "U hebt X (de grafische omgeving) gestart zonder sessiebeheerder. 
Wanneer u op sluiten klikt, dan zal dat de grafische omgeving afsluiten."
 
-#: ../panel/panel-application.c:1727
+#: ../panel/panel-application.c:1726
 msgid "Are you sure you want to quit the panel?"
 msgstr "Weet u zeker dat u de werkbalk wil afsluiten?"
 
-#: ../panel/panel-application.c:1735
+#: ../panel/panel-application.c:1734
 #, c-format
 msgid "Failed to execute command \"%s\""
 msgstr "Kon de opdracht '%s' niet uitvoeren"
@@ -261,7 +270,7 @@ msgstr "Voeg nieuw element toe"
 msgid "Please choose a panel for the new plugin:"
 msgstr "Kies een werkbalk voor de nieuwe invoegtoepassing:"
 
-#: ../panel/panel-dialogs.c:159 ../panel/panel-preferences-dialog.c:858
+#: ../panel/panel-dialogs.c:159 ../panel/panel-preferences-dialog.c:864
 #, c-format
 msgid "Panel %d"
 msgstr "Werkbalk %d"
@@ -318,41 +327,41 @@ msgstr "De invoegtoepassing is meer dan één keer opnieuw 
opgestart in de afgel
 msgid "Automatic"
 msgstr "Automatisch"
 
-#: ../panel/panel-preferences-dialog.c:497
+#: ../panel/panel-preferences-dialog.c:502
 msgid "Primary"
 msgstr "Primair"
 
 #. I18N: screen name in the output selector
-#: ../panel/panel-preferences-dialog.c:516
+#: ../panel/panel-preferences-dialog.c:522
 #, c-format
 msgid "Screen %d"
 msgstr "Scherm %d"
 
 #. I18N: monitor name in the output selector
-#: ../panel/panel-preferences-dialog.c:542
+#: ../panel/panel-preferences-dialog.c:548
 #, c-format
 msgid "Monitor %d"
 msgstr "Monitor %d"
 
-#: ../panel/panel-preferences-dialog.c:924
+#: 

[Xfce4-commits] [panel-plugins/xfce4-pulseaudio-plugin] branch master updated (9178111 -> 4f4f48e)

2017-04-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

transifex pushed a change to branch master
in repository panel-plugins/xfce4-pulseaudio-plugin.

  from  9178111   I18n: Update translation nb (100%).
   new  4f4f48e   I18n: Update translation de (100%).

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 po/de.po | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [panel-plugins/xfce4-pulseaudio-plugin] 01/01: I18n: Update translation de (100%).

2017-04-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

transifex pushed a commit to branch master
in repository panel-plugins/xfce4-pulseaudio-plugin.

commit 4f4f48edbeece32f27812e8641b5f22d65be04c3
Author: Tobias Bannert 
Date:   Wed Apr 19 18:31:25 2017 +0200

I18n: Update translation de (100%).

23 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).
---
 po/de.po | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/po/de.po b/po/de.po
index b7ad439..1be4f77 100644
--- a/po/de.po
+++ b/po/de.po
@@ -3,14 +3,14 @@
 # This file is distributed under the same license as the PACKAGE package.
 # 
 # Translators:
-# Tobias Bannert , 2016
+# Tobias Bannert , 2016-2017
 msgid ""
 msgstr ""
 "Project-Id-Version: Xfce Panel Plugins\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2017-04-15 00:31+0200\n"
-"PO-Revision-Date: 2017-04-14 22:31+\n"
-"Last-Translator: Xfce Bot \n"
+"PO-Revision-Date: 2017-04-19 13:28+\n"
+"Last-Translator: Tobias Bannert \n"
 "Language-Team: German 
(http://www.transifex.com/xfce/xfce-panel-plugins/language/de/)\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
@@ -74,7 +74,7 @@ msgstr "Klangeinstellungen"
 
 #: ../panel-plugin/pulseaudio-plugin.c:214
 msgid "Copyright © 2014-2017 Andrzej Radecki\n"
-msgstr ""
+msgstr "Urheberrecht © 2014-2017 Andrzej Radecki\n"
 
 #: ../panel-plugin/pulseaudio-dialog.c:136
 #: ../panel-plugin/pulseaudio-menu.c:169

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/xfdesktop] 13/16: Fix a couple more screen deprecation warnings

2017-04-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfdesktop.

commit f4279d5b2ebe5121f7f5948bbf30226d73ade701
Author: Eric Koegel 
Date:   Wed Apr 19 15:32:45 2017 +0300

Fix a couple more screen deprecation warnings

And remove an unneeded gtk_style_set call.
---
 src/xfdesktop-icon-view.c   | 17 +++--
 src/xfdesktop-window-icon-manager.c |  2 +-
 2 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/src/xfdesktop-icon-view.c b/src/xfdesktop-icon-view.c
index a222762..cac2bb0 100644
--- a/src/xfdesktop-icon-view.c
+++ b/src/xfdesktop-icon-view.c
@@ -1878,10 +1878,7 @@ xfdesktop_icon_view_realize(GtkWidget *widget)
 icon_view->priv->parent_window = gtk_widget_get_toplevel(widget);
 g_return_if_fail(icon_view->priv->parent_window);
 gtk_widget_set_window(widget, 
gtk_widget_get_window(icon_view->priv->parent_window));
-
-gtk_widget_set_style(widget,
- gtk_style_attach(gtk_widget_get_style(widget),
-  gtk_widget_get_window(widget)));
+
 /* we need this call here to initalize some members of icon_view->priv,
  * those depend on custom style properties */
 xfdesktop_icon_view_style_updated(widget);
@@ -2491,21 +2488,21 @@ xfdesktop_rectangle_is_bounded_by(GdkRectangle *rect,
 static void
 xfdesktop_icon_view_setup_grids_xinerama(XfdesktopIconView *icon_view)
 {
-GdkScreen *gscreen;
+GdkDisplay *display;
 GdkRectangle *monitor_geoms, cell_rect;
 gint nmonitors, i, row, col;
 
 DBG("entering");
-
-gscreen = gtk_widget_get_screen(GTK_WIDGET(icon_view));
-
-nmonitors = gdk_screen_get_n_monitors(gscreen);
+
+display = gtk_widget_get_display(GTK_WIDGET(icon_view));
+
+nmonitors = gdk_display_get_n_monitors(display);
 if(nmonitors == 1)  /* optimisation */
 return;
 
 monitor_geoms = g_new0(GdkRectangle, nmonitors);
 for(i = 0; i < nmonitors; ++i)
-gdk_screen_get_monitor_geometry(gscreen, i, _geoms[i]);
+gdk_monitor_get_geometry(gdk_display_get_monitor(display, i), 
_geoms[i]);
 
 /* cubic time; w00t! */
 cell_rect.width = cell_rect.height = CELL_SIZE;
diff --git a/src/xfdesktop-window-icon-manager.c 
b/src/xfdesktop-window-icon-manager.c
index f1c4ea9..4c7c48a 100644
--- a/src/xfdesktop-window-icon-manager.c
+++ b/src/xfdesktop-window-icon-manager.c
@@ -128,7 +128,7 @@ xfdesktop_window_icon_manager_set_property(GObject *object,
 switch(property_id) {
 case PROP_SCREEN:
 wmanager->priv->gscreen = g_value_peek_pointer(value);
-wmanager->priv->wnck_screen = 
wnck_screen_get(gdk_screen_get_number(wmanager->priv->gscreen));
+wmanager->priv->wnck_screen = wnck_screen_get(0);
 break;
 
 default:

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/xfdesktop] 14/16: Fix menu popups from command line

2017-04-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfdesktop.

commit 3907aba542aee92630bf1970071fdc20be5f6ad3
Author: Eric Koegel 
Date:   Wed Apr 19 15:55:28 2017 +0300

Fix menu popups from command line

Fix launching a menu from xfdesktop -M or -W.
---
 src/xfce-desktop.c  | 43 ++-
 src/xfce-desktop.h  |  6 --
 src/xfdesktop-application.c |  4 ++--
 src/xfdesktop-icon-view.c   |  5 ++---
 4 files changed, 38 insertions(+), 20 deletions(-)

diff --git a/src/xfce-desktop.c b/src/xfce-desktop.c
index 9a13a03..f1047d3 100644
--- a/src/xfce-desktop.c
+++ b/src/xfce-desktop.c
@@ -1196,12 +1196,11 @@ xfce_desktop_button_press_event(GtkWidget *w,
 return FALSE;
 #endif
 /* no icons on the desktop, grab the focus and pop up the menu */
-if(!gtk_widget_has_grab(w)) {
+if(!gtk_widget_has_grab(w))
 gtk_grab_add(w);
 
-xfce_desktop_popup_root_menu(desktop, evt);
+xfce_desktop_popup_root_menu(desktop, button, evt->time);
 return TRUE;
-}
 } else if(button == 2 || (button == 1 && (state & GDK_SHIFT_MASK)
   && (state & GDK_CONTROL_MASK)))
 {
@@ -1209,7 +1208,7 @@ xfce_desktop_button_press_event(GtkWidget *w,
 if(!gtk_widget_has_grab(w))
 gtk_grab_add(w);
 
-xfce_desktop_popup_secondary_root_menu(desktop, evt);
+xfce_desktop_popup_secondary_root_menu(desktop, button, evt->time);
 return TRUE;
 }
 }
@@ -1234,15 +1233,22 @@ static gboolean
 xfce_desktop_popup_menu(GtkWidget *w)
 {
 GdkEventButton *evt;
+guint button, etime;
 
 TRACE("entering");
 
 evt = (GdkEventButton *)gtk_get_current_event();
+if(evt && GDK_BUTTON_PRESS == evt->type) {
+button = evt->button;
+etime = evt->time;
+} else {
+button = 0;
+etime = gtk_get_current_event_time();
+}
 
-xfce_desktop_popup_root_menu(XFCE_DESKTOP(w), evt);
+xfce_desktop_popup_root_menu(XFCE_DESKTOP(w), button, etime);
 
-if(evt)
-gdk_event_free((GdkEvent*)evt);
+gdk_event_free((GdkEvent*)evt);
 return TRUE;
 }
 
@@ -1696,7 +1702,8 @@ xfce_desktop_menu_destroy_idled(gpointer data)
 
 static void
 xfce_desktop_do_menu_popup(XfceDesktop *desktop,
-   GdkEventButton *evt,
+   guint button,
+   guint activate_time,
guint populate_signal)
 {
 GdkScreen *screen;
@@ -1730,25 +1737,35 @@ xfce_desktop_do_menu_popup(XfceDesktop *desktop,
 
 gtk_menu_attach_to_widget(GTK_MENU(menu), GTK_WIDGET(desktop), NULL);
 
-gtk_menu_popup_at_pointer(GTK_MENU (menu), (GdkEvent *)evt);
+/* Per gtk_menu_popup's documentation "for conflict-resolve initiation of
+ * concurrent requests for mouse/keyboard grab requests." */
+if(activate_time == 0)
+activate_time = gtk_get_current_event_time();
+
+xfce_gtk_menu_popup_until_mapped(GTK_MENU(menu), NULL, NULL, NULL, NULL, 
button, activate_time);
 }
 
+
 void
 xfce_desktop_popup_root_menu(XfceDesktop *desktop,
- GdkEventButton *evt)
+ guint button,
+ guint activate_time)
 {
 TRACE("entering");
 
-xfce_desktop_do_menu_popup(desktop, evt,
+xfce_desktop_do_menu_popup(desktop, button, activate_time,
signals[SIG_POPULATE_ROOT_MENU]);
 
 }
 
 void
 xfce_desktop_popup_secondary_root_menu(XfceDesktop *desktop,
-   GdkEventButton *evt)
+   guint button,
+   guint activate_time)
 {
-xfce_desktop_do_menu_popup(desktop, evt,
+TRACE("entering");
+
+xfce_desktop_do_menu_popup(desktop, button, activate_time,
signals[SIG_POPULATE_SECONDARY_ROOT_MENU]);
 }
 
diff --git a/src/xfce-desktop.h b/src/xfce-desktop.h
index 8055a07..640b778 100644
--- a/src/xfce-desktop.h
+++ b/src/xfce-desktop.h
@@ -105,9 +105,11 @@ void xfce_desktop_thaw_updates(XfceDesktop *desktop);
 
 
 void xfce_desktop_popup_root_menu(XfceDesktop *desktop,
-  GdkEventButton *evt);
+  guint button,
+  guint activate_time);
 void xfce_desktop_popup_secondary_root_menu(XfceDesktop *desktop,
-GdkEventButton *evt);
+guint button,
+guint activate_time);
 
 void xfce_desktop_refresh(XfceDesktop *desktop, gboolean advance_wallpaper);
 
diff --git a/src/xfdesktop-application.c 

[Xfce4-commits] [xfce/xfdesktop] 11/16: Remove unused code

2017-04-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfdesktop.

commit ee153dcd3e1886ea201f223aa4cb81f75bee3112
Author: Eric Koegel 
Date:   Wed Apr 19 13:51:07 2017 +0300

Remove unused code
---
 src/xfdesktop-icon-view.c | 27 ---
 1 file changed, 27 deletions(-)

diff --git a/src/xfdesktop-icon-view.c b/src/xfdesktop-icon-view.c
index afe1bfe..a196f31 100644
--- a/src/xfdesktop-icon-view.c
+++ b/src/xfdesktop-icon-view.c
@@ -171,9 +171,6 @@ struct _XfdesktopIconViewPrivate
 gboolean dropped;
 GdkDragAction proposed_drop_action;
 gint16 hover_row, hover_col;
-
-gucharlabel_alpha;
-gucharselected_label_alpha;
 
 gint cell_padding;
 gint cell_spacing;
@@ -504,19 +501,6 @@ xfdesktop_icon_view_class_init(XfdesktopIconViewClass 
*klass)
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
 
-gtk_widget_class_install_style_property(widget_class,
-g_param_spec_uchar("label-alpha",
-   "Label alpha",
-   "Alpha value 
for the text label's background",
-   0, 255, 155,
-   
G_PARAM_READABLE));
-
-gtk_widget_class_install_style_property(widget_class,
-
g_param_spec_uchar("selected-label-alpha",
-   "Selected label 
alpha",
-   "Alpha value 
for the selected text label's background",
-   0, 255, 155,
-   
G_PARAM_READABLE));
 
 gtk_widget_class_install_style_property(widget_class,
 g_param_spec_int("cell-spacing",
@@ -1861,17 +1845,6 @@ xfdesktop_icon_view_style_updated(GtkWidget *widget)
 {
 XfdesktopIconView *icon_view = XFDESKTOP_ICON_VIEW(widget);
 
-gtk_widget_style_get(GTK_WIDGET(icon_view),
- "label-alpha",   _view->priv->label_alpha,
- NULL);
-
-XF_DEBUG("label alpha is %d\n",   (gint)(icon_view->priv->label_alpha));
-
-gtk_widget_style_get(GTK_WIDGET(icon_view),
- "selected-label-alpha", 
_view->priv->selected_label_alpha,
- NULL);
-
-
 gtk_widget_style_get(widget,
  "cell-spacing", _view->priv->cell_spacing,
  "cell-padding", _view->priv->cell_padding,

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/xfdesktop] 06/16: Add the view class to the icon view

2017-04-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfdesktop.

commit fa1877e2bc876e8e43b8a40328f8c5f670029586
Author: Eric Koegel 
Date:   Wed Apr 19 08:02:20 2017 +0300

Add the view class to the icon view

And add a CSS Node name of XfdesktopIconView so it doesn't just
appear as 'widget'
---
 src/xfdesktop-icon-view.c | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/src/xfdesktop-icon-view.c b/src/xfdesktop-icon-view.c
index 819327a..b30b055 100644
--- a/src/xfdesktop-icon-view.c
+++ b/src/xfdesktop-icon-view.c
@@ -709,11 +709,15 @@ xfdesktop_icon_view_class_init(XfdesktopIconViewClass 
*klass)
  GTK_MOVEMENT_VISUAL_POSITIONS, -1);
 
 xfdesktop_cell_highlight_quark = 
g_quark_from_static_string("xfdesktop-icon-view-cell-highlight");
+
+gtk_widget_class_set_css_name (widget_class, "XfdesktopIconView");
 }
 
 static void
 xfdesktop_icon_view_init(XfdesktopIconView *icon_view)
 {
+GtkStyleContext *context;
+
 icon_view->priv = G_TYPE_INSTANCE_GET_PRIVATE(icon_view,
   XFDESKTOP_TYPE_ICON_VIEW,
   XfdesktopIconViewPrivate);
@@ -741,6 +745,9 @@ xfdesktop_icon_view_init(XfdesktopIconView *icon_view)
 
 gtk_widget_set_has_window(GTK_WIDGET(icon_view), FALSE);
 gtk_widget_set_can_focus(GTK_WIDGET(icon_view), FALSE);
+
+context = gtk_widget_get_style_context(GTK_WIDGET(icon_view));
+gtk_style_context_add_class(context, GTK_STYLE_CLASS_VIEW);
 }
 
 static void

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/xfdesktop] 10/16: iconview: use the rubberband style class

2017-04-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfdesktop.

commit cc238940a909b0f833d0e886c325c2842e51e294
Author: Eric Koegel 
Date:   Wed Apr 19 13:46:16 2017 +0300

iconview: use the rubberband style class
---
 src/xfdesktop-icon-view.c | 57 ++-
 1 file changed, 17 insertions(+), 40 deletions(-)

diff --git a/src/xfdesktop-icon-view.c b/src/xfdesktop-icon-view.c
index 99bbbf1..afe1bfe 100644
--- a/src/xfdesktop-icon-view.c
+++ b/src/xfdesktop-icon-view.c
@@ -69,7 +69,6 @@
 #define SHADOW_Y_OFFSET   MAX(icon_view->priv->shadow_y_offset, 
icon_view->priv->selected_shadow_y_offset)
 #define TEXT_HEIGHT   (CELL_SIZE - ICON_SIZE - SPACING - (CELL_PADDING * 
2) - LABEL_RADIUS)
 #define MIN_MARGIN8
-#define DEFAULT_RUBBERBAND_ALPHA  64
 
 #if defined(DEBUG) && DEBUG > 0
 #define DUMP_GRID_LAYOUT(icon_view) \
@@ -153,9 +152,6 @@ struct _XfdesktopIconViewPrivate
 GdkRectangle band_rect;
 
 XfconfChannel *channel;
-
-GdkColor *selection_box_color;
-guchar selection_box_alpha;
 
 XfdesktopIcon *cursor;
 XfdesktopIcon *first_clicked_item;
@@ -668,7 +664,6 @@ xfdesktop_icon_view_init(XfdesktopIconView *icon_view)
 icon_view->priv->font_size = DEFAULT_FONT_SIZE;
 
 icon_view->priv->allow_rubber_banding = TRUE;
-icon_view->priv->selection_box_alpha = DEFAULT_RUBBERBAND_ALPHA;
 
 icon_view->priv->native_targets = gtk_target_list_new(icon_view_targets,
   icon_view_n_targets);
@@ -1893,19 +1888,8 @@ xfdesktop_icon_view_style_updated(GtkWidget *widget)
 XF_DEBUG("tooltip size is %d", icon_view->priv->tooltip_size_from_style);
 XF_DEBUG("label radius is %f", icon_view->priv->label_radius);
 
-if(icon_view->priv->selection_box_color) {
-gdk_color_free(icon_view->priv->selection_box_color);
-icon_view->priv->selection_box_color = NULL;
-}
-icon_view->priv->selection_box_alpha = DEFAULT_RUBBERBAND_ALPHA;
 
 GTK_WIDGET_CLASS(xfdesktop_icon_view_parent_class)->style_updated(widget);
-
-/* do this after we're sure we have a style set */
-if(!icon_view->priv->selection_box_color) {
-GtkStyle *style = gtk_widget_get_style(widget);
-icon_view->priv->selection_box_color = 
gdk_color_copy(>base[GTK_STATE_SELECTED]);
-}
 }
 
 static void
@@ -2049,11 +2033,6 @@ xfdesktop_icon_view_unrealize(GtkWidget *widget)
 g_object_unref(G_OBJECT(icon_view->priv->playout));
 icon_view->priv->playout = NULL;
 
-if(icon_view->priv->selection_box_color) {
-gdk_color_free(icon_view->priv->selection_box_color);
-icon_view->priv->selection_box_color = NULL;
-}
-
 gtk_widget_set_window(widget, NULL);
 gtk_widget_set_realized(widget, FALSE);
 }
@@ -2066,6 +2045,7 @@ xfdesktop_icon_view_draw(GtkWidget *widget,
 cairo_rectangle_list_t *rects;
 cairo_rectangle_int_t temp;
 GdkRectangle clipbox;
+GtkStyleContext *context;
 gint i;
 
 /*DBG("entering");*/
@@ -2084,13 +2064,9 @@ xfdesktop_icon_view_draw(GtkWidget *widget,
 if(icon_view->priv->definitely_rubber_banding) {
 GdkRectangle intersect;
 
-cairo_set_line_width(cr, 1);
-cairo_set_operator(cr, CAIRO_OPERATOR_OVER);
-cairo_set_source_rgba(cr,
-  icon_view->priv->selection_box_color->red / 
65535.,
-  icon_view->priv->selection_box_color->green / 
65535.,
-  icon_view->priv->selection_box_color->blue / 
65535.,
-  icon_view->priv->selection_box_alpha / 255.);
+context = gtk_widget_get_style_context(widget);
+gtk_style_context_save(context);
+gtk_style_context_add_class(context, GTK_STYLE_CLASS_RUBBERBAND);
 
 /* paint each rectangle in the expose region with the rubber
  * band color, semi-transparently */
@@ -2110,23 +2086,24 @@ xfdesktop_icon_view_draw(GtkWidget *widget,
 
 cairo_save(cr);
 
-/* paint the inner rubber band area.  we clip to the
- * rectangle in order to properly handle the border below */
+/* paint the rubber band area */
 gdk_cairo_rectangle(cr, );
 cairo_clip_preserve(cr);
-cairo_fill(cr);
-
-/* paint whatever part of the rubber band border is inside
- * this rectangle */
-gdk_cairo_set_source_color(cr, 
icon_view->priv->selection_box_color);
-cairo_rectangle(cr, icon_view->priv->band_rect.x + 0.5,
-icon_view->priv->band_rect.y + 0.5,
-icon_view->priv->band_rect.width - 1,
-icon_view->priv->band_rect.height - 1);
-cairo_stroke(cr);
+gtk_render_background(context, cr,

[Xfce4-commits] [xfce/xfdesktop] 03/16: gdk_app_launch_context_new -> gdk_display_get_app_launch_context

2017-04-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfdesktop.

commit c36c030dce43bd1d16e134ad8f1b6a3c16bf88dd
Author: Eric Koegel 
Date:   Wed Apr 19 06:15:07 2017 +0300

gdk_app_launch_context_new -> gdk_display_get_app_launch_context
---
 src/xfdesktop-file-icon-manager.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/xfdesktop-file-icon-manager.c 
b/src/xfdesktop-file-icon-manager.c
index 9d6d3e1..10a318f 100644
--- a/src/xfdesktop-file-icon-manager.c
+++ b/src/xfdesktop-file-icon-manager.c
@@ -785,7 +785,7 @@ xfdesktop_file_icon_menu_app_info_executed(GtkWidget 
*widget,
 files.data = file;
 
 /* prepare the launch context and configure its screen */
-context = gdk_app_launch_context_new();
+context = 
gdk_display_get_app_launch_context(gtk_widget_get_display(GTK_WIDGET(fmanager->priv->icon_view)));
 toplevel = gtk_widget_get_toplevel(GTK_WIDGET(fmanager->priv->icon_view));
 gdk_app_launch_context_set_screen(context, 
gtk_widget_get_screen(toplevel));
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/xfdesktop] 01/16: gdk_screen_get_number is deprecated

2017-04-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfdesktop.

commit bce1e19c3898cfbaadc814bcc064778d71165904
Author: Eric Koegel 
Date:   Wed Apr 19 06:11:24 2017 +0300

gdk_screen_get_number is deprecated
---
 src/xfdesktop-file-icon-manager.c | 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/xfdesktop-file-icon-manager.c 
b/src/xfdesktop-file-icon-manager.c
index 5ce6321..c9238f2 100644
--- a/src/xfdesktop-file-icon-manager.c
+++ b/src/xfdesktop-file-icon-manager.c
@@ -1870,7 +1870,7 @@ xfdesktop_file_icon_manager_save_icons(gpointer user_data)
   );
 
 g_snprintf(relpath, PATH_MAX, "xfce4/desktop/icons.screen%d-%dx%d.rc",
-   gdk_screen_get_number(fmanager->priv->gscreen),
+   0,
width,
height);
 
@@ -1971,7 +1971,7 @@ 
xfdesktop_file_icon_manager_get_cached_icon_position(XfdesktopFileIconManager *f
   );
 
 g_snprintf(relpath, PATH_MAX, "xfce4/desktop/icons.screen%d-%dx%d.rc",
-   gdk_screen_get_number(fmanager->priv->gscreen),
+   0,
width,
height);
 
@@ -1979,8 +1979,7 @@ 
xfdesktop_file_icon_manager_get_cached_icon_position(XfdesktopFileIconManager *f
 
 /* Check if we have to migrate from the old file format */
 if(filename == NULL) {
-g_snprintf(relpath, PATH_MAX, "xfce4/desktop/icons.screen%d.rc",
-gdk_screen_get_number(fmanager->priv->gscreen));
+g_snprintf(relpath, PATH_MAX, "xfce4/desktop/icons.screen%d.rc", 0);
 filename = xfce_resource_lookup(XFCE_RESOURCE_CONFIG, relpath);
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/xfdesktop] 04/16: Add the display name back into thunar dbus calls

2017-04-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfdesktop.

commit d7c811e1b593f16a48a6b87f8e5f51e5414f7831
Author: Eric Koegel 
Date:   Wed Apr 19 06:30:34 2017 +0300

Add the display name back into thunar dbus calls
---
 src/xfdesktop-file-utils.c | 60 +-
 1 file changed, 43 insertions(+), 17 deletions(-)

diff --git a/src/xfdesktop-file-utils.c b/src/xfdesktop-file-utils.c
index 2d6f1e7..44f687b 100644
--- a/src/xfdesktop-file-utils.c
+++ b/src/xfdesktop-file-utils.c
@@ -721,13 +721,14 @@ xfdesktop_file_utils_rename_file(GFile *file,
 fileman_proxy = xfdesktop_file_utils_peek_filemanager_proxy();
 if(fileman_proxy) {
 gchar *uri = g_file_get_uri(file);
+gchar *display_name = 
g_strdup(gdk_display_get_name(gdk_screen_get_display(screen)));
 gchar *startup_id = g_strdup_printf("_TIME%d", 
gtk_get_current_event_time());
 
 xfdesktop_file_utils_set_window_cursor(parent, GDK_WATCH);
 
 
 xfdesktop_file_manager_call_rename_file(fileman_proxy,
-uri, "", startup_id,
+uri, display_name, startup_id,
 NULL,
 rename_cb,
 parent);
@@ -736,6 +737,7 @@ xfdesktop_file_utils_rename_file(GFile *file,
 
 g_free(startup_id);
 g_free(uri);
+g_free(display_name);
 } else {
 xfce_message_dialog(parent,
 _("Rename Error"), "dialog-error",
@@ -774,6 +776,7 @@ xfdesktop_file_utils_bulk_rename(GFile *working_directory,
 gchar *directory = g_file_get_path(working_directory);
 guint nfiles = g_list_length(files);
 gchar **filenames = g_new0(gchar *, nfiles+1);
+gchar *display_name = 
g_strdup(gdk_display_get_name(gdk_screen_get_display(screen)));
 gchar *startup_id = g_strdup_printf("_TIME%d", 
gtk_get_current_event_time());
 GList *lp;
 gint n;
@@ -788,7 +791,7 @@ xfdesktop_file_utils_bulk_rename(GFile *working_directory,
 
 xfdesktop_thunar_call_bulk_rename(thunar_proxy,
   directory, (const gchar **)filenames,
-  FALSE, "", startup_id,
+  FALSE, display_name, startup_id,
   NULL,
   bulk_rename_cb,
   parent);
@@ -798,6 +801,7 @@ xfdesktop_file_utils_bulk_rename(GFile *working_directory,
 g_free(directory);
 g_free(startup_id);
 g_strfreev(filenames);
+g_free(display_name);
 } else {
 xfce_message_dialog(parent,
 _("Rename Error"), "dialog-error",
@@ -834,6 +838,7 @@ xfdesktop_file_utils_unlink_files(GList *files,
 if(fileman_proxy) {
 guint nfiles = g_list_length(files);
 gchar **uris = g_new0(gchar *, nfiles+1);
+gchar *display_name = 
g_strdup(gdk_display_get_name(gdk_screen_get_display(screen)));
 gchar *startup_id = g_strdup_printf("_TIME%d", 
gtk_get_current_event_time());
 GList *lp;
 gint n;
@@ -848,7 +853,7 @@ xfdesktop_file_utils_unlink_files(GList *files,
 
 xfdesktop_file_manager_call_unlink_files(fileman_proxy,
  "", (const gchar **)uris,
- "", startup_id,
+ display_name, startup_id,
  NULL,
  unlink_files_cb,
  parent);
@@ -857,6 +862,7 @@ xfdesktop_file_utils_unlink_files(GList *files,
 
 g_free(startup_id);
 g_strfreev(uris);
+g_free(display_name);
 } else {
 xfce_message_dialog(parent,
 _("Delete Error"), "dialog-error",
@@ -893,6 +899,7 @@ xfdesktop_file_utils_trash_files(GList *files,
 if(trash_proxy) {
 guint nfiles = g_list_length(files);
 gchar **uris = g_new0(gchar *, nfiles+1);
+gchar *display_name = 
g_strdup(gdk_display_get_name(gdk_screen_get_display(screen)));
 gchar *startup_id = g_strdup_printf("_TIME%d", 
gtk_get_current_event_time());
 GList *lp;
 gint n;
@@ -907,7 +914,7 @@ xfdesktop_file_utils_trash_files(GList *files,
 
 xfdesktop_trash_call_move_to_trash(trash_proxy,
(const gchar **)uris,
-   "", startup_id,
+   display_name, startup_id,

[Xfce4-commits] [xfce/xfdesktop] 12/16: Remove the style class when finished with them

2017-04-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfdesktop.

commit 33a766247421244353a05281eff36966a9265a47
Author: Eric Koegel 
Date:   Wed Apr 19 14:53:25 2017 +0300

Remove the style class when finished with them
---
 src/xfdesktop-icon-view.c | 4 
 1 file changed, 4 insertions(+)

diff --git a/src/xfdesktop-icon-view.c b/src/xfdesktop-icon-view.c
index a196f31..a222762 100644
--- a/src/xfdesktop-icon-view.c
+++ b/src/xfdesktop-icon-view.c
@@ -1845,6 +1845,8 @@ xfdesktop_icon_view_style_updated(GtkWidget *widget)
 {
 XfdesktopIconView *icon_view = XFDESKTOP_ICON_VIEW(widget);
 
+DBG("entering");
+
 gtk_widget_style_get(widget,
  "cell-spacing", _view->priv->cell_spacing,
  "cell-padding", _view->priv->cell_padding,
@@ -2076,6 +2078,7 @@ xfdesktop_icon_view_draw(GtkWidget *widget,
 cairo_restore(cr);
 }
 
+gtk_style_context_remove_class(context, GTK_STYLE_CLASS_RUBBERBAND);
 gtk_style_context_restore(context);
 }
 
@@ -2884,6 +2887,7 @@ xfdesktop_icon_view_draw_text(GtkWidget *icon_view, 
cairo_t *cr,
 gtk_render_background(context, cr, box_area->x, box_area->y, 
box_area->width, box_area->height);
 gtk_render_layout(context, cr, text_area->x, text_area->y, playout);
 
+gtk_style_context_remove_class(context, GTK_STYLE_CLASS_LABEL);
 gtk_style_context_restore(context);
 cairo_restore(cr);
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/xfdesktop] 07/16: iconview: switch to drawing the icon labels with CSS

2017-04-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfdesktop.

commit 5cb865ace179c43af9e0cf0559b4aced308b4ab3
Author: Eric Koegel 
Date:   Wed Apr 19 08:54:34 2017 +0300

iconview: switch to drawing the icon labels with CSS

When drawing the icon taxt we dynamically add the
GTK_STYLE_CLASS_LABEL and set the label state based on whatever
the icon state is (selected, active, or normal).
---
 src/Makefile.am   |   4 +-
 src/gtkcairoblur.c| 287 --
 src/gtkcairoblurprivate.h |  47 
 src/xfdesktop-icon-view.c | 269 ---
 4 files changed, 26 insertions(+), 581 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 5e03975..53310aa 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -45,9 +45,7 @@ desktop_icon_sources = \
xfdesktop-window-icon.c \
xfdesktop-window-icon.h \
xfdesktop-window-icon-manager.c \
-   xfdesktop-window-icon-manager.h \
-   gtkcairoblur.c \
-   gtkcairoblurprivate.h
+   xfdesktop-window-icon-manager.h
 
 desktop_file_icon_sources = \
xfdesktop-clipboard-manager.c \
diff --git a/src/gtkcairoblur.c b/src/gtkcairoblur.c
deleted file mode 100644
index 2ad5eb8..000
--- a/src/gtkcairoblur.c
+++ /dev/null
@@ -1,287 +0,0 @@
-/* GTK - The GIMP Toolkit
- *
- * Copyright (C) 2014 Red Hat
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public
- * License along with this library. If not, see .
- *
- * Written by:
- * Jasper St. Pierre 
- * Owen Taylor 
- */
-
-/*
- * All code in this file is based on Gtk+-3 code.
- * Files: gtk/gtkcairoblur.c and gtk/gtkcssshadowvalue.c
- */
-
-#include "gtkcairoblurprivate.h"
-
-#include 
-#include 
-
-/* This applies a single box blur pass to a horizontal range of pixels;
- * since the box blur has the same weight for all pixels, we can
- * implement an efficient sliding window algorithm where we add
- * in pixels coming into the window from the right and remove
- * them when they leave the windw to the left.
- *
- * d is the filter width; for even d shift indicates how the blurred
- * result is aligned with the original - does ' x ' go to ' yy' (shift=1)
- * or 'yy ' (shift=-1)
- */
-static void
-blur_xspan (guchar *row,
-guchar *tmp_buffer,
-int row_width,
-int d,
-int shift)
-{
-  int offset;
-  int sum = 0;
-  int i;
-
-  if (d % 2 == 1)
-offset = d / 2;
-  else
-offset = (d - shift) / 2;
-
-  /* All the conditionals in here look slow, but the branches will
-   * be well predicted and there are enough different possibilities
-   * that trying to write this as a series of unconditional loops
-   * is hard and not an obvious win. The main slow down here seems
-   * to be the integer division per pixel; one possible optimization
-   * would be to accumulate into two 16-bit integer buffers and
-   * only divide down after all three passes. (SSE parallel implementation
-   * of the divide step is possible.)
-   */
-  for (i = -d + offset; i < row_width + offset; i++)
-{
-  if (i >= 0 && i < row_width)
-sum += row[i];
-
-  if (i >= offset)
-{
-  if (i >= d)
-sum -= row[i - d];
-
-  tmp_buffer[i - offset] = (sum + d / 2) / d;
-}
-}
-
-  memcpy (row, tmp_buffer, row_width);
-}
-
-static void
-blur_rows (guchar *dst_buffer,
-   guchar *tmp_buffer,
-   int buffer_width,
-   int buffer_height,
-   int d)
-{
-  int i;
-
-  for (i = 0; i < buffer_height; i++)
-{
-  guchar *row = dst_buffer + i * buffer_width;
-
-  /* We want to produce a symmetric blur that spreads a pixel
-   * equally far to the left and right. If d is odd that happens
-   * naturally, but for d even, we approximate by using a blur
-   * on either side and then a centered blur of size d + 1.
-   * (technique also from the SVG specification)
-   */
-  if (d % 2 == 1)
-{
-  blur_xspan (row, tmp_buffer, buffer_width, d, 0);
-  blur_xspan (row, tmp_buffer, buffer_width, d, 0);
-  blur_xspan (row, tmp_buffer, buffer_width, d, 0);
-}
-  else
-{
-  

[Xfce4-commits] [xfce/xfdesktop] 08/16: Colorize the icon using style context

2017-04-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfdesktop.

commit db2337d1ff94830e4b9eb62fb84c40e4e1b7017c
Author: Eric Koegel 
Date:   Wed Apr 19 09:20:47 2017 +0300

Colorize the icon using style context
---
 src/xfdesktop-icon-view.c | 13 -
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/src/xfdesktop-icon-view.c b/src/xfdesktop-icon-view.c
index 387046d..5092bef 100644
--- a/src/xfdesktop-icon-view.c
+++ b/src/xfdesktop-icon-view.c
@@ -2990,7 +2990,18 @@ xfdesktop_icon_view_paint_icon(XfdesktopIconView 
*icon_view,
 GdkPixbuf *pix_free = NULL;
 
 if(state != GTK_STATE_FLAG_NORMAL) {
-pix_free = exo_gdk_pixbuf_colorize(pix, 
_widget_get_style(widget)->base[state]);
+GtkStyleContext *context;
+GdkRGBA rgba;
+GdkColor color;
+
+context = gtk_widget_get_style_context(widget);
+gtk_style_context_get_color(context, state, );
+
+color.red   = rgba.red   * G_MAXUINT16;
+color.green = rgba.green * G_MAXUINT16;
+color.blue  = rgba.blue  * G_MAXUINT16;
+
+pix_free = exo_gdk_pixbuf_colorize(pix, );
 pix = pix_free;
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/xfdesktop] branch master updated (6cde07e -> 58c9309)

2017-04-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

eric pushed a change to branch master
in repository xfce/xfdesktop.

  from  6cde07e   Fix make distcheck
   new  bce1e19   gdk_screen_get_number is deprecated
   new  cdd7275   Resolve gdk_screen_make_display_name deprecation warning
   new  c36c030   gdk_app_launch_context_new -> 
gdk_display_get_app_launch_context
   new  d7c811e   Add the display name back into thunar dbus calls
   new  bad9277   xfce-desktop: remove gtk style warnings
   new  fa1877e   Add the view class to the icon view
   new  5cb865a   iconview: switch to drawing the icon labels with CSS
   new  db2337d   Colorize the icon using style context
   new  ffb3f82   Remove unused variable
   new  cc23894   iconview: use the rubberband style class
   new  ee153dc   Remove unused code
   new  33a7662   Remove the style class when finished with them
   new  f4279d5   Fix a couple more screen deprecation warnings
   new  3907aba   Fix menu popups from command line
   new  13c901d   trivial: fix warning when no image set
   new  58c9309   Fix double menu popup

The 16 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 common/xfdesktop-common.c   |  20 +-
 src/Makefile.am |   4 +-
 src/gtkcairoblur.c  | 287 -
 src/gtkcairoblurprivate.h   |  47 -
 src/xfce-desktop.c  |  54 +++--
 src/xfce-desktop.h  |   6 +-
 src/xfdesktop-application.c |   4 +-
 src/xfdesktop-file-icon-manager.c   |  11 +-
 src/xfdesktop-file-utils.c  |  60 --
 src/xfdesktop-icon-view.c   | 403 +++-
 src/xfdesktop-window-icon-manager.c |   2 +-
 11 files changed, 181 insertions(+), 717 deletions(-)
 delete mode 100644 src/gtkcairoblur.c
 delete mode 100644 src/gtkcairoblurprivate.h

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/xfdesktop] 05/16: xfce-desktop: remove gtk style warnings

2017-04-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfdesktop.

commit bad92779a728d2565eb8842b503627f1a39e76a9
Author: Eric Koegel 
Date:   Wed Apr 19 06:56:23 2017 +0300

xfce-desktop: remove gtk style warnings
---
 src/xfce-desktop.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/xfce-desktop.c b/src/xfce-desktop.c
index 7b7d406..9a13a03 100644
--- a/src/xfce-desktop.c
+++ b/src/xfce-desktop.c
@@ -1168,7 +1168,6 @@ xfce_desktop_unrealize(GtkWidget *widget)
 
 gtk_window_set_icon(GTK_WINDOW(widget), NULL);
 
-gtk_style_detach(gtk_widget_get_style(widget));
 g_object_unref(G_OBJECT(gtk_widget_get_window(widget)));
 gtk_widget_set_window(widget, NULL);
 
@@ -1309,8 +1308,7 @@ style_refresh_cb(gpointer *w)
 return FALSE;
 
 /* reset the icon view style */
-gtk_widget_set_style(desktop->priv->icon_view, NULL);
-gtk_widget_reset_rc_styles(desktop->priv->icon_view);
+gtk_widget_reset_style(desktop->priv->icon_view);
 
 old_font_size = desktop->priv->system_font_size;
 if(xfce_desktop_ensure_system_font_size(desktop) != old_font_size

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/xfdesktop] 09/16: Remove unused variable

2017-04-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfdesktop.

commit ffb3f82a17ac2e8e13a594408c7c037b0ef72aa2
Author: Eric Koegel 
Date:   Wed Apr 19 09:21:40 2017 +0300

Remove unused variable
---
 src/xfdesktop-icon-view.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/xfdesktop-icon-view.c b/src/xfdesktop-icon-view.c
index 5092bef..99bbbf1 100644
--- a/src/xfdesktop-icon-view.c
+++ b/src/xfdesktop-icon-view.c
@@ -1865,7 +1865,6 @@ static void
 xfdesktop_icon_view_style_updated(GtkWidget *widget)
 {
 XfdesktopIconView *icon_view = XFDESKTOP_ICON_VIEW(widget);
-GtkWidget *dummy;
 
 gtk_widget_style_get(GTK_WIDGET(icon_view),
  "label-alpha",   _view->priv->label_alpha,

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/xfdesktop] 16/16: Fix double menu popup

2017-04-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfdesktop.

commit 58c9309e5364e2b06d94def4324c2ed7d2b455d5
Author: Eric Koegel 
Date:   Wed Apr 19 16:47:18 2017 +0300

Fix double menu popup

When right clicking on an icon, the button release event gets
called twice and was popping up the menu twice.
---
 src/xfce-desktop.c| 15 ---
 src/xfdesktop-icon-view.c |  5 +++--
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/src/xfce-desktop.c b/src/xfce-desktop.c
index f1047d3..fd95ffd 100644
--- a/src/xfce-desktop.c
+++ b/src/xfce-desktop.c
@@ -1184,7 +1184,7 @@ xfce_desktop_button_press_event(GtkWidget *w,
 guint state = evt->state;
 XfceDesktop *desktop = XFCE_DESKTOP(w);
 
-TRACE("entering");
+DBG("entering");
 
 g_return_val_if_fail(XFCE_IS_DESKTOP(w), FALSE);
 
@@ -1196,11 +1196,12 @@ xfce_desktop_button_press_event(GtkWidget *w,
 return FALSE;
 #endif
 /* no icons on the desktop, grab the focus and pop up the menu */
-if(!gtk_widget_has_grab(w))
+if(!gtk_widget_has_grab(w)) {
 gtk_grab_add(w);
 
 xfce_desktop_popup_root_menu(desktop, button, evt->time);
 return TRUE;
+}
 } else if(button == 2 || (button == 1 && (state & GDK_SHIFT_MASK)
   && (state & GDK_CONTROL_MASK)))
 {
@@ -1220,7 +1221,7 @@ static gboolean
 xfce_desktop_button_release_event(GtkWidget *w,
   GdkEventButton *evt)
 {
-TRACE("entering");
+DBG("entering");
 
 gtk_grab_remove(w);
 
@@ -1235,7 +1236,7 @@ xfce_desktop_popup_menu(GtkWidget *w)
 GdkEventButton *evt;
 guint button, etime;
 
-TRACE("entering");
+DBG("entering");
 
 evt = (GdkEventButton *)gtk_get_current_event();
 if(evt && GDK_BUTTON_PRESS == evt->type) {
@@ -1710,7 +1711,7 @@ xfce_desktop_do_menu_popup(XfceDesktop *desktop,
 GtkWidget *menu;
 GList *menu_children;
 
-TRACE("entering");
+DBG("entering");
 
 if(gtk_widget_has_screen(GTK_WIDGET(desktop)))
 screen = gtk_widget_get_screen(GTK_WIDGET(desktop));
@@ -1751,7 +1752,7 @@ xfce_desktop_popup_root_menu(XfceDesktop *desktop,
  guint button,
  guint activate_time)
 {
-TRACE("entering");
+DBG("entering");
 
 xfce_desktop_do_menu_popup(desktop, button, activate_time,
signals[SIG_POPULATE_ROOT_MENU]);
@@ -1763,7 +1764,7 @@ xfce_desktop_popup_secondary_root_menu(XfceDesktop 
*desktop,
guint button,
guint activate_time)
 {
-TRACE("entering");
+DBG("entering");
 
 xfce_desktop_do_menu_popup(desktop, button, activate_time,
signals[SIG_POPULATE_SECONDARY_ROOT_MENU]);
diff --git a/src/xfdesktop-icon-view.c b/src/xfdesktop-icon-view.c
index 239441a..a504302 100644
--- a/src/xfdesktop-icon-view.c
+++ b/src/xfdesktop-icon-view.c
@@ -917,7 +917,7 @@ xfdesktop_icon_view_button_press(GtkWidget *widget,
 g_signal_emit(G_OBJECT(icon_view), 
__signals[SIG_ICON_ACTIVATED],
   0, NULL);
 xfdesktop_icon_activated(icon);
-//xfdesktop_icon_view_unselect_item(icon_view, icon);
+
 xfdesktop_icon_view_unselect_all(icon_view);
 }
 }
@@ -1001,7 +1001,8 @@ xfdesktop_icon_view_button_release(GtkWidget *widget,
 
 if((evt->button == 3 || (evt->button == 1 && (evt->state & 
GDK_SHIFT_MASK))) &&
icon_view->priv->definitely_dragging == FALSE &&
-   icon_view->priv->definitely_rubber_banding == FALSE)
+   icon_view->priv->definitely_rubber_banding == FALSE &&
+   icon_view->priv->maybe_begin_drag == TRUE)
 {
 /* If we're in single click mode we may already have the icon, don't
  * find it again. */

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/xfdesktop] 15/16: trivial: fix warning when no image set

2017-04-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfdesktop.

commit 13c901da107c806294ca757144b2a68eb53772c8
Author: Eric Koegel 
Date:   Wed Apr 19 16:47:08 2017 +0300

trivial: fix warning when no image set
---
 common/xfdesktop-common.c | 20 ++--
 1 file changed, 14 insertions(+), 6 deletions(-)

diff --git a/common/xfdesktop-common.c b/common/xfdesktop-common.c
index acadd26..f3e60d9 100644
--- a/common/xfdesktop-common.c
+++ b/common/xfdesktop-common.c
@@ -217,10 +217,14 @@ xfdesktop_menu_create_menu_item_with_markup(const gchar 
*name,
 box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 gtk_widget_set_halign (label, GTK_ALIGN_START);
 
-gtk_widget_show (image);
-
 /* Add the image and label to the box, add the box to the menu item */
-gtk_box_pack_start (GTK_BOX (box), image, FALSE, FALSE, 0);
+if(image && GTK_IS_WIDGET(image)) {
+/* only add the widget if it exists */
+gtk_widget_show (image);
+
+gtk_box_pack_start (GTK_BOX (box), image, FALSE, FALSE, 0);
+}
+
 gtk_box_pack_start (GTK_BOX (box), label, TRUE, TRUE, 6);
 gtk_widget_show_all (box);
 gtk_container_add (GTK_CONTAINER (mi), box);
@@ -247,10 +251,14 @@ xfdesktop_menu_create_menu_item_with_mnemonic(const gchar 
*name,
 box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 gtk_widget_set_halign (label, GTK_ALIGN_START);
 
-gtk_widget_show (image);
-
 /* Add the image and label to the box, add the box to the menu item */
-gtk_box_pack_start (GTK_BOX (box), image, FALSE, FALSE, 0);
+if(image && GTK_IS_WIDGET(image)) {
+/* only add the widget if it exists */
+gtk_widget_show (image);
+
+gtk_box_pack_start (GTK_BOX (box), image, FALSE, FALSE, 0);
+}
+
 gtk_box_pack_start (GTK_BOX (box), label, TRUE, TRUE, 6);
 gtk_widget_show_all (box);
 gtk_container_add (GTK_CONTAINER (mi), box);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/xfdesktop] 02/16: Resolve gdk_screen_make_display_name deprecation warning

2017-04-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfdesktop.

commit cdd727598f0e601d6edc88668d40af98b0044b88
Author: Eric Koegel 
Date:   Wed Apr 19 06:12:35 2017 +0300

Resolve gdk_screen_make_display_name deprecation warning
---
 src/xfdesktop-file-icon-manager.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/xfdesktop-file-icon-manager.c 
b/src/xfdesktop-file-icon-manager.c
index c9238f2..9d6d3e1 100644
--- a/src/xfdesktop-file-icon-manager.c
+++ b/src/xfdesktop-file-icon-manager.c
@@ -1069,7 +1069,7 @@ xfdesktop_file_icon_menu_create_launcher(GtkWidget 
*widget,
 gchar *cmd = NULL, *uri = NULL, *display_name;
 GError *error = NULL;
 
-display_name = gdk_screen_make_display_name(fmanager->priv->gscreen);
+display_name = g_strdup (gdk_display_get_name (gdk_screen_get_display 
(fmanager->priv->gscreen)));
 
 file = g_object_get_data(G_OBJECT(widget), "file");
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [panel-plugins/xfce4-sensors-plugin] 01/03: Reworked the nvidia sensors implementation; removed double memory leak therein. Moved define ZERO_KELVIN to central types file instead of in

2017-04-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

timystery pushed a commit to branch master
in repository panel-plugins/xfce4-sensors-plugin.

commit 18de320c85585fd33ae36e94671364fc72879c2f
Author: Fabian 
Date:   Wed Apr 19 16:40:55 2017 +0200

Reworked the nvidia sensors implementation; removed double memory leak 
therein.
Moved define ZERO_KELVIN to central types file instead of individual 
implementations.
---
 include/hddtemp.h |   4 +-
 include/nvidia.h  |   4 +-
 include/types.h   |   2 +
 lib/middlelayer.c |   4 +-
 lib/nvidia.c  | 179 +++---
 5 files changed, 97 insertions(+), 96 deletions(-)

diff --git a/include/hddtemp.h b/include/hddtemp.h
index 8214155..a3e42a1 100644
--- a/include/hddtemp.h
+++ b/include/hddtemp.h
@@ -22,10 +22,12 @@
 #ifndef XFCE4_SENSORS_HDDTEMP_H
 #define XFCE4_SENSORS_HDDTEMP_H
 
+/* Package includes */
+#include 
+
 /* Gtk/Glib includes */
 #include 
 
-#define ZERO_KELVIN -273 /*.15 */
 #define HDDTEMP_DISK_SLEEPING   ZERO_KELVIN /* must be larger than the 
remaining ones */
 #define NO_VALID_HDDTEMP_PROGRAMZERO_KELVIN-1 /* the calls/communication 
to hddtemp don't work */
 #define NO_VALID_TEMPERATURE_VALUE  ZERO_KELVIN-2 /* the value for a single 
disk is invalid */
diff --git a/include/nvidia.h b/include/nvidia.h
index 16030e8..3158c9f 100644
--- a/include/nvidia.h
+++ b/include/nvidia.h
@@ -33,14 +33,14 @@
  * @param chips: Pointer to pointer array to chips
  * @return number of detected chip features
  */
-int initialize_nvidia (GPtrArray *chips);
+int initialize_nvidia (GPtrArray *arr_ptr_chips);
 
 /**
  * Refresh an nvidia chip's feature
  * @param chip_feature: Pointer to chip feature to refresh
  * @param data: currently unused
  */
-void refresh_nvidia (gpointer chip_feature, gpointer data);
+void refresh_nvidia (gpointer ptr_chipfeature, gpointer ptr_unused);
 
 /**
  * Read the temperature value from GPU
diff --git a/include/types.h b/include/types.h
index b9162ac..60c6962 100644
--- a/include/types.h
+++ b/include/types.h
@@ -57,6 +57,8 @@ typedef struct sensors_chip_name {
 #endif
 
 
+#define ZERO_KELVIN -273 /*.15 */
+
 /**
  * temperature scale to show values in
  */
diff --git a/lib/middlelayer.c b/lib/middlelayer.c
index 91ed7c2..0b40cd3 100644
--- a/lib/middlelayer.c
+++ b/lib/middlelayer.c
@@ -90,10 +90,10 @@ refresh_chip (gpointer ptr_chip, gpointer ptr_data)
 {
 t_chip *ptr_chip_structure;
 
-g_assert (ptr_chip != NULL);
-
 TRACE ("enters refresh_chip");
 
+g_assert (ptr_chip != NULL);
+
 ptr_chip_structure = (t_chip*) ptr_chip;
 
 switch (ptr_chip_structure->type)
diff --git a/lib/nvidia.c b/lib/nvidia.c
index dfeadd4..a8cf50d 100644
--- a/lib/nvidia.c
+++ b/lib/nvidia.c
@@ -1,4 +1,7 @@
-/* Copyright (c) 2011 Amir Aupov 
+/* File: nvidia.c
+ *
+ * Copyright (c) 2011 Amir Aupov 
+ * Copyright (c) 2017 Fabian Nowak 
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -42,53 +45,50 @@ Display *nvidia_sensors_display;
 /* Local functions */
 int read_gpus (t_chip *chip);
 
-/* Defines */
-#define ZERO_KELVIN -273
-
 /* -- 
*/
 int
-initialize_nvidia (GPtrArray *chips)
+initialize_nvidia (GPtrArray *arr_ptr_chips)
 {
 int retval;
 int num_gpus;
-t_chip *chip;
-t_chipfeature *chipfeature;
+t_chip *ptr_chip;
+t_chipfeature *ptr_chipfeature;
 
 TRACE ("enters initialize_nvidia");
 
-chip = g_new0 (t_chip, 1);
-//chip -> chip_name = g_strdup(_("nvidia"));
-chip -> chip_features = g_ptr_array_new ();
-chip -> num_features = 0;
-chip -> description = g_strdup(_("NVidia GPU core temperature"));
-chip -> name = g_strdup(_("nvidia"));
-chip -> sensorId = g_strdup("nvidia");
-chip -> type = GPU;
-
-num_gpus = read_gpus (chip);
-if (chip -> num_features > 0) {
+g_assert (arr_ptr_chips != NULL);
+
+ptr_chip = g_new0 (t_chip, 1);
+ptr_chip->chip_features = g_ptr_array_new ();
+ptr_chip->num_features = 0;
+ptr_chip->description = g_strdup(_("NVidia GPU core temperature"));
+ptr_chip->name = g_strdup(_("nvidia"));
+ptr_chip->sensorId = g_strdup("nvidia");
+ptr_chip->type = GPU;
+
+num_gpus = read_gpus (ptr_chip);
+if (ptr_chip->num_features > 0) {
 int i;
 for (i = 0; i < num_gpus; i++) {
-chipfeature = g_ptr_array_index (chip -> chip_features, i);
-g_assert (chipfeature != NULL);
-chipfeature -> address = i;
-chipfeature -> name = g_strdup(chipfeature -> devicename);
-chipfeature -> color = g_strdup ("#00");
-chipfeature -> valid = TRUE;
-//chipfeature -> formatted_value = g_strdup 

[Xfce4-commits] [panel-plugins/xfce4-sensors-plugin] 02/03: Resorted include files in nvidia implementation

2017-04-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

timystery pushed a commit to branch master
in repository panel-plugins/xfce4-sensors-plugin.

commit e8e0c5969a1dbd16fad6b9a86ceb461403a242eb
Author: Fabian 
Date:   Wed Apr 19 16:44:33 2017 +0200

Resorted include files in nvidia implementation
---
 lib/nvidia.c | 9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/lib/nvidia.c b/lib/nvidia.c
index a8cf50d..70f2cc4 100644
--- a/lib/nvidia.c
+++ b/lib/nvidia.c
@@ -23,10 +23,6 @@
 #endif
 
 /* Package includes */
-#include 
-#include 
-#include 
-#include 
 #include 
 #include 
 #include 
@@ -39,6 +35,11 @@
 #include 
 #include 
 
+#include 
+#include 
+#include 
+#include 
+
 /* Global variables */
 Display *nvidia_sensors_display;
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [panel-plugins/xfce4-sensors-plugin] branch master updated (14afe2a -> ea4de23)

2017-04-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

timystery pushed a change to branch master
in repository panel-plugins/xfce4-sensors-plugin.

  from  14afe2a   I18n: Update translation nb (100%).
   new  18de320   Reworked the nvidia sensors implementation; removed 
double memory leak therein. Moved define ZERO_KELVIN to central types file 
instead of individual implementations.
   new  e8e0c59   Resorted include files in nvidia implementation
   new  ea4de23   Merge branch 'master' of 
ssh://git.xfce.org/panel-plugins/xfce4-sensors-plugin

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 include/hddtemp.h |   4 +-
 include/nvidia.h  |   4 +-
 include/types.h   |   2 +
 lib/middlelayer.c |   4 +-
 lib/nvidia.c  | 188 +++---
 5 files changed, 102 insertions(+), 100 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [panel-plugins/xfce4-sensors-plugin] 03/03: Merge branch 'master' of ssh://git.xfce.org/panel-plugins/xfce4-sensors-plugin

2017-04-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

timystery pushed a commit to branch master
in repository panel-plugins/xfce4-sensors-plugin.

commit ea4de236cddb400225f793ced5ff0c66a87f0ff9
Merge: e8e0c59 14afe2a
Author: Fabian 
Date:   Wed Apr 19 16:46:41 2017 +0200

Merge branch 'master' of 
ssh://git.xfce.org/panel-plugins/xfce4-sensors-plugin

 po/nb.po | 154 +++
 1 file changed, 77 insertions(+), 77 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [apps/xfdashboard] branch master updated (0c1b74b -> 306930c)

2017-04-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

nomad pushed a change to branch master
in repository apps/xfdashboard.

  from  0c1b74b   It seems that newer Glib version do better check marshal 
parameters and now recognize that I have specified the wrong type of 
G_TYPE_OBJECT at signal actions for the event parameter. ClutterEvent is a 
boxed type (G_TYPE_BOXED) and therefore the marshal parameter must be corrected 
to it.
   new  306930c   Only show notification if a notification box is known 
where the notification could be shown at

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 libxfdashboard/stage.c | 11 ++-
 1 file changed, 10 insertions(+), 1 deletion(-)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [apps/xfdashboard] 01/01: Only show notification if a notification box is known where the notification could be shown at

2017-04-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

nomad pushed a commit to branch master
in repository apps/xfdashboard.

commit 306930cd8e267be44c97fc74882414a93f3f9e84
Author: Stephan Haller 
Date:   Tue Apr 18 10:30:27 2017 +0200

Only show notification if a notification box is known where the 
notification could be shown at
---
 libxfdashboard/stage.c | 11 ++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/libxfdashboard/stage.c b/libxfdashboard/stage.c
index 5d1d70a..42a4024 100644
--- a/libxfdashboard/stage.c
+++ b/libxfdashboard/stage.c
@@ -576,7 +576,7 @@ static void 
_xfdashboard_stage_on_window_opened(XfdashboardStage *self,
xfdashboard_window_tracker_window_make_stage_window(priv->stageWindow);
 
/* Disconnect signal handler as this is a one-time setup of stage 
window */
-   XFDASHBOARD_DEBUG(self, ACTOR, "Stage window was opened and set up. 
Removing signal handler.");
+   XFDASHBOARD_DEBUG(self, ACTOR, "Stage window was opened and set up. 
Removing signal handler");
g_signal_handlers_disconnect_by_func(priv->windowTracker, 
G_CALLBACK(_xfdashboard_stage_on_window_opened), self);
 
/* Set focus */
@@ -1983,6 +1983,15 @@ void 
xfdashboard_stage_show_notification(XfdashboardStage *self, const gchar *in
priv->notificationTimeoutID=0;
}
 
+   /* Only show notification if a notification box is known where the 
notification
+* could be shown at.
+*/
+   if(!priv->notification)
+   {
+   XFDASHBOARD_DEBUG(self, ACTOR, "Cannot show notification 
because no notification box is available");
+   return;
+   }
+
/* Show notification on stage */
xfdashboard_text_box_set_text(XFDASHBOARD_TEXT_BOX(priv->notification), 
inText);

xfdashboard_text_box_set_primary_icon(XFDASHBOARD_TEXT_BOX(priv->notification), 
inIconName);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/xfce4-panel] branch master updated (3c1c2ba -> 4bb48b0)

2017-04-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

ochosi pushed a change to branch master
in repository xfce/xfce4-panel.

  from  3c1c2ba   I18n: Update translation nb (100%).
   new  4bb48b0   Replace more GtkStock items with icons and text (Bug 
#13505)

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 panel/main.c | 2 +-
 panel/panel-application.c| 4 ++--
 panel/panel-preferences-dialog.c | 2 +-
 plugins/systray/systray.c| 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/xfce4-panel] 01/01: Replace more GtkStock items with icons and text (Bug #13505)

2017-04-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

ochosi pushed a commit to branch master
in repository xfce/xfce4-panel.

commit 4bb48b03e9236634acba25d8f07d77c998091ef7
Author: Simon Steinbeiss 
Date:   Wed Apr 19 08:47:40 2017 +0200

Replace more GtkStock items with icons and text (Bug #13505)

With deprecating GtkStock in libxfce4ui we need to explicitely
set the labels and icons not to get empty buttons.
---
 panel/main.c | 2 +-
 panel/panel-application.c| 4 ++--
 panel/panel-preferences-dialog.c | 2 +-
 plugins/systray/systray.c| 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/panel/main.c b/panel/main.c
index 2761658..d9f06d1 100644
--- a/panel/main.c
+++ b/panel/main.c
@@ -400,7 +400,7 @@ dbus_return:
 {
   g_clear_error ();
 
-  if (xfce_dialog_confirm (NULL, GTK_STOCK_EXECUTE, NULL,
+  if (xfce_dialog_confirm (NULL, "system-run", _("Execute"),
_("Do you want to start the panel? If 
you do, make sure "
  "you save the session on logout, so 
the panel is "
  "automatically started the next time 
you login."),
diff --git a/panel/panel-application.c b/panel/panel-application.c
index 54c1aa7..5c5bc23 100644
--- a/panel/panel-application.c
+++ b/panel/panel-application.c
@@ -979,7 +979,7 @@ panel_application_drag_data_received (PanelWindow  
*window,
   if (G_LIKELY (uris != NULL))
 {
   n_items = g_strv_length (uris);
-  if (xfce_dialog_confirm (NULL, GTK_STOCK_ADD, _("Create 
_Launcher"),
+  if (xfce_dialog_confirm (NULL, "list-add", _("Create 
_Launcher"),
_("This will create a new launcher 
plugin on the panel and inserts "
  "the dropped files as menu 
items."),
ngettext ("Create new launcher from 
%d desktop file",
@@ -1721,7 +1721,7 @@ panel_application_logout (void)
 }
   else if (g_getenv ("SESSION_MANAGER") == NULL)
 {
-  if (xfce_dialog_confirm (NULL, GTK_STOCK_QUIT, NULL,
+  if (xfce_dialog_confirm (NULL, "application-exit", _("Quit"),
   _("You have started X without session manager. Clicking Quit will 
close the X server."),
   _("Are you sure you want to quit the panel?")))
 command = "xfce4-panel --quit";
diff --git a/panel/panel-preferences-dialog.c b/panel/panel-preferences-dialog.c
index 92ed352..2c1871a 100644
--- a/panel/panel-preferences-dialog.c
+++ b/panel/panel-preferences-dialog.c
@@ -926,7 +926,7 @@ panel_preferences_dialog_panel_remove (GtkWidget
  *widget,
 return;
 
   toplevel = gtk_widget_get_toplevel (widget);
-  if (xfce_dialog_confirm (GTK_WINDOW (toplevel), GTK_STOCK_REMOVE, NULL,
+  if (xfce_dialog_confirm (GTK_WINDOW (toplevel), "list-remove", _("Remove"),
   _("The panel and plugin configurations will be permanently removed"),
   _("Are you sure you want to remove panel %d?"),
   panel_window_get_id (dialog->active)))
diff --git a/plugins/systray/systray.c b/plugins/systray/systray.c
index 965642b..4d1ade4 100644
--- a/plugins/systray/systray.c
+++ b/plugins/systray/systray.c
@@ -1020,7 +1020,7 @@ systray_plugin_dialog_clear_clicked (GtkWidget 
*button,
   panel_return_if_fail (XFCE_IS_SYSTRAY_BOX (plugin->box));
 
   if (xfce_dialog_confirm (GTK_WINDOW (gtk_widget_get_toplevel (button)),
-   GTK_STOCK_CLEAR, NULL, NULL,
+   "edit-clear", _("Clear"), NULL,
_("Are you sure you want to clear the list of "
  "known applications?")))
 {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits