[Xfce4-commits] xfce4-settings:master l10n: Updated Arabic (ar) translation to 99%

2013-04-10 Thread Transifex
Updating branch refs/heads/master
 to f69d0b721e1113dd0ba6c2ffecda966842a2bd00 (commit)
   from c59e45c0d2379072b3afdcfae1b43e825f4546be (commit)

commit f69d0b721e1113dd0ba6c2ffecda966842a2bd00
Author: محمد الحرقان malh...@gmail.com
Date:   Wed Apr 10 18:19:47 2013 +0200

l10n: Updated Arabic (ar) translation to 99%

New status: 351 messages complete with 2 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

 po/ar.po |  153 +++---
 1 files changed, 87 insertions(+), 66 deletions(-)

diff --git a/po/ar.po b/po/ar.po
index 042696b..7c5b617 100644
--- a/po/ar.po
+++ b/po/ar.po
@@ -3,23 +3,24 @@
 # This file is distributed under the same license as the PACKAGE package.
 # mohammad malh...@gmail.com, 2012.
 # كريم أولاد الشلحة herr.linu...@gmail.com, 2012.
-# محمد الحرقان malh...@gmail.com, 2012.
+# محمد الحرقان malh...@gmail.com, 2012, 2013.
 msgid 
 msgstr 
 Project-Id-Version: Xfce4-settings\n
 Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2013-02-02 09:06+\n
-PO-Revision-Date: 2012-11-11 18:10+0300\n
+POT-Creation-Date: 2013-04-10 11:27+\n
+PO-Revision-Date: 2013-04-10 19:20+0300\n
 Last-Translator: محمد الحرقان malh...@gmail.com\n
-Language-Team: http://www.vertaal.com.ar/files/factory/ar/list/\n;
+Language-Team: Translation Teams - Arabi\n
+Language: ar\n
 MIME-Version: 1.0\n
 Content-Type: text/plain; charset=utf-8\n
 Content-Transfer-Encoding: 8bit\n
-Language: ar\n
-Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100=3  
n%100=10 ? 3 : n%100=11 ? 4 : 5;\n
+Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100=3 
+ n%100=10 ? 3 : n%100=11 ? 4 : 5;\n
+X-Generator: Virtaal 0.7.1\n
 X-Poedit-Language: Arabic\n
 X-Poedit-Country: MOROCCO\n
-X-Generator: Virtaal 0.7.1\n
 
 #: ../dialogs/accessibility-settings/accessibility-dialog.glade.h:1
 msgid Acceleration _profile:
@@ -222,21 +223,21 @@ msgid pixels/sec
 msgstr بكسل/ثانية
 
 #: ../dialogs/accessibility-settings/main.c:43
-#: ../dialogs/appearance-settings/main.c:94
+#: ../dialogs/appearance-settings/main.c:95
 #: ../dialogs/display-settings/main.c:137
 #: ../dialogs/keyboard-settings/main.c:39 ../dialogs/mouse-settings/main.c:79
 msgid Settings manager socket
 msgstr مقبس مدير الإعدادات
 
 #: ../dialogs/accessibility-settings/main.c:43
-#: ../dialogs/appearance-settings/main.c:94
+#: ../dialogs/appearance-settings/main.c:95
 #: ../dialogs/display-settings/main.c:137
 #: ../dialogs/keyboard-settings/main.c:39 ../dialogs/mouse-settings/main.c:79
 msgid SOCKET ID
 msgstr مُعرف المقبس
 
 #: ../dialogs/accessibility-settings/main.c:44
-#: ../dialogs/appearance-settings/main.c:95
+#: ../dialogs/appearance-settings/main.c:96
 #: ../dialogs/display-settings/main.c:138
 #: ../dialogs/keyboard-settings/main.c:40 ../dialogs/mime-settings/main.c:40
 #: ../dialogs/mouse-settings/main.c:80 ../xfce4-settings-editor/main.c:43
@@ -245,29 +246,29 @@ msgid Version information
 msgstr معلومات النسخة
 
 #: ../dialogs/accessibility-settings/main.c:192
-#: ../dialogs/appearance-settings/main.c:966
+#: ../dialogs/appearance-settings/main.c:1006
 #: ../dialogs/display-settings/main.c:1943
 #: ../dialogs/keyboard-settings/main.c:76 ../dialogs/mime-settings/main.c:62
-#: ../dialogs/mouse-settings/main.c:1597 ../xfce4-settings-editor/main.c:63
+#: ../dialogs/mouse-settings/main.c:1611 ../xfce4-settings-editor/main.c:63
 #: ../xfsettingsd/main.c:187 ../xfce4-settings-manager/main.c:61
 #, c-format
 msgid Type '%s --help' for usage.
 msgstr اكتب '%s --help' لدليل المستخدم.
 
 #: ../dialogs/accessibility-settings/main.c:211
-#: ../dialogs/appearance-settings/main.c:985
+#: ../dialogs/appearance-settings/main.c:1025
 #: ../dialogs/display-settings/main.c:1962
 #: ../dialogs/keyboard-settings/main.c:92 ../dialogs/mime-settings/main.c:81
-#: ../dialogs/mouse-settings/main.c:1616 ../xfce4-settings-editor/main.c:82
+#: ../dialogs/mouse-settings/main.c:1630 ../xfce4-settings-editor/main.c:82
 #: ../xfsettingsd/main.c:203 ../xfce4-settings-manager/main.c:77
 msgid The Xfce development team. All rights reserved.
 msgstr فريق تطوير إكسفس. كل الحقوق محفوظة.
 
 #: ../dialogs/accessibility-settings/main.c:212
-#: ../dialogs/appearance-settings/main.c:986
+#: ../dialogs/appearance-settings/main.c:1026
 #: ../dialogs/display-settings/main.c:1963
 #: ../dialogs/keyboard-settings/main.c:93 ../dialogs/mime-settings/main.c:82
-#: ../dialogs/mouse-settings/main.c:1617 ../xfce4-settings-editor/main.c:83
+#: ../dialogs/mouse-settings/main.c:1631 ../xfce4-settings-editor/main.c:83
 #: ../xfsettingsd/main.c:204 ../xfce4-settings-manager/main.c:78
 #, c-format
 msgid Please report bugs to %s.
@@ -370,7 +371,7 @@ msgid Menus and Buttons
 msgstr قوائم وازرار
 
 #: ../dialogs/appearance-settings/appearance-dialog.glade.h:20
-#: ../dialogs/appearance-settings/main.c:852
+#: ../dialogs/appearance-settings/main.c:892
 #: 

[Xfce4-commits] xfce4-panel:master l10n: Updated Arabic (ar) translation to 100%

2013-04-10 Thread Transifex
Updating branch refs/heads/master
 to 27dc5ba4025e9888ffd68113211ddc9693ecbe01 (commit)
   from 0c1006f024404f69790b63965d8073660faadf50 (commit)

commit 27dc5ba4025e9888ffd68113211ddc9693ecbe01
Author: محمد الحرقان malh...@gmail.com
Date:   Wed Apr 10 18:29:21 2013 +0200

l10n: Updated Arabic (ar) translation to 100%

New status: 391 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

 po/ar.po |  185 ++
 1 files changed, 102 insertions(+), 83 deletions(-)

diff --git a/po/ar.po b/po/ar.po
index 1122e55..93f71d1 100644
--- a/po/ar.po
+++ b/po/ar.po
@@ -4,15 +4,15 @@
 # Saleh Alhathal hathal...@hotmail.com, 2004.
 # mohammad malh...@gmail.com, 2012.
 # كريم أولاد الشلحة herr.linu...@gmail.com, 2012, 2013.
-# محمد الحرقان malh...@gmail.com, 2012.
+# محمد الحرقان malh...@gmail.com, 2012, 2013.
 msgid 
 msgstr 
 Project-Id-Version: xfce4-panel 4.7.0\n
 Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2012-11-18 02:45+\n
-PO-Revision-Date: 2013-02-03 12:02+0100\n
-Last-Translator: كريم أولاد الشلحة herr.linu...@gmail.com\n
-Language-Team: فريق تعريب إكسفس\n
+POT-Creation-Date: 2013-04-10 16:09+\n
+PO-Revision-Date: 2013-04-10 19:30+0300\n
+Last-Translator: محمد الحرقان malh...@gmail.com\n
+Language-Team: Translation Teams - Arabi\n
 Language: ar\n
 MIME-Version: 1.0\n
 Content-Type: text/plain; charset=UTF-8\n
@@ -24,7 +24,7 @@ msgstr 
 #: ../panel-desktop-handler.desktop.in.h:1
 msgid 
 Add a new launcher to the panel based on the information of this desktop file
-msgstr أضف مُطْلِق جديد إلى اللوحةبالاستناد لمعلومات لملف سطح المكتب هذا
+msgstr أضف مُطْلِق جديد إلى اللوحة استناد لمعلومات لملف سطح المكتب هذا
 
 #: ../panel-desktop-handler.desktop.in.h:2
 msgid Create Launcher on the panel
@@ -41,38 +41,38 @@ msgid Panel
 msgstr لوحة
 
 #. I18N: %s is the name of the plugin
-#: ../libxfce4panel/xfce-panel-plugin.c:1037
+#: ../libxfce4panel/xfce-panel-plugin.c:1029
 #: ../panel/panel-preferences-dialog.c:1099
 #, c-format
 msgid Are you sure that you want to remove \%s\?
 msgstr متأكد أنك تريد حذف \%s\؟
 
-#: ../libxfce4panel/xfce-panel-plugin.c:1042
+#: ../libxfce4panel/xfce-panel-plugin.c:1034
 #: ../panel/panel-preferences-dialog.c:1102
 msgid If you remove the item from the panel, it is permanently lost.
 msgstr إدا قمت بحذف العنصر من اللوحة, سيتم فقدانه نهائيا.
 
 #. move item
-#: ../libxfce4panel/xfce-panel-plugin.c:1202
+#: ../libxfce4panel/xfce-panel-plugin.c:1194
 msgid _Move
 msgstr _انقل
 
-#: ../libxfce4panel/xfce-panel-plugin.c:1236
+#: ../libxfce4panel/xfce-panel-plugin.c:1228
 msgid Pane_l
 msgstr الش_ريط
 
 #. add new items
-#: ../libxfce4panel/xfce-panel-plugin.c:1244 ../panel/panel-window.c:2365
+#: ../libxfce4panel/xfce-panel-plugin.c:1236 ../panel/panel-window.c:2365
 msgid Add _New Items...
 msgstr أضف عناصر _جديدة...
 
 #. customize panel
-#: ../libxfce4panel/xfce-panel-plugin.c:1255 ../panel/panel-window.c:2376
+#: ../libxfce4panel/xfce-panel-plugin.c:1247 ../panel/panel-window.c:2376
 msgid Panel Pr_eferences...
 msgstr تفضيلات اللوحة...
 
 #. logout item
-#: ../libxfce4panel/xfce-panel-plugin.c:1272 ../panel/panel-window.c:2404
+#: ../libxfce4panel/xfce-panel-plugin.c:1264 ../panel/panel-window.c:2404
 msgid Log _Out
 msgstr تسجيل الخروج
 
@@ -214,17 +214,17 @@ msgstr[3] أنشئ مطلق جديد من %d ملفات سطح المكتب
 msgstr[4] أنشئ مطلق جديد من %d ملفات سطح المكتب
 msgstr[5] أنشئ مطلق جديد من %d ملفات سطح المكتب
 
-#: ../panel/panel-application.c:1719
+#: ../panel/panel-application.c:1725
 msgid 
 You have started X without session manager. Clicking Quit will close the X 
 server.
 msgstr لقد قمت بتشغيل X بدون مدير الجلسة. إضغط على الخروج لإعلاق خادم X.
 
-#: ../panel/panel-application.c:1720
+#: ../panel/panel-application.c:1726
 msgid Are you sure you want to quit the panel?
 msgstr هل تريد حقا الخروج من اللوحة؟
 
-#: ../panel/panel-application.c:1728
+#: ../panel/panel-application.c:1734
 #, c-format
 msgid Failed to execute command \%s\
 msgstr فشل تنفيد الأمر \%s\
@@ -839,7 +839,7 @@ msgstr فشل في تشغيل الإجراء \%s\
 
 #: ../plugins/actions/actions.c:1142
 msgid John Doe
-msgstr John Doe
+msgstr فلان الفلاني
 
 #: ../plugins/actions/actions.desktop.in.h:2
 msgid Log out, lock or other system actions
@@ -920,23 +920,23 @@ msgstr _أيقونة:
 msgid _Show button title
 msgstr _عرض عنوان الزر
 
-#: ../plugins/applicationsmenu/applicationsmenu.c:565
+#: ../plugins/applicationsmenu/applicationsmenu.c:557
 #: ../plugins/directorymenu/directorymenu.c:388
 msgid Select An Icon
 msgstr اختر أيقونة
 
-#: ../plugins/applicationsmenu/applicationsmenu.c:603
-#: ../plugins/applicationsmenu/applicationsmenu.c:844
-#: ../plugins/launcher/launcher.c:2308
+#: ../plugins/applicationsmenu/applicationsmenu.c:598
+#: ../plugins/applicationsmenu/applicationsmenu.c:839
+#: ../plugins/clock/clock.c:865 ../plugins/launcher/launcher.c:2308
 #, c-format
 msgid Failed to 

[Xfce4-commits] xfce4-settings:master l10n: Updated Arabic (ar) translation to 100%

2013-04-10 Thread Transifex
Updating branch refs/heads/master
 to 4718f0f08e91250a2a55b6be1088c7d15a25e790 (commit)
   from f69d0b721e1113dd0ba6c2ffecda966842a2bd00 (commit)

commit 4718f0f08e91250a2a55b6be1088c7d15a25e790
Author: محمد الحرقان malh...@gmail.com
Date:   Wed Apr 10 18:32:54 2013 +0200

l10n: Updated Arabic (ar) translation to 100%

New status: 353 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

 po/ar.po |9 -
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/po/ar.po b/po/ar.po
index 7c5b617..88a3eac 100644
--- a/po/ar.po
+++ b/po/ar.po
@@ -9,7 +9,7 @@ msgstr 
 Project-Id-Version: Xfce4-settings\n
 Report-Msgid-Bugs-To: \n
 POT-Creation-Date: 2013-04-10 11:27+\n
-PO-Revision-Date: 2013-04-10 19:20+0300\n
+PO-Revision-Date: 2013-04-10 19:34+0300\n
 Last-Translator: محمد الحرقان malh...@gmail.com\n
 Language-Team: Translation Teams - Arabi\n
 Language: ar\n
@@ -1146,9 +1146,9 @@ msgstr %g م ث
 
 #. seconds value for some of the scales in the dialog
 #: ../dialogs/mouse-settings/main.c:145
-#, fuzzy, c-format
+#, c-format
 msgid %.1f s
-msgstr %.1f هرتز
+msgstr %.1f ث
 
 #: ../dialogs/mouse-settings/mouse-dialog.glade.h:1
 msgid Acceleratio_n:
@@ -1208,9 +1208,8 @@ msgid Drag and Drop
 msgstr سحب وإسقاط
 
 #: ../dialogs/mouse-settings/mouse-dialog.glade.h:15
-#, fuzzy
 msgid Duratio_n:
-msgstr تسارع:
+msgstr المدة:
 
 #: ../dialogs/mouse-settings/mouse-dialog.glade.h:16
 msgid Edge scrolling
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-notifyd:master l10n: Updated Portuguese (pt) translation to 100%

2013-04-10 Thread Transifex
Updating branch refs/heads/master
 to 08f5b6e7fcbdb6f1941e84f2ed3c994ed6e4879f (commit)
   from c924e29c5b45686e8fb4e02c0bfce086a9f12ec4 (commit)

commit 08f5b6e7fcbdb6f1941e84f2ed3c994ed6e4879f
Author: Sergio Marques smarque...@gmail.com
Date:   Wed Apr 10 19:56:19 2013 +0200

l10n: Updated Portuguese (pt) translation to 100%

New status: 29 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

 po/pt.po |   56 ++--
 1 files changed, 30 insertions(+), 26 deletions(-)

diff --git a/po/pt.po b/po/pt.po
index 9355cf4..873faa1 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -7,21 +7,21 @@ msgid 
 msgstr 
 Project-Id-Version: xfce4-notifyd\n
 Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2013-01-20 15:27+\n
+POT-Creation-Date: 2013-04-10 16:06+\n
 PO-Revision-Date: 2012-04-13 13:06+0100\n
 Last-Translator: Nuno Miguel nunom...@gmail.com\n
 Language-Team: \n
 MIME-Version: 1.0\n
 Content-Type: text/plain; charset=UTF-8\n
 Content-Transfer-Encoding: 8bit\n
+X-Poedit-Country: Portugal\n
 Language: pt\n
 X-Poedit-Language: Portuguese\n
-X-Poedit-Country: Portugal\n
 
 #: ../xfce4-notifyd/main.c:74 ../xfce4-notifyd/main.c:84
-#: ../xfce4-notifyd-config/main.c:238
+#: ../xfce4-notifyd-config/main.c:258
 msgid Xfce Notify Daemon
-msgstr Serviço de notificações Xfce
+msgstr Serviço de notificações do Xfce
 
 #: ../xfce4-notifyd/main.c:77
 #, c-format
@@ -40,56 +40,60 @@ msgstr Ocorreu um erro ao definir o tema
 #: ../xfce4-notifyd/xfce-notify-daemon.c:1215
 #, c-format
 msgid Unable to connect to D-Bus session bus
-msgstr Incapaz de ligar ao sistema da sessão D-Bus
+msgstr Incapaz de ligar ao sistema D-Bus
 
 #: ../xfce4-notifyd/xfce-notify-daemon.c:1232
 #, c-format
 msgid Another notification xndaemon is already running
 msgstr Já está em execução outro serviço de notificações
 
-#. TRANSLATORS: notify-send is a command name in the following string,
-#. * it must not be translated.
-#: ../xfce4-notifyd-config/main.c:98 ../xfce4-notifyd-config/main.c:205
-msgid 
-notify-send \Notification Preview\ \This is how notifications will look 
-like\
+#: ../xfce4-notifyd-config/main.c:57
+msgid Notification Preview
+msgstr Antevisão da notificação
+
+#: ../xfce4-notifyd-config/main.c:58
+msgid This is how notifications will look like
 msgstr 
 notify-send \Antevisão da notificação\ \A notificação irá ser assim\
 
-#: ../xfce4-notifyd-config/main.c:102 ../xfce4-notifyd-config/main.c:209
+#: ../xfce4-notifyd-config/main.c:63
+msgid Button
+msgstr Botão
+
+#: ../xfce4-notifyd-config/main.c:70
 msgid Notification preview failed
-msgstr Falha ao visualizar a notificação
+msgstr Falha ao pré-visualizar a notificação
 
-#: ../xfce4-notifyd-config/main.c:240
+#: ../xfce4-notifyd-config/main.c:260
 msgid Settings daemon is unavailable
-msgstr As definições do serviço estão indisponíveis
+msgstr O serviço de definições não está disponível
 
-#: ../xfce4-notifyd-config/main.c:290
+#: ../xfce4-notifyd-config/main.c:310
 msgid Display version information
 msgstr Mostrar informação de versão
 
-#: ../xfce4-notifyd-config/main.c:291
+#: ../xfce4-notifyd-config/main.c:311
 msgid Settings manager socket
 msgstr \Socket\ do gestor de definições
 
-#: ../xfce4-notifyd-config/main.c:291
+#: ../xfce4-notifyd-config/main.c:311
 msgid SOCKET_ID
 msgstr SOCKET_ID
 
-#: ../xfce4-notifyd-config/main.c:301
+#: ../xfce4-notifyd-config/main.c:321
 #, c-format
 msgid Type '%s --help' for usage.
 msgstr Digite \%s --help\ para instruções de utilização.
 
-#: ../xfce4-notifyd-config/main.c:314
+#: ../xfce4-notifyd-config/main.c:334
 #, c-format
 msgid Released under the terms of the GNU General Public License, version 2\n
 msgstr Licenciado nos termos da GNU General Public License, versão 2\n
 
-#: ../xfce4-notifyd-config/main.c:315
+#: ../xfce4-notifyd-config/main.c:335
 #, c-format
 msgid Please report bugs to %s.\n
-msgstr Por favor, reporte erros em %s.\n
+msgstr Por favor reporte os erros em %s.\n
 
 #: ../xfce4-notifyd-config/xfce4-notifyd-config.glade.h:1
 msgid Bottom left
@@ -97,7 +101,7 @@ msgstr Inferior esquerdo
 
 #: ../xfce4-notifyd-config/xfce4-notifyd-config.glade.h:2
 msgid Bottom right
-msgstr Inferior direito
+msgstr Direita inferior
 
 #: ../xfce4-notifyd-config/xfce4-notifyd-config.glade.h:3
 msgid Default _position:
@@ -110,11 +114,11 @@ msgstr Notificações
 
 #: ../xfce4-notifyd-config/xfce4-notifyd-config.glade.h:5
 msgid Top left
-msgstr Superior esquerdo
+msgstr Esquerda superior
 
 #: ../xfce4-notifyd-config/xfce4-notifyd-config.glade.h:6
 msgid Top right
-msgstr Superior direito
+msgstr Direita superior
 
 #: ../xfce4-notifyd-config/xfce4-notifyd-config.glade.h:7
 msgid _Disappear after:
@@ -138,7 +142,7 @@ msgstr segundos
 
 #: ../xfce4-notifyd-config/xfce4-notifyd-config.desktop.in.h:1
 msgid Customize how notifications appear on your screen
-msgstr Personalizar o modo como as notificações 

[Xfce4-commits] eatmonkey:aria2-xml-rpc l10n: Updated Portuguese (pt) translation to 100%

2013-04-10 Thread Transifex
Updating branch refs/heads/aria2-xml-rpc
 to 2759b25c04c3815f7d9ac880822fc08334fbf504 (commit)
   from 04d151dcaa06dbb9148a95db563ca90c97ca5409 (commit)

commit 2759b25c04c3815f7d9ac880822fc08334fbf504
Author: Sergio Marques smarque...@gmail.com
Date:   Wed Apr 10 19:59:48 2013 +0200

l10n: Updated Portuguese (pt) translation to 100%

New status: 52 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

 po/pt.po |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/po/pt.po b/po/pt.po
index 82606e8..e37a360 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -20,7 +20,7 @@ msgstr 
 
 #: ../eatmonkey.desktop.in.h:1
 msgid Download Manager
-msgstr Gestor de Transferências
+msgstr Gestor de transferências
 
 #: ../eatmonkey.desktop.in.h:2 ../src/manager.ui.h:6
 msgid Eatmonkey
@@ -52,7 +52,7 @@ msgstr Aj_uda
 
 #: ../src/manager.ui.h:8 ../src/settings.ui.h:18
 msgid KiB/s
-msgstr KB/s
+msgstr KiB/s
 
 #: ../src/manager.ui.h:9 ../src/settings.ui.h:21
 msgid Maximum download speed:
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-indicator-plugin:master l10n: Updated Portuguese (pt) translation to 92%

2013-04-10 Thread Transifex
Updating branch refs/heads/master
 to 92c8dc09e711eaf555d80a91c1184f68b2ea1f11 (commit)
   from c4418174776d0f26ab51213d170a2c80f8933db0 (commit)

commit 92c8dc09e711eaf555d80a91c1184f68b2ea1f11
Author: Sergio Marques smarque...@gmail.com
Date:   Wed Apr 10 20:09:23 2013 +0200

l10n: Updated Portuguese (pt) translation to 92%

New status: 26 messages complete with 0 fuzzies and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

 po/pt.po |  126 +
 1 files changed, 117 insertions(+), 9 deletions(-)

diff --git a/po/pt.po b/po/pt.po
index 86fac6f..0de4af7 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -2,31 +2,139 @@
 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
 # This file is distributed under the same license as the PACKAGE package.
 # FIRST AUTHOR EMAIL@ADDRESS, YEAR.
-#
+# 
 msgid 
 msgstr 
 Project-Id-Version: indicator-plugin\n
 Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2012-01-08 17:54+\n
+POT-Creation-Date: 2013-04-10 15:39+\n
 PO-Revision-Date: 2012-01-08 22:16-\n
 Last-Translator: Sérgio Marques smarque...@gmail.com\n
 Language-Team: \n
-Language: \n
 MIME-Version: 1.0\n
 Content-Type: text/plain; charset=UTF-8\n
 Content-Transfer-Encoding: 8bit\n
+Language: \n
 X-Poedit-Language: Portuguese\n
 X-Poedit-Country: PORTUGAL\n
 
-#: ../panel-plugin/indicator.c:182
-msgid No Indicators
-msgstr Sem indicadores
-
-#: ../panel-plugin/indicator.desktop.in.in.h:1
+#: ../panel-plugin/indicator.desktop.in.h:1 ../panel-plugin/indicator.c:157
 msgid An indicator of something that needs your attention on the desktop
 msgstr Uma indicação sobre algo que requer a sua atenção
 
-#: ../panel-plugin/indicator.desktop.in.in.h:2
+#: ../panel-plugin/indicator.desktop.in.h:2
 msgid Indicator Plugin
 msgstr \Plug-in\ Indicador
 
+#: ../panel-plugin/indicator.c:159
+msgid Copyright (c) 2009-2013\n
+msgstr Direitos de autor (c) 2009-2013\n
+
+#: ../panel-plugin/indicator.c:288
+msgid No Indicators
+msgstr Sem indicadores
+
+#. raw name,  pretty name,
+#. icon-name(?)
+#: ../panel-plugin/indicator-dialog.c:57
+msgid Application Indicators
+msgstr Indicadores de aplicações
+
+#: ../panel-plugin/indicator-dialog.c:58
+msgid Sound Menu
+msgstr Menu de som
+
+#: ../panel-plugin/indicator-dialog.c:59
+msgid Printers Menu
+msgstr Menu de impressoras
+
+#: ../panel-plugin/indicator-dialog.c:60
+msgid Power Management
+msgstr Gestão de energia
+
+#: ../panel-plugin/indicator-dialog.c:61
+msgid Application Menus (Global Menu)
+msgstr Menus de aplicações (Menu global)
+
+#: ../panel-plugin/indicator-dialog.c:62
+msgid Session Management
+msgstr Gestão de sessões
+
+#: ../panel-plugin/indicator-dialog.c:63
+msgid Messaging Menu
+msgstr Menu de mensagens instantâneas 
+
+#: ../panel-plugin/indicator-dialog.c:64
+msgid Date and Time
+msgstr Data e hora
+
+#: ../panel-plugin/indicator-dialog.c:436
+msgid Are you sure you want to clear the list of known indicators?
+msgstr Tem a certeza que deseja limpar a lista de indicadores?
+
+#: ../panel-plugin/indicator-dialog.c:572
+#, c-format
+msgid Unable to open the following url: %s
+msgstr Não foi possível abri o URL: %s
+
+#: ../panel-plugin/indicator-dialog.glade.h:1
+msgid iPlease restart the panel for visibility changes to take effect./i
+msgstr iReinicie o painel para aplicar as alterações./i
+
+#: ../panel-plugin/indicator-dialog.glade.h:2
+msgid Align left in deskbar mode
+msgstr 
+
+#: ../panel-plugin/indicator-dialog.glade.h:3
+msgid Appearance
+msgstr Aparência
+
+#: ../panel-plugin/indicator-dialog.glade.h:4
+msgid C_lear known indicators
+msgstr _Limpar indicadores
+
+#: ../panel-plugin/indicator-dialog.glade.h:5
+msgid 
+Controls the indicator button layout when the panel is in a Deskbar mode. 
+Possible choices are \centered\ or \aligned left\.
+msgstr 
+
+#: ../panel-plugin/indicator-dialog.glade.h:6
+msgid Hide indicators by default
+msgstr Por omissão, ocultar indicadores
+
+#: ../panel-plugin/indicator-dialog.glade.h:7
+msgid 
+Icons are scaled to fit a single row of the panel. Use this option to 
+restrict the maximum size of the icon.
+msgstr Os ícones são ajustados a uma linha do painel. Utilize esta opção para 
restringir o tamanho máximo dos ícones.
+
+#: ../panel-plugin/indicator-dialog.glade.h:8
+msgid Indicators
+msgstr Indicadores
+
+#: ../panel-plugin/indicator-dialog.glade.h:9
+msgid Known Indicators
+msgstr Indicadores conhecidos
+
+#: ../panel-plugin/indicator-dialog.glade.h:10
+msgid Move the selected indicator one row down.
+msgstr Mover o indicador selecionado uma linha abaixo.
+
+#: ../panel-plugin/indicator-dialog.glade.h:11
+msgid Move the selected indicator one row up.
+msgstr Mover o indicador selecionado uma linha acima.
+
+#: ../panel-plugin/indicator-dialog.glade.h:12
+msgid Resets the list of indicators and their visibility settings.
+msgstr Reinicia a lista de indicadores e as definições de visibilidade.
+
+#: 

[Xfce4-commits] xfce4-panel:nick/gtk3 Clock: Fixed keyboard and pointer grabbing

2013-04-10 Thread Andrzej
Updating branch refs/heads/nick/gtk3
 to bc829f7ddb7f4b1cb15db89283c842cbf9c66115 (commit)
   from 0d7e446fa7bb874498d076fb5e85ea1386870f38 (commit)

commit bc829f7ddb7f4b1cb15db89283c842cbf9c66115
Author: Andrzej ndrwr...@gmail.com
Date:   Wed Apr 10 21:21:01 2013 +0100

Clock: Fixed keyboard and pointer grabbing

 plugins/clock/clock.c |  123 
 1 files changed, 82 insertions(+), 41 deletions(-)

diff --git a/plugins/clock/clock.c b/plugins/clock/clock.c
index db6678f..3900a48 100644
--- a/plugins/clock/clock.c
+++ b/plugins/clock/clock.c
@@ -85,7 +85,8 @@ static void clock_plugin_set_mode  
(ClockPlugin   *p
 static void clock_plugin_reposition_calendar   (ClockPlugin   
*plugin);
 static gboolean clock_plugin_pointer_grab  (ClockPlugin   
*plugin,
 GtkWidget 
*widget,
-gboolean   
keep);
+gboolean   
keep,
+guint32
activate_time);
 static void clock_plugin_pointer_ungrab(ClockPlugin   
*plugin,
 GtkWidget 
*widget);
 static gboolean clock_plugin_calendar_pointed  (GtkWidget 
*calendar_window,
@@ -97,8 +98,7 @@ static gboolean clock_plugin_calendar_button_press_event 
(GtkWidget   *c
 static gboolean clock_plugin_calendar_key_press_event  (GtkWidget 
*calendar_window,
 GdkEventKey   
*event,
 ClockPlugin   
*plugin);
-static void clock_plugin_popup_calendar(ClockPlugin   
*plugin,
-gboolean   
modal);
+static void clock_plugin_popup_calendar(ClockPlugin   
*plugin);
 static void clock_plugin_hide_calendar (ClockPlugin   
*plugin);
 static gboolean clock_plugin_tooltip   (gpointer   
user_data);
 
@@ -151,7 +151,11 @@ struct _ClockPlugin
   gchar  *tooltip_format;
   ClockTimeTimeout   *tooltip_timeout;
 
-  GdkGrabStatus   grab_pointer;
+  GdkDevice  *device;
+  GdkDevice  *keyboard;
+  GdkDevice  *pointer;
+  gbooleankeyboard_grabbed;
+  gbooleanpointer_grabbed;
 
   gchar  *time_config_tool;
   ClockTime  *time;
@@ -270,6 +274,11 @@ clock_plugin_init (ClockPlugin *plugin)
   plugin-command = NULL;
   plugin-time_config_tool = g_strdup (DEFAULT_TIME_CONFIG_TOOL);
   plugin-rotate_vertically = TRUE;
+  plugin-device = NULL;
+  plugin-keyboard = NULL;
+  plugin-pointer = NULL;
+  plugin-keyboard_grabbed = FALSE;
+  plugin-pointer_grabbed = FALSE;
   plugin-time = clock_time_new ();
 
   plugin-button = xfce_panel_create_toggle_button ();
@@ -436,10 +445,15 @@ clock_plugin_button_press_event (GtkWidget  *widget,
   /* toggle calendar window visibility */
   if (plugin-calendar_window == NULL
   || !gtk_widget_get_visible (GTK_WIDGET 
(plugin-calendar_window)))
-clock_plugin_popup_calendar
-  (plugin, event-button == 1  !(event-state  
GDK_CONTROL_MASK));
+{
+  clock_plugin_popup_calendar (plugin);
+  if (event-button == 1  !(event-state  GDK_CONTROL_MASK))
+clock_plugin_pointer_grab (plugin, GTK_WIDGET 
(plugin-calendar_window), TRUE, event-time);
+}
   else
-clock_plugin_hide_calendar (plugin);
+{
+  clock_plugin_hide_calendar (plugin);
+}
 
   return TRUE;
 }
@@ -1129,18 +1143,19 @@ static void
 clock_plugin_pointer_ungrab (ClockPlugin *plugin,
  GtkWidget   *widget)
 {
-  GdkDisplay   *display;
-  GdkDevice*pointer;
-  GdkDeviceManager *device_manager;
-
-  panel_return_if_fail (GTK_IS_WIDGET (widget));
+  panel_return_if_fail (XFCE_IS_CLOCK_PLUGIN (plugin));
 
-  display = gtk_widget_get_display (widget);
-  device_manager = gdk_display_get_device_manager (display);
-  pointer = gdk_device_manager_get_client_pointer (device_manager);
+  if (plugin-keyboard != NULL  plugin-keyboard_grabbed)
+{
+  gdk_device_ungrab (plugin-keyboard, GDK_CURRENT_TIME);
+  plugin-keyboard_grabbed = FALSE;
+}
 
-  if (plugin-grab_pointer == GDK_GRAB_SUCCESS)
-gdk_device_ungrab (pointer, GDK_CURRENT_TIME);
+  if (plugin-pointer != NULL  plugin-pointer_grabbed)
+{
+  gdk_device_ungrab (plugin-pointer, GDK_CURRENT_TIME);
+  plugin-pointer_grabbed = FALSE;
+}
 }
 
 

[Xfce4-commits] xfce4-panel:nick/gtk3 Launcher: wrong assert test.

2013-04-10 Thread Andrzej
Updating branch refs/heads/nick/gtk3
 to b20dbb269408fb97a98de5d62b66bb8da9e08ddc (commit)
   from bc829f7ddb7f4b1cb15db89283c842cbf9c66115 (commit)

commit b20dbb269408fb97a98de5d62b66bb8da9e08ddc
Author: Andrzej ndrwr...@gmail.com
Date:   Wed Apr 10 21:24:40 2013 +0100

Launcher: wrong assert test.

 plugins/launcher/launcher.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/launcher/launcher.c b/plugins/launcher/launcher.c
index bf5f04f..72d55da 100644
--- a/plugins/launcher/launcher.c
+++ b/plugins/launcher/launcher.c
@@ -2048,7 +2048,7 @@ launcher_plugin_button_draw (GtkWidget  *widget,
   GtkStyleContext  *ctx;
   GtkBorder padding;
 
-  panel_return_val_if_fail (XFCE_IS_LAUNCHER_PLUGIN (widget), FALSE);
+  panel_return_val_if_fail (XFCE_IS_LAUNCHER_PLUGIN (plugin), FALSE);
 
   /* leave when the arrow is not shown inside the button */
   if (NO_ARROW_INSIDE_BUTTON (plugin))
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-panel:nick/gtk3 Separator: ported to GTK3

2013-04-10 Thread Andrzej
Updating branch refs/heads/nick/gtk3
 to 2458b1e07c3aebdb086644976d9cbf2f20833b1d (commit)
   from b20dbb269408fb97a98de5d62b66bb8da9e08ddc (commit)

commit 2458b1e07c3aebdb086644976d9cbf2f20833b1d
Author: Andrzej ndrwr...@gmail.com
Date:   Thu Apr 11 00:17:00 2013 +0100

Separator: ported to GTK3

Dots style separator disabled for now (not ported yet).

 plugins/separator/separator.c |   99 ++--
 1 files changed, 54 insertions(+), 45 deletions(-)

diff --git a/plugins/separator/separator.c b/plugins/separator/separator.c
index cf809ab..daced70 100644
--- a/plugins/separator/separator.c
+++ b/plugins/separator/separator.c
@@ -37,6 +37,7 @@
 #define SEPARATOR_OFFSET (0.15)
 #define SEPARATOR_SIZE   (8)
 #define DOTS_SIZE(6)
+#define HANDLE_SIZE  (4)
 
 
 
@@ -48,8 +49,8 @@ static void separator_plugin_set_property  
(GObject
 guint  
prop_id,
 const GValue   
   *value,
 GParamSpec 
   *pspec);
-static gboolean separator_plugin_expose_event  (GtkWidget  
   *widget,
-GdkEventExpose 
   *event);
+static gboolean separator_plugin_draw  (GtkWidget  
   *widget,
+cairo_t
   *cr);
 static void separator_plugin_construct (XfcePanelPlugin
   *panel_plugin);
 static gboolean separator_plugin_size_changed  (XfcePanelPlugin
   *panel_plugin,
 gint   
size);
@@ -123,7 +124,7 @@ separator_plugin_class_init (SeparatorPluginClass *klass)
   gobject_class-get_property = separator_plugin_get_property;
 
   widget_class = GTK_WIDGET_CLASS (klass);
-  widget_class-expose_event = separator_plugin_expose_event;
+  widget_class-draw = separator_plugin_draw;
 
   plugin_class = XFCE_PANEL_PLUGIN_CLASS (klass);
   plugin_class-construct = separator_plugin_construct;
@@ -220,17 +221,22 @@ separator_plugin_set_property (GObject  *object,
 
 
 static gboolean
-separator_plugin_expose_event (GtkWidget  *widget,
-   GdkEventExpose *event)
+separator_plugin_draw (GtkWidget *widget,
+   cairo_t   *cr)
 {
-  SeparatorPlugin *plugin = XFCE_SEPARATOR_PLUGIN (widget);
-  GtkAllocation   *alloc = (widget-allocation);
-  GdkBitmap   *bmap;
-  GdkGC   *gc;
-  GtkStateType state = GTK_WIDGET_STATE (widget);
-  gint x, y, w, h;
-  gint rows, cols;
-  guinti;
+  SeparatorPlugin  *plugin = XFCE_SEPARATOR_PLUGIN (widget);
+  GtkAllocation alloc;
+  gint  x, y, w, h;
+  gint  rows, cols;
+  guint i;
+  GtkStyleContext  *ctx;
+  GdkRGBA   fg_rgba;
+
+  gtk_widget_get_allocation (widget, alloc);
+
+  ctx = gtk_widget_get_style_context (widget);
+  gtk_style_context_get_color (ctx, gtk_widget_get_state_flags (widget), 
fg_rgba);
+  gdk_cairo_set_source_rgba (cr, fg_rgba);
 
   switch (plugin-style)
 {
@@ -240,63 +246,65 @@ separator_plugin_expose_event (GtkWidget  *widget,
   break;
 
 case SEPARATOR_PLUGIN_STYLE_SEPARATOR:
+
   if (xfce_panel_plugin_get_orientation (XFCE_PANEL_PLUGIN (plugin)) ==
   GTK_ORIENTATION_HORIZONTAL)
 {
-  gtk_paint_vline (widget-style,
-   widget-window,
-   state,
-   (event-area),
-   widget, separator,
-   alloc-y + alloc-height * SEPARATOR_OFFSET,
-   alloc-y + alloc-height * (1.00 - 
SEPARATOR_OFFSET),
-   alloc-x + alloc-width / 2 - 1);
+  gtk_render_line (ctx, cr,
+   (gdouble) (alloc.width - 1.0) / 2.0,
+   (gdouble) alloc.height * SEPARATOR_OFFSET,
+   (gdouble) (alloc.width - 1.0) / 2.0,
+   (gdouble) alloc.height * (1.0 - SEPARATOR_OFFSET));
 }
   else
 {
-  gtk_paint_hline (widget-style,
-   widget-window,
-   state,
-   (event-area),
-   widget, separator,
-   alloc-x + alloc-width * SEPARATOR_OFFSET,
-   alloc-x + alloc-width * (1.00 - SEPARATOR_OFFSET),
-   alloc-y + alloc-height / 2 - 1);
+  gtk_render_line (ctx, cr,
+   (gdouble) alloc.width * SEPARATOR_OFFSET,
+   (gdouble) (alloc.height - 1.0) / 2.0,
+ 

[Xfce4-commits] xfce4-panel:nick/gtk3 Launcher: fixed(?) errors introduced during porting.

2013-04-10 Thread Andrzej
Updating branch refs/heads/nick/gtk3
 to ee014503c45b882baae292b1c127ff1b8303aced (commit)
   from 2458b1e07c3aebdb086644976d9cbf2f20833b1d (commit)

commit ee014503c45b882baae292b1c127ff1b8303aced
Author: Andrzej ndrwr...@gmail.com
Date:   Thu Apr 11 00:21:05 2013 +0100

Launcher: fixed(?) errors introduced during porting.

Not sure what exactly GTK_BUTTON (menu)-toplevel was doing.
Assumed that was a GtkWidget's field.

 plugins/launcher/launcher.c |8 
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/plugins/launcher/launcher.c b/plugins/launcher/launcher.c
index 72d55da..0f3ffad 100644
--- a/plugins/launcher/launcher.c
+++ b/plugins/launcher/launcher.c
@@ -1675,7 +1675,7 @@ launcher_plugin_menu_popup (gpointer user_data)
 
   /* bit ugly... but show the menu */
   gtk_widget_show (plugin-menu);
-  gtk_window_move (GTK_WINDOW (gtk_widget_get_root_window (plugin-menu)), 
x, y);
+  gtk_window_move (GTK_WINDOW (gtk_widget_get_toplevel (plugin-menu)), x, 
y);
   gtk_widget_show (gtk_widget_get_toplevel (plugin-menu));
 }
 
@@ -2192,9 +2192,9 @@ launcher_plugin_arrow_drag_leave_timeout (gpointer 
user_data)
NULL, pointer_x, pointer_y, NULL);
 
   /* get the menu position */
-  gdk_window_get_root_origin (gtk_widget_get_root_window (menu), menu_x, 
menu_y);
-  menu_w = gdk_window_get_width (gtk_widget_get_root_window (menu));
-  menu_h = gdk_window_get_height (gtk_widget_get_root_window (menu));
+  gdk_window_get_root_origin (gtk_widget_get_window (menu), menu_x, menu_y);
+  menu_w = gdk_window_get_width (gtk_widget_get_window (menu));
+  menu_h = gdk_window_get_height (gtk_widget_get_window (menu));
 
   /* check if we should hide the menu */
   if (pointer_x  menu_x || pointer_x  menu_x + menu_w
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-panel:nick/gtk3 Clock: removed a failing assert

2013-04-10 Thread Andrzej
Updating branch refs/heads/nick/gtk3
 to 300618b61fcc5ac9040c1d38636654d3d1bccdd5 (commit)
   from ee014503c45b882baae292b1c127ff1b8303aced (commit)

commit 300618b61fcc5ac9040c1d38636654d3d1bccdd5
Author: Andrzej ndrwr...@gmail.com
Date:   Thu Apr 11 00:24:07 2013 +0100

Clock: removed a failing assert

Quite likely missing window causes the transparent widgets
issue. Should we add a window in e.g. XfcePanelPlugin?

 plugins/clock/clock-binary.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/clock/clock-binary.c b/plugins/clock/clock-binary.c
index 8ab9480..f56a050 100644
--- a/plugins/clock/clock-binary.c
+++ b/plugins/clock/clock-binary.c
@@ -489,7 +489,7 @@ xfce_clock_binary_draw (GtkWidget *widget,
   GtkSymbolicColor *shade;
 
   panel_return_val_if_fail (XFCE_CLOCK_IS_BINARY (binary), FALSE);
-  panel_return_val_if_fail (gtk_widget_get_has_window (widget), FALSE);
+  //panel_return_val_if_fail (gtk_widget_get_has_window (widget), FALSE);
   panel_return_val_if_fail (cr != NULL, FALSE);
 
   gtk_misc_get_padding (GTK_MISC (widget), pad_x, pad_y);
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-panel:nick/gtk3 Tasklist: ported to Gtk3.

2013-04-10 Thread Andrzej
Updating branch refs/heads/nick/gtk3
 to 8427a172866d2b6aeb8ab7e1c5d8fbd2c2092068 (commit)
   from 300618b61fcc5ac9040c1d38636654d3d1bccdd5 (commit)

commit 8427a172866d2b6aeb8ab7e1c5d8fbd2c2092068
Author: Andrzej ndrwr...@gmail.com
Date:   Thu Apr 11 01:20:20 2013 +0100

Tasklist: ported to Gtk3.

Size requisition/allocation should be reworked for efficiency
(currently _size_request() is called twice) and to make use of
new features (minimum size).

gtk_widget_get_snapshot() no longer available - feature disabled (in DnD).

 plugins/tasklist/tasklist-widget.c |  155 +++
 plugins/tasklist/tasklist.c|   55 -
 2 files changed, 135 insertions(+), 75 deletions(-)

diff --git a/plugins/tasklist/tasklist-widget.c 
b/plugins/tasklist/tasklist-widget.c
index 8f433fa..4b089ed 100644
--- a/plugins/tasklist/tasklist-widget.c
+++ b/plugins/tasklist/tasklist-widget.c
@@ -262,6 +262,12 @@ static void   xfce_tasklist_set_property   
  (GObjec
 static void   xfce_tasklist_finalize 
(GObject  *object);
 static void   xfce_tasklist_size_request 
(GtkWidget*widget,
   
GtkRequisition   *requisition);
+static void   xfce_tasklist_get_preferred_width  
(GtkWidget*widget,
+  gint 
*minimum_width,
+  gint 
*natural_width);
+static void   xfce_tasklist_get_preferred_height 
(GtkWidget*widget,
+  gint 
*minimum_height,
+  gint 
*natural_height);
 static void   xfce_tasklist_size_allocate
(GtkWidget*widget,
   
GtkAllocation*allocation);
 static void   xfce_tasklist_style_set
(GtkWidget*widget,
@@ -371,7 +377,8 @@ xfce_tasklist_class_init (XfceTasklistClass *klass)
   gobject_class-finalize = xfce_tasklist_finalize;
 
   gtkwidget_class = GTK_WIDGET_CLASS (klass);
-  gtkwidget_class-size_request = xfce_tasklist_size_request;
+  gtkwidget_class-get_preferred_width = xfce_tasklist_get_preferred_width;
+  gtkwidget_class-get_preferred_height = xfce_tasklist_get_preferred_height;
   gtkwidget_class-size_allocate = xfce_tasklist_size_allocate;
   gtkwidget_class-style_set = xfce_tasklist_style_set;
   gtkwidget_class-realize = xfce_tasklist_realize;
@@ -751,6 +758,42 @@ xfce_tasklist_finalize (GObject *object)
 
 
 static void
+xfce_tasklist_get_preferred_width (GtkWidget *widget,
+   gint  *minimum_width,
+   gint  *natural_width)
+{
+  GtkRequisition requisition;
+
+  xfce_tasklist_size_request (widget, requisition);
+
+  if (minimum_width != NULL)
+*minimum_width = requisition.width;
+
+  if (natural_width != NULL)
+*natural_width = requisition.width;
+}
+
+
+
+static void
+xfce_tasklist_get_preferred_height (GtkWidget *widget,
+gint  *minimum_height,
+gint  *natural_height)
+{
+  GtkRequisition requisition;
+
+  xfce_tasklist_size_request (widget, requisition);
+
+  if (minimum_height != NULL)
+*minimum_height = requisition.height;
+
+  if (natural_height != NULL)
+*natural_height = requisition.height;
+}
+
+
+
+static void
 xfce_tasklist_size_request (GtkWidget  *widget,
 GtkRequisition *requisition)
 {
@@ -767,9 +810,9 @@ xfce_tasklist_size_request (GtkWidget  *widget,
 {
   child = li-data;
 
-  if (GTK_WIDGET_VISIBLE (child-button))
+  if (gtk_widget_get_visible (child-button))
 {
-  gtk_widget_size_request (child-button, child_req);
+  gtk_widget_get_preferred_size (child-button, NULL, child_req);
 
   /* child_height = MAX (child_height, child_req.height); */
   child_height = MAX (child_height, tasklist-size / tasklist-nrows);
@@ -910,7 +953,7 @@ xfce_tasklist_size_layout (XfceTasklist  *tasklist,
   for (li = tasklist-windows; li != NULL; li = li-next)
 {
   child = li-data;
-  if (GTK_WIDGET_VISIBLE (child-button))
+  if (gtk_widget_get_visible (child-button))
 {
   windows_scored = g_slist_insert_sorted (windows_scored, child,
   
xfce_tasklist_size_sort_window);
@@ -996,10 +1039,10 

[Xfce4-commits] xfce4-panel:nick/gtk3 Directory menu: ported to Gtk3

2013-04-10 Thread Andrzej
Updating branch refs/heads/nick/gtk3
 to 6cd290c075e56b06ce11abff3417e73ad92cdb84 (commit)
   from 8427a172866d2b6aeb8ab7e1c5d8fbd2c2092068 (commit)

commit 6cd290c075e56b06ce11abff3417e73ad92cdb84
Author: Andrzej ndrwr...@gmail.com
Date:   Thu Apr 11 01:32:25 2013 +0100

Directory menu: ported to Gtk3

 plugins/directorymenu/directorymenu.c |   10 +++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/plugins/directorymenu/directorymenu.c 
b/plugins/directorymenu/directorymenu.c
index a8f5483..edd72e3 100644
--- a/plugins/directorymenu/directorymenu.c
+++ b/plugins/directorymenu/directorymenu.c
@@ -476,7 +476,7 @@ directory_menu_plugin_remote_event (XfcePanelPlugin 
*panel_plugin,
   panel_return_val_if_fail (value == NULL || G_IS_VALUE (value), FALSE);
 
   if (strcmp (name, popup) == 0
-   GTK_WIDGET_VISIBLE (panel_plugin)
+   gtk_widget_get_visible (GTK_WIDGET (panel_plugin))
!gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (plugin-button))
panel_utils_grab_available ())
 {
@@ -556,11 +556,13 @@ directory_menu_plugin_menu_launch_desktop_file (GtkWidget 
*mi,
   GdkAppLaunchContext *context;
   GIcon   *icon;
   GError  *error = NULL;
+  GdkDisplay  *display;
 
   panel_return_if_fail (G_IS_APP_INFO (info));
   panel_return_if_fail (GTK_IS_WIDGET (mi));
 
-  context = gdk_app_launch_context_new ();
+  display = gtk_widget_get_display (mi);
+  context = gdk_display_get_app_launch_context (display);
   gdk_app_launch_context_set_screen (context, gtk_widget_get_screen (mi));
   gdk_app_launch_context_set_timestamp (context, gtk_get_current_event_time 
());
   icon = g_app_info_get_icon (info);
@@ -592,6 +594,7 @@ directory_menu_plugin_menu_launch (GtkWidget *mi,
   GFileInfo   *info;
   const gchar *message;
   gboolean result;
+  GdkDisplay  *display;
 
   panel_return_if_fail (G_IS_FILE (file));
   panel_return_if_fail (GTK_IS_WIDGET (mi));
@@ -615,7 +618,8 @@ directory_menu_plugin_menu_launch (GtkWidget *mi,
 
   fake_list.data = file;
 
-  context = gdk_app_launch_context_new ();
+  display = gtk_widget_get_display (mi);
+  context = gdk_display_get_app_launch_context (display);
   gdk_app_launch_context_set_screen (context, gtk_widget_get_screen (mi));
   gdk_app_launch_context_set_timestamp (context, gtk_get_current_event_time 
());
 
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-panel:nick/gtk3 WindowMenu: ported to gtk3

2013-04-10 Thread Andrzej
Updating branch refs/heads/nick/gtk3
 to 4fefed2c3dd242cc2cb9d7d4f59aba1ee130a996 (commit)
   from 6cd290c075e56b06ce11abff3417e73ad92cdb84 (commit)

commit 4fefed2c3dd242cc2cb9d7d4f59aba1ee130a996
Author: Andrzej ndrwr...@gmail.com
Date:   Thu Apr 11 01:40:01 2013 +0100

WindowMenu: ported to gtk3

 plugins/windowmenu/windowmenu.c |   14 +++---
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/plugins/windowmenu/windowmenu.c b/plugins/windowmenu/windowmenu.c
index 4c69fa6..898e3d3 100644
--- a/plugins/windowmenu/windowmenu.c
+++ b/plugins/windowmenu/windowmenu.c
@@ -584,7 +584,7 @@ window_menu_plugin_remote_event (XfcePanelPlugin 
*panel_plugin,
   panel_return_val_if_fail (value == NULL || G_IS_VALUE (value), FALSE);
 
   if (strcmp (name, popup) == 0
-   GTK_WIDGET_VISIBLE (panel_plugin)
+   gtk_widget_get_visible (GTK_WIDGET (panel_plugin))
!gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (plugin-button))
panel_utils_grab_available ())
 {
@@ -904,7 +904,7 @@ window_menu_plugin_menu_window_item_activate (GtkWidget 
 *mi,
 
   panel_return_val_if_fail (WNCK_IS_WINDOW (window), FALSE);
   panel_return_val_if_fail (GTK_IS_MENU_ITEM (mi), FALSE);
-  panel_return_val_if_fail (GTK_IS_MENU_SHELL (mi-parent), FALSE);
+  panel_return_val_if_fail (GTK_IS_MENU_SHELL (gtk_widget_get_parent (mi)), 
FALSE);
 
   /* only respond to a button releases */
   if (event-type != GDK_BUTTON_RELEASE)
@@ -1074,15 +1074,15 @@ window_menu_plugin_menu_key_press_event (GtkWidget   
*menu,
   /* construct an event */
   switch (event-keyval)
 {
-case GDK_space:
-case GDK_Return:
-case GDK_KP_Space:
-case GDK_KP_Enter:
+case GDK_KEY_space:
+case GDK_KEY_Return:
+case GDK_KEY_KP_Space:
+case GDK_KEY_KP_Enter:
   /* active the menu item */
   fake_event.button = 1;
   break;
 
-case GDK_Menu:
+case GDK_KEY_Menu:
   /* popup the window actions menu */
   fake_event.button = 3;
   break;
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits