[Xfce4-commits] thunar:master l10n: Updated German (de) translation to 100%

2012-11-10 Thread Transifex
Updating branch refs/heads/master
 to df9696ac3aeccd749a228401991697a068f41fe2 (commit)
   from fd3f594688d92c51b0aa6c340146c3633b4c53c3 (commit)

commit df9696ac3aeccd749a228401991697a068f41fe2
Author: Harald Judt h.j...@gmx.at
Date:   Sat Nov 10 09:42:08 2012 +0100

l10n: Updated German (de) translation to 100%

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

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

 po/de.po |6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/po/de.po b/po/de.po
index 5b8f82f..535e837 100644
--- a/po/de.po
+++ b/po/de.po
@@ -266,12 +266,12 @@ msgid 
 If you choose to empty the Trash, all items in it will be permanently lost. 
 Please note that you can also delete them separately.
 msgstr 
-Wenn Sie den Müllcontainer leeren, werden darin enthaltene Objekte dauerhaft 
+Wenn Sie den Papierkorb leeren, werden darin enthaltene Objekte dauerhaft 
 gelöscht. Beachten Sie, dass Sie auch einzelne Objekte löschen können.
 
 #: ../thunar/thunar-application.c:1974
 msgid Emptying the Trash...
-msgstr Papierkorb wid geleert…
+msgstr Papierkorb wird geleert…
 
 #: ../thunar/thunar-application.c:2020
 #, c-format
@@ -3221,7 +3221,7 @@ msgstr Überschrift
 
 #: ../plugins/thunar-sbr/thunar-sbr-enum-types.c:96
 msgid Sentence case
-msgstr Gemischte Groß- und Kleinschreibung
+msgstr Nur zeilenanfang groß
 
 #: ../plugins/thunar-sbr/thunar-sbr-enum-types.c:102
 msgid Insert
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] thunar:master Don't include notify.h if not available (bug #9480).

2012-11-10 Thread Nick Schermer
Updating branch refs/heads/master
 to 786020bd92b4dd007fa20be000ab96a8f9f2cd5b (commit)
   from df9696ac3aeccd749a228401991697a068f41fe2 (commit)

commit 786020bd92b4dd007fa20be000ab96a8f9f2cd5b
Author: Nick Schermer n...@xfce.org
Date:   Sat Nov 10 10:46:30 2012 +0100

Don't include notify.h if not available (bug #9480).

 thunar/thunar-notify.c |2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/thunar/thunar-notify.c b/thunar/thunar-notify.c
index 428e4c6..0f4f832 100644
--- a/thunar/thunar-notify.c
+++ b/thunar/thunar-notify.c
@@ -22,7 +22,9 @@
 #include config.h
 #endif
 
+#ifdef HAVE_LIBNOTIFY
 #include libnotify/notify.h
+#endif
 
 #include thunar/thunar-notify.h
 #include thunar/thunar-device.h
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] midori:master l10n: Updated Polish (pl) translation to 99%

2012-11-10 Thread Transifex
Updating branch refs/heads/master
 to 06b33b3277f92182d82056cf6c9c8cce5fc31754 (commit)
   from fa95628d62fc33e031d4d9e711091b87efae1682 (commit)

commit 06b33b3277f92182d82056cf6c9c8cce5fc31754
Author: Marcin Romańczuk abj...@gmail.com
Date:   Sat Nov 10 12:05:53 2012 +0100

l10n: Updated Polish (pl) translation to 99%

New status: 623 messages complete with 1 fuzzy and 0 untranslated.

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

 po/pl.po |  425 --
 1 files changed, 218 insertions(+), 207 deletions(-)

diff --git a/po/pl.po b/po/pl.po
index 4640389..aca90f5 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -9,7 +9,7 @@ msgid 
 msgstr 
 Project-Id-Version: midori 0.4.6\n
 Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2012-10-31 14:54+\n
+POT-Creation-Date: 2012-11-10 10:18+\n
 PO-Revision-Date: 2012-07-27 10:08+0200\n
 Last-Translator: Piotr Sokół pso...@jabster.pl\n
 Language-Team: polski \n
@@ -27,8 +27,8 @@ msgstr Umożliwia przeglądanie zawartości sieci internetowej
 msgid Internet;WWW;Explorer
 msgstr Internet;WWW;Explorer
 
-#: ../data/midori.desktop.in.h:3 ../midori/main.c:1849 ../midori/main.c:1864
-#: ../midori/main.c:1877 ../midori/midori-websettings.c:200
+#: ../data/midori.desktop.in.h:3 ../midori/main.c:1851 ../midori/main.c:1866
+#: ../midori/main.c:1879 ../midori/midori-websettings.c:200
 msgid Midori
 msgstr Midori
 
@@ -60,7 +60,7 @@ msgstr Tryb prywatny Midori
 msgid Open a new private browsing window
 msgstr Otwiera nowe, prywatne okno przeglądarki
 
-#: ../data/midori-private.desktop.in.h:3 ../midori/midori-view.c:3905
+#: ../data/midori-private.desktop.in.h:3 ../midori/midori-view.c:3906
 msgid Private Browsing
 msgstr Przeglądanie w trybie prywatnym
 
@@ -222,7 +222,7 @@ msgstr Wyświetlenie ostatnich kart bez wczytywania
 msgid Show last open tabs
 msgstr Wyświetlenie ostatnich kart
 
-#: ../midori/main.c:1289 ../midori/main.c:2305
+#: ../midori/main.c:1289 ../midori/main.c:2307
 #, c-format
 msgid The session couldn't be loaded: %s\n
 msgstr Nie można wczytać sesji: %s\n
@@ -232,144 +232,144 @@ msgstr Nie można wczytać sesji: %s\n
 msgid Snapshot saved to: %s\n
 msgstr Obraz strony internetowej zapisano do pliku %s\n
 
-#: ../midori/main.c:1764
+#: ../midori/main.c:1766
 msgid Run ADDRESS as a web application
 msgstr Otwiera ADRES jako stronę usługi internetowej
 
-#: ../midori/main.c:1764
+#: ../midori/main.c:1766
 msgid ADDRESS
 msgstr ADRES
 
-#: ../midori/main.c:1767
+#: ../midori/main.c:1769
 msgid Use FOLDER as configuration folder
 msgstr Używa KATALOGU do przechowywania konfiguracji programu
 
-#: ../midori/main.c:1767
+#: ../midori/main.c:1769
 msgid FOLDER
 msgstr KATALOG
 
-#: ../midori/main.c:1770
+#: ../midori/main.c:1772
 msgid Private browsing, no changes are saved
 msgstr 
 Otwiera wystąpienie programu, które nie zapisuje żadnych prywatnych danych
 
-#: ../midori/main.c:1773
+#: ../midori/main.c:1775
 msgid Portable mode, all runtime files are stored in one place
 msgstr 
 Tryb przenośny, wszystkie uruchomione pliki są przechowywane w jednym miejscu
 
-#: ../midori/main.c:1776
+#: ../midori/main.c:1778
 msgid Plain GTK+ window with WebKit, akin to GtkLauncher
 msgstr Wyświetla czyste okno GTK+ z widżetem WebKit, podobne do GtkLauncher
 
-#: ../midori/main.c:1778
+#: ../midori/main.c:1780
 msgid Show a diagnostic dialog
 msgstr Wyświetla okno diagnostyczne po wystąpieniu awarii
 
-#: ../midori/main.c:1780
+#: ../midori/main.c:1782
 msgid Run the specified filename as javascript
 msgstr Uruchamia określony plik jako skrypt javascript
 
-#: ../midori/main.c:1782
+#: ../midori/main.c:1784
 msgid Take a snapshot of the specified URI
 msgstr Przechwytuje obraz strony określonej jako ADRES
 
-#: ../midori/main.c:1784
+#: ../midori/main.c:1786
 msgid Execute the specified command
 msgstr Wykonuje wprowadzone polecenie
 
-#: ../midori/main.c:1786
+#: ../midori/main.c:1788
 msgid List available commands to execute with -e/ --execute
 msgstr Wypisuje polecenia dostępne z opcją -e lub --execute
 
-#: ../midori/main.c:1788
+#: ../midori/main.c:1790
 msgid Display program version
 msgstr Wypisuje wersję programu
 
-#: ../midori/main.c:1790
+#: ../midori/main.c:1792
 msgid Addresses
 msgstr Adresy
 
-#: ../midori/main.c:1792
+#: ../midori/main.c:1794
 msgid Block URIs according to regular expression PATTERN
 msgstr Blokuje adresy URI określone przez WZÓR
 
-#: ../midori/main.c:1792
+#: ../midori/main.c:1794
 msgid PATTERN
 msgstr WZÓR
 
 #. i18n: CLI: Close tabs, clear private data, open starting page
-#: ../midori/main.c:1796
+#: ../midori/main.c:1798
 msgid Reset Midori after SECONDS seconds of inactivity
 msgstr Resetuje działanie programu po czasie wyrażonym ilością SEKUND
 
-#: ../midori/main.c:1796
+#: ../midori/main.c:1798
 msgid SECONDS
 msgstr SEKUNDY
 
-#: ../midori/main.c:1799
+#: ../midori/main.c:1801
 msgid Redirects console warnings to the specified FILENAME
 msgstr 

[Xfce4-commits] xfwm4:master l10n: Updated Spanish (Castilian) (es) translation to 100%

2012-11-10 Thread Transifex
Updating branch refs/heads/master
 to 1fce11b68672f7dfcc9f3b16f5b132030fdf2bd6 (commit)
   from 0cdc67cc6c39c30a836d9baf38f28aa8ff993914 (commit)

commit 1fce11b68672f7dfcc9f3b16f5b132030fdf2bd6
Author: Francisco Javier Serrador fserra...@gmail.com
Date:   Sat Nov 10 14:31:45 2012 +0100

l10n: Updated Spanish (Castilian) (es) translation to 100%

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

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

 po/es.po |  178 +++--
 1 files changed, 90 insertions(+), 88 deletions(-)

diff --git a/po/es.po b/po/es.po
index 8b41c5d..f62059c 100644
--- a/po/es.po
+++ b/po/es.po
@@ -8,7 +8,7 @@ msgid 
 msgstr 
 Project-Id-Version: xfwm4 4.4.0\n
 Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2012-04-24 17:18+\n
+POT-Creation-Date: 2012-11-10 09:42+\n
 PO-Revision-Date: 2012-04-23 23:03-0600\n
 Last-Translator: Sergio García oigres...@gmail.com\n
 Language-Team: Spanish/ES xfce-i...@xfce.org\n
@@ -90,7 +90,7 @@ msgid Configure window behavior and shortcuts
 msgstr Configure el comportamiento de ventanas y atajos
 
 #: ../settings-dialogs/xfce-wm-settings.desktop.in.h:2
-#: ../settings-dialogs/xfwm4-dialog.glade.h:48
+#: ../settings-dialogs/xfwm4-dialog.glade.h:47
 msgid Window Manager
 msgstr Gestor de ventanas
 
@@ -100,7 +100,7 @@ msgid Fine-tune window behaviour and effects
 msgstr Ajuste fino de comportamiento y efectos de ventanas
 
 #: ../settings-dialogs/xfce-wmtweaks-settings.desktop.in.h:2
-#: ../settings-dialogs/xfwm4-tweaks-dialog.glade.h:36
+#: ../settings-dialogs/xfwm4-tweaks-dialog.glade.h:38
 msgid Window Manager Tweaks
 msgstr Ajustes del gestor de ventanas
 
@@ -143,17 +143,17 @@ msgid bRaise on focus/b
 msgstr bTraer al frente al obtener foco/b
 
 #: ../settings-dialogs/xfwm4-dialog.glade.h:8
+msgid bThe_me/b
+msgstr b_Tema/b
+
+#: ../settings-dialogs/xfwm4-dialog.glade.h:9
 msgid bTitle _alignment/b
 msgstr b_Alineación del título/b
 
-#: ../settings-dialogs/xfwm4-dialog.glade.h:9
+#: ../settings-dialogs/xfwm4-dialog.glade.h:10
 msgid bTitle fon_t/b
 msgstr b_Tipo de letra del título/b
 
-#: ../settings-dialogs/xfwm4-dialog.glade.h:10
-msgid bWindow _shortcuts/b
-msgstr bAta_jos para ventanas/b
-
 #: ../settings-dialogs/xfwm4-dialog.glade.h:11
 msgid bWindows snapping/b
 msgstr bAtracción entre ventanas/b
@@ -163,8 +163,8 @@ msgid bWrap workspaces/b
 msgstr bRecorrido cíclico de áreas de trabajo/b
 
 #: ../settings-dialogs/xfwm4-dialog.glade.h:13
-msgid b_Theme/b
-msgstr b_Tema/b
+msgid b_Window shortcuts/b
+msgstr bAta_jos para ventanas/b
 
 #. Raise focus delay
 #: ../settings-dialogs/xfwm4-dialog.glade.h:15
@@ -205,13 +205,13 @@ msgid Automatically give focus to _newly created windows
 msgstr Dar el foco automáticamente a las ventanas _nuevas
 
 #: ../settings-dialogs/xfwm4-dialog.glade.h:26
-msgid Clic_k to focus
-msgstr Cli_c para dar foco
-
-#: ../settings-dialogs/xfwm4-dialog.glade.h:27
 msgid Click and drag the buttons to change the layout
 msgstr Haga clic y arrastre los botones para cambiar la distribución
 
+#: ../settings-dialogs/xfwm4-dialog.glade.h:27
+msgid Click to foc_us
+msgstr Pulsar para enf_ocar
+
 #: ../settings-dialogs/xfwm4-dialog.glade.h:28
 msgid Close
 msgstr Cerrar
@@ -241,78 +241,78 @@ msgid Hide content of windows when _resizing
 msgstr Ocultar el contenido de las ventanas al _redimensionar
 
 #: ../settings-dialogs/xfwm4-dialog.glade.h:36
-msgid Ke_yboard
-msgstr Te_clado
-
-#: ../settings-dialogs/xfwm4-dialog.glade.h:37
 msgid Maximize
 msgstr Maximizar
 
-#: ../settings-dialogs/xfwm4-dialog.glade.h:38
+#: ../settings-dialogs/xfwm4-dialog.glade.h:37
 msgid Menu
 msgstr Menú
 
-#: ../settings-dialogs/xfwm4-dialog.glade.h:39
+#: ../settings-dialogs/xfwm4-dialog.glade.h:38
 msgid Minimize
 msgstr Minimizar
 
-#: ../settings-dialogs/xfwm4-dialog.glade.h:40
+#: ../settings-dialogs/xfwm4-dialog.glade.h:39
 msgid Raise window when clicking _inside application window
 msgstr Traer al frente la ventana cuando se haga clic _dentro de ella
 
-#: ../settings-dialogs/xfwm4-dialog.glade.h:41
+#: ../settings-dialogs/xfwm4-dialog.glade.h:40
 msgid Shade
 msgstr Enrollar
 
-#: ../settings-dialogs/xfwm4-dialog.glade.h:42
+#: ../settings-dialogs/xfwm4-dialog.glade.h:41
 msgid Snap windows to other _windows
 msgstr Atraer _ventanas entre sí
 
-#: ../settings-dialogs/xfwm4-dialog.glade.h:43
+#: ../settings-dialogs/xfwm4-dialog.glade.h:42
 msgid Snap windows to screen _border
 msgstr Pegar ventanas al _borde del escritorio
 
-#: ../settings-dialogs/xfwm4-dialog.glade.h:44
+#: ../settings-dialogs/xfwm4-dialog.glade.h:43
 msgid Stick
 msgstr Pegar
 
-#: ../settings-dialogs/xfwm4-dialog.glade.h:45
+#: ../settings-dialogs/xfwm4-dialog.glade.h:44
 msgid The action to perform when the title-bar is double-clicked
 msgstr Acción a realizar cuando se haga doble clic en la barra de título
 
-#: ../settings-dialogs/xfwm4-dialog.glade.h:46
+#: 

[Xfce4-commits] exo:master Use unsigned int for idles and timeouts.

2012-11-10 Thread Nick Schermer
Updating branch refs/heads/master
 to 65565e976e7b57e19bb5ea7fa22923f561cc997d (commit)
   from 9c892875edc18c7cac93534692f730a9327fd4f2 (commit)

commit 65565e976e7b57e19bb5ea7fa22923f561cc997d
Author: Nick Schermer n...@xfce.org
Date:   Sat Nov 10 15:45:25 2012 +0100

Use unsigned int for idles and timeouts.

 exo/exo-icon-view.c |6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/exo/exo-icon-view.c b/exo/exo-icon-view.c
index 3f6f4c5..e863be1 100644
--- a/exo/exo-icon-view.c
+++ b/exo/exo-icon-view.c
@@ -467,7 +467,7 @@ struct _ExoIconViewPrivate
   GtkAdjustment *hadjustment;
   GtkAdjustment *vadjustment;
 
-  gint layout_idle_id;
+  guint layout_idle_id;
 
   gboolean doing_rubberband;
   gint rubberband_x_1, rubberband_y_1;
@@ -475,7 +475,7 @@ struct _ExoIconViewPrivate
   GdkGC *rubberband_border_gc;
   GdkGC *rubberband_fill_gc;
 
-  gint scroll_timeout_id;
+  guint scroll_timeout_id;
   gint scroll_value_diff;
   gint event_last_x, event_last_y;
 
@@ -553,7 +553,7 @@ struct _ExoIconViewPrivate
   guint search_imcontext_changed : 1;
   gint  search_column;
   gint  search_selected_iter;
-  gint  search_timeout_id;
+  guint search_timeout_id;
   gboolean  search_disable_popdown;
   ExoIconViewSearchEqualFuncsearch_equal_func;
   gpointer  search_equal_data;
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfburn:master l10n: Updated Spanish (Castilian) (es) translation to 100%

2012-11-10 Thread Transifex
Updating branch refs/heads/master
 to 719296208cd8783af5a332bea145ee29a967723c (commit)
   from 48089e588f6ebb544f1201a50a114d53665812a3 (commit)

commit 719296208cd8783af5a332bea145ee29a967723c
Author: Francisco Javier Serrador fserra...@gmail.com
Date:   Sat Nov 10 15:00:19 2012 +0100

l10n: Updated Spanish (Castilian) (es) translation to 100%

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

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

 po/es.po |  106 +++---
 1 files changed, 53 insertions(+), 53 deletions(-)

diff --git a/po/es.po b/po/es.po
index 8ec7bdc..a9c68ea 100644
--- a/po/es.po
+++ b/po/es.po
@@ -8,7 +8,7 @@ msgid 
 msgstr 
 Project-Id-Version: xfburn 0.0.3svn\n
 Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2012-07-11 13:06+\n
+POT-Creation-Date: 2012-11-10 11:33+\n
 PO-Revision-Date: \n
 Last-Translator: Sergio oigres...@gmail.com\n
 Language-Team: Spanish xfce-i...@xfce.org\n
@@ -59,7 +59,7 @@ msgstr Borrar disco
 
 #: ../xfburn/xfburn-blank-dialog.c:209
 #: ../xfburn/xfburn-burn-data-composition-base-dialog.c:195
-#: ../xfburn/xfburn-burn-image-dialog.c:191
+#: ../xfburn/xfburn-burn-image-dialog.c:198
 #: ../xfburn/xfburn-copy-cd-dialog.c:131
 #: ../xfburn/xfburn-copy-dvd-dialog.c:131
 #: ../xfburn/xfburn-burn-audio-cd-composition-dialog.c:160
@@ -72,7 +72,7 @@ msgstr Tipo de borrado
 
 #: ../xfburn/xfburn-blank-dialog.c:230
 #: ../xfburn/xfburn-burn-data-composition-base-dialog.c:227
-#: ../xfburn/xfburn-burn-image-dialog.c:199
+#: ../xfburn/xfburn-burn-image-dialog.c:206
 #: ../xfburn/xfburn-copy-cd-dialog.c:139
 #: ../xfburn/xfburn-copy-dvd-dialog.c:139
 #: ../xfburn/xfburn-burn-audio-cd-composition-dialog.c:194
@@ -81,7 +81,7 @@ msgstr Opciones
 
 #: ../xfburn/xfburn-blank-dialog.c:234
 #: ../xfburn/xfburn-burn-data-composition-base-dialog.c:231
-#: ../xfburn/xfburn-burn-image-dialog.c:203
+#: ../xfburn/xfburn-burn-image-dialog.c:210
 #: ../xfburn/xfburn-copy-cd-dialog.c:143
 #: ../xfburn/xfburn-copy-dvd-dialog.c:143
 #: ../xfburn/xfburn-burn-audio-cd-composition-dialog.c:198
@@ -129,8 +129,8 @@ msgstr Fallo
 
 #: ../xfburn/xfburn-blank-dialog.c:461
 #: ../xfburn/xfburn-burn-data-composition-base-dialog.c:610
-#: ../xfburn/xfburn-burn-image-dialog.c:388
-#: ../xfburn/xfburn-burn-image-dialog.c:556
+#: ../xfburn/xfburn-burn-image-dialog.c:395
+#: ../xfburn/xfburn-burn-image-dialog.c:565
 #: ../xfburn/xfburn-burn-audio-cd-composition-dialog.c:397
 msgid Unable to grab the drive.
 msgstr Imposible obtener la unidad.
@@ -162,7 +162,7 @@ msgstr 
 small¿Desea cambiar el nombre predeterminado para la composición?/small
 
 #: ../xfburn/xfburn-burn-data-composition-base-dialog.c:236
-#: ../xfburn/xfburn-burn-image-dialog.c:208
+#: ../xfburn/xfburn-burn-image-dialog.c:215
 #: ../xfburn/xfburn-copy-cd-dialog.c:148
 #: ../xfburn/xfburn-copy-dvd-dialog.c:148
 #: ../xfburn/xfburn-burn-audio-cd-composition-dialog.c:203
@@ -170,7 +170,7 @@ msgid _Dummy write
 msgstr _Simular grabación
 
 #: ../xfburn/xfburn-burn-data-composition-base-dialog.c:240
-#: ../xfburn/xfburn-burn-image-dialog.c:212
+#: ../xfburn/xfburn-burn-image-dialog.c:219
 #: ../xfburn/xfburn-burn-audio-cd-composition-dialog.c:207
 msgid Burn_Free
 msgstr Burn_Free
@@ -216,50 +216,50 @@ msgstr Actualmente el modo de escritura no está 
soportado.
 msgid Could not create ISO source structure.
 msgstr No se pudo crear la estructura ISO de origen.
 
-#: ../xfburn/xfburn-burn-image-dialog.c:156
+#: ../xfburn/xfburn-burn-image-dialog.c:159
 msgid Burn image
 msgstr Grabar imagen
 
 #. file
-#: ../xfburn/xfburn-burn-image-dialog.c:163
-#: ../xfburn/xfburn-burn-image-dialog.c:176
+#: ../xfburn/xfburn-burn-image-dialog.c:166
+#: ../xfburn/xfburn-burn-image-dialog.c:183
 msgid Image to burn
 msgstr Imagen a grabar
 
-#: ../xfburn/xfburn-burn-image-dialog.c:167
+#: ../xfburn/xfburn-burn-image-dialog.c:170
 msgid All files
 msgstr Todos los archivos
 
-#: ../xfburn/xfburn-burn-image-dialog.c:171
+#: ../xfburn/xfburn-burn-image-dialog.c:174
 msgid ISO images
 msgstr Imágenes ISO
 
-#: ../xfburn/xfburn-burn-image-dialog.c:222
+#: ../xfburn/xfburn-burn-image-dialog.c:229
 msgid _Burn image
 msgstr _Grabar imagen
 
-#: ../xfburn/xfburn-burn-image-dialog.c:271
+#: ../xfburn/xfburn-burn-image-dialog.c:278
 msgid Burn mode is not currently implemented.
 msgstr Actualmente el modo de grabación no está implementado.
 
-#: ../xfburn/xfburn-burn-image-dialog.c:322
-#: ../xfburn/xfburn-burn-image-dialog.c:351
+#: ../xfburn/xfburn-burn-image-dialog.c:329
+#: ../xfburn/xfburn-burn-image-dialog.c:358
 msgid An error occurred in the burn backend
 msgstr Sucedió un error en el motor de grabación
 
-#: ../xfburn/xfburn-burn-image-dialog.c:335
+#: ../xfburn/xfburn-burn-image-dialog.c:342
 msgid Unable to determine image size.
 msgstr Imposible determinar el tamaño de la imagen.
 
-#: ../xfburn/xfburn-burn-image-dialog.c:342
+#: 

[Xfce4-commits] xfce4-settings:master l10n: Updated Basque (eu) translation to 93%

2012-11-10 Thread Transifex
Updating branch refs/heads/master
 to 107f46db54d5de6099e72455f0aa263950152b36 (commit)
   from cfd6124cd8fe9055a0bddcc8a45db0bbe654ff3d (commit)

commit 107f46db54d5de6099e72455f0aa263950152b36
Author: Piarres Beobide p...@beobide.net
Date:   Sat Nov 10 15:28:24 2012 +0100

l10n: Updated Basque (eu) translation to 93%

New status: 325 messages complete with 19 fuzzies and 3 untranslated.

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

 po/eu.po |  534 --
 1 files changed, 311 insertions(+), 223 deletions(-)

diff --git a/po/eu.po b/po/eu.po
index 135df30..904159a 100644
--- a/po/eu.po
+++ b/po/eu.po
@@ -6,7 +6,7 @@ msgid 
 msgstr 
 Project-Id-Version: eu\n
 Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2012-08-29 16:03+\n
+POT-Creation-Date: 2012-11-10 13:30+\n
 PO-Revision-Date: 2010-02-10 22:13+0100\n
 Last-Translator: \n
 Language-Team: Basque kde-i18n-...@kde.org\n
@@ -22,7 +22,7 @@ msgid Acceleration _profile:
 msgstr Azelerazio _profila:
 
 #: ../dialogs/accessibility-settings/accessibility-dialog.glade.h:2
-msgid Acceleration _time:
+msgid Acceleration t_ime:
 msgstr Azelerazioa _denbora:
 
 #: ../dialogs/accessibility-settings/accessibility-dialog.glade.h:3
@@ -35,25 +35,29 @@ msgid Accessibility
 msgstr Erabilerraztasuna
 
 #: ../dialogs/accessibility-settings/accessibility-dialog.glade.h:5
+msgid Assistive _Technologies
+msgstr Laguntza _teknologiak
+
+#: ../dialogs/accessibility-settings/accessibility-dialog.glade.h:6
 msgid 
 Assistive technologies will be available the\n
 next time you login
 msgstr 
 Laguntza teknologiak gaiturik egongo dira saioa hasten duzun hurrengoan
 
-#: ../dialogs/accessibility-settings/accessibility-dialog.glade.h:7
+#: ../dialogs/accessibility-settings/accessibility-dialog.glade.h:8
 msgid Bounce Keys
 msgstr Tekla errepikapena
 
-#: ../dialogs/accessibility-settings/accessibility-dialog.glade.h:8
+#: ../dialogs/accessibility-settings/accessibility-dialog.glade.h:9
 msgid Configure keyboard and mouse accessibility
 msgstr Konfiguratu teklatu eta sagu erabilerraztasuna
 
-#: ../dialogs/accessibility-settings/accessibility-dialog.glade.h:9
-msgid Disable sticky keys if _two keys are pressed
+#: ../dialogs/accessibility-settings/accessibility-dialog.glade.h:10
+msgid Disable sticky keys if two keys are _pressed
 msgstr Desgaitu tekla itsaskorra _bi tekla sakatzen badira
 
-#: ../dialogs/accessibility-settings/accessibility-dialog.glade.h:10
+#: ../dialogs/accessibility-settings/accessibility-dialog.glade.h:11
 msgid 
 If enabled, the session manager will start the required applications for 
 screen readers and magnifiers
@@ -61,62 +65,62 @@ msgstr 
 Gaiturik badago, saio kudeatzaileak pantaila irakurle eta handitzerako 
 dagokion aplikazio irekiko du.
 
-#: ../dialogs/accessibility-settings/accessibility-dialog.glade.h:11
+#: ../dialogs/accessibility-settings/accessibility-dialog.glade.h:12
 msgid K_eystroke delay:
 msgstr Tekla-sakatz_e atzerapena:
 
-#: ../dialogs/accessibility-settings/accessibility-dialog.glade.h:12
+#: ../dialogs/accessibility-settings/accessibility-dialog.glade.h:13
 msgid Keyboa_rd
 msgstr Tekla_tua
 
-#: ../dialogs/accessibility-settings/accessibility-dialog.glade.h:13
-msgid Maximum _speed:
-msgstr Gehienezko abiadura:
-
 #: ../dialogs/accessibility-settings/accessibility-dialog.glade.h:14
+msgid Ma_ximum speed:
+msgstr Gehiene_zko abiadura:
+
+#: ../dialogs/accessibility-settings/accessibility-dialog.glade.h:15
 msgid Mouse Emulation
 msgstr Sagu emulazioa
 
-#: ../dialogs/accessibility-settings/accessibility-dialog.glade.h:15
+#: ../dialogs/accessibility-settings/accessibility-dialog.glade.h:16
 msgid No AT-SPI provider was found on your system
 msgstr Ez da AT-SPI hornitzailerik aurkitu zure sisteman
 
-#: ../dialogs/accessibility-settings/accessibility-dialog.glade.h:16
+#: ../dialogs/accessibility-settings/accessibility-dialog.glade.h:17
 msgid R_epeat interval:
 msgstr Errepikapen aldia:
 
-#: ../dialogs/accessibility-settings/accessibility-dialog.glade.h:17
+#: ../dialogs/accessibility-settings/accessibility-dialog.glade.h:18
 msgid Slow Keys
 msgstr Tekla geldoak
 
-#: ../dialogs/accessibility-settings/accessibility-dialog.glade.h:18
+#: ../dialogs/accessibility-settings/accessibility-dialog.glade.h:19
 msgid Sticky Keys
 msgstr Tekla itsaskorrak
 
-#: ../dialogs/accessibility-settings/accessibility-dialog.glade.h:19
+#: ../dialogs/accessibility-settings/accessibility-dialog.glade.h:20
 msgid The amount of time, in milliseconds, required between keystrokes
 msgstr Tekla sakatzeen artean beharreko denbora, milisegundotan
 
-#: ../dialogs/accessibility-settings/accessibility-dialog.glade.h:20
+#: ../dialogs/accessibility-settings/accessibility-dialog.glade.h:21
 msgid 
 The amount of time, in milliseconds, that must elapse before a keystroke 
 will be accepted
 msgstr 
 Tekla sakatze bat onartu aurretik igaro behar den denbora, 

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

2012-11-10 Thread Transifex
Updating branch refs/heads/master
 to 55933a1c873fbc0da7f18a5111309d4e588269e4 (commit)
   from 107f46db54d5de6099e72455f0aa263950152b36 (commit)

commit 55933a1c873fbc0da7f18a5111309d4e588269e4
Author: Piarres Beobide p...@beobide.net
Date:   Sat Nov 10 15:41:28 2012 +0100

l10n: Updated Basque (eu) translation to 99%

New status: 344 messages complete with 1 fuzzy and 2 untranslated.

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

 po/eu.po |   34 --
 1 files changed, 8 insertions(+), 26 deletions(-)

diff --git a/po/eu.po b/po/eu.po
index 904159a..418ab09 100644
--- a/po/eu.po
+++ b/po/eu.po
@@ -463,7 +463,6 @@ msgstr 
 interfaze testu bat erakustean
 
 #: ../dialogs/appearance-settings/appearance-dialog.glade.h:38
-#, fuzzy
 msgid _Enable anti-aliasing
 msgstr Gaitu _anti-aliasing-a
 
@@ -800,7 +799,6 @@ msgid A_pplication Shortcuts
 msgstr A_plikazio lasterbideak
 
 #: ../dialogs/keyboard-settings/keyboard-dialog.glade.h:2
-#, fuzzy
 msgid Beha_vior
 msgstr _Portaera
 
@@ -810,24 +808,21 @@ msgstr Keinu _atzerapena:
 
 # Automatically copied. Please review and remove fuzzy flag.
 #: ../dialogs/keyboard-settings/keyboard-dialog.glade.h:4
-#, fuzzy
 msgid Change la_yout option
-msgstr Aldatu diseinu aukera
+msgstr Aldatu _diseinu aukera
 
 # Automatically copied. Please review and remove fuzzy flag.
 #: ../dialogs/keyboard-settings/keyboard-dialog.glade.h:5
-#, fuzzy
 msgid Co_mpose key
-msgstr Konposizio tekla
+msgstr Ko_nposizio tekla
 
 #: ../dialogs/keyboard-settings/keyboard-dialog.glade.h:6
 msgid Cursor
 msgstr Kurtsorea
 
 #: ../dialogs/keyboard-settings/keyboard-dialog.glade.h:7
-#, fuzzy
 msgid Define shortcuts for la_unching applications:
-msgstr Zehaztu lasterbideak aplikazioak abiarazteko:
+msgstr Zehaztu lasterbideak aplikazioak a_biarazteko:
 
 #: ../dialogs/keyboard-settings/keyboard-dialog.glade.h:8
 #: ../dialogs/keyboard-settings/xfce-keyboard-settings.desktop.in.h:1
@@ -840,9 +835,8 @@ msgid General
 msgstr Orokorra
 
 #: ../dialogs/keyboard-settings/keyboard-dialog.glade.h:10
-#, fuzzy
 msgid Key_board layout
-msgstr Teklatu ingurunea
+msgstr T_eklatu ingurunea
 
 #: ../dialogs/keyboard-settings/keyboard-dialog.glade.h:11
 #: ../dialogs/keyboard-settings/xfce-keyboard-settings.desktop.in.h:2
@@ -864,7 +858,6 @@ msgid Move currently selected item up by one row
 msgstr Mugitu hautaturik dagoen elementua lerro bat gora
 
 #: ../dialogs/keyboard-settings/keyboard-dialog.glade.h:15
-#, fuzzy
 msgid Repe_at speed:
 msgstr Errepikatze _abiadura :
 
@@ -925,9 +918,8 @@ msgid _Enable key repeat
 msgstr _Gaitu tekla errepikatzea
 
 #: ../dialogs/keyboard-settings/keyboard-dialog.glade.h:28
-#, fuzzy
 msgid _Keyboard model
-msgstr Teklatu modeloa
+msgstr _Teklatu modeloa
 
 #: ../dialogs/keyboard-settings/keyboard-dialog.glade.h:29
 msgid _Layout
@@ -1149,7 +1141,6 @@ msgid %g ms
 msgstr %g ms
 
 #: ../dialogs/mouse-settings/mouse-dialog.glade.h:1
-#, fuzzy
 msgid Acceleratio_n:
 msgstr _Azelerazioa:
 
@@ -1179,7 +1170,6 @@ msgid Counterclockwise
 msgstr Erlojuaren aurka
 
 #: ../dialogs/mouse-settings/mouse-dialog.glade.h:8
-#, fuzzy
 msgid Cursor si_ze:
 msgstr Kurtsore _tamaina:
 
@@ -1192,7 +1182,6 @@ msgid De_vice:
 msgstr Gai_lua:
 
 #: ../dialogs/mouse-settings/mouse-dialog.glade.h:11
-#, fuzzy
 msgid Disable touchpad _while typing
 msgstr Desgaitu to_uchpada tekleatzean
 
@@ -1221,7 +1210,6 @@ msgid Half (left-handed)
 msgstr Erdia (ezkerrarekin)
 
 #: ../dialogs/mouse-settings/mouse-dialog.glade.h:19
-#, fuzzy
 msgid Le_ft-handed
 msgstr _Ezkerrarekin
 
@@ -1255,7 +1243,6 @@ msgid Reverse scroll d_irection
 msgstr Alde_rantzizko korritze norantza
 
 #: ../dialogs/mouse-settings/mouse-dialog.glade.h:27
-#, fuzzy
 msgid Ri_ght-handed
 msgstr _Eskuinarekin
 
@@ -1264,12 +1251,10 @@ msgid Scrolling
 msgstr Korritzea
 
 #: ../dialogs/mouse-settings/mouse-dialog.glade.h:29
-#, fuzzy
 msgid Scrolling _mode:
-msgstr Korritzea modua_
+msgstr Korritzea modua_:
 
 #: ../dialogs/mouse-settings/mouse-dialog.glade.h:30
-#, fuzzy
 msgid Sensitivit_y:
 msgstr _Sentikortasuna:
 
@@ -1291,12 +1276,11 @@ msgstr T_ouchpad
 
 #: ../dialogs/mouse-settings/mouse-dialog.glade.h:34
 msgid Tab_let
-msgstr 
+msgstr Tableta
 
 #: ../dialogs/mouse-settings/mouse-dialog.glade.h:35
-#, fuzzy
 msgid Tap touchpad to clic_k
-msgstr J_o touchpada klikatzeko
+msgstr Jo touchpada _klikatzeko
 
 #: ../dialogs/mouse-settings/mouse-dialog.glade.h:36
 msgid Th_reshold:
@@ -1383,7 +1367,6 @@ msgid _Rotation:
 msgstr Bi_raketa:
 
 #: ../dialogs/mouse-settings/mouse-dialog.glade.h:52
-#, fuzzy
 msgid _Theme
 msgstr _Gaia
 
@@ -1648,7 +1631,6 @@ msgid Settings dialog to show
 msgstr Erakutsiko den ezarpen elkarrizketa
 
 #: ../xfce4-settings-manager/xfce-settings-manager-dialog.c:186
-#, fuzzy
 msgid All _Settings
 msgstr Ezarpenak _guztiak
 
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org

[Xfce4-commits] xfce4-mixer:master l10n: Updated Basque (eu) translation to 97%

2012-11-10 Thread Transifex
Updating branch refs/heads/master
 to a3f08612eaa0ffc362c8ece3a55e0c5435dbea14 (commit)
   from 70ac33769d55c89b8c78d67bc09796c92416a200 (commit)

commit a3f08612eaa0ffc362c8ece3a55e0c5435dbea14
Author: Piarres Beobide p...@beobide.net
Date:   Sat Nov 10 15:49:55 2012 +0100

l10n: Updated Basque (eu) translation to 97%

New status: 35 messages complete with 0 fuzzies and 1 untranslated.

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

 po/eu.po |   58 --
 1 files changed, 24 insertions(+), 34 deletions(-)

diff --git a/po/eu.po b/po/eu.po
index 9548733..8baff00 100644
--- a/po/eu.po
+++ b/po/eu.po
@@ -2,7 +2,7 @@
 # Spanish/ES translation for the xfce-mixer package
 # Copyright (C) 2008 Jannis Pohlmann jan...@xfce.org.
 # This file is distributed under the same license as the xfce package.
-#
+# 
 # Abel Martín abel.martin.r...@gmail.com, 2008.
 # Piarres Beobide p...@beobide.net, 2008.
 msgid 
@@ -13,21 +13,21 @@ msgstr 
 PO-Revision-Date: 2008-11-27 00:30+0100\n
 Last-Translator: Piarres Beobide p...@beobide.net\n
 Language-Team: Euskara debian-l10n-bas...@lists.debian.org\n
-Language: \n
 MIME-Version: 1.0\n
 Content-Type: text/plain; charset=UTF-8\n
 Content-Transfer-Encoding: 8bit\n
+Language: \n
 Plural-Forms: nplurals=2; plural=(n  1);\n
 X-Generator: KBabel 1.11.4\n
 
 #. Add menu item for muting
 #: ../panel-plugin/xfce-mixer-plugin.c:306
 msgid Mu_te
-msgstr 
+msgstr Mu_tu
 
 #: ../panel-plugin/xfce-mixer-plugin.c:314
 msgid Run Audio Mi_xer
-msgstr 
+msgstr Audio na_haslea abiarazi
 
 #: ../panel-plugin/xfce-mixer-plugin.c:581 ../xfce4-mixer/main.c:148
 msgid 
@@ -39,9 +39,8 @@ msgstr 
 daiteke.
 
 #: ../panel-plugin/xfce-mixer-plugin.c:931
-#, fuzzy
 msgid No command defined
-msgstr Ez dago ezker-klik komando ezarririk
+msgstr Ez dago komando ezarririk
 
 #. Generate error message and insert the current command
 #: ../panel-plugin/xfce-mixer-plugin.c:939
@@ -56,35 +55,31 @@ msgstr 
 duzula.
 
 #: ../panel-plugin/xfce-plugin-dialog.c:150
-#, fuzzy
 msgid Audio Mixer Plugin
 msgstr Nahastaile plugina
 
 #: ../panel-plugin/xfce-plugin-dialog.c:152
-#, fuzzy
 msgid Configure the sound card and mixer track
 msgstr 
 Konfiguratu soinu txartela(k) eta kontrolatu hautatutako pisten bolumena
 
 #: ../panel-plugin/xfce-plugin-dialog.c:165
 #: ../xfce4-mixer/xfce-mixer-window.c:185
-#, fuzzy
 msgid Sound _card:
-msgstr Soinu txartela:
+msgstr Soinu t_xartela:
 
 #: ../panel-plugin/xfce-plugin-dialog.c:174
-#, fuzzy
 msgid Mixer _track:
-msgstr Nahastaile pista
+msgstr Nahastaile _pista:
 
 #: ../panel-plugin/xfce-volume-button.c:854
 msgid No valid device and/or element.
-msgstr 
+msgstr Gailu edo/eta elementu baliogabea
 
 #: ../panel-plugin/xfce-volume-button.c:859
 #, c-format
 msgid %s: muted
-msgstr 
+msgstr %s: mutua
 
 #: ../panel-plugin/xfce-volume-button.c:861
 #, c-format
@@ -97,14 +92,13 @@ msgstr %s: %%%i
 #: ../xfce4-mixer/xfce-mixer-window.c:413
 #: ../xfce4-mixer/xfce-mixer-window.c:427
 #: ../xfce4-mixer/xfce4-mixer.desktop.in.h:1
-#, fuzzy
 msgid Audio Mixer
-msgstr Nahastailea
+msgstr Audio nahastailea
 
 #: ../panel-plugin/mixer.desktop.in.h:2
 #: ../xfce4-mixer/xfce4-mixer.desktop.in.h:2
 msgid Adjust volume levels
-msgstr 
+msgstr Ezarri bolumen teklak
 
 #: ../libxfce4mixer/libxfce4mixer.c:422
 #, c-format
@@ -113,36 +107,32 @@ msgstr %d bolumen-kontrol ezezaguna
 
 #: ../xfce4-mixer/main.c:86
 msgid Enable debugging output
-msgstr 
+msgstr Gaitu arazpen irteera
 
 #: ../xfce4-mixer/main.c:87
 msgid Show version and exit
-msgstr 
+msgstr Ikusi bertsioa eta irten
 
 #: ../xfce4-mixer/main.c:130
-#, fuzzy, c-format
+#, c-format
 msgid xfce4-mixer: Failed to initialize xfconf: %s\n
-msgstr Huts egin du xfconf exekutatzean: %s
+msgstr xfce4-mixer: Huts xfconf exekutatzean: %s\n
 
 #: ../xfce4-mixer/xfce-mixer-container.c:218
-#, fuzzy
 msgid _Playback
-msgstr Erreproduzitu
+msgstr Erre_produzitu
 
 #: ../xfce4-mixer/xfce-mixer-container.c:218
-#, fuzzy
 msgid C_apture
-msgstr Kapturatu
+msgstr K_apturatu
 
 #: ../xfce4-mixer/xfce-mixer-container.c:218
-#, fuzzy
 msgid S_witches
-msgstr Kommutadoreak
+msgstr Ko_mmutadoreak
 
 #: ../xfce4-mixer/xfce-mixer-container.c:218
-#, fuzzy
 msgid _Options
-msgstr Aukerak
+msgstr Au_kerak
 
 #: ../xfce4-mixer/xfce-mixer-container.c:390
 msgid No controls visible
@@ -150,13 +140,13 @@ msgstr Ez kontrolik ikusgai
 
 #: ../xfce4-mixer/xfce-mixer-container.c:401
 msgid span weight=\bold\ size=\larger\No controls visible/span
-msgstr 
+msgstr span weight=\bold\ size=\larger\Ez dago kontol 
ikusgarririk/span
 
 #: ../xfce4-mixer/xfce-mixer-container.c:409
 msgid 
 In order to toggle the visibility of mixer controls, open the b\Select 
 Controls\/b dialog.
-msgstr 
+msgstr Konrolenm ikusgarritasuna aldatu ahal izateko ireki b\Hautatu 
kontrolak\/b leihoa
 
 #: ../xfce4-mixer/xfce-mixer-controls-dialog.c:118
 msgid Select Controls
@@ -169,7 +159,7 @@ msgstr Hautatu 

[Xfce4-commits] xfce4-timer-plugin:master l10n: Updated Basque (eu) translation to 100%

2012-11-10 Thread Transifex
Updating branch refs/heads/master
 to 982f778d02b01afe7156fd9a46343d6003e995bb (commit)
   from f36d0ace2c70beb0236e2299423038a6c74454ae (commit)

commit 982f778d02b01afe7156fd9a46343d6003e995bb
Author: Piarres Beobide p...@beobide.net
Date:   Sat Nov 10 15:51:07 2012 +0100

l10n: Updated Basque (eu) translation to 100%

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

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

 po/eu.po |  126 +-
 1 files changed, 59 insertions(+), 67 deletions(-)

diff --git a/po/eu.po b/po/eu.po
index b5753ae..585926d 100644
--- a/po/eu.po
+++ b/po/eu.po
@@ -3,42 +3,38 @@
 # This file is distributed under the same license as
 #   the xfce4-timer package.
 # Piarres Beobide p...@beobide.net, 2006.
-#
+# 
 msgid 
 msgstr 
 Project-Id-Version: xfce4-timer 0.3\n
 Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2012-09-04 15:53+0300\n
+POT-Creation-Date: 2006-09-10 21:29+0200\n
 PO-Revision-Date: 2008-11-09 15:43+0200\n
 Last-Translator: Piarres Beobide p...@beobide.net\n
 Language-Team: Librezale librez...@librezale.org\n
-Language: eu\n
 MIME-Version: 1.0\n
 Content-Type: text/plain; charset=UTF-8\n
 Content-Transfer-Encoding: 8bit\n
+Language: eu\n
 Plural-Forms: nplurals=2; plural=(n != 1);\n
 X-Generator: Pootle 1.2.0\n
 
-#: ../src/xfcetimer.c:108
+#: ../src/xfcetimer.c:100
 #, c-format
 msgid %dh %dm %ds left
 msgstr %do %dm %ds falta dira
 
-#: ../src/xfcetimer.c:111
+#: ../src/xfcetimer.c:103
 #, c-format
 msgid %dm %ds left
 msgstr %dm %ds falta dira
 
-#: ../src/xfcetimer.c:113
+#: ../src/xfcetimer.c:105
 #, c-format
 msgid %ds left
 msgstr %ds falta dira
 
-#: ../src/xfcetimer.c:116
-msgid  (Paused)
-msgstr 
-
-#: ../src/xfcetimer.c:141
+#: ../src/xfcetimer.c:126
 msgid 
 Beeep! :) \n
 Time is up!
@@ -46,110 +42,105 @@ msgstr 
 Beep! :) \n
 Ordua pasa da!
 
-#: ../src/xfcetimer.c:430
-msgid Resume timer
-msgstr Abiarazte ordua
-
-#: ../src/xfcetimer.c:436 ../src/xfcetimer.c:504
+#: ../src/xfcetimer.c:424
 msgid Stop timer
 msgstr Amaiera ordua
 
-#: ../src/xfcetimer.c:490
-msgid Pause timer
-msgstr Abiarazte ordua
-
-#: ../src/xfcetimer.c:506
+#: ../src/xfcetimer.c:426
 msgid Start timer
 msgstr Abiarazte ordua
 
-#: ../src/xfcetimer.c:516
+#: ../src/xfcetimer.c:436
 msgid Stop the alarm
 msgstr Alarma gelditu
 
-#: ../src/xfcetimer.c:562 ../src/xfcetimer.c:637
+#: ../src/xfcetimer.c:482 ../src/xfcetimer.c:556
 #, c-format
 msgid %dh %dm %ds
 msgstr %do %dm %ds
 
-#: ../src/xfcetimer.c:564 ../src/xfcetimer.c:639
+#: ../src/xfcetimer.c:484 ../src/xfcetimer.c:558
 #, c-format
 msgid %dm %ds
 msgstr %dm %ds
 
-#: ../src/xfcetimer.c:566 ../src/xfcetimer.c:641
+#: ../src/xfcetimer.c:486 ../src/xfcetimer.c:560
 #, c-format
 msgid %ds
 msgstr %ds
 
-#: ../src/xfcetimer.c:576 ../src/xfcetimer.c:651
+#: ../src/xfcetimer.c:496 ../src/xfcetimer.c:570
 #, c-format
 msgid At %02d:%02d
 msgstr %02d:%02d-etan
 
-#: ../src/xfcetimer.c:733
-#, fuzzy
-msgid Name:
+#: ../src/xfcetimer.c:619
+msgid Name
 msgstr Izena
 
 #. 
-#: ../src/xfcetimer.c:741
+#: ../src/xfcetimer.c:627
 msgid Enter the countdown time
 msgstr atzekoz aurrera kontatze denbora idatzi
 
-#: ../src/xfcetimer.c:744
+#: ../src/xfcetimer.c:629
 msgid Enter the time of alarm (24h format)
 msgstr Alarmaren ordua idatzi (24h formatua)
 
-#: ../src/xfcetimer.c:756
+#: ../src/xfcetimer.c:640
 msgid h  
 msgstr o  
 
-#: ../src/xfcetimer.c:761
+#: ../src/xfcetimer.c:645
 msgid m  
 msgstr m  
 
-#: ../src/xfcetimer.c:766
+#: ../src/xfcetimer.c:650
 msgid s  
 msgstr s  
 
-#: ../src/xfcetimer.c:769
-#, fuzzy
-msgid or
+#: ../src/xfcetimer.c:653
+msgid 
+\n
+or\n
 msgstr 
 \n
 edo\n
 
-#: ../src/xfcetimer.c:792
-#, fuzzy
-msgid Command to run:
+#. **
+#: ../src/xfcetimer.c:673
+msgid 
+\n
+The command to run
 msgstr 
 \n
 abiarazteko komandoa
 
-#: ../src/xfcetimer.c:822
+#: ../src/xfcetimer.c:699
 msgid Add new alarm
 msgstr Alarma Berri bat gehitu
 
-#: ../src/xfcetimer.c:861
+#: ../src/xfcetimer.c:737
 msgid Edit alarm
 msgstr Alarma Editatu
 
-#: ../src/xfcetimer.c:1439 ../src/xfcetimer.c:1448
-msgid Xfce4 Timer Options
-msgstr Xfce4 Kronometro Aukerak
+#: ../src/xfcetimer.c:1162
+msgid Properties
+msgstr Propietateak
 
-#: ../src/xfcetimer.c:1450
-msgid Xfce 4 Timer Plugin
+#: ../src/xfcetimer.c:1174
+msgid Xfce4 Timer Options
 msgstr Xfce4 Kronometro Aukerak
 
-#: ../src/xfcetimer.c:1499
-#, fuzzy
-msgid Timer name
+#: ../src/xfcetimer.c:1205
+msgid 
+Timer\n
+name
 msgstr 
 Kronometroa\n
 izena
 
-#: ../src/xfcetimer.c:1504
+#: ../src/xfcetimer.c:1210
 msgid 
 Countdown period /\n
 Alarm time
@@ -157,30 +148,27 @@ msgstr 
 Kontatze aldia /\n
 Alarma ordua
 
-#: ../src/xfcetimer.c:1508
+#: ../src/xfcetimer.c:1214
 msgid Alarm command
 msgstr Alarma komandoa
 
-#: ../src/xfcetimer.c:1564
-#, fuzzy
-msgid Don't display a warning  if an alarm command is set
+#: ../src/xfcetimer.c:1257
+msgid 
+Don't 

[Xfce4-commits] xfwm4:master l10n: Updated Polish (pl) translation to 96%

2012-11-10 Thread Transifex
Updating branch refs/heads/master
 to 12351955a144ee207c6970ad610d8e5b022bd147 (commit)
   from 1fce11b68672f7dfcc9f3b16f5b132030fdf2bd6 (commit)

commit 12351955a144ee207c6970ad610d8e5b022bd147
Author: Marcin Romańczuk abj...@gmail.com
Date:   Sat Nov 10 16:15:43 2012 +0100

l10n: Updated Polish (pl) translation to 96%

New status: 226 messages complete with 9 fuzzies and 0 untranslated.

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

 po/pl.po |  182 -
 1 files changed, 95 insertions(+), 87 deletions(-)

diff --git a/po/pl.po b/po/pl.po
index 7910ac9..72f5010 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -6,21 +6,20 @@
 # Robert Kurowski koo...@o2.pl, 2005.
 # Szymon Kałasz szymon_maes...@gazeta.pl, 2006.
 # Piotr Sokół pso...@jabster.pl, 2009, 2011, 2012.
-#
+# 
 msgid 
 msgstr 
 Project-Id-Version: xfwm4 4.8.1\n
 Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2012-11-07 06:48+\n
+POT-Creation-Date: 2012-11-10 15:03+\n
 PO-Revision-Date: 2012-11-07 11:53+0100\n
 Last-Translator: Piotr Sokół pso...@jabster.pl\n
 Language-Team: polski \n
-Language: pl\n
 MIME-Version: 1.0\n
 Content-Type: text/plain; charset=UTF-8\n
 Content-Transfer-Encoding: 8bits\n
-Plural-Forms: nplurals=3; plural=((n==1) ? 0 : ((n%10=2  n%10=4  (n
-%10010 || n%100=20)) ? 1 : 2));\n
+Language: pl\n
+Plural-Forms: nplurals=3; plural=((n==1) ? 0 : ((n%10=2  n%10=4  
(n%10010 || n%100=20)) ? 1 : 2));\n
 X-Generator: Gtranslator 2.91.5\n
 
 #: ../helper-dialog/helper-dialog.c:84
@@ -93,7 +92,7 @@ msgid Configure window behavior and shortcuts
 msgstr Konfiguruje ustawienia okien i skróty klawiszowe
 
 #: ../settings-dialogs/xfce-wm-settings.desktop.in.h:2
-#: ../settings-dialogs/xfwm4-dialog.glade.h:48
+#: ../settings-dialogs/xfwm4-dialog.glade.h:47
 msgid Window Manager
 msgstr Okna
 
@@ -103,7 +102,7 @@ msgid Fine-tune window behaviour and effects
 msgstr Konfiguruje ustawienia menedżera okien oraz efekty wizualne
 
 #: ../settings-dialogs/xfce-wmtweaks-settings.desktop.in.h:2
-#: ../settings-dialogs/xfwm4-tweaks-dialog.glade.h:36
+#: ../settings-dialogs/xfwm4-tweaks-dialog.glade.h:38
 msgid Window Manager Tweaks
 msgstr Menedżer okien
 
@@ -146,17 +145,18 @@ msgid bRaise on focus/b
 msgstr bDziałanie uaktywniania/b
 
 #: ../settings-dialogs/xfwm4-dialog.glade.h:8
+#, fuzzy
+msgid bThe_me/b
+msgstr b_Styl/b
+
+#: ../settings-dialogs/xfwm4-dialog.glade.h:9
 msgid bTitle _alignment/b
 msgstr bWy_równanie tytułu/b
 
-#: ../settings-dialogs/xfwm4-dialog.glade.h:9
+#: ../settings-dialogs/xfwm4-dialog.glade.h:10
 msgid bTitle fon_t/b
 msgstr bCzc_ionka tytułu/b
 
-#: ../settings-dialogs/xfwm4-dialog.glade.h:10
-msgid bWindow _shortcuts/b
-msgstr bSk_róty klawiszowe/b
-
 #: ../settings-dialogs/xfwm4-dialog.glade.h:11
 msgid bWindows snapping/b
 msgstr bPrzyleganie/b
@@ -166,8 +166,9 @@ msgid bWrap workspaces/b
 msgstr bObszary robocze/b
 
 #: ../settings-dialogs/xfwm4-dialog.glade.h:13
-msgid b_Theme/b
-msgstr b_Styl/b
+#, fuzzy
+msgid b_Window shortcuts/b
+msgstr bSk_róty klawiszowe/b
 
 #. Raise focus delay
 #: ../settings-dialogs/xfwm4-dialog.glade.h:15
@@ -208,13 +209,14 @@ msgid Automatically give focus to _newly created windows
 msgstr Uaktywnianie _nowo utworzonych okien
 
 #: ../settings-dialogs/xfwm4-dialog.glade.h:26
-msgid Clic_k to focus
-msgstr Uaktywnianie k_liknięciem
-
-#: ../settings-dialogs/xfwm4-dialog.glade.h:27
 msgid Click and drag the buttons to change the layout
 msgstr Aby zmienić układ, należy przeciągnąć przyciski w odpowiednie miejsce.
 
+#: ../settings-dialogs/xfwm4-dialog.glade.h:27
+#, fuzzy
+msgid Click to foc_us
+msgstr Kliknij aby aktywować
+
 #: ../settings-dialogs/xfwm4-dialog.glade.h:28
 msgid Close
 msgstr Zamyka okno
@@ -244,75 +246,75 @@ msgid Hide content of windows when _resizing
 msgstr Ukrywanie zawartości okien podczas zmieniania _rozmiaru
 
 #: ../settings-dialogs/xfwm4-dialog.glade.h:36
-msgid Ke_yboard
-msgstr _Klawiatura
-
-#: ../settings-dialogs/xfwm4-dialog.glade.h:37
 msgid Maximize
 msgstr Maksymalizuje rozmiar okna
 
-#: ../settings-dialogs/xfwm4-dialog.glade.h:38
+#: ../settings-dialogs/xfwm4-dialog.glade.h:37
 msgid Menu
 msgstr Wyświetla menu okna
 
-#: ../settings-dialogs/xfwm4-dialog.glade.h:39
+#: ../settings-dialogs/xfwm4-dialog.glade.h:38
 msgid Minimize
 msgstr Zminimalizuj
 
-#: ../settings-dialogs/xfwm4-dialog.glade.h:40
+#: ../settings-dialogs/xfwm4-dialog.glade.h:39
 msgid Raise window when clicking _inside application window
 msgstr Przemieszczanie okien na wierzch po kliknięciu w ich zawar_tość
 
-#: ../settings-dialogs/xfwm4-dialog.glade.h:41
+#: ../settings-dialogs/xfwm4-dialog.glade.h:40
 msgid Shade
 msgstr Ukrywa zawartość okna
 
-#: ../settings-dialogs/xfwm4-dialog.glade.h:42
+#: ../settings-dialogs/xfwm4-dialog.glade.h:41
 msgid Snap windows to other _windows
 msgstr Przyleganie krawędzi okien do krawędzi innych ok_ien
 
-#: ../settings-dialogs/xfwm4-dialog.glade.h:43
+#: 

[Xfce4-commits] exo:master Drop the item index for the icon view.

2012-11-10 Thread Nick Schermer
Updating branch refs/heads/master
 to b57cb9ec9774831631359fdbdb3443f72e42e6c1 (commit)
   from 65565e976e7b57e19bb5ea7fa22923f561cc997d (commit)

commit b57cb9ec9774831631359fdbdb3443f72e42e6c1
Author: Nick Schermer n...@xfce.org
Date:   Sat Nov 10 17:19:19 2012 +0100

Drop the item index for the icon view.

Constantly updating the index is not very fast, so
drop it and manually to this when accessibility is
enabled.

 exo/exo-icon-view-accessible.c |   26 +-
 exo/exo-icon-view.c|   21 -
 2 files changed, 17 insertions(+), 30 deletions(-)

diff --git a/exo/exo-icon-view-accessible.c b/exo/exo-icon-view-accessible.c
index 9201538..c04fcaf 100644
--- a/exo/exo-icon-view-accessible.c
+++ b/exo/exo-icon-view-accessible.c
@@ -52,6 +52,8 @@ typedef struct
   guint action_idle_handler;
 } ExoIconViewItemAccessible;
 
+#define accessible_item_index(item) (g_list_index (EXO_ICON_VIEW 
(item-widget)-priv-items, item-item))
+
 static const gchar *const exo_icon_view_item_accessible_action_names[] = 
 {
   activate,
@@ -84,7 +86,7 @@ exo_icon_view_item_accessible_idle_do_action (gpointer data)
   if (item-widget != NULL)
 {
   icon_view = EXO_ICON_VIEW (item-widget);
-  path = gtk_tree_path_new_from_indices (item-item-index, -1);
+  path = gtk_tree_path_new_from_indices (accessible_item_index (item), -1);
   exo_icon_view_item_activated (icon_view, path);
   gtk_tree_path_free (path);
 }
@@ -973,7 +975,7 @@ exo_icon_view_item_accessible_get_index_in_parent 
(AtkObject *obj)
   g_return_val_if_fail (EXO_IS_ICON_VIEW_ITEM_ACCESSIBLE (obj), 0);
   item = EXO_ICON_VIEW_ITEM_ACCESSIBLE (obj);
 
-  return item-item-index; 
+  return accessible_item_index (item); 
 }
 
 static AtkStateSet *
@@ -1197,8 +1199,9 @@ exo_icon_view_accessible_ref_child (AtkObject *accessible,
   if (icons)
 {
   ExoIconViewItem *item = icons-data;
+  gint item_index = g_list_index (icon_view-priv-items, item);

-  g_return_val_if_fail (item-index == index, NULL);
+  g_return_val_if_fail (item_index == index, NULL);
   obj = exo_icon_view_accessible_find_child (accessible, index);
   if (!obj)
 {
@@ -1414,7 +1417,7 @@ exo_icon_view_accessible_model_row_inserted (GtkTreeModel 
*tree_model,
 {
   info = items-data;
   item = EXO_ICON_VIEW_ITEM_ACCESSIBLE (info-item);
-  if (info-index != item-item-index)
+  if (info-index != accessible_item_index (item))
 {
   if (info-index  index)
 g_warning (Unexpected index value on insertion %d %d, index, 
info-index);
@@ -1422,7 +1425,7 @@ exo_icon_view_accessible_model_row_inserted (GtkTreeModel 
*tree_model,
   if (tmp_list == NULL)
 tmp_list = items;

-  info-index = item-item-index;
+  info-index = accessible_item_index (item);
 }
 
   items = items-next;
@@ -1465,12 +1468,12 @@ exo_icon_view_accessible_model_row_deleted 
(GtkTreeModel *tree_model,
 {
   deleted_item = items;
 }
-  if (info-index != item-item-index)
+  if (info-index != accessible_item_index (item))
 {
   if (tmp_list == NULL)
 tmp_list = items;
 
-  info-index = item-item-index;
+  info-index = accessible_item_index (item);
 }
 
   items = items-next;
@@ -1766,6 +1769,7 @@ exo_icon_view_accessible_ref_accessible_at_point 
(AtkComponent *component,
   ExoIconView *icon_view;
   ExoIconViewItem *item;
   gint x_pos, y_pos;
+  gint index;
 
   widget = GTK_ACCESSIBLE (component)-widget;
   if (widget == NULL)
@@ -1775,8 +1779,9 @@ exo_icon_view_accessible_ref_accessible_at_point 
(AtkComponent *component,
   icon_view = EXO_ICON_VIEW (widget);
   atk_component_get_extents (component, x_pos, y_pos, NULL, NULL, 
coord_type);
   item = exo_icon_view_get_item_at_coords (icon_view, x - x_pos, y - y_pos, 
TRUE, NULL);
+  index = g_list_index (icon_view-priv-items, item);
   if (item)
-return exo_icon_view_accessible_ref_child (ATK_OBJECT (component), 
item-index);
+return exo_icon_view_accessible_ref_child (ATK_OBJECT (component), index);
 
   return NULL;
 }
@@ -1835,6 +1840,7 @@ exo_icon_view_accessible_ref_selection (AtkSelection 
*selection,
   GtkWidget *widget;
   ExoIconView *icon_view;
   ExoIconViewItem *item;
+  gint index;
 
   widget = GTK_ACCESSIBLE (selection)-widget;
   if (widget == NULL)
@@ -1843,17 +1849,19 @@ exo_icon_view_accessible_ref_selection (AtkSelection 
*selection,
   icon_view = EXO_ICON_VIEW (widget);
 
   l = icon_view-priv-items;
+  index = 0;
   while (l)
 {
   item = l-data;
   if (item-selected)
 {
   if (i == 0)
-return atk_object_ref_accessible_child (gtk_widget_get_accessible 
(widget), item-index);
+return atk_object_ref_accessible_child (gtk_widget_get_accessible 
(widget), index);
   else
  

[Xfce4-commits] libxfce4ui:master l10n: Updated Spanish (Castilian) (es) translation to 100%

2012-11-10 Thread Transifex
Updating branch refs/heads/master
 to b6bd5660deede85f431362ca9702180b0da90923 (commit)
   from 647164fbdb48d1e23485c3e9526e6f089f9430ef (commit)

commit b6bd5660deede85f431362ca9702180b0da90923
Author: Francisco Javier Serrador fserra...@gmail.com
Date:   Sat Nov 10 17:01:57 2012 +0100

l10n: Updated Spanish (Castilian) (es) translation to 100%

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

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

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

diff --git a/po/es.po b/po/es.po
index c35284f..ea5f3c0 100644
--- a/po/es.po
+++ b/po/es.po
@@ -2,106 +2,117 @@
 # Copyright (C) 2008 THE libxfce4ui's COPYRIGHT HOLDER
 # This file is distributed under the same license as the libxfce4ui package.
 # Abel Martín abel.martin.r...@gmail.com, 2008-2009.
-#
+# 
 msgid 
 msgstr 
 Project-Id-Version: libxfce4ui\n
 Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2012-04-28 03:39+\n
+POT-Creation-Date: 2012-11-10 15:27+\n
 PO-Revision-Date: 2012-04-27 22:58-0600\n
 Last-Translator: Sergio García oigres...@gmail.com\n
 Language-Team: Spanish/ES xfce-i...@xfce.org\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: Spanish\n
 X-Poedit-Country: SPAIN\n
 
-#: ../libxfce4ui/xfce-dialogs.c:80
+#: ../libxfce4ui/xfce-dialogs.c:98
 msgid Failed to open web browser for online documentation
 msgstr Falló al abrir el navegador web para la documentación online
 
-#: ../libxfce4ui/xfce-dialogs.c:195
+#: ../libxfce4ui/xfce-dialogs.c:213
 #, c-format
 msgid Do you want to read the %s manual online?
-msgstr Quiere leer el manual online de %s?
+msgstr ¿Quiere leer el manual en línea de %s?
 
-#: ../libxfce4ui/xfce-dialogs.c:197
+#: ../libxfce4ui/xfce-dialogs.c:215
 msgid Do you want to read the manual online?
-msgstr Quiere leer el manual online?
+msgstr ¿Quiere leer el manual en línea?
 
-#: ../libxfce4ui/xfce-dialogs.c:200
+#: ../libxfce4ui/xfce-dialogs.c:218
 msgid Online Documentation
-msgstr Documentación Online
+msgstr Documentación en línea
 
-#: ../libxfce4ui/xfce-dialogs.c:203
-msgid You will be redirected to the documentation website where the help 
pages are maintained and translated.
-msgstr Será redireccionado al sitio web de la documentación donde las páginas 
de ayuda son mantenidas y traducidas.
+#: ../libxfce4ui/xfce-dialogs.c:221
+msgid 
+You will be redirected to the documentation website where the help pages are 
+maintained and translated.
+msgstr 
+Será redireccionado al sitio web de la documentación donde las páginas de 
+ayuda son mantenidas y traducidas.
 
-#: ../libxfce4ui/xfce-dialogs.c:207
+#: ../libxfce4ui/xfce-dialogs.c:225
 msgid _Read Online
-msgstr _Leer Online
+msgstr _Leer en línea
 
-#: ../libxfce4ui/xfce-dialogs.c:219
+#: ../libxfce4ui/xfce-dialogs.c:237
 msgid _Always go directly to the online documentation
-msgstr _Siempre ir directamente a la documentación online
+msgstr _Siempre ir directamente a la documentación en línea
 
-#: ../libxfce4ui/xfce-dialogs.c:263
+#: ../libxfce4ui/xfce-dialogs.c:281
 msgid Information
 msgstr Información
 
-#: ../libxfce4ui/xfce-dialogs.c:296
+#: ../libxfce4ui/xfce-dialogs.c:314
 msgid Warning
 msgstr Atención
 
-#: ../libxfce4ui/xfce-dialogs.c:330
+#: ../libxfce4ui/xfce-dialogs.c:348
 msgid Error
 msgstr Error
 
-#: ../libxfce4ui/xfce-dialogs.c:381
+#: ../libxfce4ui/xfce-dialogs.c:399
 msgid Question
 msgstr Pregunta
 
-#: ../libxfce4ui/xfce-sm-client.c:1402
+#: ../libxfce4ui/xfce-sm-client.c:1403
 msgid Session management client ID
 msgstr ID del cliente de gestión de sesión
 
-#: ../libxfce4ui/xfce-sm-client.c:1402
+#: ../libxfce4ui/xfce-sm-client.c:1403
 msgid ID
 msgstr ID
 
-#: ../libxfce4ui/xfce-sm-client.c:1403
+#: ../libxfce4ui/xfce-sm-client.c:1404
 msgid Disable session management
 msgstr Desactivar la gestión de sesión
 
-#: ../libxfce4ui/xfce-sm-client.c:1413
+#: ../libxfce4ui/xfce-sm-client.c:1414
 msgid Session management options
 msgstr Opciones del administrador de sesión
 
-#: ../libxfce4ui/xfce-sm-client.c:1414
+#: ../libxfce4ui/xfce-sm-client.c:1415
 msgid Show session management options
 msgstr Mostrar las opciones del administrador de sesión
 
-#: ../libxfce4ui/xfce-sm-client.c:1590
+#: ../libxfce4ui/xfce-sm-client.c:1591
 #, c-format
 msgid Failed to connect to the session manager: %s
 msgstr Falló la conexión al gestor de sesión: %s
 
-#: ../libxfce4ui/xfce-sm-client.c:1597
+#: ../libxfce4ui/xfce-sm-client.c:1598
 #, c-format
 msgid Session manager did not return a valid client id
 msgstr El gestor de sesión no devolvió un identificador de cliente válido
 
 #. print warning for user
-#: ../libxfce4ui/xfce-spawn.c:406
+#: ../libxfce4ui/xfce-spawn.c:413
 #, c-format
-msgid Working directory \%s\ does not exist. It won't be used when spawning 
\%s\.
-msgstr El 

[Xfce4-commits] thunar:master Improve flag handing in ThunarFile.

2012-11-10 Thread Nick Schermer
Updating branch refs/heads/master
 to 42c64c1693350448e91be05da79bcdaca8179c0a (commit)
   from 3e50f502578fdf8377a3d46e05cacb65f8abaff8 (commit)

commit 42c64c1693350448e91be05da79bcdaca8179c0a
Author: Nick Schermer n...@xfce.org
Date:   Fri Nov 9 20:05:26 2012 +0100

Improve flag handing in ThunarFile.

Code is easier to understand this way.

 thunar/thunar-file.c |   79 +++--
 thunar/thunar-file.h |   18 ++--
 2 files changed, 59 insertions(+), 38 deletions(-)

diff --git a/thunar/thunar-file.c b/thunar/thunar-file.c
index 50db469..7a18e83 100644
--- a/thunar/thunar-file.c
+++ b/thunar/thunar-file.c
@@ -70,9 +70,6 @@
 
 
 
-/* Additional flags associated with a ThunarFile */
-#define THUNAR_FILE_IN_DESTRUCTION 0x04
-
 /* Dump the file cache every X second, set to 0 to disable */
 #define DUMP_FILE_CACHE 0
 
@@ -132,6 +129,22 @@ static guint  file_signals[LAST_SIGNAL];
 
 
 
+#define FLAG_SET_THUMB_STATE(file,new_state) G_STMT_START{ (file)-flags = 
((file)-flags  ~THUNAR_FILE_FLAG_THUMB_MASK) | (new_state); }G_STMT_END
+#define FLAG_GET_THUMB_STATE(file)   ((file)-flags  
THUNAR_FILE_FLAG_THUMB_MASK)
+#define FLAG_SET(file,flag)  G_STMT_START{ ((file)-flags |= 
(flag)); }G_STMT_END
+#define FLAG_UNSET(file,flag)G_STMT_START{ ((file)-flags = 
~(flag)); }G_STMT_END
+#define FLAG_IS_SET(file,flag)   (((file)-flags  (flag)) != 0)
+
+
+
+typedef enum
+{
+  THUNAR_FILE_FLAG_THUMB_MASK = 0x03,   /* storage for 
ThunarFileThumbState */
+  THUNAR_FILE_FLAG_IN_DESTRUCTION = 1  2, /* for avoiding recursion during 
destroy */
+  THUNAR_FILE_FLAG_IS_MOUNTED = 1  3, /* whether this file is mounted */
+}
+ThunarFileFlags;
+
 struct _ThunarFileClass
 {
   GObjectClass __parent__;
@@ -142,20 +155,24 @@ struct _ThunarFileClass
 
 struct _ThunarFile
 {
-  GObject__parent__;
+  GObject __parent__;
 
-  /* private */
-  GFileInfo *info;
-  GFileType  kind;
-  GFile *gfile;
-  gchar *custom_icon_name;
-  gchar *display_name;
-  gchar *collate_key;
-  gchar *collate_key_nocase;
-  gchar *basename;
-  gchar *thumbnail_path;
-  guint  flags;
-  guint  is_mounted : 1;
+  /* storage for the file information */
+  GFileInfo*info;
+  GFileType kind;
+  GFile*gfile;
+
+  gchar*custom_icon_name;
+  gchar*display_name;
+  gchar*basename;
+  gchar*thumbnail_path;
+
+  /* sorting */
+  gchar*collate_key;
+  gchar*collate_key_nocase;
+
+  /* flags for thumbnail state etc */
+  ThunarFileFlags   flags;
 };
 
 typedef struct
@@ -347,12 +364,12 @@ thunar_file_dispose (GObject *object)
   ThunarFile *file = THUNAR_FILE (object);
 
   /* check that we don't recurse here */
-  if (G_LIKELY ((file-flags  THUNAR_FILE_IN_DESTRUCTION) == 0))
+  if (!FLAG_IS_SET (file, THUNAR_FILE_FLAG_IN_DESTRUCTION))
 {
   /* emit the destroy signal */
-  file-flags |= THUNAR_FILE_IN_DESTRUCTION;
+  FLAG_SET (file, THUNAR_FILE_FLAG_IN_DESTRUCTION);
   g_signal_emit (object, file_signals[DESTROY], 0);
-  file-flags = ~THUNAR_FILE_IN_DESTRUCTION;
+  FLAG_UNSET (file, THUNAR_FILE_FLAG_IN_DESTRUCTION);
 }
 
   (*G_OBJECT_CLASS (thunar_file_parent_class)-dispose) (object);
@@ -523,7 +540,7 @@ thunar_file_info_changed (ThunarxFileInfo *file_info)
 
   /* set the new thumbnail state manually, so we only emit file
* changed once */
-  file-flags = (file-flags  ~THUNAR_FILE_THUMB_STATE_MASK) | 
(THUNAR_FILE_THUMB_STATE_UNKNOWN);
+  FLAG_SET_THUMB_STATE (file, THUNAR_FILE_THUMB_STATE_UNKNOWN);
 
   /* tell the file monitor that this file changed */
   thunar_file_monitor_file_changed (file);
@@ -765,10 +782,10 @@ thunar_file_info_clear (ThunarFile *file)
   file-thumbnail_path = NULL;
 
   /* assume the file is mounted by default */
-  file-is_mounted = TRUE;
+  FLAG_SET (file, THUNAR_FILE_FLAG_IS_MOUNTED);
 
   /* set thumb state to unknown */
-  file-flags = (file-flags  ~THUNAR_FILE_THUMB_STATE_MASK) | 
THUNAR_FILE_THUMB_STATE_UNKNOWN;
+  FLAG_SET_THUMB_STATE (file, THUNAR_FILE_THUMB_STATE_UNKNOWN);
 }
 
 
@@ -795,7 +812,11 @@ thunar_file_info_reload (ThunarFile   *file,
   if (file-kind == G_FILE_TYPE_MOUNTABLE)
 {
   target_uri = g_file_info_get_attribute_string (file-info, 
G_FILE_ATTRIBUTE_STANDARD_TARGET_URI);
-  file-is_mounted = (target_uri != NULL)  
!g_file_info_get_attribute_boolean (file-info, 
G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT);
+  if (target_uri != NULL
+   !g_file_info_get_attribute_boolean (file-info, 
G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT))
+FLAG_SET (file, THUNAR_FILE_FLAG_IS_MOUNTED);
+  else
+ FLAG_UNSET (file, THUNAR_FILE_FLAG_IS_MOUNTED);
 }
 }
 
@@ 

[Xfce4-commits] thunar:master Add common function to get the .gtk-bookmarks file.

2012-11-10 Thread Nick Schermer
Updating branch refs/heads/master
 to 115da6b521dbc30b844d57d5fad6b647bbaa6888 (commit)
   from 42c64c1693350448e91be05da79bcdaca8179c0a (commit)

commit 115da6b521dbc30b844d57d5fad6b647bbaa6888
Author: Nick Schermer n...@xfce.org
Date:   Fri Nov 9 20:14:47 2012 +0100

Add common function to get the .gtk-bookmarks file.

 thunar/thunar-gio-extensions.c  |   15 +++
 thunar/thunar-gio-extensions.h  |1 +
 thunar/thunar-shortcuts-model.c |5 ++---
 thunar/thunar-window.c  |6 +-
 4 files changed, 19 insertions(+), 8 deletions(-)

diff --git a/thunar/thunar-gio-extensions.c b/thunar/thunar-gio-extensions.c
index 939aa6d..8700d58 100644
--- a/thunar/thunar-gio-extensions.c
+++ b/thunar/thunar-gio-extensions.c
@@ -71,6 +71,21 @@ thunar_g_file_new_for_desktop (void)
 
 
 
+GFile *
+thunar_g_file_new_for_bookmarks (void)
+{
+  gchar *filename;
+  GFile *bookmarks;
+
+  filename = g_build_filename (xfce_get_homedir (), .gtk-bookmarks, NULL);
+  bookmarks = g_file_new_for_path (filename);
+  g_free (filename);
+
+  return bookmarks;
+}
+
+
+
 gboolean
 thunar_g_file_is_root (GFile *file)
 {
diff --git a/thunar/thunar-gio-extensions.h b/thunar/thunar-gio-extensions.h
index d29b963..4758710 100644
--- a/thunar/thunar-gio-extensions.h
+++ b/thunar/thunar-gio-extensions.h
@@ -29,6 +29,7 @@ GFile*thunar_g_file_new_for_home (void);
 GFile*thunar_g_file_new_for_root (void);
 GFile*thunar_g_file_new_for_trash(void);
 GFile*thunar_g_file_new_for_desktop  (void);
+GFile*thunar_g_file_new_for_bookmarks(void);
 
 gboolean  thunar_g_file_is_root  (GFile*file);
 gboolean  thunar_g_file_is_trashed   (GFile*file);
diff --git a/thunar/thunar-shortcuts-model.c b/thunar/thunar-shortcuts-model.c
index bbdf396..8da1b45 100644
--- a/thunar/thunar-shortcuts-model.c
+++ b/thunar/thunar-shortcuts-model.c
@@ -907,6 +907,7 @@ thunar_shortcuts_model_shortcut_places 
(ThunarShortcutsModel *model)
 }
 }
   g_object_unref (desktop);
+  g_object_unref (home);
 
   /* append the trash icon if the trash is supported */
   if (thunar_g_vfs_is_uri_scheme_supported (trash))
@@ -926,7 +927,7 @@ thunar_shortcuts_model_shortcut_places 
(ThunarShortcutsModel *model)
 }
 
   /* determine the URI to the Gtk+ bookmarks file */
-  model-bookmarks_file = g_file_resolve_relative_path (home, 
.gtk-bookmarks);
+  model-bookmarks_file = thunar_g_file_new_for_bookmarks ();
 
   /* register with the alteration monitor for the bookmarks file */
   model-bookmarks_monitor = g_file_monitor_file (model-bookmarks_file, 
G_FILE_MONITOR_NONE, NULL, NULL);
@@ -938,8 +939,6 @@ thunar_shortcuts_model_shortcut_places 
(ThunarShortcutsModel *model)
 
   /* read the Gtk+ bookmarks file */
   model-bookmarks_idle_id = g_idle_add_full (G_PRIORITY_DEFAULT, 
thunar_shortcuts_model_load, model, NULL);
-
-  g_object_unref (home);
 }
 
 
diff --git a/thunar/thunar-window.c b/thunar/thunar-window.c
index aaf9674..1761f2b 100644
--- a/thunar/thunar-window.c
+++ b/thunar/thunar-window.c
@@ -2028,7 +2028,6 @@ static gboolean
 thunar_window_bookmark_merge (gpointer user_data)
 {
   ThunarWindow *window = THUNAR_WINDOW (user_data);
-  GFile*home;
 
   _thunar_return_val_if_fail (THUNAR_IS_WINDOW (window), FALSE);
 
@@ -2051,10 +2050,7 @@ thunar_window_bookmark_merge (gpointer user_data)
   /* lazy initialize the bookmarks */
   if (window-bookmark_file == NULL)
 {
-  home = thunar_g_file_new_for_home ();
-  window-bookmark_file = g_file_resolve_relative_path (home, 
.gtk-bookmarks);
-  g_object_unref (home);
-
+  window-bookmark_file = thunar_g_file_new_for_bookmarks ();
   window-bookmark_monitor = g_file_monitor_file (window-bookmark_file, 
G_FILE_MONITOR_NONE, NULL, NULL);
   if (G_LIKELY (window-bookmark_monitor != NULL))
 {
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] thunar:master Add free space tooltip for devices.

2012-11-10 Thread Nick Schermer
Updating branch refs/heads/master
 to 0017d6b40610a3562ecd2379dddb869be7e28124 (commit)
   from 115da6b521dbc30b844d57d5fad6b647bbaa6888 (commit)

commit 0017d6b40610a3562ecd2379dddb869be7e28124
Author: Nick Schermer n...@xfce.org
Date:   Fri Nov 9 22:55:20 2012 +0100

Add free space tooltip for devices.

 thunar/thunar-file.c  |   50 ---
 thunar/thunar-file.h  |3 -
 thunar/thunar-gio-extensions.c|   98 +
 thunar/thunar-gio-extensions.h|   24 ++---
 thunar/thunar-list-model.c|3 +-
 thunar/thunar-properties-dialog.c |   30 +---
 thunar/thunar-shortcuts-model.c   |   31 ---
 7 files changed, 139 insertions(+), 100 deletions(-)

diff --git a/thunar/thunar-file.c b/thunar/thunar-file.c
index 7a18e83..4a4f853 100644
--- a/thunar/thunar-file.c
+++ b/thunar/thunar-file.c
@@ -2322,56 +2322,6 @@ thunar_file_get_mode (const ThunarFile *file)
 
 
 
-/**
- * thunar_file_get_free_space:
- * @file   : a #ThunarFile instance.
- * @fs_free_return : return location for the amount of
- *   free space or %NULL.
- * @fs_size_return : return location for the total volume size.
- *
- * Determines the amount of free space of the volume on
- * which @file resides. Returns %TRUE if the amount of
- * free space was determined successfully and placed into
- * @free_space_return, else %FALSE will be returned.
- *
- * Return value: %TRUE if successfull, else %FALSE.
- **/
-gboolean
-thunar_file_get_free_space (const ThunarFile *file, 
-guint64  *fs_free_return,
-guint64  *fs_size_return)
-{
-  GFileInfo *filesystem_info;
-  gboolean   success = FALSE;
-
-  _thunar_return_val_if_fail (THUNAR_IS_FILE (file), FALSE);
-
-  filesystem_info = g_file_query_filesystem_info (file-gfile, 
-  
THUNARX_FILESYSTEM_INFO_NAMESPACE,
-  NULL, NULL);
-
-  if (filesystem_info != NULL)
-{
-  if (fs_free_return != NULL)
-{
-  *fs_free_return = g_file_info_get_attribute_uint64 (filesystem_info, 
G_FILE_ATTRIBUTE_FILESYSTEM_FREE);
-  success = g_file_info_has_attribute (filesystem_info, 
G_FILE_ATTRIBUTE_FILESYSTEM_FREE);
-}
-
-  if (fs_size_return != NULL)
-{
-  *fs_size_return = g_file_info_get_attribute_uint64 (filesystem_info, 
G_FILE_ATTRIBUTE_FILESYSTEM_SIZE);
-  success = g_file_info_has_attribute (filesystem_info, 
G_FILE_ATTRIBUTE_FILESYSTEM_SIZE);
-}
-
-  g_object_unref (filesystem_info);
-}
-
-  return success;
-}
-
-
-
 gboolean
 thunar_file_is_mounted (const ThunarFile *file)
 {
diff --git a/thunar/thunar-file.h b/thunar/thunar-file.h
index 586b18a..7d04b60 100644
--- a/thunar/thunar-file.h
+++ b/thunar/thunar-file.h
@@ -179,9 +179,6 @@ GAppInfo *thunar_file_get_default_handler  (const 
ThunarFile   *file
 GFileType thunar_file_get_kind (const ThunarFile   
*file) G_GNUC_PURE;
 GFile*thunar_file_get_target_location  (const ThunarFile   
*file);
 ThunarFileModethunar_file_get_mode (const ThunarFile   
*file);
-gboolean  thunar_file_get_free_space   (const ThunarFile   
*file, 
-guint64
*fs_free_return,
-guint64
*fs_size_return);
 gboolean  thunar_file_is_mounted   (const ThunarFile   
*file);
 gboolean  thunar_file_exists   (const ThunarFile   
*file);
 gboolean  thunar_file_is_directory (const ThunarFile   
*file) G_GNUC_PURE;
diff --git a/thunar/thunar-gio-extensions.c b/thunar/thunar-gio-extensions.c
index 8700d58..c7d37fc 100644
--- a/thunar/thunar-gio-extensions.c
+++ b/thunar/thunar-gio-extensions.c
@@ -2,18 +2,18 @@
 /*-
  * Copyright (c) 2009-2010 Jannis Pohlmann jan...@xfce.org
  *
- * This program is free software; you can redistribute it and/or 
+ * 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 the Free Software Foundation; either version 2 of 
+ * published by the Free Software Foundation; either version 2 of
  * the License, or (at your option) any later version.
  *
  * This program 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 
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
- * You should have received a copy of the GNU General Public 
- * License along with this program; if not, write to the Free 
+ * You should have received a copy of 

[Xfce4-commits] thunar:master Directly collect the full info namespace for ls dir.

2012-11-10 Thread Nick Schermer
Updating branch refs/heads/master
 to 4d0efd73cd1f3d241fa2b9eb6c9fd2be2acaf8b4 (commit)
   from 4569ffdb7e8bb441c9485db58aece58187be (commit)

commit 4d0efd73cd1f3d241fa2b9eb6c9fd2be2acaf8b4
Author: Nick Schermer n...@xfce.org
Date:   Sat Nov 10 15:42:53 2012 +0100

Directly collect the full info namespace for ls dir.

Adapt thunar_io_scan_directory to optionally return
ThunarFile's instea of GFile and create ThunarFiles
later for some io jobs.

This trick is that we can directly use the enumerator
to scan all the directory info and use that for the
new ThunarFiles, this saves querying a file twice
resulting in much faster directory loading.

 thunar/thunar-file.c  |  131 -
 thunar/thunar-file.h  |   11 ++-
 thunar/thunar-io-jobs.c   |   28 ++--
 thunar/thunar-io-scan-directory.c |   77 --
 thunar/thunar-io-scan-directory.h |1 +
 thunar/thunar-misc-jobs.c |   21 +-
 thunar/thunar-transfer-job.c  |2 +-
 7 files changed, 176 insertions(+), 95 deletions(-)

diff --git a/thunar/thunar-file.c b/thunar/thunar-file.c
index 4a4f853..a99e7bb 100644
--- a/thunar/thunar-file.c
+++ b/thunar/thunar-file.c
@@ -1005,6 +1005,7 @@ thunar_file_load (ThunarFile   *file,
   _thunar_return_val_if_fail (THUNAR_IS_FILE (file), FALSE);
   _thunar_return_val_if_fail (error == NULL || *error == NULL, FALSE);
   _thunar_return_val_if_fail (cancellable == NULL || G_IS_CANCELLABLE 
(cancellable), FALSE);
+  _thunar_return_val_if_fail (G_IS_FILE (file-gfile), FALSE);
 
   /* reset the file */
   thunar_file_info_clear (file);
@@ -1100,51 +1101,77 @@ thunar_file_get (GFile   *gfile,
 }
 
 
-
 /**
- * thunar_file_get_async:
+ * thunar_file_get_with_info:
+ * @uri : an URI or an absolute filename.
+ * @info: #GFileInfo to use when loading the info.
+ * @not_mounted : if the file is mounted.
+ *
+ * Looks up the #ThunarFile referred to by @file. This function may return a
+ * ThunarFile even though the file doesn't actually exist. This is the case
+ * with remote URIs (like SFTP) for instance, if they are not mounted.
+ *
+ * This function does not use g_file_query_info() to get the info,
+ * but takes a reference on the @info,
+ *
+ * The caller is responsible to call g_object_unref()
+ * when done with the returned object.
+ *
+ * Return value: the #ThunarFile for @file or %NULL on errors.
  **/
-void
-thunar_file_get_async (GFile*location,
-   GCancellable *cancellable,
-   ThunarFileGetFunc func,
-   gpointer  user_data)
+ThunarFile *
+thunar_file_get_with_info (GFile *gfile,
+   GFileInfo *info,
+   gboolean   not_mounted)
 {
-  ThunarFile*file;
-  ThunarFileGetData *data;
+  ThunarFile *file;
+
+  _thunar_return_val_if_fail (G_IS_FILE (gfile), NULL);
+  _thunar_return_val_if_fail (G_IS_FILE_INFO (info), NULL);
 
-  _thunar_return_if_fail (G_IS_FILE (location));
-  _thunar_return_if_fail (func != NULL);
-  
   /* check if we already have a cached version of that file */
-  file = thunar_file_cache_lookup (location);
+  file = thunar_file_cache_lookup (gfile);
   if (G_UNLIKELY (file != NULL))
 {
-  /* call the return function with the file from the cache */
-  (func) (location, file, NULL, user_data);
+  /* take a reference for the caller */
+  g_object_ref (file);
 }
   else
 {
-  /* allocate get data */
-  data = g_slice_new0 (ThunarFileGetData);
-  data-user_data = user_data;
-  data-func = func;
-  if (cancellable != NULL)
-data-cancellable = g_object_ref (cancellable);
+  /* allocate a new object */
+  file = g_object_new (THUNAR_TYPE_FILE, NULL);
+  file-gfile = g_object_ref (gfile);
 
-  /* load the file information asynchronously */
-  g_file_query_info_async (location,
-   THUNARX_FILE_INFO_NAMESPACE,
-   G_FILE_QUERY_INFO_NONE,
-   G_PRIORITY_DEFAULT,
-   cancellable,
-   thunar_file_get_async_finish,
-   data);
+  /* reset the file */
+  thunar_file_info_clear (file);
+
+  /* set the passed info */
+  file-info = g_object_ref (info);
+
+  /* update the file from the information */
+  thunar_file_info_reload (file, NULL);
+
+  /* update the mounted info */
+  if (not_mounted)
+FLAG_UNSET (file, THUNAR_FILE_FLAG_IS_MOUNTED);
+
+  /* setup lock until the file is inserted */
+  G_LOCK (file_cache_mutex);
+
+  /* insert the file into the cache */
+  g_hash_table_insert (file_cache, g_object_ref (file-gfile), file);
+
+  /* done inserting in the cache */
+  G_UNLOCK (file_cache_mutex);
 }
+
+  

[Xfce4-commits] thunar:master Drop unused check for icons of executables.

2012-11-10 Thread Nick Schermer
Updating branch refs/heads/master
 to d01b728e6d0d886497698fdc9da0b138bb95a0f0 (commit)
   from 4d0efd73cd1f3d241fa2b9eb6c9fd2be2acaf8b4 (commit)

commit d01b728e6d0d886497698fdc9da0b138bb95a0f0
Author: Nick Schermer n...@xfce.org
Date:   Sat Nov 10 15:52:49 2012 +0100

Drop unused check for icons of executables.

The icon name is never null, so this pass is useless.

 thunar/thunar-file.c |   18 --
 1 files changed, 0 insertions(+), 18 deletions(-)

diff --git a/thunar/thunar-file.c b/thunar/thunar-file.c
index a99e7bb..3a5710e 100644
--- a/thunar/thunar-file.c
+++ b/thunar/thunar-file.c
@@ -3392,24 +3392,6 @@ thunar_file_get_icon_name (const ThunarFile   *file,
 icon_name = g_file_get_path (icon_file);
 }
 }
-  
-  if (icon_name == NULL)
-{
-  /* try to be smart when determining icons for executable files
-   * in that we use the name of the file as icon name (which will
-   * work for quite a lot of binaries, e.g. 'Terminal', 'mousepad',
-   * 'Thunar', 'xfmedia', etc.).
-   */
-  if (G_UNLIKELY (thunar_file_is_executable (file)))
-{g_message(exect crap);
-  icon_name = g_file_get_basename (file-gfile);
-  if (G_LIKELY (!gtk_icon_theme_has_icon (icon_theme, icon_name)))
-{
-  g_free (icon_name);
-  icon_name = NULL;
-}
-}
-}
 
   /* check if we have an accept icon for the icon we found */
   if (icon_name != NULL
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] thunar:master Work around an unneeded check.

2012-11-10 Thread Nick Schermer
Updating branch refs/heads/master
 to d5d5344a05d92999cc982f0b2a2d4f53b4de0832 (commit)
   from d01b728e6d0d886497698fdc9da0b138bb95a0f0 (commit)

commit d5d5344a05d92999cc982f0b2a2d4f53b4de0832
Author: Nick Schermer n...@xfce.org
Date:   Sat Nov 10 18:00:42 2012 +0100

Work around an unneeded check.

GIO has a bug that most icon-names start with (null),
do a quick check to skip those.

 thunar/thunar-file.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/thunar/thunar-file.c b/thunar/thunar-file.c
index 3a5710e..c3118bb 100644
--- a/thunar/thunar-file.c
+++ b/thunar/thunar-file.c
@@ -3377,7 +3377,7 @@ thunar_file_get_icon_name (const ThunarFile   *file,
   if (G_LIKELY (names != NULL))
 {
   for (i = 0; names[i] != NULL; ++i)
-if (names[i] != NULL
+if (*names[i] != '(' /* see gnome bug 688042 */
  gtk_icon_theme_has_icon (icon_theme, names[i]))
   {
 icon_name = g_strdup (names[i]);
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] thunar:master Use GSequence in the list model.

2012-11-10 Thread Nick Schermer
Updating branch refs/heads/master
 to 4569ffdb7e8bb441c9485db58aece58187be (commit)
   from 0017d6b40610a3562ecd2379dddb869be7e28124 (commit)

commit 4569ffdb7e8bb441c9485db58aece58187be
Author: Nick Schermer n...@xfce.org
Date:   Sat Nov 10 14:37:54 2012 +0100

Use GSequence in the list model.

This storage type is much more suitable for storing
the large number of files. Biggest improvement is
the number of times the sort function is called, in
large directories this is ~5% of the calls during adding
files.

 thunar/thunar-list-model.c |  884 +++-
 1 files changed, 388 insertions(+), 496 deletions(-)

diff --git a/thunar/thunar-list-model.c b/thunar/thunar-list-model.c
index 3be891c..2fc6f75 100644
--- a/thunar/thunar-list-model.c
+++ b/thunar/thunar-list-model.c
@@ -2,6 +2,7 @@
 /*-
  * Copyright (c) 2004-2007 Benedikt Meurer be...@xfce.org
  * Copyright (c) 2009-2011 Jannis Pohlmann jan...@xfce.org
+ * Copyright (c) 2012  Nick Schermer n...@xfce.org
  *
  * 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 the Free
@@ -38,11 +39,6 @@
 
 
 
-/* Convenience macros */
-#define G_SLIST(list) ((GSList *) (list))
-
-
-
 /* Property identifiers */
 enum
 {
@@ -64,7 +60,9 @@ enum
 
 
 
-typedef struct _SortTuple SortTuple;
+typedef gint (*ThunarSortFunc) (const ThunarFile *a,
+const ThunarFile *b,
+gboolean  case_sensitive);
 
 
 
@@ -131,18 +129,9 @@ static void   thunar_list_model_set_sort_func  
   (GtkTreeSortab
gpointer
data,

GDestroyNotify  destroy);
 static gboolean   thunar_list_model_has_default_sort_func 
(GtkTreeSortable*sortable);
-static gint   thunar_list_model_cmp   
(ThunarListModel*store,
-   ThunarFile  
   *a,
-   ThunarFile  
   *b);
-static gint   thunar_list_model_cmp_array 
(gconstpointer   a,
+static gint   thunar_list_model_cmp_func  
(gconstpointer   a,

gconstpointer   b,
gpointer
user_data);
-static gint   thunar_list_model_cmp_list  
(gconstpointer   a,
-   
gconstpointer   b,
-   gpointer
user_data);
-static gboolean   thunar_list_model_remove
(ThunarListModel*store,
-   GtkTreeIter 
   *iter,
-   gboolean
silently);
 static void   thunar_list_model_sort  
(ThunarListModel*store);
 static void   thunar_list_model_file_changed  
(ThunarFileMonitor  *file_monitor,
ThunarFile  
   *file,
@@ -170,9 +159,6 @@ static gint   sort_by_group 
  (const ThunarF
 static gint   sort_by_mime_type   (const 
ThunarFile   *a,
const 
ThunarFile   *b,
gboolean
case_sensitive);
-static gint   sort_by_name(const 
ThunarFile   *a,
-   const 
ThunarFile   *b,
-   gboolean
case_sensitive);
 static gint   sort_by_owner   (const 
ThunarFile   *a,
const 
ThunarFile   *b,
gboolean
case_sensitive);
@@ -217,18 +203,17 @@ struct _ThunarListModel
   gint   stamp;
 #endif
 
-  gintnrows;
-  GSList *rows;
+  GSequence  *rows;
   GSList *hidden;
   ThunarFolder   *folder;
-  gbooleanshow_hidden;
+  gbooleanshow_hidden : 1;
   ThunarDateStyle date_style;
 
   /* Use the shared ThunarFileMonitor instance, so we
* do not 

[Xfce4-commits] ristretto:master l10n: Updated Spanish (Castilian) (es) translation to 100%

2012-11-10 Thread Transifex
Updating branch refs/heads/master
 to 71d76633578489ac33a6da497784d4cbb2f43bea (commit)
   from 708fe3645d07f70f44687b4901782309c5c75cd9 (commit)

commit 71d76633578489ac33a6da497784d4cbb2f43bea
Author: Francisco Javier Serrador fserra...@gmail.com
Date:   Sat Nov 10 17:05:51 2012 +0100

l10n: Updated Spanish (Castilian) (es) translation to 100%

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

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

 po/es.po |  359 ++
 1 files changed, 176 insertions(+), 183 deletions(-)

diff --git a/po/es.po b/po/es.po
index 773eb5c..4a3ec5c 100644
--- a/po/es.po
+++ b/po/es.po
@@ -2,22 +2,22 @@
 # Copyright (C) 2007 THE ristretto'S COPYRIGHT HOLDER
 # This file is distributed under the same license as the PACKAGE package.
 # Abel Martín abel.martin.r...@gmail.com, 2008
-#
+# 
 msgid 
 msgstr 
 Project-Id-Version: ristretto\n
 Report-Msgid-Bugs-To: xfce-i...@xfce.org\n
-POT-Creation-Date: 2012-04-28 04:18+\n
+POT-Creation-Date: 2012-10-13 13:51+\n
 PO-Revision-Date: 2012-04-28 15:22-0600\n
 Last-Translator: Sergio García oigres...@gmail.com\n
 Language-Team: Spanish xfce-i...@xfce.org\n
-Language: es\n
 MIME-Version: 1.0\n
 Content-Type: text/plain; charset=utf-8\n
 Content-Transfer-Encoding: 8bit\n
+X-Poedit-Country: SPAIN\n
+Language: es\n
 X-Poedit-Bookmarks: -1,-1,-1,-1,-1,84,11,-1,-1,-1\n
 X-Poedit-Language: Spanish\n
-X-Poedit-Country: SPAIN\n
 
 #: ../src/main.c:62
 msgid Version information
@@ -44,422 +44,417 @@ msgid 
 available command line options.\n
 msgstr 
 %s: %s\n
-Pruebe %s --help para ver una lista completa de opciones de línea de comando 
disponibles.\n
+Pruebe %s --help para ver una lista completa de opciones de línea de comando 
+disponibles.\n
 
-#: ../src/main_window.c:56
-#: ../ristretto.desktop.in.h:1
+#: ../src/main_window.c:57 ../ristretto.desktop.in.h:1
 msgid Image Viewer
 msgstr Visor de imágenes
 
-#: ../src/main_window.c:358
+#: ../src/main_window.c:365
 msgid _File
 msgstr _Archivo
 
 #. Icon-name
-#: ../src/main_window.c:362
+#: ../src/main_window.c:369
 msgid _Open...
 msgstr _Abrir...
 
 #. Label-text
 #. Keyboard shortcut
-#: ../src/main_window.c:364
+#: ../src/main_window.c:371
 msgid Open an image
 msgstr Abrir una imagen
 
 #. Icon-name
-#: ../src/main_window.c:368
+#: ../src/main_window.c:375
 msgid _Save copy...
 msgstr _Guardar copia...
 
 #. Label-text
 #. Keyboard shortcut
-#: ../src/main_window.c:370
+#: ../src/main_window.c:377
 msgid Save a copy of the image
 msgstr Guardar una copia de la imagen
 
 #. Icon-name
-#: ../src/main_window.c:374
+#: ../src/main_window.c:381
 msgid _Properties...
 msgstr _Propiedades...
 
 #. Label-text
 #. Keyboard shortcut
-#: ../src/main_window.c:376
+#: ../src/main_window.c:383
 msgid Show file properties
 msgstr Mostrar propiedades del archivo
 
 #. Icon-name
-#: ../src/main_window.c:380
-#: ../src/main_window.c:399
+#: ../src/main_window.c:387 ../src/main_window.c:406
 msgid _Edit
 msgstr _Editar
 
 #. Label-text
 #. Keyboard shortcut
-#: ../src/main_window.c:382
+#: ../src/main_window.c:389
 msgid Edit this image
 msgstr Editar esta imagen
 
 #. Icon-name
-#: ../src/main_window.c:386
+#: ../src/main_window.c:393
 msgid _Close
 msgstr _Cerrar
 
 #. Label-text
 #. Keyboard shortcut
-#: ../src/main_window.c:388
+#: ../src/main_window.c:395
 msgid Close this image
 msgstr Cerrar esta imagen
 
 #. Icon-name
-#: ../src/main_window.c:392
+#: ../src/main_window.c:399
 msgid _Quit
 msgstr _Salir
 
 #. Label-text
 #. Keyboard shortcut
-#: ../src/main_window.c:394
+#: ../src/main_window.c:401
 msgid Quit Ristretto
 msgstr Salir de Ristretto
 
-#: ../src/main_window.c:403
+#: ../src/main_window.c:410
 msgid _Open with
 msgstr _Abrir con
 
-#: ../src/main_window.c:407
+#: ../src/main_window.c:414
 msgid _Sorting
 msgstr _Ordenar
 
 #. Icon-name
-#: ../src/main_window.c:411
+#: ../src/main_window.c:418
 msgid _Delete
 msgstr _Eliminar
 
 #. Label-text
 #. Keyboard shortcut
-#: ../src/main_window.c:413
+#: ../src/main_window.c:420
 msgid Delete this image from disk
 msgstr Borrar esta imagen del disco
 
 #. Icon-name
-#: ../src/main_window.c:417
+#: ../src/main_window.c:424
 msgid _Clear private data...
 msgstr _Limpiar datos privados...
 
 #. Icon-name
-#: ../src/main_window.c:423
+#: ../src/main_window.c:430
 msgid _Preferences...
 msgstr _Preferencias...
 
-#: ../src/main_window.c:430
+#: ../src/main_window.c:437
 msgid _View
 msgstr _Ver
 
 #. Icon-name
-#: ../src/main_window.c:434
+#: ../src/main_window.c:441
 msgid _Fullscreen
 msgstr _Pantalla completa
 
 #. Label-text
 #. Keyboard shortcut
-#: ../src/main_window.c:436
+#: ../src/main_window.c:443
 msgid Switch to fullscreen
 msgstr Iniciar en modo pantalla completa
 
 #. Icon-name
-#: ../src/main_window.c:440
+#: ../src/main_window.c:447
 msgid _Leave Fullscreen
 msgstr _Salir de pantalla completa
 
 #. Label-text
 #. Keyboard 

[Xfce4-commits] xfce4-appfinder:master l10n: Updated Spanish (Castilian) (es) translation to 100%

2012-11-10 Thread Transifex
Updating branch refs/heads/master
 to 1a05f4602e981d3272f0104fc219704bc3e12795 (commit)
   from de1e7f8f6d140aff6bd4b4334e78f98f8993fde7 (commit)

commit 1a05f4602e981d3272f0104fc219704bc3e12795
Author: Francisco Javier Serrador fserra...@gmail.com
Date:   Sat Nov 10 17:18:06 2012 +0100

l10n: Updated Spanish (Castilian) (es) translation to 100%

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

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

 po/es.po |   88 ++
 1 files changed, 54 insertions(+), 34 deletions(-)

diff --git a/po/es.po b/po/es.po
index 0cf2afb..ba61ac1 100644
--- a/po/es.po
+++ b/po/es.po
@@ -4,19 +4,19 @@
 # Edscott Wilson Garcia edsc...@xfce.org, 2004.
 # Rudy Godoy r...@stone-head.org, 2005.
 # Abel Martín abel.martin.r...@gmail.com, 2008-2009.
-#
+# 
 msgid 
 msgstr 
 Project-Id-Version: xfce4-appfinder 4.4.0\n
 Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2012-04-27 23:33+\n
+POT-Creation-Date: 2012-11-10 11:36+\n
 PO-Revision-Date: 2012-04-27 22:51-0600\n
 Last-Translator: Sergio García oigres...@gmail.com\n
 Language-Team: Spanish/ES xfce-i...@xfce.org\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: Spanish\n
 X-Poedit-Country: SPAIN\n
 
@@ -52,79 +52,86 @@ msgstr La aplicación no tiene comandos
 msgid Commands History
 msgstr Historial de comandos
 
-#: ../src/appfinder-preferences.c:221
+#: ../src/appfinder-preferences.c:219
 msgid C_lear
 msgstr _Limpiar
 
-#: ../src/appfinder-preferences.c:222
+#: ../src/appfinder-preferences.c:220
 msgid This will permanently clear the custom command history.
 msgstr Esto limpiara permanentemente el historial de comandos personalizados.
 
-#: ../src/appfinder-preferences.c:223
+#: ../src/appfinder-preferences.c:221
 msgid Are you sure you want to clear the command history?
-msgstr Esta seguro de querer limpiar el historial de comandos?
+msgstr ¿Está seguro que quiere limpiar el historial de comandos?
 
-#: ../src/appfinder-preferences.c:333
+#: ../src/appfinder-preferences.c:331
 msgid The custom action will be deleted permanently.
 msgstr La acción personalizada será borrada permanentemente.
 
-#: ../src/appfinder-preferences.c:334
+#: ../src/appfinder-preferences.c:332
 #, c-format
 msgid Are you sure you want to delete pattern \%s\?
-msgstr ¿Está seguro de querer eliminar el patrón \%s\?
+msgstr ¿Está seguro de querer eliminar el patrón «%s»?
 
-#: ../src/appfinder-window.c:219
-#: ../src/main.c:446
+#: ../src/appfinder-window.c:219 ../src/main.c:446
 #: ../src/appfinder-preferences.glade.h:4
 #: ../data/xfce4-appfinder.desktop.in.h:1
 msgid Application Finder
 msgstr Buscador de aplicaciones
 
-#: ../src/appfinder-window.c:271
+#: ../src/appfinder-window.c:286
 msgid Toggle view mode
 msgstr Cambiar el modo de vista
 
-#: ../src/appfinder-window.c:363
+#: ../src/appfinder-window.c:391
 msgid La_unch
-msgstr Eje_cutar
+msgstr E_jecutar
 
-#: ../src/appfinder-window.c:798
+#: ../src/appfinder-window.c:826
 msgid Failed to launch desktop item editor
 msgstr Fallo al ejecutar editor de elemento de escritorio
 
-#: ../src/appfinder-window.c:824
-msgid This will permanently remove the custom desktop file from your home 
directory.
-msgstr Esto eliminará permanentemente el archivo de escritorio personalizado 
de su directorio home.
+#: ../src/appfinder-window.c:852
+msgid 
+This will permanently remove the custom desktop file from your home 
+directory.
+msgstr 
+Esto eliminará permanentemente el archivo de escritorio personalizado de su 
+directorio home.
 
-#: ../src/appfinder-window.c:825
+#: ../src/appfinder-window.c:853
 #, c-format
 msgid Are you sure you want to revert \%s\?
-msgstr Está seguro de querer revertir \%s\?
+msgstr ¿Está seguro de querer revertir «%s»?
 
-#: ../src/appfinder-window.c:835
+#: ../src/appfinder-window.c:863
 msgid Failed to remove desktop file
 msgstr Fallo al remover archivo de escritorio
 
 #. I18N: the first %s will be replace with users' applications directory, the
 #. * second with Hidden=true
-#: ../src/appfinder-window.c:868
+#: ../src/appfinder-window.c:896
 #, c-format
-msgid To unhide the item you have to manually remove the desktop file from 
\%s\ or open the file in the same directory and remove the line \%s\.
-msgstr Para mostrar el elemento tiene que eliminar manualmente el archivo de 
escritorio de \%s\ o abrir el archivo en el mismo directorio y elminiar la 
línea \%s\.
+msgid 
+To unhide the item you have to manually remove the desktop file from \%s\ 
+or open the file in the same directory and remove the line \%s\.
+msgstr 
+Para mostrar el elemento tiene que eliminar manualmente el archivo de 
+escritorio de \%s\ o abrir el archivo en el mismo directorio y elminiar la 
+línea \%s\.
 
-#: ../src/appfinder-window.c:873
-#: ../src/appfinder-window.c:965
+#: 

[Xfce4-commits] xfwm4:master Do not write empty session files.

2012-11-10 Thread Nick Schermer
Updating branch refs/heads/master
 to ddfeba132ff7d53acf93bc065d8e3902d440feda (commit)
   from 12351955a144ee207c6970ad610d8e5b022bd147 (commit)

commit ddfeba132ff7d53acf93bc065d8e3902d440feda
Author: Nick Schermer n...@xfce.org
Date:   Sat Nov 10 18:37:20 2012 +0100

Do not write empty session files.

Unlink the session file if no windows have been saves.

 src/session.c |   17 +++--
 1 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/src/session.c b/src/session.c
index 1c75ea5..137c978 100644
--- a/src/session.c
+++ b/src/session.c
@@ -40,6 +40,7 @@
 
 #include gtk/gtk.h
 #include glib.h
+#include glib/gstdio.h
 #include libxfce4ui/libxfce4ui.h
 
 #include display.h
@@ -263,7 +264,7 @@ getsubstring (gchar * s, gint * length)
 return ns;
 }
 
-static void
+static gboolean
 sessionSaveScreen (ScreenInfo *screen_info, FILE *f)
 {
 DisplayInfo *display_info;
@@ -272,6 +273,7 @@ sessionSaveScreen (ScreenInfo *screen_info, FILE *f)
 gchar **wm_command;
 gint wm_command_count;
 guint client_idx;
+gboolean wrote_data = FALSE;
 
 display_info = screen_info-display_info;
 wm_command_count = 0;
@@ -296,6 +298,8 @@ sessionSaveScreen (ScreenInfo *screen_info, FILE *f)
 window_role = NULL;
 }
 
+wrote_data = TRUE;
+
 fprintf (f, [CLIENT] 0x%lx\n, c-window);
 
 getClientID (display_info, c-window, client_id);
@@ -363,6 +367,8 @@ sessionSaveScreen (ScreenInfo *screen_info, FILE *f)
 CLIENT_FLAG_SHADED | CLIENT_FLAG_MAXIMIZED |
 CLIENT_FLAG_NAME_CHANGED));
 }
+
+return wrote_data;
 }
 
 gboolean
@@ -370,6 +376,7 @@ sessionSaveWindowStates (DisplayInfo *display_info, const 
gchar * filename)
 {
 FILE *f;
 GSList *screens;
+gboolean wrote_data = FALSE;
 
 g_return_val_if_fail (filename != NULL, FALSE);
 g_return_val_if_fail (display_info != NULL, FALSE);
@@ -379,9 +386,15 @@ sessionSaveWindowStates (DisplayInfo *display_info, const 
gchar * filename)
 for (screens = display_info-screens; screens; screens = g_slist_next 
(screens))
 {
 ScreenInfo *screen_info_n = (ScreenInfo *) screens-data;
-sessionSaveScreen (screen_info_n, f);
+if (sessionSaveScreen (screen_info_n, f))
+  wrote_data = TRUE;
 }
 fclose (f);
+
+/* remove the file if nothing has been written */
+if (!wrote_data)
+  g_unlink (filename);
+
 return TRUE;
 }
 return FALSE;
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


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

2012-11-10 Thread Transifex
Updating branch refs/heads/master
 to 51cf55929933fa58c3439dc52e0e293f80bd8f21 (commit)
   from 51dadafacad96fc101c416619f984caeea4c48f4 (commit)

commit 51cf55929933fa58c3439dc52e0e293f80bd8f21
Author: محمد الحرقان malh...@gmail.com
Date:   Sat Nov 10 18:34:29 2012 +0100

l10n: Updated Arabic (ar) translation to 100%

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

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

 po/ar.po |   23 ---
 1 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/po/ar.po b/po/ar.po
index de95a34..49c2732 100644
--- a/po/ar.po
+++ b/po/ar.po
@@ -2,13 +2,14 @@
 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
 # This file is distributed under the same license as the PACKAGE package.
 # mohammad malh...@gmail.com, 2012.
+# محمد الحرقان malh...@gmail.com, 2012.
 msgid 
 msgstr 
 Project-Id-Version: xfce4-notifyd\n
 Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2012-05-20 21:09+\n
-PO-Revision-Date: 2012-05-21 00:44+0300\n
-Last-Translator: mohammad malh...@gmail.com\n
+POT-Creation-Date: 2012-11-10 12:48+\n
+PO-Revision-Date: 2012-11-10 20:34+0300\n
+Last-Translator: محمد الحرقان malh...@gmail.com\n
 Language-Team: http://www.vertaal.com.ar/files/factory/ar/list/\n;
 Language: ar\n
 MIME-Version: 1.0\n
@@ -23,12 +24,12 @@ msgstr 
 #: ../xfce4-notifyd/main.c:50 ../xfce4-notifyd/main.c:60
 #: ../xfce4-notifyd-config/main.c:260
 msgid Xfce Notify Daemon
-msgstr إشعارات برنامج إكسفس الخفي
+msgstr برنامج إشعارات إكسفس الخفي
 
 #: ../xfce4-notifyd/main.c:53
 #, c-format
 msgid Unknown option \%s\\n
-msgstr الخيار غير معروف \%s\\n
+msgstr خيار غير معروف \%s\\n
 
 #: ../xfce4-notifyd/main.c:62
 msgid Unable to start notification daemon
@@ -68,21 +69,21 @@ msgstr عرض معلومات الإصدار
 
 #: ../xfce4-notifyd-config/main.c:313
 msgid Settings manager socket
-msgstr ضبط مدير المقابس
+msgstr مقبس مدير الإعدادات
 
 #: ../xfce4-notifyd-config/main.c:313
 msgid SOCKET_ID
-msgstr هوية المقبس
+msgstr مُعرف المقبس
 
 #: ../xfce4-notifyd-config/main.c:323
 #, c-format
 msgid Type '%s --help' for usage.
-msgstr اكتب '%s --help' للمساعدة على الاستخدام.
+msgstr اكتب '%s --help' لدليل المستخدم.
 
 #: ../xfce4-notifyd-config/main.c:336
 #, c-format
 msgid Released under the terms of the GNU General Public License, version 2\n
-msgstr صدر بموجب شروط الإصدار جنو العمومية ، نسخة 2\n
+msgstr صدر بموجب شروط إصدار جنو العمومية ، نسخة 2\n
 
 #: ../xfce4-notifyd-config/main.c:337
 #, c-format
@@ -120,7 +121,7 @@ msgstr _تختفي بعد:
 
 #: ../xfce4-notifyd-config/xfce4-notifyd-config.glade.h:8
 msgid _Opacity:
-msgstr _غموض:
+msgstr _الإعتام:
 
 #: ../xfce4-notifyd-config/xfce4-notifyd-config.glade.h:9
 msgid _Preview
@@ -136,4 +137,4 @@ msgstr ثواني
 
 #: ../xfce4-notifyd-config/xfce4-notifyd-config.desktop.in.h:1
 msgid Customize how notifications appear on your screen
-msgstr تخصيص كيف تظهر الإخطارات على الشاشة
+msgstr خصص كيف تظهر الإخطارات على الشاشة
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


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

2012-11-10 Thread Transifex
Updating branch refs/heads/master
 to 90914de7b967b217d49f9036f55a701138a5aa0e (commit)
   from c8a4f5f842b417247e270f61a8c6547053ddd4db (commit)

commit 90914de7b967b217d49f9036f55a701138a5aa0e
Author: محمد الحرقان malh...@gmail.com
Date:   Sat Nov 10 18:43:07 2012 +0100

l10n: Updated Arabic (ar) translation to 100%

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

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

 po/ar.po |   33 +
 1 files changed, 17 insertions(+), 16 deletions(-)

diff --git a/po/ar.po b/po/ar.po
index facb23a..acd04a0 100644
--- a/po/ar.po
+++ b/po/ar.po
@@ -1,11 +1,12 @@
 # mohammad malh...@gmail.com, 2012.
+# محمد الحرقان malh...@gmail.com, 2012.
 msgid 
 msgstr 
 Project-Id-Version: xfce4-dict\n
 Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2012-05-20 20:24+\n
-PO-Revision-Date: 2012-05-20 23:39+0300\n
-Last-Translator: mohammad malh...@gmail.com\n
+POT-Creation-Date: 2012-11-10 17:24+\n
+PO-Revision-Date: 2012-11-10 20:43+0300\n
+Last-Translator: محمد الحرقان malh...@gmail.com\n
 Language-Team: http://www.vertaal.com.ar/files/factory/ar/list/\n;
 Language: ar\n
 MIME-Version: 1.0\n
@@ -181,8 +182,8 @@ msgid 
 This is an easy speed reading utility to help train you to read faster. It 
 does this by flashing words at a rapid rate on the screen.
 msgstr 
-هذه أداة القراءة السريعة للمساعدة في التدريب على قراءة أسرع. يفعل ذلك من 
-خلال كلمات وامضة بمعدل سريع على الشاشة.
+هذه أداة القراءة السريعة للمساعدة في التدريب على قراءة أسرع. يتم ذلك من خلال 
+كلمات وامضة بمعدل سريع على الشاشة.
 
 #: ../lib/speedreader.c:589
 msgid _Words per Minute:
@@ -207,7 +208,7 @@ msgid 
 Be relaxed and make yourself comfortable, then press Start to begin speed 
 reading.
 msgstr 
-إدخال نص هنا ترغب في قرائته.\n
+إدخال النص اللذي ترغب في قرائته هنا.\n
 \n
  استرخ وخذ راحتك ، ثم اضغط على بدء لاختبار سرعة القراءة.
 
@@ -218,7 +219,7 @@ msgstr تحميل محتويات الملف
 #: ../lib/speedreader.c:663
 msgid 
 Clear the contents of the text field and paste the contents of the clipboard
-msgstr مسح محتويات حقل النص ولصق محتويات الحافظة
+msgstr مسح حقل النص ولصق محتوياته في الحافظة
 
 #: ../lib/speedreader.c:671
 msgid Clear the contents of the text field
@@ -230,7 +231,7 @@ msgstr _بدء
 
 #: ../lib/common.c:188
 msgid The search URL is empty. Please check your preferences.
-msgstr عنوان الموقع البحث فارغ. يرجى التحقق من خياراتك.
+msgstr مسار البحث فارغ. يرجى التحقق من خياراتك.
 
 #: ../lib/common.c:194
 msgid Browser could not be opened. Please check your preferences.
@@ -255,7 +256,7 @@ msgstr تعذر الاتصال بالخادم.
 
 #: ../lib/dictd.c:385
 msgid The server is not ready.
-msgstr الملقم غير جاهز.
+msgstr الخادم غير جاهز.
 
 #: ../lib/dictd.c:392
 msgid Invalid dictionary specified. Please check your preferences.
@@ -263,7 +264,7 @@ msgstr القاموس المحدد غير صالح . يرجى التحقق من
 
 #: ../lib/dictd.c:400 ../lib/dictd.c:456 ../lib/dictd.c:829
 msgid Unknown error while querying the server.
-msgstr خطأ غير معروف أثناء الاستعلام عن الملقم.
+msgstr خطأ غير معروف أثناء الاستعلام عن الخادم.
 
 #: ../lib/dictd.c:415
 msgid Dictionary Results:
@@ -303,16 +304,16 @@ msgstr الاستعلام عن %s...
 
 #: ../lib/dictd.c:728
 msgid An error occured while querying server information.
-msgstr حدث خطأ أثناء الاستعلام عن معلومات الملقم.
+msgstr حدث خطأ أثناء الاستعلام عن معلومات الخادم.
 
 #: ../lib/dictd.c:741
 #, c-format
 msgid Server Information for \%s\
-msgstr معلومات الخادم ل \%s\
+msgstr معلومات خادم \%s\
 
 #: ../lib/dictd.c:824
 msgid The server doesn't offer any databases.
-msgstr الملقم لا يوفر أي نوع من قواعد البيانات.
+msgstr الخادم لا يوفر أي نوع من قواعد البيانات.
 
 #: ../lib/gui.c:342
 msgid Copy Link
@@ -496,14 +497,14 @@ msgstr bرابط صفحة البحث:/b
 
 #: ../lib/prefs.c:601
 msgid URL:
-msgstr URL:
+msgstr المسار:
 
 #: ../lib/prefs.c:621
 msgid 
 Enter the URL of a web site which offers translation or dictionary services. 
 Use {word} as placeholder for the searched word.
 msgstr 
-أدخل URL لموقع الويب الذي يقدم خدمات الترجمة أو القاموس. استخدام {كلمة} 
+أدخل المسار لموقع الويب الذي يقدم خدمات الترجمة أو القاموس. استخدام {كلمة} 
 لكلمة البحث.
 
 #: ../lib/prefs.c:645
@@ -518,4 +519,4 @@ msgid 
 msgstr 
 iيمكن استخدام برنامج التدقيق الإملائي 'enchant', 'aspell', 'ispell' أو أي 
 برنامج آخر للتدقيق الإملائي الذي يتوافق مع أوامر ispell.\n
-الايقونة توضح ما إذا كان أمر الادخال موجود./i
+الايقونة توضح إذا كان أمر الادخال موجود./i
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


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

2012-11-10 Thread Transifex
Updating branch refs/heads/master
 to 9c27837b05e060250e9815d22fc9ad70fabddf87 (commit)
   from d4f9b39d6a5e284282af4a6c4a54983127e4a0d4 (commit)

commit 9c27837b05e060250e9815d22fc9ad70fabddf87
Author: محمد الحرقان malh...@gmail.com
Date:   Sat Nov 10 18:48:21 2012 +0100

l10n: Updated Arabic (ar) translation to 100%

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

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

 po/ar.po |   14 +++---
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/po/ar.po b/po/ar.po
index 1d5406f..de9b42c 100644
--- a/po/ar.po
+++ b/po/ar.po
@@ -2,13 +2,14 @@
 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
 # This file is distributed under the same license as the PACKAGE package.
 # mohammad malh...@gmail.com, 2012.
+# محمد الحرقان malh...@gmail.com, 2012.
 msgid 
 msgstr 
 Project-Id-Version: transd\n
 Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2012-05-20 19:42+\n
-PO-Revision-Date: 2012-05-21 00:36+0300\n
-Last-Translator: mohammad malh...@gmail.com\n
+POT-Creation-Date: 2012-11-10 16:42+\n
+PO-Revision-Date: 2012-11-10 20:48+0300\n
+Last-Translator: محمد الحرقان malh...@gmail.com\n
 Language-Team: http://www.vertaal.com.ar/files/factory/ar/list/\n;
 Language: ar\n
 MIME-Version: 1.0\n
@@ -25,13 +26,12 @@ msgid 
 Transd now uses a new configuration file format.  Please see the README for 
 details.  Transd will now exit.
 msgstr 
-Transd يستعمل حاليا صيغة ملف التكوين جدبدة. الرجاء قراءة README للحصول على 
-التفاصيل.  سيتم الأن الخروج من  Transd.
+يستعمل Transd حاليا صيغة ملف إعداد جدبدة. الرجاء قراءة ملف المساعدة للحصول 
+على التفاصيل.  سيتم الأن الخروج من  Transd.
 
 #: ../transd.desktop.in.h:1
 msgid Daemon which monitors windows and sets transparency based on rulesets
-msgstr 
-يرنامج الخفي للنظام الذي يرصد النوافذ ومجموعات على أساس شفافية مجموعة الأوامر
+msgstr برنامج خفي للنظام يرصد النوافذ وحالة الشفافية بحسب مجموعة من الأوامر
 
 #: ../transd.desktop.in.h:2
 msgid Transparency Daemon
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


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

2012-11-10 Thread Transifex
Updating branch refs/heads/master
 to 6af6c6d04841a31a60d006f85613fa2ca15a0f65 (commit)
   from 5f9236b4a51e0cb716e287418f7f0cb1aa200d8b (commit)

commit 6af6c6d04841a31a60d006f85613fa2ca15a0f65
Author: محمد الحرقان malh...@gmail.com
Date:   Sat Nov 10 18:56:07 2012 +0100

l10n: Updated Arabic (ar) translation to 99%

New status: 106 messages complete with 0 fuzzies and 1 untranslated.

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

 doc/po/ar.po |   26 ++
 1 files changed, 10 insertions(+), 16 deletions(-)

diff --git a/doc/po/ar.po b/doc/po/ar.po
index 4bde2c8..3823672 100644
--- a/doc/po/ar.po
+++ b/doc/po/ar.po
@@ -1,19 +1,20 @@
 # mohammad malh...@gmail.com, 2012.
 # Mohammad Alhargan malh...@hotmail.com, 2012.
+# محمد الحرقان malh...@gmail.com, 2012.
 msgid 
 msgstr 
 Project-Id-Version: Terminal Docs\n
 POT-Creation-Date: 2012-01-07 18:25+0100\n
-PO-Revision-Date: 2012-02-08 08:51+0300\n
-Last-Translator: Mohammad Alhargan malh...@hotmail.com\n
-Language-Team: http://www.vertaal.com.ar/files/opensuse-11-4/ar/list/\n;
+PO-Revision-Date: 2012-11-10 20:56+0300\n
+Last-Translator: محمد الحرقان malh...@gmail.com\n
+Language-Team: http://www.vertaal.com.ar/files/factory/ar/list/\n;
 Language: ar\n
 MIME-Version: 1.0\n
 Content-Type: text/plain; charset=UTF-8\n
 Content-Transfer-Encoding: 8bit\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.0\n
+X-Generator: Virtaal 0.7.1\n
 X-Poedit-Country: Morocco\n
 X-Poedit-Language: Arabic\n
 
@@ -23,7 +24,7 @@ msgstr مطور
 
 #: Terminal.1.xml:15(literal)
 msgid Nick
-msgstr اسم مستعار
+msgstr الكنية
 
 #: Terminal.1.xml:16(surname)
 msgid Schermer
@@ -67,7 +68,7 @@ msgstr إكسفس
 
 #: Terminal.1.xml:44(refpurpose)
 msgid A Terminal emulator for X
-msgstr محاكي طرفية ل X
+msgstr محاكي طرفية X
 
 #: Terminal.1.xml:48(title)
 msgid Synopsis
@@ -111,13 +112,6 @@ msgid 
 escape sequences that the VT102 and VT220 terminals use for functions such 
 as to position the cursor and to clear the screen.
 msgstr 
-@PACKAGE_NAME@ emulates the applicationxterm/application application 
-developed by the X Consortium. In turn, the applicationxterm/application 
-application emulates the DEC VT102 terminal and also supports the DEC VT220 
-escape sequences. An escape sequence is a series of characters that start 
-with the keycapEsc/keycap character. @PACKAGE_NAME@ accepts all of the 
-escape sequences that the VT102 and VT220 terminals use for functions such 
-as to position the cursor and to clear the screen.
 
 #: Terminal.1.xml:79(title)
 msgid Options
@@ -323,7 +317,7 @@ msgstr option-H/option, option--hold/option
 #: Terminal.1.xml:260(para)
 msgid 
 Causes the terminal to be kept around after the child command has terminated
-msgstr يسبب إبقاء الطرفية حولها بعد أن إنهاء الأمر البنيوي
+msgstr يسبب إبقاء الطرفية حولها بعد إنهاء الأمر البنيوي
 
 #: Terminal.1.xml:271(option)
 msgid --display=placeholder-1/
@@ -385,8 +379,8 @@ msgid 
 internally to forward the startup notification id when using the D-BUS 
 service.
 msgstr 
-تعيين معرف تنبيه بدء تشغيل خاصة بالإطار المحدد الأخير. تستخدم داخليا لإعادة 
-توجيه معرف إعلام بدء التشغيل عند استخدام خدمة D-BUS.
+تحدد معرف تنبيه بدء تشغيل خاص بآخر إطار. تستخدم داخليا لإعادة توجيه معرف 
+تنبيه بدء التشغيل عند استخدام خدمة D-BUS.
 
 #: Terminal.1.xml:318(replaceable)
 msgid icon
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


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

2012-11-10 Thread Transifex
Updating branch refs/heads/master
 to 5f149b4841620eb42474bdb057ecbea5e514135e (commit)
   from d3f582b8078b97605c4e462354843d692455c145 (commit)

commit 5f149b4841620eb42474bdb057ecbea5e514135e
Author: محمد الحرقان malh...@gmail.com
Date:   Sat Nov 10 19:35:20 2012 +0100

l10n: Updated Arabic (ar) translation to 100%

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

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

 po/ar.po |   56 +++-
 1 files changed, 27 insertions(+), 29 deletions(-)

diff --git a/po/ar.po b/po/ar.po
index 38045cf..3e6f828 100644
--- a/po/ar.po
+++ b/po/ar.po
@@ -1,11 +1,12 @@
 # mohammad malh...@gmail.com, 2012.
+# محمد الحرقان malh...@gmail.com, 2012.
 msgid 
 msgstr 
 Project-Id-Version: squeeze\n
 Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2012-01-30 11:30+\n
-PO-Revision-Date: 2012-01-30 16:54+0300\n
-Last-Translator: mohammad malh...@gmail.com\n
+POT-Creation-Date: 2012-11-10 16:06+\n
+PO-Revision-Date: 2012-11-10 21:35+0300\n
+Last-Translator: محمد الحرقان malh...@gmail.com\n
 Language-Team: http://www.vertaal.com.ar/files/factory/ar/list/\n;
 Language: ar\n
 MIME-Version: 1.0\n
@@ -13,16 +14,16 @@ msgstr 
 Content-Transfer-Encoding: 8bit\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.0\n
+X-Generator: Virtaal 0.7.1\n
 X-Poedit-Language: Arabic\n
 X-Poedit-SourceCharset: utf-8\n
 X-Poedit-Country: Morocco\n
 
-#: ../libsqueeze/archive.c:268
+#: ../libsqueeze/archive.c:266
 msgid Name
 msgstr إسم
 
-#: ../libsqueeze/archive.c:270
+#: ../libsqueeze/archive.c:269
 msgid Mime type
 msgstr نوع MIME
 
@@ -36,7 +37,7 @@ msgstr إنشاء و إدارة الأرشيفات بمدير الارشيفا
 
 #: ../squeeze.desktop.in.h:3
 msgid Squeeze Archive Manager
-msgstr مدير الأرشيفات سكويز
+msgstr مدير الأرشيفات squeeze
 
 #.
 #. * Could not open archive (mime type not supported or file did not exist)
@@ -51,8 +52,8 @@ msgid 
 Squeeze cannot extract this archive type,\n
 the application to support this is missing.
 msgstr 
-الضغط لا يمكن استخراج نوع الأرشيف\n
-هذا التطبيق لداعم لهذا مفقود.
+squeeze لا يمكنه استخراج نوع الأرشيف\n
+التطبيق لداعم لهذا مفقود.
 
 #.
 #. * Could not create archive (mime type unsupported)
@@ -83,15 +84,15 @@ msgstr أظهر أيقونات MIME
 
 #: ../src/archive_store.c:258 ../src/notebook.c:189
 msgid Show the mime type icons for each entry
-msgstr تظهر الرموز نوع mime لكل إدخال
+msgstr عرض الرموز من نوع mime لكل إدخال
 
 #: ../src/archive_store.c:264
 msgid Show up dir entry
-msgstr اظهر دليل إدخالات
+msgstr اظهر مجلد الإدخالات
 
 #: ../src/archive_store.c:265
 msgid Show '..' to go to the parent directory
-msgstr تظهر '..' للانتقال إلى الدليل الأصلي
+msgstr عرض '..' للانتقال إلى المجلد الأصلي
 
 #: ../src/archive_store.c:271 ../src/notebook.c:195
 msgid Sort folders before files
@@ -166,7 +167,7 @@ msgid 
 Try %s --help to see a full list of available command line options.\n
 msgstr 
 %s: %s\n
-جرب %s --help في مشاهدة قائمة كاملة بالخيارات المتاحة سطر الأوامر.\n
+جرب %s --help لمشاهدة قائمة كاملة بالخيارات المتاحة لسطر الأوامر.\n
 
 #: ../src/main_window.c:134
 msgid Internal Style
@@ -182,14 +183,14 @@ msgstr نمط شريط المسار
 
 #: ../src/main_window.c:187
 msgid Navigation Style
-msgstr نمط الملاحة
+msgstr نمط التنقل
 
 #: ../src/main_window.c:188
 msgid 
 Style of navigation\n
 The style to navigate trough the archive
 msgstr 
-نمط الملاحة\n
+نمط التنقل\n
 سيتم تحديد نمط التنقل في الأرشيف
 
 #. File menu
@@ -245,19 +246,19 @@ msgid 
 Squeeze cannot add folders to this archive type,\n
 the application to support this is missing.
 msgstr 
-سكويز لا يمكنه إضافة المجلدات إلى هذا النوع الأرشيف\n
+لا يتمكن squeeze من إضافة المجلدات إلى هذا النوع الأرشيف\n
 التطبيق الذي يدعم هذا مفقود.
 
 #: ../src/main_window.c:958
 msgid Are you sure you want to remove the selected files?
-msgstr هل أنت متأكد أنك تريد إزالة الملفات المختارة؟
+msgstr متأكد أنك تريد إزالة الملفات المختارة؟
 
 #: ../src/main_window.c:974
 msgid 
 Squeeze cannot remove files from this archive type,\n
 the application to support this is missing.
 msgstr 
-سكويز لا يمكنه إزالة المجلدات من هذا النوع الأرشيف\n
+لا يتمكن squeeze من إزالة المجلدات من هذا النوع الأرشيف\n
 التطبيق الذي يدعم هذا مفقود.
 
 #: ../src/main_window.c:1025
@@ -265,8 +266,8 @@ msgid 
 Are you sure you want to cancel this operation?\n
 This could damage the archive.
 msgstr 
-هل أنت متأكد أنك تريد إلغاء هذه العملية؟\n
-هذا يمكن ان يلحق الضرر بالأرشيف.
+متأكد أنك تريد إلغاء هذه العملية؟\n
+قد يلحق هذا الضرر بالأرشيف.
 
 #: ../src/main_window.c:1107
 msgid Lead developer:
@@ -290,7 +291,7 @@ msgstr أضف/ أيقونات الإستخراج:
 
 #: ../src/main_window.c:1119
 msgid Based on the original extract icon created by Andreas Nilsson
-msgstr مبني على أيقونة إستخراج الأصلي لـ Andreas Nilsson
+msgstr مبني على أيقونة إستخراج Andreas Nilsson الأصلية
 
 #: ../src/main_window.c:1126
 

[Xfce4-commits] thunar:master Don't write empty session files.

2012-11-10 Thread Nick Schermer
Updating branch refs/heads/master
 to 3033ee89afff7a94561ec639910128fd17aabf69 (commit)
   from d5d5344a05d92999cc982f0b2a2d4f53b4de0832 (commit)

commit 3033ee89afff7a94561ec639910128fd17aabf69
Author: Nick Schermer n...@xfce.org
Date:   Sat Nov 10 18:38:31 2012 +0100

Don't write empty session files.

 thunar/thunar-session-client.c |   56 ++--
 1 files changed, 31 insertions(+), 25 deletions(-)

diff --git a/thunar/thunar-session-client.c b/thunar/thunar-session-client.c
index addc600..7c59921 100644
--- a/thunar/thunar-session-client.c
+++ b/thunar/thunar-session-client.c
@@ -370,37 +370,43 @@ thunar_session_client_save_yourself (SmcConn  
connection,
   /* check if we should save our current state */
   if (save_type == SmSaveLocal || save_type == SmSaveBoth)
 {
-  /* try to open the session file for writing */
-  fp = fopen (session_client-path, w);
-  if (G_LIKELY (fp != NULL))
+  /* save the active windows */
+  application = thunar_application_get ();
+  windows = thunar_application_get_windows (application);
+
+  if (windows != NULL)
 {
-  /* save the active windows */
-  application = thunar_application_get ();
-  windows = thunar_application_get_windows (application);
-  for (lp = windows; lp != NULL; lp = lp-next)
+  /* try to open the session file for writing */
+  fp = fopen (session_client-path, w);
+  if (G_LIKELY (fp != NULL))
 {
-  /* determine the directory for the window */
-  directory = thunar_window_get_current_directory (lp-data);
-  if (G_UNLIKELY (directory == NULL))
-continue;
-
-  /* determine the role for the window */
-  role = gtk_window_get_role (lp-data);
-  if (G_UNLIKELY (role == NULL))
-continue;
-
-  /* save the window */
-  uri = thunar_file_dup_uri (directory);
-  fprintf (fp, [%s]\n, role);
-  fprintf (fp, URI=%s\n\n, uri);
-  g_free (uri);
+  for (lp = windows; lp != NULL; lp = lp-next)
+{
+  /* determine the directory for the window */
+  directory = thunar_window_get_current_directory (lp-data);
+  if (G_UNLIKELY (directory == NULL))
+continue;
+
+  /* determine the role for the window */
+  role = gtk_window_get_role (lp-data);
+  if (G_UNLIKELY (role == NULL))
+continue;
+
+  /* save the window */
+  uri = thunar_file_dup_uri (directory);
+  fprintf (fp, [%s]\n, role);
+  fprintf (fp, URI=%s\n\n, uri);
+  g_free (uri);
+}
+
+  /* cleanup */
+  fclose (fp);
 }
 
-  /* cleanup */
-  g_object_unref (G_OBJECT (application));
   g_list_free (windows);
-  fclose (fp);
 }
+
+  g_object_unref (G_OBJECT (application));
 }
 
   /* tell the session manager that we're done */
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] thunar:master Add support for tabs in session saving.

2012-11-10 Thread Nick Schermer
Updating branch refs/heads/master
 to 8a0a47f026a37508f3d0d3d4e11ec3a60411ce41 (commit)
   from 3033ee89afff7a94561ec639910128fd17aabf69 (commit)

commit 8a0a47f026a37508f3d0d3d4e11ec3a60411ce41
Author: Nick Schermer n...@xfce.org
Date:   Sat Nov 10 20:48:09 2012 +0100

Add support for tabs in session saving.

 thunar/thunar-session-client.c |   66 ++---
 thunar/thunar-standard-view.c  |1 +
 thunar/thunar-window.c |   78 
 thunar/thunar-window.h |6 +++
 4 files changed, 121 insertions(+), 30 deletions(-)

diff --git a/thunar/thunar-session-client.c b/thunar/thunar-session-client.c
index 7c59921..965f6a0 100644
--- a/thunar/thunar-session-client.c
+++ b/thunar/thunar-session-client.c
@@ -269,12 +269,12 @@ static void
 thunar_session_client_restore (ThunarSessionClient *session_client)
 {
   ThunarApplication *application;
-  const gchar   *uri;
-  ThunarFile*directory;
+  gchar**uris;
   GtkWidget *window;
   XfceRc*rc;
   gchar**roles;
   guint  n;
+  gint   active_tab;
 
   /* try to open the session file */
   rc = xfce_rc_simple_open (session_client-path, TRUE);
@@ -288,33 +288,33 @@ thunar_session_client_restore (ThunarSessionClient 
*session_client)
   roles = xfce_rc_get_groups (rc);
   for (n = 0; roles[n] != NULL; ++n)
 {
+  /* skip the null group */
+  if (strcmp (roles[n], [NULL]) == 0)
+continue;
+
   /* enter the group */
   xfce_rc_set_group (rc, roles[n]);
 
   /* determine the URI for the new window */
-  uri = xfce_rc_read_entry (rc, URI, NULL);
-  if (G_UNLIKELY (uri == NULL))
+  uris = xfce_rc_read_list_entry (rc, URI, ;);
+  g_message (%d uris, uris ? g_strv_length (uris) : 0);
+  if (G_UNLIKELY (uris == NULL))
 continue;
 
-  /* determine the directory for the new window */
-  directory = thunar_file_get_for_uri (uri, NULL);
-  if (G_UNLIKELY (directory == NULL))
-continue;
+  /* active tab */
+  active_tab = xfce_rc_read_int_entry (rc, PAGE, -1);
 
-  /* verify that we have a directory */
-  if (thunar_file_is_directory (directory))
-{
-  /* open the new window */
-  window = g_object_new (THUNAR_TYPE_WINDOW,
- current-directory, directory,
- role, roles[n],
- NULL);
-  thunar_application_take_window (application, GTK_WINDOW (window));
-  gtk_widget_show (window);
-}
+  /* open the new window */
+  window = g_object_new (THUNAR_TYPE_WINDOW, role, roles[n], NULL);
+  thunar_application_take_window (application, GTK_WINDOW (window));
+  gtk_widget_show (window);
+
+  /* open tabs */
+  if (!thunar_window_set_directories (THUNAR_WINDOW (window), uris, 
active_tab))
+gtk_widget_destroy (window);
 
   /* cleanup */
-  g_object_unref (G_OBJECT (directory));
+  g_strfreev (uris);
 }
 
   /* cleanup */
@@ -358,11 +358,12 @@ thunar_session_client_save_yourself (SmcConn  
connection,
 {
   ThunarApplication *application;
   const gchar   *role;
-  ThunarFile*directory;
+  gchar**uris;
   GList *windows;
   GList *lp;
-  gchar *uri;
+  guint  n;
   FILE  *fp;
+  gint   active_page;
 
   _thunar_return_if_fail (THUNAR_IS_SESSION_CLIENT (session_client));
   _thunar_return_if_fail (session_client-connection == connection);
@@ -382,21 +383,26 @@ thunar_session_client_save_yourself (SmcConn  
connection,
 {
   for (lp = windows; lp != NULL; lp = lp-next)
 {
-  /* determine the directory for the window */
-  directory = thunar_window_get_current_directory (lp-data);
-  if (G_UNLIKELY (directory == NULL))
-continue;
-
   /* determine the role for the window */
   role = gtk_window_get_role (lp-data);
   if (G_UNLIKELY (role == NULL))
 continue;
 
+  /* determine the directories for the window */
+  uris = thunar_window_get_directories (lp-data, 
active_page);
+  if (G_UNLIKELY (uris == NULL))
+continue;
+
   /* save the window */
-  uri = thunar_file_dup_uri (directory);
   fprintf (fp, [%s]\n, role);
-  fprintf (fp, URI=%s\n\n, uri);
-  g_free (uri);
+  fprintf (fp, PAGE=%d\n, active_page);
+  fprintf (fp, URI=);
+  for (n = 0; uris[n] != NULL; n++)
+fprintf (fp, %s;, uris[n]);
+  fprintf (fp, \n\n);
+
+ 

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

2012-11-10 Thread Transifex
Updating branch refs/heads/master
 to be77be65e378253a8268aa3df8f709a7db300e1d (commit)
   from 71d76633578489ac33a6da497784d4cbb2f43bea (commit)

commit be77be65e378253a8268aa3df8f709a7db300e1d
Author: محمد الحرقان malh...@gmail.com
Date:   Sat Nov 10 19:52:26 2012 +0100

l10n: Updated Arabic (ar) translation to 100%

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

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

 po/ar.po |  256 +++---
 1 files changed, 127 insertions(+), 129 deletions(-)

diff --git a/po/ar.po b/po/ar.po
index 88aa99b..cb288ac 100644
--- a/po/ar.po
+++ b/po/ar.po
@@ -1,11 +1,12 @@
 # mohammad malh...@gmail.com, 2012.
+# محمد الحرقان malh...@gmail.com, 2012.
 msgid 
 msgstr 
 Project-Id-Version: Ristretto\n
 Report-Msgid-Bugs-To: xfce-i...@xfce.org\n
-POT-Creation-Date: 2012-07-06 14:27+\n
-PO-Revision-Date: 2012-07-06 20:20+0300\n
-Last-Translator: mohammad malh...@gmail.com\n
+POT-Creation-Date: 2012-11-10 15:57+\n
+PO-Revision-Date: 2012-11-10 21:52+0300\n
+Last-Translator: محمد الحرقان malh...@gmail.com\n
 Language-Team: http://www.vertaal.com.ar/files/factory/ar/list/\n;
 Language: ar\n
 MIME-Version: 1.0\n
@@ -44,480 +45,477 @@ msgstr 
 جرب %s --help لتشاهد قائمة كاملة \n
 من خيارات سطر الأوامر المتوفرة.\n
 
-#: ../src/main_window.c:56 ../ristretto.desktop.in.h:1
+#: ../src/main_window.c:57 ../ristretto.desktop.in.h:1
 msgid Image Viewer
 msgstr عارض الصور
 
-#: ../src/main_window.c:358
+#: ../src/main_window.c:365
 msgid _File
 msgstr _ملف
 
 #. Icon-name
-#: ../src/main_window.c:362
+#: ../src/main_window.c:369
 msgid _Open...
 msgstr _افتح...
 
 #. Label-text
 #. Keyboard shortcut
-#: ../src/main_window.c:364
+#: ../src/main_window.c:371
 msgid Open an image
 msgstr فتح الصورة
 
 #. Icon-name
-#: ../src/main_window.c:368
+#: ../src/main_window.c:375
 msgid _Save copy...
 msgstr _حفظ نسخة...
 
 #. Label-text
 #. Keyboard shortcut
-#: ../src/main_window.c:370
+#: ../src/main_window.c:377
 msgid Save a copy of the image
 msgstr حفظ نسخة من الصورة
 
 #. Icon-name
-#: ../src/main_window.c:374
+#: ../src/main_window.c:381
 msgid _Properties...
 msgstr _خصائص...
 
 #. Label-text
 #. Keyboard shortcut
-#: ../src/main_window.c:376
+#: ../src/main_window.c:383
 msgid Show file properties
 msgstr عرض خصائص الملف
 
 #. Icon-name
-#: ../src/main_window.c:380 ../src/main_window.c:399
+#: ../src/main_window.c:387 ../src/main_window.c:406
 msgid _Edit
 msgstr _تحرير
 
 #. Label-text
 #. Keyboard shortcut
-#: ../src/main_window.c:382
+#: ../src/main_window.c:389
 msgid Edit this image
 msgstr تحرير هذه الصورة
 
 #. Icon-name
-#: ../src/main_window.c:386
+#: ../src/main_window.c:393
 msgid _Close
 msgstr _أغلق
 
 #. Label-text
 #. Keyboard shortcut
-#: ../src/main_window.c:388
+#: ../src/main_window.c:395
 msgid Close this image
 msgstr أغلق هذه الصورة
 
 #. Icon-name
-#: ../src/main_window.c:392
+#: ../src/main_window.c:399
 msgid _Quit
 msgstr _خروج
 
 #. Label-text
 #. Keyboard shortcut
-#: ../src/main_window.c:394
+#: ../src/main_window.c:401
 msgid Quit Ristretto
 msgstr الخروج من Ristretto
 
-#: ../src/main_window.c:403
+#: ../src/main_window.c:410
 msgid _Open with
 msgstr _فتح باستخدام
 
-#: ../src/main_window.c:407
+#: ../src/main_window.c:414
 msgid _Sorting
 msgstr _تصنيف
 
 #. Icon-name
-#: ../src/main_window.c:411
+#: ../src/main_window.c:418
 msgid _Delete
 msgstr _حذف
 
 #. Label-text
 #. Keyboard shortcut
-#: ../src/main_window.c:413
+#: ../src/main_window.c:420
 msgid Delete this image from disk
 msgstr حذف هذه الصورة من القرص
 
 #. Icon-name
-#: ../src/main_window.c:417
+#: ../src/main_window.c:424
 msgid _Clear private data...
 msgstr _حذف البيانات الخاصة...
 
 #. Icon-name
-#: ../src/main_window.c:423
+#: ../src/main_window.c:430
 msgid _Preferences...
 msgstr _تفضيلات...
 
-#: ../src/main_window.c:430
+#: ../src/main_window.c:437
 msgid _View
 msgstr _عرض
 
 #. Icon-name
-#: ../src/main_window.c:434
+#: ../src/main_window.c:441
 msgid _Fullscreen
 msgstr _ملء الشاشة
 
 #. Label-text
 #. Keyboard shortcut
-#: ../src/main_window.c:436
+#: ../src/main_window.c:443
 msgid Switch to fullscreen
 msgstr التبديل إلى وضع ملء الشاشة
 
 #. Icon-name
-#: ../src/main_window.c:440
+#: ../src/main_window.c:447
 msgid _Leave Fullscreen
 msgstr _غادر نمط ملء الشاشة
 
 #. Label-text
 #. Keyboard shortcut
-#: ../src/main_window.c:442
+#: ../src/main_window.c:449
 msgid Leave Fullscreen
 msgstr غادر نمط ملء الشاشة
 
 #. Icon-name
-#: ../src/main_window.c:446
+#: ../src/main_window.c:453
 msgid Set as _Wallpaper...
 msgstr تعيين كخلفية...
 
-#: ../src/main_window.c:453
+#: ../src/main_window.c:460
 msgid _Zoom
 msgstr _تكبير
 
 #. Icon-name
-#: ../src/main_window.c:457
+#: ../src/main_window.c:464
 msgid Zoom _In
 msgstr قرّب
 
 #. Label-text
 #. Keyboard shortcut
-#: ../src/main_window.c:459
+#: ../src/main_window.c:466
 msgid Zoom in
 msgstr تكبير
 
 #. Icon-name
-#: 

[Xfce4-commits] exo:master Updates for release.

2012-11-10 Thread Nick Schermer
Updating branch refs/heads/master
 to b23bcf61b4275addfecb3498eeeb2d6a5ef079ab (commit)
   from b57cb9ec9774831631359fdbdb3443f72e42e6c1 (commit)

commit b23bcf61b4275addfecb3498eeeb2d6a5ef079ab
Author: Nick Schermer n...@xfce.org
Date:   Sat Nov 10 20:52:38 2012 +0100

Updates for release.

 NEWS|   10 ++
 configure.ac.in |4 ++--
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/NEWS b/NEWS
index 0d8ceb1..ef140e2 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,13 @@
+0.9.1
+=
+- Drop the item index for the icon view.
+- Use unsigned int for idles and timeouts.
+- Add accessibility support to exo icon view.
+- Use new thread functions if available.
+- Avoid deprecation warnings.
+- Protect against null value (bug #9418).
+- Translation updates: German, Japanese, Serbian, Uyghur.
+
 0.9.0
 =
 - Add mnemonics to tab labels (bug #8972).
diff --git a/configure.ac.in b/configure.ac.in
index 2e008eb..8fc0db6 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -12,10 +12,10 @@ m4_define([libexo_verinfo], [1:0:1])
 m4_define([libexo_version_api], [1])
 m4_define([libexo_version_major], [0])
 m4_define([libexo_version_minor], [9])
-m4_define([libexo_version_micro], [0])
+m4_define([libexo_version_micro], [1])
 m4_define([libexo_version_nano], [])
 m4_define([libexo_version_build], [@REVISION@])
-m4_define([libexo_version_tag], [git])
+m4_define([libexo_version_tag], [])
 m4_define([libexo_version], 
[libexo_version_major().libexo_version_minor().libexo_version_micro()ifelse(libexo_version_nano(),
 [], [], [.libexo_version_nano()])ifelse(libexo_version_tag(), [git], 
[libexo_version_tag()-libexo_version_build()], [libexo_version_tag()])])
 
 dnl 
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] exo|exo-0.9.1 Creating annotated tag exo-0.9.1

2012-11-10 Thread Nick Schermer
Updating annotated tag refs/tags/exo-0.9.1
 as new annotated tag
 to 48b44b2f199fbe5d9ad08a5ed7c906b0daec8e37 (tag)
   succeeds exo-0.9.0-11-gb57cb9e
  tagged by Nick Schermer n...@xfce.org
 on 2012-11-10 20:54 +0100

Nick Schermer (1):
  Updates for release.

___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] exo:master Post release tag bump.

2012-11-10 Thread Nick Schermer
Updating branch refs/heads/master
 to 6b40e571d0faa2161e1150781518276b20e2d7cd (commit)
   from b23bcf61b4275addfecb3498eeeb2d6a5ef079ab (commit)

commit 6b40e571d0faa2161e1150781518276b20e2d7cd
Author: Nick Schermer n...@xfce.org
Date:   Sat Nov 10 20:54:37 2012 +0100

Post release tag bump.

 configure.ac.in |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac.in b/configure.ac.in
index 8fc0db6..a8292a3 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -15,7 +15,7 @@ m4_define([libexo_version_minor], [9])
 m4_define([libexo_version_micro], [1])
 m4_define([libexo_version_nano], [])
 m4_define([libexo_version_build], [@REVISION@])
-m4_define([libexo_version_tag], [])
+m4_define([libexo_version_tag], [git])
 m4_define([libexo_version], 
[libexo_version_major().libexo_version_minor().libexo_version_micro()ifelse(libexo_version_nano(),
 [], [], [.libexo_version_nano()])ifelse(libexo_version_tag(), [git], 
[libexo_version_tag()-libexo_version_build()], [libexo_version_tag()])])
 
 dnl 
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] thunar:master Updates for release.

2012-11-10 Thread Nick Schermer
Updating branch refs/heads/master
 to 0d64ded8de91422e554efa017c85a8b1ab85ffea (commit)
   from 8a0a47f026a37508f3d0d3d4e11ec3a60411ce41 (commit)

commit 0d64ded8de91422e554efa017c85a8b1ab85ffea
Author: Nick Schermer n...@xfce.org
Date:   Sat Nov 10 20:59:37 2012 +0100

Updates for release.

 NEWS|   47 +++
 configure.ac.in |4 ++--
 2 files changed, 49 insertions(+), 2 deletions(-)

diff --git a/NEWS b/NEWS
index 0d0225f..e5c1321 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,50 @@
+1.5.2
+=
+- Do not unref g_file_icon_get_file() file (bug #9439).
+- Don't add duplicates of devices (bug #9440).
+- Fix typo of Trash in standard view (bug #9437).
+- Don't use deprecated g_thread_init().
+- Use GArray instead of GValueArray and new mutex API.
+- Clear cached icon when trash changed (bug #9432).
+- Also clear cache on reload of a file.
+- Keep file permissions when renaming a desktop file.
+- Write localized name of a desktop file (bug #8783).
+- Fix back/forward gestures and 8/9 button events.
+- Use seconds timers where possible.
+- Idle selecting item in shortcuts pane.
+- Do not set selection after removing files (bug #8780).
+- Fix linking on Cygwin (bug #4561).
+- Sort renamer list by clicking on name header (bug #2622).
+- Always set the icons size of the toolbar.
+- Make the entry the default location bar.
+- Don't set weight in chooser model to light (bug #7688).
+- Fallback to only default values if xfconf failed.
+- Improve generating remote display names (bug #9442).
+- Remove user directories and add bookmarks in go menu.
+- Trigger callback function when opening unmounted locations (bug #9447).
+- Don't add a bookmark to the same location twice.
+- Also watch the bookmark files.
+- Use stock home icons for ~.
+- Do not freeze on new files outsize this directory (bug #9468).
+- Some more optimizations in icon name loading.
+- Don't include notify.h if not available (bug #9480).
+- Add free space tooltip for devices.
+- Use GSequence in the list model.
+- Directly collect the full info namespace for ls dir.
+- Drop unused check for icons of executables.
+- Don't write empty session files.
+- Add support for tabs in session saving.
+- Translation updates: Amharic, Arabic, Asturian, Belarusian,
+  Bengali, Catalan (Valencian), Czech, Danish, German, Dzongkha, Greek,
+  English (United Kingdom), Esperanto, Spanish (Castilian), Estonian,
+  Basque, Finnish, French, Galician, Hebrew, Croatian, Hungarian,
+  Indonesian, Icelandic, Italian, Japanese, Georgian, Kazakh, Korean,
+  Kurdish, Lithuanian, Latvian, Macedonian, Norwegian Bokmal, Dutch
+  (Flemish), Norwegian Nynorsk, Panjabi (Punjabi), Polish, Portuguese,
+  Portuguese (Brazilian), Romanian, Russian, Sinhala, Slovak, Albanian,
+  Serbian, Swedish, Telugu, Turkish, Uyghur, Ukrainian, Urdu, Urdu
+  (Pakistan), Vietnamese, Chinese (China), Chinese (Taiwan).
+
 1.5.1
 =
 - Show custom commands again in the menus (bug #9169).
diff --git a/configure.ac.in b/configure.ac.in
index b7b2a99..806cdeb 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -25,10 +25,10 @@ m4_define([thunarx_verinfo], [0:0:0])
 m4_define([thunarx_version_api], [2])
 m4_define([thunar_version_major], [1])
 m4_define([thunar_version_minor], [5])
-m4_define([thunar_version_micro], [1])
+m4_define([thunar_version_micro], [2])
 m4_define([thunar_version_nano], [])
 m4_define([thunar_version_build], [@REVISION@])
-m4_define([thunar_version_tag], [git])
+m4_define([thunar_version_tag], [])
 m4_define([thunar_version], 
[thunar_version_major().thunar_version_minor().thunar_version_micro()ifelse(thunar_version_nano(),
 [], [], [.thunar_version_nano()])ifelse(thunar_version_tag(), [git], 
[thunar_version_tag()-thunar_version_build()], [thunar_version_tag()])])
 
 dnl ***
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] thunar|thunar-1.5.2 Creating annotated tag thunar-1.5.2

2012-11-10 Thread Nick Schermer
Updating annotated tag refs/tags/thunar-1.5.2
 as new annotated tag
 to dec252c887aa134421fa94980b2843a34e1dea1a (tag)
   succeeds thunar-1.5.1-116-g8a0a47f
  tagged by Nick Schermer n...@xfce.org
 on 2012-11-10 21:01 +0100

Nick Schermer (1):
  Updates for release.

___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] thunar:master Post release tag bump.

2012-11-10 Thread Nick Schermer
Updating branch refs/heads/master
 to b8f806d8a71c21a369dab55bdd6a67dbb00b4f71 (commit)
   from 0d64ded8de91422e554efa017c85a8b1ab85ffea (commit)

commit b8f806d8a71c21a369dab55bdd6a67dbb00b4f71
Author: Nick Schermer n...@xfce.org
Date:   Sat Nov 10 21:01:59 2012 +0100

Post release tag bump.

 configure.ac.in |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac.in b/configure.ac.in
index 806cdeb..0fe4eab 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -28,7 +28,7 @@ m4_define([thunar_version_minor], [5])
 m4_define([thunar_version_micro], [2])
 m4_define([thunar_version_nano], [])
 m4_define([thunar_version_build], [@REVISION@])
-m4_define([thunar_version_tag], [])
+m4_define([thunar_version_tag], [git])
 m4_define([thunar_version], 
[thunar_version_major().thunar_version_minor().thunar_version_micro()ifelse(thunar_version_nano(),
 [], [], [.thunar_version_nano()])ifelse(thunar_version_tag(), [git], 
[thunar_version_tag()-thunar_version_build()], [thunar_version_tag()])])
 
 dnl ***
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] midori:master Simplify build variables and inline all messages

2012-11-10 Thread Christian Dywan
Updating branch refs/heads/master
 to 2e88165fe4c03a232738506094b26245cd2464f6 (commit)
   from 2003a082dbfdd7b7ae40729080e68065bda59d6f (commit)

commit 2e88165fe4c03a232738506094b26245cd2464f6
Author: Christian Dywan christ...@twotoasts.de
Date:   Sat Nov 10 17:40:10 2012 +0100

Simplify build variables and inline all messages

 wscript |  123 ++-
 1 files changed, 43 insertions(+), 80 deletions(-)

diff --git a/wscript b/wscript
index b2d7610..1e94c64 100644
--- a/wscript
+++ b/wscript
@@ -112,19 +112,16 @@ def configure (conf):
 
 if option_enabled ('nls'):
 conf.check_tool ('intltool')
-if conf.env['INTLTOOL'] and conf.env['POCOM']:
-nls = 'yes'
-else:
+if not conf.env['INTLTOOL'] and conf.env['POCOM']:
 option_checkfatal ('nls', 'localization')
-nls = 'N/A'
+conf.define ('ENABLE_NLS', 0)
+else:
+conf.define ('ENABLE_NLS', 1)
 else:
-nls = 'no '
-conf.define ('ENABLE_NLS', [0,1][nls == 'yes'])
+conf.define ('ENABLE_NLS', 0)
+conf.check_message_custom ('nls', '', 'disabled')
 
-if conf.find_program ('rsvg-convert', var='RSVG_CONVERT'):
-icons = 'yes'
-else:
-icons = 'no '
+conf.find_program ('rsvg-convert', var='RSVG_CONVERT')
 
 if is_win32 (conf.env):
 conf.find_program ('windres', var='WINRC')
@@ -169,54 +166,43 @@ def configure (conf):
 conf.find_program ('gtkdoc-mkhtml', var='GTKDOC_MKHTML')
 if conf.env['GTKDOC_SCAN'] and conf.env['GTKDOC_MKTMPL'] \
 and conf.env['GTKDOC_MKDB'] and conf.env['GTKDOC_MKHTML']:
-api_docs = 'yes'
+pass
 else:
 option_checkfatal ('apidocs', 'API documentation')
-api_docs = 'N/A'
 else:
-api_docs = 'no '
+conf.check_message_custom ('gtk-doc', '', 'disabled')
 
 def check_pkg (name, version='', mandatory=True, var=None, args=''):
 if not var:
 var = name.split ('-')[0].upper ()
 conf.check_cfg (package=name, uselib_store=var, args='--cflags --libs 
' + args,
 atleast_version=version, mandatory=mandatory)
-return conf.env['HAVE_' + var]
+have = conf.env['HAVE_' + var] == 1
+conf.define (var + '_VERSION', ['No', conf.check_cfg (modversion=name, 
uselib_store=var)][have])
+return have
 
 if option_enabled ('gtk3'):
-gcr_pkg = 'gcr-3'
+check_pkg ('gcr-3', '2.32', mandatory=False)
 else:
-gcr_pkg = 'gcr-3-gtk2'
-check_pkg (gcr_pkg, '2.32', mandatory=False)
-conf.define ('GCR_VERSION', 
['No',conf.check_cfg(modversion=gcr_pkg)][conf.env['HAVE_GCR'] == 1])
+check_pkg ('gcr-3-gtk2', '2.32', mandatory=False)
 
 if option_enabled ('unique'):
 if option_enabled('gtk3'): unique_pkg = 'unique-3.0'
 else: unique_pkg = 'unique-1.0'
-check_pkg (unique_pkg, '0.9', False)
-unique = ['N/A', 'yes'][conf.env['HAVE_UNIQUE'] == 1]
-if unique != 'yes':
+if not check_pkg (unique_pkg, '0.9', mandatory=False):
 option_checkfatal ('unique', 'single instance')
-conf.define ('UNIQUE_VERSION', 'No')
-else:
-conf.define ('UNIQUE_VERSION', conf.check_cfg 
(modversion=unique_pkg))
 else:
-unique = 'no '
 conf.define ('UNIQUE_VERSION', 'No')
-conf.define ('HAVE_UNIQUE', [0,1][unique == 'yes'])
+conf.check_message_custom ('unique', '', 'disabled')
+conf.define ('HAVE_UNIQUE', [0,1][conf.env['LIBUNIQUE_VERSION'] != 'No'])
 
 if option_enabled ('libnotify'):
-check_pkg ('libnotify', mandatory=False)
-libnotify = ['N/A','yes'][conf.env['HAVE_LIBNOTIFY'] == 1]
-if libnotify != 'yes':
+if not check_pkg ('libnotify', mandatory=False):
 option_checkfatal ('libnotify', 'notifications')
-conf.define ('LIBNOTIFY_VERSION', 'No')
-else:
-conf.define ('LIBNOTIFY_VERSION', conf.check_cfg 
(modversion='libnotify'))
 else:
-libnotify = 'no '
 conf.define ('LIBNOTIFY_VERSION', 'No')
-conf.define ('HAVE_LIBNOTIFY', [0,1][libnotify == 'yes'])
+conf.check_message_custom ('libnotify', '', 'disabled')
+conf.define ('HAVE_LIBNOTIFY', [0,1][conf.env['LIBNOTIFY_VERSION'] != 
'No'])
 
 if option_enabled ('granite'):
 if not option_enabled ('gtk3'):
@@ -226,27 +212,30 @@ def configure (conf):
 else:
 granite = 'no (requires --enable-gtk3)'
 else:
-check_pkg ('granite', '0.1', False)
+check_pkg ('granite', '0.1', mandatory=False)
 granite = ['N/A', 'yes'][conf.env['HAVE_GRANITE'] == 1]
 if granite != 'yes':
 option_checkfatal ('granite', 'new notebook, pop-overs')
 conf.define ('GRANITE_VERSION', 'No')
  

[Xfce4-commits] midori:master Disable addons when building with Glib 2.26.0

2012-11-10 Thread Christian Dywan
Updating branch refs/heads/master
 to 96bddbbaa4d92047e57d2c626aad822811bebc7a (commit)
   from 2e88165fe4c03a232738506094b26245cd2464f6 (commit)

commit 96bddbbaa4d92047e57d2c626aad822811bebc7a
Author: Christian Dywan christ...@twotoasts.de
Date:   Sat Nov 10 17:41:22 2012 +0100

Disable addons when building with Glib  2.26.0

Fixes: https://bugs.launchpad.net/midori/+bug/1038064

 wscript |4 
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/wscript b/wscript
index 1e94c64..cd5f181 100644
--- a/wscript
+++ b/wscript
@@ -289,6 +289,10 @@ def configure (conf):
 conf.env['docs'] = option_enabled ('docs')
 if 'LINGUAS' in os.environ: conf.env['LINGUAS'] = os.environ['LINGUAS']
 
+if not check_version (conf.env['GIO_VERSION'], 2, 26, 0):
+conf.env['addons'] = False
+Utils.pprint ('YELLOW', 'Glib  2.26.0, disabling addons')
+
 conf.check (header_name='unistd.h')
 if not conf.env['HAVE_UNIQUE']:
 if Options.platform == 'win32':
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] midori:master Show Twitter RSS news feeds when available

2012-11-10 Thread Christian Dywan
Updating branch refs/heads/master
 to 3da86255afd9273e10d428c4e7564f117bd51b00 (commit)
   from 96bddbbaa4d92047e57d2c626aad822811bebc7a (commit)

commit 3da86255afd9273e10d428c4e7564f117bd51b00
Author: Paweł Forysiuk tuxa...@o2.pl
Date:   Sat Nov 10 17:46:07 2012 +0100

Show Twitter RSS news feeds when available

 midori/midori-view.c |7 ++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/midori/midori-view.c b/midori/midori-view.c
index 423c4a7..f959e0e 100644
--- a/midori/midori-view.c
+++ b/midori/midori-view.c
@@ -1344,7 +1344,12 @@ webkit_web_view_load_finished_cb (WebKitWebView*  
web_view,
 #if !WEBKIT_CHECK_VERSION (1, 1, 18)
 else if (r  r.indexOf ('icon') != -1) f.push (l[i].href); 
 #endif
-} return f; })(
+} if (document.location.href.indexOf ('twitter') != -1)
+{ var s = document.location.href.split('/'); 
+var u = 'https://api.twitter.com/1/statuses/user_timeline.rss;
+?include_rts=truescreen_name=' + s[3] + 'count=25'; 
+f.push ('$' + u + '|' + 'Twitter / ' + s[3]); } 
+return f; })(
 document.getElementsByTagName ('link'));, NULL);
 
 /* FIXME: If URI or title contains , parsing will break */
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] midori:master Consistent xdg and tmp folder setup for unit tests

2012-11-10 Thread Christian Dywan
Updating branch refs/heads/master
 to ee61bc25745534948b699d8558703036832ad808 (commit)
   from 3da86255afd9273e10d428c4e7564f117bd51b00 (commit)

commit ee61bc25745534948b699d8558703036832ad808
Author: Christian Dywan christ...@twotoasts.de
Date:   Sat Nov 10 18:03:07 2012 +0100

Consistent xdg and tmp folder setup for unit tests

 katze/katze-utils.c |   57 +-
 katze/midori-paths.vala |   20 
 midori/main.c   |1 -
 tests/bookmarks.c   |   11 +++-
 tests/speeddial.vala|3 --
 wscript |6 +
 6 files changed, 32 insertions(+), 66 deletions(-)

diff --git a/katze/katze-utils.c b/katze/katze-utils.c
index e2ba19a..8fc174f 100644
--- a/katze/katze-utils.c
+++ b/katze/katze-utils.c
@@ -1356,70 +1356,17 @@ katze_object_get_object (gpointer object,
  * Create a directory if it doesn't already exist. Create intermediate
  * parent directories as needed, too.
  *
- * Similar to g_mkdir_with_parents() but returning early if the
- * @pathname refers to an existing directory.
- *
  * Returns: 0 if the directory already exists, or was successfully
  * created. Returns -1 if an error occurred, with errno set.
  *
  * Since: 0.2.1
  */
-/* Creating directories recursively
-   Copyright 2000 Red Hat, Inc.
-   Originally copied from Glib 2.20, coding style adjusted
-   Modified to determine file existence early and pathname must be != NULL */
 int
 katze_mkdir_with_parents (const gchar* pathname,
   int  mode)
 {
-  gchar* fn, *p;
-
-  /* Use g_access instead of g_file_test for better performance */
-  if (g_access (pathname, F_OK) == 0)
-  return 0;
-
-  fn = g_strdup (pathname);
-
-  if (g_path_is_absolute (fn))
-p = (gchar *) g_path_skip_root (fn);
-  else
-p = fn;
-
-  do
-  {
-  while (*p  !G_IS_DIR_SEPARATOR (*p))
-  p++;
-
-  if (!*p)
-  p = NULL;
-  else
-  *p = '\0';
-
-  if (g_access (fn, F_OK) != 0)
-  {
-  if (g_mkdir (fn, mode) == -1)
-  {
-  g_free (fn);
-  return -1;
-  }
-  }
-  else if (!g_file_test (fn, G_FILE_TEST_IS_DIR))
-  {
-  g_free (fn);
-  return -1;
-  }
-  if (p)
-  {
-  *p++ = G_DIR_SEPARATOR;
-  while (*p  G_IS_DIR_SEPARATOR (*p))
-  p++;
-  }
-  }
-  while (p);
-
-  g_free (fn);
-
-  return 0;
+midori_paths_mkdir_with_parents (pathname, mode);
+return 0;
 }
 
 /**
diff --git a/katze/midori-paths.vala b/katze/midori-paths.vala
index 585067c..992cb88 100644
--- a/katze/midori-paths.vala
+++ b/katze/midori-paths.vala
@@ -104,8 +104,28 @@ namespace Midori {
 }
 }
 
+public static void mkdir_with_parents (string path, int mode = 0700) {
+/* Use g_access instead of g_file_test for better performance */
+if (Posix.access (path, Posix.F_OK) == 0)
+return;
+int i = path.index_of_char (Path.DIR_SEPARATOR, 0);
+do {
+string fn = path.substring (i, -1);
+if (Posix.access (fn, Posix.F_OK) != 0) {
+if (DirUtils.create (fn, mode) == -1)
+return; /* Failed */
+}
+else if (!FileUtils.test (fn, FileTest.IS_SYMLINK))
+return; /* Failed */
+
+i = path.index_of_char (Path.DIR_SEPARATOR, i);
+}
+while (i != -1);
+}
+
 public static unowned string get_config_dir_for_writing () {
 assert (config_dir != null);
+mkdir_with_parents (config_dir);
 return config_dir;
 }
 
diff --git a/midori/main.c b/midori/main.c
index 32e5800..dc85aab 100644
--- a/midori/main.c
+++ b/midori/main.c
@@ -2259,7 +2259,6 @@ main (intargc,
 }
 
 katze_assign (config, g_strdup (midori_paths_get_config_dir_for_writing 
()));
-katze_mkdir_with_parents (config, 0700);
 /* Load configuration file */
 error_messages = g_string_new (NULL);
 error = NULL;
diff --git a/tests/bookmarks.c b/tests/bookmarks.c
index eaf11da..732b3c8 100644
--- a/tests/bookmarks.c
+++ b/tests/bookmarks.c
@@ -20,7 +20,6 @@ typedef struct
 
 typedef struct
 {
-char *dbfile;   /* usually :memory: */
 gboolean verbose;   /* print debug stuff if TRUE */
 char* infile;   /* (e.g. to test import), usually NULL */
 char* outfile;  /* (e.g. to test export), if it can be avoided it's
@@ -40,8 +39,7 @@ fixture_setup (BookmarksFixture* fixture,
 gchar *errmsg = NULL;
 
 fixture-db_bookmarks = katze_array_new (KATZE_TYPE_ARRAY);
-db = NULL; /* FIXME midori_bookmarks_initialize (fixture-db_bookmarks, 
params-dbfile, errmsg); */
-if (db == NULL)
+if ((db = midori_bookmarks_initialize (fixture-db_bookmarks, errmsg)) == 
NULL)
 

[Xfce4-commits] libxfce4ui:master Update translators, week 45.

2012-11-10 Thread Transifex
Updating branch refs/heads/master
 to 2ce5975f1b049b45c187f15c4fefa5cbb35b5a51 (commit)
   from b6bd5660deede85f431362ca9702180b0da90923 (commit)

commit 2ce5975f1b049b45c187f15c4fefa5cbb35b5a51
Author: Transifex nore...@xfce.org
Date:   Sun Nov 11 00:21:10 2012 +0100

Update translators, week 45.

 xfce4-about/translators.h |4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/xfce4-about/translators.h b/xfce4-about/translators.h
index 72930b9..ad58bb9 100644
--- a/xfce4-about/translators.h
+++ b/xfce4-about/translators.h
@@ -24,7 +24,7 @@
 #include gtk/gtk.h
 #include libxfce4util/libxfce4util.h
 
-#define TRANSLATORS_H_STAMP 2012-11-04 00:21:02
+#define TRANSLATORS_H_STAMP 2012-11-11 00:21:09
 #define ATSIGN @
 #define DOTSIGN .
 
@@ -316,6 +316,7 @@ static const TranslatorInfo xfce_translators_hr[] =
 {
   { Petar Koretić, petar DOTSIGN koretic ATSIGN gmail DOTSIGN com, 
TRUE },
   { Ivica Kolić, ikoli ATSIGN yahoo DOTSIGN com, TRUE },
+  { Luka Kelava, luka DOTSIGN kelava2009 ATSIGN gmail DOTSIGN com, 
FALSE },
   { NULL, NULL }
 };
 
@@ -757,6 +758,7 @@ static const TranslatorInfo xfce_translators_zh_TW[] =
   { Pei Yi Chen, cpyimail ATSIGN gmail DOTSIGN com, FALSE },
   { ethan42411, jrpropo10282003 ATSIGN yahoo DOTSIGN com DOTSIGN tw, 
FALSE },
   { fanasin, pswo10680 ATSIGN hotmail DOTSIGN com, FALSE },
+  { Yu-Fu Wu, wennynnewenny ATSIGN gmail DOTSIGN com, FALSE },
   { Ruei-Yuan Lu, RueiYuan DOTSIGN Lu ATSIGN gmail DOTSIGN com, 
FALSE },
   { Howard Chan, smartboyhw ATSIGN gmail DOTSIGN com, FALSE },
   { Chia-Han Lee, gloomysaga ATSIGN gmail DOTSIGN com, FALSE },
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] www:master Update translators, week 45.

2012-11-10 Thread Transifex
Updating branch refs/heads/master
 to eddf57dc3bac4c8f2596602d2ab1a1eb86aea6f1 (commit)
   from 1d672e2e58f50e08435a9b389ee73de4c0fcd53b (commit)

commit eddf57dc3bac4c8f2596602d2ab1a1eb86aea6f1
Author: Transifex nore...@xfce.org
Date:   Sun Nov 11 00:21:14 2012 +0100

Update translators, week 45.

 lib/translators.php |4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/lib/translators.php b/lib/translators.php
index a699a5c..e6de880 100644
--- a/lib/translators.php
+++ b/lib/translators.php
@@ -4,7 +4,7 @@
  * DO NOT EDIT IT MANUALLY!
  */
 
-$translators_stamp = 2012-11-04 00:21:14;
+$translators_stamp = 2012-11-11 00:21:14;
 
 $translators = array (
   'Amharic [am]' = array (
@@ -203,6 +203,7 @@ $translators = array (
   'Croatian [hr]' = array (
 'Petar Koretić' = 'petar'.DOTSIGN.'koretic'.ATSIGN.'gmail'.DOTSIGN.'com',
 'Ivica Kolić' = 'ikoli'.ATSIGN.'yahoo'.DOTSIGN.'com',
+'Luka Kelava' = 'luka'.DOTSIGN.'kelava2009'.ATSIGN.'gmail'.DOTSIGN.'com',
   ),
   'Hungarian [hu]' = array (
 'Gabor Kelemen' = 'kelemeng'.ATSIGN.'gnome'.DOTSIGN.'hu',
@@ -518,6 +519,7 @@ $translators = array (
 'Pei Yi Chen' = 'cpyimail'.ATSIGN.'gmail'.DOTSIGN.'com',
 'ethan42411' = 
'jrpropo10282003'.ATSIGN.'yahoo'.DOTSIGN.'com'.DOTSIGN.'tw',
 'fanasin' = 'pswo10680'.ATSIGN.'hotmail'.DOTSIGN.'com',
+'Yu-Fu Wu' = 'wennynnewenny'.ATSIGN.'gmail'.DOTSIGN.'com',
 'Ruei-Yuan Lu' = 'RueiYuan'.DOTSIGN.'Lu'.ATSIGN.'gmail'.DOTSIGN.'com',
 'Howard Chan' = 'smartboyhw'.ATSIGN.'gmail'.DOTSIGN.'com',
 'Chia-Han Lee' = 'gloomysaga'.ATSIGN.'gmail'.DOTSIGN.'com',
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] thunar:master Readd the has-handler check when inserting rows.

2012-11-10 Thread Nick Schermer
Updating branch refs/heads/master
 to bf50d845959d7b2cff3ec2c5b964f657a30f8461 (commit)
   from b8f806d8a71c21a369dab55bdd6a67dbb00b4f71 (commit)

commit bf50d845959d7b2cff3ec2c5b964f657a30f8461
Author: Nick Schermer n...@xfce.org
Date:   Sat Nov 10 22:57:44 2012 +0100

Readd the has-handler check when inserting rows.

This has some benefit when the folder is already loaded
in another view.

 thunar/thunar-list-model.c |   15 +++
 1 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/thunar/thunar-list-model.c b/thunar/thunar-list-model.c
index 2fc6f75..2cdeec2 100644
--- a/thunar/thunar-list-model.c
+++ b/thunar/thunar-list-model.c
@@ -1197,6 +1197,7 @@ thunar_list_model_files_added (ThunarFolder*folder,
   gint  *indices;
   GSequenceIter *row;
   GList *lp;
+  gboolean   has_handler;
 
   /* we use a simple trick here to avoid allocating
* GtkTreePath's again and again, by simply accessing
@@ -1206,6 +1207,9 @@ thunar_list_model_files_added (ThunarFolder*folder,
   path = gtk_tree_path_new_first ();
   indices = gtk_tree_path_get_indices (path);
 
+  /* check if we have any handlers connected for row-inserted */
+  has_handler = g_signal_has_handler_pending (G_OBJECT (store), 
store-row_inserted_id, 0, FALSE);
+
   /* process all added files */
   for (lp = files; lp != NULL; lp = lp-next)
 {
@@ -1224,11 +1228,14 @@ thunar_list_model_files_added (ThunarFolder*folder,
   row = g_sequence_insert_sorted (store-rows, file,
   thunar_list_model_cmp_func, store);
 
-  /* generate an iterator for the new item */
-  GTK_TREE_ITER_INIT (iter, store-stamp, row);
+  if (has_handler)
+{
+  /* generate an iterator for the new item */
+  GTK_TREE_ITER_INIT (iter, store-stamp, row);
 
-  indices[0] = g_sequence_iter_get_position (row);
-  gtk_tree_model_row_inserted (GTK_TREE_MODEL (store), path, iter);
+  indices[0] = g_sequence_iter_get_position (row);
+  gtk_tree_model_row_inserted (GTK_TREE_MODEL (store), path, 
iter);
+}
 }
 }
 
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] thunar:master Use macro names for attributes.

2012-11-10 Thread Nick Schermer
Updating branch refs/heads/master
 to 23b35cc2efe1d0fd0801622cb9385753794f2f67 (commit)
   from bf50d845959d7b2cff3ec2c5b964f657a30f8461 (commit)

commit 23b35cc2efe1d0fd0801622cb9385753794f2f67
Author: Nick Schermer n...@xfce.org
Date:   Sat Nov 10 23:17:19 2012 +0100

Use macro names for attributes.

Those are defined these days.

 thunar/thunar-file.c |6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/thunar/thunar-file.c b/thunar/thunar-file.c
index c3118bb..13b9ef0 100644
--- a/thunar/thunar-file.c
+++ b/thunar/thunar-file.c
@@ -2861,7 +2861,7 @@ thunar_file_get_deletion_date (const ThunarFile *file,
   _thunar_return_val_if_fail (THUNAR_IS_FILE (file), NULL);
   _thunar_return_val_if_fail (G_IS_FILE_INFO (file-info), NULL);
 
-  date = g_file_info_get_attribute_string (file-info, trash::deletion-date);
+  date = g_file_info_get_attribute_string (file-info, 
G_FILE_ATTRIBUTE_TRASH_DELETION_DATE);
   if (G_UNLIKELY (date == NULL))
 return NULL;
 
@@ -2893,7 +2893,7 @@ thunar_file_get_original_path (const ThunarFile *file)
   if (file-info == NULL)
 return NULL;
 
-  return g_file_info_get_attribute_byte_string (file-info, 
trash::orig-path);
+  return g_file_info_get_attribute_byte_string (file-info, 
G_FILE_ATTRIBUTE_TRASH_ORIG_PATH);
 }
 
 
@@ -3323,7 +3323,7 @@ thunar_file_get_preview_icon (const ThunarFile *file)
   _thunar_return_val_if_fail (THUNAR_IS_FILE (file), NULL);
   _thunar_return_val_if_fail (G_IS_FILE_INFO (file-info), NULL);
 
-  icon = g_file_info_get_attribute_object (file-info, preview::icon);
+  icon = g_file_info_get_attribute_object (file-info, 
G_FILE_ATTRIBUTE_PREVIEW_ICON);
   if (G_LIKELY (icon != NULL))
 return G_ICON (icon);
 
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] thunar:master Use pspec notify in standard view.

2012-11-10 Thread Nick Schermer
Updating branch refs/heads/master
 to 776d74cb982cf971c29fb7c5490fe2d0850d8d3e (commit)
   from 23b35cc2efe1d0fd0801622cb9385753794f2f67 (commit)

commit 776d74cb982cf971c29fb7c5490fe2d0850d8d3e
Author: Nick Schermer n...@xfce.org
Date:   Sun Nov 11 00:03:25 2012 +0100

Use pspec notify in standard view.

 thunar/thunar-standard-view.c |  108 +
 1 files changed, 66 insertions(+), 42 deletions(-)

diff --git a/thunar/thunar-standard-view.c b/thunar/thunar-standard-view.c
index 4f24a1e..89fc96f 100644
--- a/thunar/thunar-standard-view.c
+++ b/thunar/thunar-standard-view.c
@@ -77,6 +77,7 @@ enum
   PROP_STATUSBAR_TEXT,
   PROP_UI_MANAGER,
   PROP_ZOOM_LEVEL,
+  N_PROPERTIES
 };
 
 /* Signal identifiers */
@@ -412,7 +413,8 @@ static const GtkTargetEntry drop_targets[] =
 
 
 
-static guint standard_view_signals[LAST_SIGNAL];
+static guint   standard_view_signals[LAST_SIGNAL];
+static GParamSpec *standard_view_props[N_PROPERTIES] = { NULL, };
 
 
 
@@ -429,6 +431,7 @@ thunar_standard_view_class_init (ThunarStandardViewClass 
*klass)
   GtkWidgetClass *gtkwidget_class;
   GtkBindingSet  *binding_set;
   GObjectClass   *gobject_class;
+  gpointerg_iface;
 
   g_type_class_add_private (klass, sizeof (ThunarStandardViewPrivate));
 
@@ -454,53 +457,74 @@ thunar_standard_view_class_init (ThunarStandardViewClass 
*klass)
*
* Whether the folder associated with this view is
* currently being loaded from the underlying media.
+   *
+   * Override property to set the property as writable
+   * for the binding.
**/
-  g_object_class_install_property (gobject_class,
-   PROP_LOADING,
-   g_param_spec_override (loading,
-  g_param_spec_boolean 
(loading,
-   
 loading,
-   
 loading,
-   
 FALSE,
-   
 EXO_PARAM_READWRITE)));
+  standard_view_props[PROP_LOADING] =
+  g_param_spec_override (loading,
+ g_param_spec_boolean (loading,
+   loading,
+   loading,
+   FALSE,
+   EXO_PARAM_READWRITE));
 
   /**
* ThunarStandardView:display-name:
*
* Display name of the current directory, for label text
**/
-  g_object_class_install_property (gobject_class,
-   PROP_DISPLAY_NAME,
-   g_param_spec_string (display-name,
-display-name,
-display-name,
-NULL,
-EXO_PARAM_READABLE));
+  standard_view_props[PROP_DISPLAY_NAME] =
+  g_param_spec_string (display-name,
+   display-name,
+   display-name,
+   NULL,
+   EXO_PARAM_READABLE);
 
   /**
* ThunarStandardView:parse-name:
*
* Full parsed name of the current directory, for label tooltip
**/
-  g_object_class_install_property (gobject_class,
-   PROP_TOOLTIP_TEXT,
-   g_param_spec_string (tooltip-text,
-tooltip-text,
-tooltip-text,
-NULL,
-EXO_PARAM_READABLE));
+  standard_view_props[PROP_TOOLTIP_TEXT] =
+  g_param_spec_string (tooltip-text,
+   tooltip-text,
+   tooltip-text,
+   NULL,
+   EXO_PARAM_READABLE);
 
   /* override ThunarComponent's properties */
-  g_object_class_override_property (gobject_class, PROP_SELECTED_FILES, 
selected-files);
-  g_object_class_override_property (gobject_class, PROP_UI_MANAGER, 
ui-manager);
+  g_iface = g_type_default_interface_peek (THUNAR_TYPE_COMPONENT);
+  standard_view_props[PROP_SELECTED_FILES] =
+  g_param_spec_override (selected-files,
+ g_object_interface_find_property (g_iface, 
selected-files));
+
+  standard_view_props[PROP_UI_MANAGER] =
+  g_param_spec_override (ui-manager,
+ g_object_interface_find_property (g_iface, 
ui-manager));
 
   /* override 

[Xfce4-commits] thunar:master Use pspec notify in list model.

2012-11-10 Thread Nick Schermer
Updating branch refs/heads/master
 to 959b2995fb3adacbb1b2ff8cf22f5edbfdc86a91 (commit)
   from 65b92dcd87c76da6892639e4b603906e90781af8 (commit)

commit 959b2995fb3adacbb1b2ff8cf22f5edbfdc86a91
Author: Nick Schermer n...@xfce.org
Date:   Sun Nov 11 00:14:06 2012 +0100

Use pspec notify in list model.

 thunar/thunar-list-model.c |  105 ++--
 1 files changed, 52 insertions(+), 53 deletions(-)

diff --git a/thunar/thunar-list-model.c b/thunar/thunar-list-model.c
index 2cdeec2..e404193 100644
--- a/thunar/thunar-list-model.c
+++ b/thunar/thunar-list-model.c
@@ -49,6 +49,7 @@ enum
   PROP_FOLDERS_FIRST,
   PROP_NUM_FILES,
   PROP_SHOW_HIDDEN,
+  N_PROPERTIES
 };
 
 /* Signal identifiers */
@@ -229,7 +230,8 @@ struct _ThunarListModel
 
 
 
-static guint list_model_signals[LAST_SIGNAL];
+static guint   list_model_signals[LAST_SIGNAL];
+static GParamSpec *list_model_props[N_PROPERTIES] = { NULL, };
 
 
 
@@ -255,79 +257,76 @@ thunar_list_model_class_init (ThunarListModelClass *klass)
*
* Tells whether the sorting should be case sensitive.
**/
-  g_object_class_install_property (gobject_class,
-   PROP_CASE_SENSITIVE,
-   g_param_spec_boolean (case-sensitive,
- case-sensitive,
- case-sensitive,
- TRUE,
- EXO_PARAM_READWRITE));
+  list_model_props[PROP_CASE_SENSITIVE] =
+  g_param_spec_boolean (case-sensitive,
+case-sensitive,
+case-sensitive,
+TRUE,
+EXO_PARAM_READWRITE);
 
   /**
* ThunarListModel:date-style:
*
* The style used to format dates.
**/
-  g_object_class_install_property (gobject_class,
-   PROP_DATE_STYLE,
-   g_param_spec_enum (date-style,
-  date-style,
-  date-style,
-  THUNAR_TYPE_DATE_STYLE,
-  THUNAR_DATE_STYLE_SIMPLE,
-  EXO_PARAM_READWRITE));
+  list_model_props[PROP_DATE_STYLE] =
+  g_param_spec_enum (date-style,
+ date-style,
+ date-style,
+ THUNAR_TYPE_DATE_STYLE,
+ THUNAR_DATE_STYLE_SIMPLE,
+ EXO_PARAM_READWRITE);
 
   /**
* ThunarListModel:folder:
*
* The folder presented by this #ThunarListModel.
**/
-  g_object_class_install_property (gobject_class,
-   PROP_FOLDER,
-   g_param_spec_object (folder,
-folder,
-folder,
-THUNAR_TYPE_FOLDER,
-EXO_PARAM_READWRITE));
+  list_model_props[PROP_FOLDER] =
+  g_param_spec_object (folder,
+   folder,
+   folder,
+   THUNAR_TYPE_FOLDER,
+   EXO_PARAM_READWRITE);
 
   /**
* ThunarListModel::folders-first:
*
* Tells whether to always sort folders before other files.
**/
-  g_object_class_install_property (gobject_class,
-   PROP_FOLDERS_FIRST,
-   g_param_spec_boolean (folders-first,
- folders-first,
- folders-first,
- TRUE,
- EXO_PARAM_READWRITE));
+  list_model_props[PROP_FOLDERS_FIRST] =
+  g_param_spec_boolean (folders-first,
+folders-first,
+folders-first,
+TRUE,
+EXO_PARAM_READWRITE);
 
   /**
* ThunarListModel::num-files:
*
* The number of files in the folder presented by this #ThunarListModel.
**/
-  g_object_class_install_property (gobject_class,
-   PROP_NUM_FILES,
-   g_param_spec_uint (num-files,
-  num-files,
-  num-files,
-  0, G_MAXUINT, 0,
- 

[Xfce4-commits] thunar:master Install preferences properties at once.

2012-11-10 Thread Nick Schermer
Updating branch refs/heads/master
 to 65b92dcd87c76da6892639e4b603906e90781af8 (commit)
   from 776d74cb982cf971c29fb7c5490fe2d0850d8d3e (commit)

commit 65b92dcd87c76da6892639e4b603906e90781af8
Author: Nick Schermer n...@xfce.org
Date:   Sun Nov 11 00:09:50 2012 +0100

Install preferences properties at once.

 thunar/thunar-preferences.c |  602 ---
 1 files changed, 283 insertions(+), 319 deletions(-)

diff --git a/thunar/thunar-preferences.c b/thunar/thunar-preferences.c
index 1ad4503..c789fb4 100644
--- a/thunar/thunar-preferences.c
+++ b/thunar/thunar-preferences.c
@@ -99,17 +99,17 @@ enum
 
 static void thunar_preferences_finalize   (GObject
*object);
 static void thunar_preferences_get_property   (GObject
*object,
-   guint   
prop_id,
-   GValue 
*value,
-   GParamSpec 
*pspec);
+  guint   prop_id,
+  GValue *value,
+  GParamSpec *pspec);
 static void thunar_preferences_set_property   (GObject
*object,
-   guint   
prop_id,
-   const GValue   
*value,
-   GParamSpec 
*pspec);
+  guint   prop_id,
+  const GValue   *value,
+  GParamSpec *pspec);
 static void thunar_preferences_prop_changed   (XfconfChannel  
*channel,
-   const gchar
*prop_name,
-   const GValue   
*value,
-   ThunarPreferences  
*preferences);
+  const gchar*prop_name,
+  const GValue   *value,
+  ThunarPreferences  *preferences);
 static void thunar_preferences_load_rc_file   (ThunarPreferences  
*preferences);
 
 
@@ -139,6 +139,10 @@ G_DEFINE_TYPE (ThunarPreferences, thunar_preferences, 
G_TYPE_OBJECT)
 
 
 
+static GParamSpec *preferences_props[N_PROPERTIES] = { NULL, };
+
+
+
 static void
 thunar_preferences_class_init (ThunarPreferencesClass *klass)
 {
@@ -156,13 +160,12 @@ thunar_preferences_class_init (ThunarPreferencesClass 
*klass)
* view pane in new #ThunarWindow!s or void to use the
* last selected view from the last-view preference.
**/
-  g_object_class_install_property (gobject_class,
-   PROP_DEFAULT_VIEW,
-   g_param_spec_string (default-view,
-DefaultView,
-NULL,
-void,
-EXO_PARAM_READWRITE));
+  preferences_props[PROP_DEFAULT_VIEW] =
+  g_param_spec_string (default-view,
+   DefaultView,
+   NULL,
+   void,
+   EXO_PARAM_READWRITE);
 
   /**
* ThunarPreferences:hidden-bookmarks:
@@ -170,13 +173,12 @@ thunar_preferences_class_init (ThunarPreferencesClass 
*klass)
* List of URI's that are hidden in the bookmarks (obtained from 
~/.gtk-bookmarks).
* If an URI is not in the bookmarks file it will be removed from this list.
**/
-  g_object_class_install_property (gobject_class,
-   PROP_HIDDEN_BOOKMARKS,
-   g_param_spec_boxed (hidden-bookmarks,
-   NULL,
-   NULL,
-   G_TYPE_STRV,
-   EXO_PARAM_READWRITE));
+  preferences_props[PROP_HIDDEN_BOOKMARKS] =
+  g_param_spec_boxed (hidden-bookmarks,
+  NULL,
+  NULL,
+  G_TYPE_STRV,
+  EXO_PARAM_READWRITE);
 
   /**
* ThunarPreferences:hidden-devices:
@@ -185,27 +187,25 @@ thunar_preferences_class_init (ThunarPreferencesClass 
*klass)
* Visibility of the device can be obtained with
* thunar_device_get_hidden().
**/
-  g_object_class_install_property (gobject_class,
-   PROP_HIDDEN_DEVICES,
-  

[Xfce4-commits] thunar:master Unset the list model folder in dispose.

2012-11-10 Thread Nick Schermer
Updating branch refs/heads/master
 to 6cadc76021a81c4d7508230b961b5b19bfc90519 (commit)
   from b3d91bb72fbab55e8652cfe1eece2c976d326ee1 (commit)

commit 6cadc76021a81c4d7508230b961b5b19bfc90519
Author: Nick Schermer n...@xfce.org
Date:   Sun Nov 11 01:01:55 2012 +0100

Unset the list model folder in dispose.

pspecs are already freed in finalize.

 thunar/thunar-list-model.c |   16 +---
 1 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/thunar/thunar-list-model.c b/thunar/thunar-list-model.c
index e404193..6126329 100644
--- a/thunar/thunar-list-model.c
+++ b/thunar/thunar-list-model.c
@@ -70,6 +70,7 @@ typedef gint (*ThunarSortFunc) (const ThunarFile *a,
 static void   thunar_list_model_tree_model_init   
(GtkTreeModelIface  *iface);
 static void   thunar_list_model_drag_dest_init
(GtkTreeDragDestIface   *iface);
 static void   thunar_list_model_sortable_init 
(GtkTreeSortableIface   *iface);
+static void   thunar_list_model_dispose   (GObject 
   *object);
 static void   thunar_list_model_finalize  (GObject 
   *object);
 static void   thunar_list_model_get_property  (GObject 
   *object,
guint   
prop_id,
@@ -248,6 +249,7 @@ thunar_list_model_class_init (ThunarListModelClass *klass)
   GObjectClass *gobject_class;
 
   gobject_class   = G_OBJECT_CLASS (klass);
+  gobject_class-dispose  = thunar_list_model_dispose;
   gobject_class-finalize = thunar_list_model_finalize;
   gobject_class-get_property = thunar_list_model_get_property;
   gobject_class-set_property = thunar_list_model_set_property;
@@ -416,13 +418,21 @@ thunar_list_model_init (ThunarListModel *store)
 
 
 static void
+thunar_list_model_dispose (GObject *object)
+{
+  /* unlink from the folder (if any) */
+  thunar_list_model_set_folder (THUNAR_LIST_MODEL (object), NULL);
+
+  (*G_OBJECT_CLASS (thunar_list_model_parent_class)-dispose) (object);
+}
+
+
+
+static void
 thunar_list_model_finalize (GObject *object)
 {
   ThunarListModel *store = THUNAR_LIST_MODEL (object);
 
-  /* unlink from the folder (if any) */
-  thunar_list_model_set_folder (store, NULL);
-
   g_sequence_free (store-rows);
 
   /* disconnect from the file monitor */
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] thunar:master Use pspec notify in launcher.

2012-11-10 Thread Nick Schermer
Updating branch refs/heads/master
 to b3d91bb72fbab55e8652cfe1eece2c976d326ee1 (commit)
   from 51db2f58a2ac3807221e15014c4a95eed612d4be (commit)

commit b3d91bb72fbab55e8652cfe1eece2c976d326ee1
Author: Nick Schermer n...@xfce.org
Date:   Sun Nov 11 00:28:46 2012 +0100

Use pspec notify in launcher.

 thunar/thunar-launcher.c |   53 ++---
 1 files changed, 35 insertions(+), 18 deletions(-)

diff --git a/thunar/thunar-launcher.c b/thunar/thunar-launcher.c
index d1f5ead..978c545 100644
--- a/thunar/thunar-launcher.c
+++ b/thunar/thunar-launcher.c
@@ -59,6 +59,7 @@ enum
   PROP_SELECTED_FILES,
   PROP_UI_MANAGER,
   PROP_WIDGET,
+  N_PROPERTIES
 };
 
 
@@ -183,6 +184,10 @@ static GQuark thunar_launcher_handler_quark;
 
 
 
+static GParamSpec *launcher_props[N_PROPERTIES] = { NULL, };
+
+
+
 G_DEFINE_TYPE_WITH_CODE (ThunarLauncher, thunar_launcher, G_TYPE_OBJECT,
 G_IMPLEMENT_INTERFACE (THUNAR_TYPE_BROWSER, NULL)
 G_IMPLEMENT_INTERFACE (THUNAR_TYPE_NAVIGATOR, 
thunar_launcher_navigator_init)
@@ -194,6 +199,7 @@ static void
 thunar_launcher_class_init (ThunarLauncherClass *klass)
 {
   GObjectClass *gobject_class;
+  gpointer  g_iface;
 
   /* determine the thunar-launcher-handler quark */
   thunar_launcher_handler_quark = g_quark_from_static_string 
(thunar-launcher-handler);
@@ -204,25 +210,36 @@ thunar_launcher_class_init (ThunarLauncherClass *klass)
   gobject_class-get_property = thunar_launcher_get_property;
   gobject_class-set_property = thunar_launcher_set_property;
 
-  /* Override ThunarNavigator's properties */
-  g_object_class_override_property (gobject_class, PROP_CURRENT_DIRECTORY, 
current-directory);
-
-  /* Override ThunarComponent's properties */
-  g_object_class_override_property (gobject_class, PROP_SELECTED_FILES, 
selected-files);
-  g_object_class_override_property (gobject_class, PROP_UI_MANAGER, 
ui-manager);
-
   /**
* ThunarLauncher:widget:
*
* The #GtkWidget with which this launcher is associated.
**/
-  g_object_class_install_property (gobject_class,
-   PROP_WIDGET,
-   g_param_spec_object (widget,
-widget,
-widget,
-GTK_TYPE_WIDGET,
-EXO_PARAM_READWRITE));
+  launcher_props[PROP_WIDGET] =
+  g_param_spec_object (widget,
+   widget,
+   widget,
+   GTK_TYPE_WIDGET,
+   EXO_PARAM_READWRITE);
+
+  /* Override ThunarNavigator's properties */
+  g_iface = g_type_default_interface_peek (THUNAR_TYPE_NAVIGATOR);
+  launcher_props[PROP_CURRENT_DIRECTORY] =
+  g_param_spec_override (current-directory,
+ g_object_interface_find_property (g_iface, 
current-directory));
+
+  /* Override ThunarComponent's properties */
+  g_iface = g_type_default_interface_peek (THUNAR_TYPE_COMPONENT);
+  launcher_props[PROP_SELECTED_FILES] =
+  g_param_spec_override (selected-files,
+ g_object_interface_find_property (g_iface, 
selected-files));
+
+  launcher_props[PROP_UI_MANAGER] =
+  g_param_spec_override (ui-manager,
+ g_object_interface_find_property (g_iface, 
ui-manager));
+
+  /* install properties */
+  g_object_class_install_properties (gobject_class, N_PROPERTIES, 
launcher_props);
 }
 
 
@@ -414,7 +431,7 @@ thunar_launcher_set_current_directory (ThunarNavigator 
*navigator,
 g_object_ref (G_OBJECT (current_directory));
 
   /* notify listeners */
-  g_object_notify (G_OBJECT (launcher), current-directory);
+  g_object_notify_by_pspec (G_OBJECT (launcher), 
launcher_props[PROP_CURRENT_DIRECTORY]);
 }
 
 
@@ -453,7 +470,7 @@ thunar_launcher_set_selected_files (ThunarComponent 
*component,
   thunar_launcher_update (launcher);
 
   /* notify listeners */
-  g_object_notify (G_OBJECT (launcher), selected-files);
+  g_object_notify_by_pspec (G_OBJECT (launcher), 
launcher_props[PROP_SELECTED_FILES]);
 }
 }
 
@@ -519,7 +536,7 @@ thunar_launcher_set_ui_manager (ThunarComponent *component,
 }
 
   /* notify listeners */
-  g_object_notify (G_OBJECT (launcher), ui-manager);
+  g_object_notify_by_pspec (G_OBJECT (launcher), 
launcher_props[PROP_UI_MANAGER]);
 }
 
 
@@ -1741,7 +1758,7 @@ thunar_launcher_set_widget (ThunarLauncher *launcher,
 }
 
   /* notify listeners */
-  g_object_notify (G_OBJECT (launcher), widget);
+  g_object_notify_by_pspec (G_OBJECT (launcher), launcher_props[PROP_WIDGET]);
 }
 
 
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] thunar:master Remove image resolution from statusbar.

2012-11-10 Thread Nick Schermer
Updating branch refs/heads/master
 to 34fdbb4a4b3ee4b3274389b58cd207d45f8349cc (commit)
   from 97948388021506b406090efbd6f26c328e387c73 (commit)

commit 34fdbb4a4b3ee4b3274389b58cd207d45f8349cc
Author: Nick Schermer n...@xfce.org
Date:   Sun Nov 11 01:05:24 2012 +0100

Remove image resolution from statusbar.

This loads massive ammounts of data when going through
images and slows down systems a lot.

 thunar/thunar-list-model.c |   19 ---
 1 files changed, 0 insertions(+), 19 deletions(-)

diff --git a/thunar/thunar-list-model.c b/thunar/thunar-list-model.c
index 6126329..6c0d27b 100644
--- a/thunar/thunar-list-model.c
+++ b/thunar/thunar-list-model.c
@@ -2144,7 +2144,6 @@ thunar_list_model_get_statusbar_text (ThunarListModel 
*store,
   gint   folder_count;
   gint   non_folder_count;
   GList *lp;
-  gchar *absolute_path;
   gchar *fspace_string;
   gchar *display_name;
   gchar *size_string;
@@ -2152,8 +2151,6 @@ thunar_list_model_get_statusbar_text (ThunarListModel 
*store,
   gchar *folder_text;
   gchar *non_folder_text;
   gchar *s;
-  gint   height;
-  gint   width;
   gchar *description;
   GSequenceIter *row;
   GSequenceIter *end;
@@ -2268,22 +2265,6 @@ thunar_list_model_get_statusbar_text (ThunarListModel 
*store,
   g_free (text);
   text = s;
 }
-  else if (thunar_file_is_local (file)
-thunar_file_is_regular (file)
-g_str_has_prefix (content_type, image/)) /* bug #2913 */
-{
-  /* check if we can determine the dimension of this file (only for 
image files) */
-  absolute_path = g_file_get_path (thunar_file_get_file (file));
-  if (absolute_path != NULL
-   gdk_pixbuf_get_file_info (absolute_path, width, height) != 
NULL)
-{
-  /* append the image dimensions to the statusbar text */
-  s = g_strdup_printf (%s, %s %dx%d, text, _(Image Size:), 
width, height);
-  g_free (text);
-  text = s;
-}
-  g_free (absolute_path);
-}
 }
   else
 {
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] thunar:master Update the statusbar in a short timeout.

2012-11-10 Thread Nick Schermer
Updating branch refs/heads/master
 to 97948388021506b406090efbd6f26c328e387c73 (commit)
   from 6cadc76021a81c4d7508230b961b5b19bfc90519 (commit)

commit 97948388021506b406090efbd6f26c328e387c73
Author: Nick Schermer n...@xfce.org
Date:   Sun Nov 11 01:03:41 2012 +0100

Update the statusbar in a short timeout.

This avoids a lot of statusbar updates when scrolling
with the selection.

 thunar/thunar-standard-view.c |   50 -
 thunar/thunar-standard-view.h |1 -
 2 files changed, 39 insertions(+), 12 deletions(-)

diff --git a/thunar/thunar-standard-view.c b/thunar/thunar-standard-view.c
index 89fc96f..1e4fea9 100644
--- a/thunar/thunar-standard-view.c
+++ b/thunar/thunar-standard-view.c
@@ -321,6 +321,10 @@ struct _ThunarStandardViewPrivate
   /* scroll_to_file support */
   GHashTable *scroll_to_files;
 
+  /* statusbar */
+  gchar  *statusbar_text;
+  guint   statusbar_text_idle_id;
+
   /* custom menu actions support */
   GtkActionGroup *custom_actions;
   gintcustom_merge_id;
@@ -883,7 +887,9 @@ thunar_standard_view_finalize (GObject *object)
   g_object_unref (G_OBJECT (standard_view-model));
 
   /* free the statusbar text (if any) */
-  g_free (standard_view-statusbar_text);
+  if (standard_view-priv-statusbar_text_idle_id != 0)
+g_source_remove (standard_view-priv-statusbar_text_idle_id);
+  g_free (standard_view-priv-statusbar_text);
 
   /* release the scroll_to_files hash table */
   g_hash_table_destroy (standard_view-priv-scroll_to_files);
@@ -1583,7 +1589,7 @@ thunar_standard_view_set_loading (ThunarStandardView 
*standard_view,
   /* notify listeners */
   g_object_freeze_notify (G_OBJECT (standard_view));
   g_object_notify_by_pspec (G_OBJECT (standard_view), 
standard_view_props[PROP_LOADING]);
-  g_object_notify_by_pspec (G_OBJECT (standard_view), 
standard_view_props[PROP_STATUSBAR_TEXT]);
+  thunar_standard_view_update_statusbar_text (standard_view);
   g_object_thaw_notify (G_OBJECT (standard_view));
 }
 
@@ -1598,7 +1604,7 @@ thunar_standard_view_get_statusbar_text (ThunarView *view)
   _thunar_return_val_if_fail (THUNAR_IS_STANDARD_VIEW (standard_view), NULL);
 
   /* generate the statusbar text on-demand */
-  if (standard_view-statusbar_text == NULL)
+  if (standard_view-priv-statusbar_text == NULL)
 {
   /* query the selected items (actually a list of GtkTreePath's) */
   items = THUNAR_STANDARD_VIEW_GET_CLASS 
(standard_view)-get_selected_items (standard_view);
@@ -1609,11 +1615,11 @@ thunar_standard_view_get_statusbar_text (ThunarView 
*view)
   if (items == NULL  standard_view-loading)
 return _(Loading folder contents...);
 
-  standard_view-statusbar_text = thunar_list_model_get_statusbar_text 
(standard_view-model, items);
+  standard_view-priv-statusbar_text = 
thunar_list_model_get_statusbar_text (standard_view-model, items);
   g_list_free_full (items, (GDestroyNotify) gtk_tree_path_free);
 }
 
-  return standard_view-statusbar_text;
+  return standard_view-priv-statusbar_text;
 }
 
 
@@ -2072,17 +2078,39 @@ thunar_standard_view_merge_custom_actions 
(ThunarStandardView *standard_view,
 
 
 
-static void
-thunar_standard_view_update_statusbar_text (ThunarStandardView *standard_view)
+static gboolean
+thunar_standard_view_update_statusbar_text_idle (gpointer data)
 {
-  _thunar_return_if_fail (THUNAR_IS_STANDARD_VIEW (standard_view));
+  ThunarStandardView *standard_view = THUNAR_STANDARD_VIEW (data);
+
+  _thunar_return_val_if_fail (THUNAR_IS_STANDARD_VIEW (standard_view), FALSE);
 
   /* clear the current status text (will be recalculated on-demand) */
-  g_free (standard_view-statusbar_text);
-  standard_view-statusbar_text = NULL;
+  g_free (standard_view-priv-statusbar_text);
+  standard_view-priv-statusbar_text = NULL;
+
+  standard_view-priv-statusbar_text_idle_id = 0;
 
   /* tell everybody that the statusbar text may have changed */
   g_object_notify_by_pspec (G_OBJECT (standard_view), 
standard_view_props[PROP_STATUSBAR_TEXT]);
+
+  return FALSE;
+}
+
+
+
+static void
+thunar_standard_view_update_statusbar_text (ThunarStandardView *standard_view)
+{
+  /* stop pending timeout */
+  if (standard_view-priv-statusbar_text_idle_id != 0)
+g_source_remove (standard_view-priv-statusbar_text_idle_id);
+
+  /* restart a new one, this way we avoid multiple update when
+   * the user is pressing a key to scroll */
+  standard_view-priv-statusbar_text_idle_id =
+  g_timeout_add_full (G_PRIORITY_LOW, 50, 
thunar_standard_view_update_statusbar_text_idle,
+  standard_view, NULL);
 }
 
 
@@ -3660,7 +3688,7 @@ thunar_standard_view_loading_unbound (gpointer user_data)
   standard_view-loading = FALSE;
   g_object_freeze_notify (G_OBJECT (standard_view));
   g_object_notify_by_pspec (G_OBJECT (standard_view), 
standard_view_props[PROP_LOADING]);
-  

[Xfce4-commits] thunar:master Idle updating the launcher.

2012-11-10 Thread Nick Schermer
Updating branch refs/heads/master
 to 415cacb8c9bed182dc18288db78be7d0167fe016 (commit)
   from 34fdbb4a4b3ee4b3274389b58cd207d45f8349cc (commit)

commit 415cacb8c9bed182dc18288db78be7d0167fe016
Author: Nick Schermer n...@xfce.org
Date:   Sun Nov 11 01:31:40 2012 +0100

Idle updating the launcher.

This should be smarter, but its a start. Especially
thunar_file_list_get_applications is very slow here
because of g_app_info_get_all_for_type.

 thunar/thunar-launcher.c |   68 +-
 1 files changed, 49 insertions(+), 19 deletions(-)

diff --git a/thunar/thunar-launcher.c b/thunar/thunar-launcher.c
index 978c545..706515a 100644
--- a/thunar/thunar-launcher.c
+++ b/thunar/thunar-launcher.c
@@ -136,6 +136,8 @@ struct _ThunarLauncher
   ThunarFile *current_directory;
   GList  *selected_files;
 
+  guint   launcher_idle_id;
+
   GtkIconFactory *icon_factory;
   GtkActionGroup *action_group;
   GtkUIManager   *ui_manager;
@@ -322,6 +324,10 @@ thunar_launcher_finalize (GObject *object)
   if (G_UNLIKELY (launcher-sendto_idle_id != 0))
 g_source_remove (launcher-sendto_idle_id);
 
+  /* be sure to cancel the launcher idle source */
+  if (G_UNLIKELY (launcher-launcher_idle_id != 0))
+g_source_remove (launcher-launcher_idle_id);
+
   /* drop our custom icon factory for the application/action icons */
   gtk_icon_factory_remove_default (launcher-icon_factory);
   g_object_unref (launcher-icon_factory);
@@ -746,28 +752,29 @@ thunar_launcher_open_windows (ThunarLauncher *launcher,
 
 
 
-static void
-thunar_launcher_update (ThunarLauncher *launcher)
+static gboolean
+thunar_launcher_update_idle (gpointer data)
 {
-  const gchar  *context_menu_path;
-  const gchar  *file_menu_path;
-  GtkAction*action;
-  gboolean  default_is_open_with_other = FALSE;
-  GList*applications;
-  GList*actions;
-  GList*lp;
-  gchar*tooltip;
-  gchar*label;
-  gchar*name;
-  gint  n_directories = 0;
-  gint  n_executables = 0;
-  gint  n_regulars = 0;
-  gint  n_selected_files = 0;
-  gint  n;
+  ThunarLauncher *launcher = THUNAR_LAUNCHER (data);
+  const gchar*context_menu_path;
+  const gchar*file_menu_path;
+  GtkAction  *action;
+  gbooleandefault_is_open_with_other = FALSE;
+  GList  *applications;
+  GList  *actions;
+  GList  *lp;
+  gchar  *tooltip;
+  gchar  *label;
+  gchar  *name;
+  gintn_directories = 0;
+  gintn_executables = 0;
+  gintn_regulars = 0;
+  gintn_selected_files = 0;
+  gintn;
 
   /* verify that we're connected to an UI manager */
   if (G_UNLIKELY (launcher-ui_manager == NULL))
-return;
+return FALSE;
 
   /* drop the previous addons ui controls from the UI manager */
   if (G_LIKELY (launcher-ui_addons_merge_id != 0))
@@ -1043,10 +1050,33 @@ thunar_launcher_update (ThunarLauncher *launcher)
* GIO, so we'll have to roll our own thing here */
 }
 
+  return FALSE;
+}
+
+
+
+static void
+thunar_launcher_update_idle_destroy (gpointer data)
+{
+  THUNAR_LAUNCHER (data)-launcher_idle_id = 0;
+}
+
+
+
+static void
+thunar_launcher_update (ThunarLauncher *launcher)
+{
+  /* schedule an update of the launcher items */
+  if (G_LIKELY (launcher-launcher_idle_id == 0))
+{
+  launcher-launcher_idle_id = g_idle_add_full (G_PRIORITY_LOW, 
thunar_launcher_update_idle,
+launcher, 
thunar_launcher_update_idle_destroy);
+}
+
   /* schedule an update of the Send To menu */
   if (G_LIKELY (launcher-sendto_idle_id == 0))
 {
-  launcher-sendto_idle_id = g_idle_add_full (G_PRIORITY_LOW, 
thunar_launcher_sendto_idle,
+  launcher-sendto_idle_id = g_idle_add_full (G_PRIORITY_LOW + 50, 
thunar_launcher_sendto_idle,
   launcher, 
thunar_launcher_sendto_idle_destroy);
 }
 }
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


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

2012-11-10 Thread Transifex
Updating branch refs/heads/master
 to d73a50857f420aa3749395e4a612f15f93ce9e6c (commit)
   from 3ea6ca135801e9015290d11722c53d6ea49510c2 (commit)

commit d73a50857f420aa3749395e4a612f15f93ce9e6c
Author: محمد الحرقان malh...@gmail.com
Date:   Sun Nov 11 04:34:45 2012 +0100

l10n: Updated Arabic (ar) translation to 100%

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

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

 po/ar.po |  155 +++--
 1 files changed, 79 insertions(+), 76 deletions(-)

diff --git a/po/ar.po b/po/ar.po
index 1e6f55e..fa1023a 100644
--- a/po/ar.po
+++ b/po/ar.po
@@ -3,13 +3,14 @@
 # This file is distributed under the same license as the orage package.
 # Saleh Alhathal hathal...@hotmail.com, 2004.
 # mohammad malh...@gmail.com, 2012.
+# محمد الحرقان malh...@gmail.com, 2012.
 msgid 
 msgstr 
 Project-Id-Version: xfcalendar\n
 Report-Msgid-Bugs-To: \n
 POT-Creation-Date: 2012-01-03 14:00+0200\n
-PO-Revision-Date: 2012-05-21 23:14+0300\n
-Last-Translator: mohammad malh...@gmail.com\n
+PO-Revision-Date: 2012-11-11 06:34+0300\n
+Last-Translator: محمد الحرقان malh...@gmail.com\n
 Language-Team: http://www.vertaal.com.ar/files/factory/ar/list/\n;
 Language: ar\n
 MIME-Version: 1.0\n
@@ -170,7 +171,7 @@ msgstr انقر لتغيير اللون الأمامي للساعة
 #. name font-
 #: ../globaltime/gt_prefs.c:713 ../globaltime/gt_prefs.c:922
 msgid Font for name of clock:
-msgstr الخط لاسم الساعة:
+msgstr خط اسم الساعة:
 
 #: ../globaltime/gt_prefs.c:720
 msgid Click to change font for clock name
@@ -468,7 +469,7 @@ msgstr تلميح الأدوات:
 #. special timing for SUSPEND/HIBERNATE
 #: ../panel-plugin/oc_config.c:411
 msgid fix time after suspend/hibernate
-msgstr الإصلاح الوقت بعد التعليق/السابات
+msgstr إصلاح الوقت بعد التعليق/السابات
 
 #: ../panel-plugin/oc_config.c:415
 msgid 
@@ -500,12 +501,12 @@ msgstr 
 \t%A = ايام الاسبوع\t\t\t%B = شهر\n
 \t%c = يوم  وقت\t\t%R = ساعه  دقيقة\n
 \t%V = رقم الاسبوع\t\t%Z = منطقة التوقيت\n
-\t%H = ساعات \t\t\t\t%M = دققائق\n
+\t%H = ساعات \t\t\t\t%M = دقائق\n
 \t%X = وقت محلي\t\t\t%x = lتاريخ محلي
 
 #: ../panel-plugin/oc_config.c:457
 msgid Orage clock Preferences
-msgstr إعدادات Orage ساعة
+msgstr إعدادات ساعة Orage
 
 #. no lines yet
 #. TRANSLATORS: Use format characters from strftime(3)
@@ -527,7 +528,7 @@ msgstr مشرف
 
 #: ../src/about-xfcalendar.c:47
 msgid Manage your time with Orage
-msgstr إدارة وقتك مع Orage
+msgstr أدر وقتك مع Orage
 
 #. if (gtk_toggle_button_get_active(
 #. GTK_TOGGLE_BUTTON(apptw-Type_journal_rb)))
@@ -576,11 +577,11 @@ msgstr لم يتم تعيين
 
 #: ../src/appointment.c:1193
 msgid This appointment will be permanently removed.
-msgstr هذا الموعد سيحذف بكسفسة نهائية.
+msgstr هذا الموعد سيحذف بشكل نهائي.
 
 #: ../src/appointment.c:1692
 msgid This appointment does not exist.
-msgstr هذا التعيين لم يحدد.
+msgstr هذا الموعد لم يحدد.
 
 #: ../src/appointment.c:1693
 msgid It was probably removed, please refresh your screen.
@@ -672,12 +673,12 @@ msgid 
 Event that will happen sometime. For example:\n
 Meeting or birthday or TV show.
 msgstr 
-الحدث الذي سيحدث في وقت ما. على سبيل المثال:\n
+المناسبة اللتي ستحدث في وقت ما. على سبيل المثال:\n
 اجتماع أو عيد ميلاد أو برنامج تلفزيوني.
 
 #: ../src/appointment.c:2639 ../src/event-list.c:1185
 msgid Todo
-msgstr يجب فعله
+msgstr أعمال
 
 #: ../src/appointment.c:2642
 msgid 
@@ -706,7 +707,7 @@ msgstr عنوان 
 
 #: ../src/appointment.c:2671
 msgid All day event
-msgstr حدث كل اليوم
+msgstr حدث لليوم كله
 
 #. start time
 #: ../src/appointment.c:2677 ../src/appointment.c:3342 ../src/day-view.c:697
@@ -785,18 +786,18 @@ msgid 
 (This can be used for example in birthday reminders to tell how old the 
 person will be.)
 msgstr 
-اختزال هذه الأوامر يسري مفعوله فورا:\n
-D إدراج التاريخ الحالي في تنسيق التاريخ المحلي:\n
+أوامر الإختزال هذه يسري مفعولها فورا:\n
+D إدراج التاريخ الحالي بتنسيق التاريخ المحلي:\n
 T إدراج الوقت و:\n
 DT إدراج التاريخ والوقت يتم تحويل.\n
 لاحقا عند النظر إليها:\n
-Y ترجم إلى السنة الحالية ناقص .\n
+Y ترجمة للسنة الحالية ناقص .\n
 (يمكن استخدام هذا مثلاً في تذكير عيد ميلاد \n
 لمعرفة عمر الشخص.)
 
 #: ../src/appointment.c:2895
 msgid Before Start
-msgstr قبل البدء
+msgstr قبل البداية
 
 #: ../src/appointment.c:2895
 msgid Before End
@@ -804,7 +805,7 @@ msgstr قبل النهاية
 
 #: ../src/appointment.c:2896
 msgid After Start
-msgstr بعد البدء
+msgstr بعد البداية
 
 #: ../src/appointment.c:2896
 msgid After End
@@ -840,8 +841,8 @@ msgid 
 Select this if you want Orage to remind you even if it has not been active 
 when the alarm happened.
 msgstr 
-حدد هذا إذا كنت تريد أن يذكرك Orage بحدث حتى عندما يكون لا يكون مفعلاً عند 
-وقت التنبيه.
+حدد هذا إذا كنت تريد أن يذكرك Orage بحدث حتى عندما لا يكون مفعلاً عند وقت 
+التنبيه.
 
 #.  Audio Alarm 
 #: ../src/appointment.c:2949
@@ -854,11 +855,11 @@ msgstr