[Goodies-commits] r3751 - in thunar-svn-plugin/trunk: po tsp-svn-helper

Peter de Ridder peter at xfce.org
Mon Dec 24 23:31:07 CET 2007


Author: peter
Date: 2007-12-24 22:31:07 +0000 (Mon, 24 Dec 2007)
New Revision: 3751

Added:
   thunar-svn-plugin/trunk/po/nl.po
   thunar-svn-plugin/trunk/tsp-svn-helper/gtkfilechooser.c
   thunar-svn-plugin/trunk/tsp-svn-helper/gtkfilechooser.h
   thunar-svn-plugin/trunk/tsp-svn-helper/gtkfilechooserdefault.c
   thunar-svn-plugin/trunk/tsp-svn-helper/gtkfilechooserutils.c
   thunar-svn-plugin/trunk/tsp-svn-helper/gtkfilechooserutils.h
   thunar-svn-plugin/trunk/tsp-svn-helper/gtkintl.h
   thunar-svn-plugin/trunk/tsp-svn-helper/gtkprivate.h
Modified:
   thunar-svn-plugin/trunk/po/POTFILES.in
   thunar-svn-plugin/trunk/po/fr.po
   thunar-svn-plugin/trunk/po/hu.po
   thunar-svn-plugin/trunk/po/lv.po
   thunar-svn-plugin/trunk/po/pt_BR.po
   thunar-svn-plugin/trunk/po/thunar-svn-plugin.pot
   thunar-svn-plugin/trunk/po/ur.po
   thunar-svn-plugin/trunk/tsp-svn-helper/Makefile.am
   thunar-svn-plugin/trunk/tsp-svn-helper/gtkfilechooserentry.c
   thunar-svn-plugin/trunk/tsp-svn-helper/gtkfilechooserentry.h
   thunar-svn-plugin/trunk/tsp-svn-helper/tsh-checkout-dialog.c
Log:
* updates pot file
  - added dutch translation
* fixed the gtkfilechooserentry:
  - this is a "durty" port of the gtkfilechooserbutton


Modified: thunar-svn-plugin/trunk/po/POTFILES.in
===================================================================
--- thunar-svn-plugin/trunk/po/POTFILES.in	2007-12-24 14:35:23 UTC (rev 3750)
+++ thunar-svn-plugin/trunk/po/POTFILES.in	2007-12-24 22:31:07 UTC (rev 3751)
@@ -2,10 +2,17 @@
 thunar-svn-plugin/tsp-provider.c
 thunar-svn-plugin/tsp-svn-action.c
 thunar-svn-plugin/tsp-svn-backend.c
+tsp-svn-helper/gtkfilechooser.c
+tsp-svn-helper/gtkfilechooserdefault.c
+tsp-svn-helper/gtkfilechooserentry.c
+tsp-svn-helper/gtkfilechooserutils.c
 tsp-svn-helper/main.c
 tsp-svn-helper/tsh-checkout.c
+tsp-svn-helper/tsh-checkout-dialog.c
 tsp-svn-helper/tsh-common.c
 tsp-svn-helper/tsh-dialog-common.c
+tsp-svn-helper/tsh-file-dialog.c
 tsp-svn-helper/tsh-login-dialog.c
 tsp-svn-helper/tsh-notify-dialog.c
-tsp-svn-helper/tsh-update.c
+tsp-svn-helper/tsh-trust-dialog.c
+tsp-svn-helper/tsh-update.c 

Modified: thunar-svn-plugin/trunk/po/fr.po
===================================================================
--- thunar-svn-plugin/trunk/po/fr.po	2007-12-24 14:35:23 UTC (rev 3750)
+++ thunar-svn-plugin/trunk/po/fr.po	2007-12-24 22:31:07 UTC (rev 3751)
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: xfce-i 18n\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-06-28 00:37+0200\n"
+"POT-Creation-Date: 2007-12-24 23:15+0100\n"
 "PO-Revision-Date: 2007-10-24 13:04+0100\n"
 "Last-Translator: Mike Massonnet <mmassonnet at gmail.com>\n"
 "Language-Team: French\n"
@@ -22,8 +22,7 @@
 msgstr "SVN _Importer"
 
 #. append the svn submenu action
-#: thunar-svn-plugin/tsp-provider.c:409
-#: thunar-svn-plugin/tsp-provider.c:444
+#: thunar-svn-plugin/tsp-provider.c:409 thunar-svn-plugin/tsp-provider.c:444
 #: thunar-svn-plugin/tsp-provider.c:452
 msgid "SVN"
 msgstr "SVN"
@@ -96,27 +95,96 @@
 msgid "Unlock"
 msgstr "Débloquer"
 
-#: thunar-svn-plugin/tsp-svn-action.c:377
-#: tsp-svn-helper/tsh-update.c:105
+#: thunar-svn-plugin/tsp-svn-action.c:377 tsp-svn-helper/tsh-update.c:105
 msgid "Update"
 msgstr "Mettre à jour"
 
-#: tsp-svn-helper/main.c:56
+#. Translators: the first string is a path and the second string
+#. * is a hostname. Nautilus and the panel contain the same string
+#. * to translate.
+#.
+#: tsp-svn-helper/gtkfilechooserdefault.c:71
+#, c-format
+msgid "%1$s on %2$s"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:50
+msgid "Select A File"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:51
+msgid "Desktop"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:52
+msgid "(None)"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:339
+msgid "Dialog"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:340
+msgid "The file chooser dialog to use."
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:356
+msgid "Focus on click"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:357
+msgid "Whether the entry grabs focus when it is clicked with the mouse"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:370
+msgid "Title"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:371
+msgid "The title of the file chooser dialog."
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:384
+msgid "Width In Characters"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:385
+msgid "The desired width of the entry widget, in characters."
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:2035
+msgid "Other..."
+msgstr ""
+
+#: tsp-svn-helper/main.c:58
 msgid "Print version information"
 msgstr "Afficher l'information sur la version"
 
-#: tsp-svn-helper/main.c:63
+#: tsp-svn-helper/main.c:65
 msgid "Execute checkout action"
 msgstr "Exécuter une extraction"
 
-#: tsp-svn-helper/main.c:69
+#: tsp-svn-helper/main.c:71
 msgid "Execute update action"
 msgstr "Exécuter une mise à jour"
 
-#: tsp-svn-helper/tsh-checkout.c:87
+#: tsp-svn-helper/tsh-checkout.c:94 tsp-svn-helper/tsh-checkout-dialog.c:103
 msgid "Checkout"
 msgstr "Extraction"
 
+#: tsp-svn-helper/tsh-checkout-dialog.c:64
+msgid "_Repository:"
+msgstr ""
+
+#: tsp-svn-helper/tsh-checkout-dialog.c:71
+#: tsp-svn-helper/tsh-checkout-dialog.c:91
+msgid "Select a folder"
+msgstr ""
+
+#: tsp-svn-helper/tsh-checkout-dialog.c:84
+msgid "_Checkout directory:"
+msgstr ""
+
 #: tsp-svn-helper/tsh-common.c:448
 msgid "Deleted"
 msgstr "Effacé"
@@ -142,6 +210,24 @@
 msgid "External"
 msgstr "Externe"
 
+#: tsp-svn-helper/tsh-file-dialog.c:60
+msgid "_Certificate:"
+msgstr ""
+
+#: tsp-svn-helper/tsh-file-dialog.c:67
+msgid "Select a file"
+msgstr ""
+
+#: tsp-svn-helper/tsh-file-dialog.c:78 tsp-svn-helper/tsh-login-dialog.c:98
+#: tsp-svn-helper/tsh-trust-dialog.c:73
+msgid "Remember"
+msgstr "Se souvenir"
+
+#: tsp-svn-helper/tsh-file-dialog.c:86
+#, fuzzy
+msgid "Certificate"
+msgstr "Notification"
+
 #: tsp-svn-helper/tsh-login-dialog.c:65
 msgid "_Username:"
 msgstr "_Utilisateur :"
@@ -150,10 +236,6 @@
 msgid "_Password:"
 msgstr "_Mot de passe"
 
-#: tsp-svn-helper/tsh-login-dialog.c:98
-msgid "Remember"
-msgstr "Se souvenir"
-
 #: tsp-svn-helper/tsh-login-dialog.c:106
 msgid "Login"
 msgstr "Se connecter"
@@ -174,3 +256,26 @@
 msgid "Notification"
 msgstr "Notification"
 
+#: tsp-svn-helper/tsh-trust-dialog.c:58
+msgid "Certificate is not yet valid."
+msgstr ""
+
+#: tsp-svn-helper/tsh-trust-dialog.c:61
+msgid "Certificate has expired."
+msgstr ""
+
+#: tsp-svn-helper/tsh-trust-dialog.c:64
+msgid "Certificate does not match the remote hostname."
+msgstr ""
+
+#: tsp-svn-helper/tsh-trust-dialog.c:67
+msgid "Certificate authority is unknown."
+msgstr ""
+
+#: tsp-svn-helper/tsh-trust-dialog.c:70
+msgid "Other failure."
+msgstr ""
+
+#: tsp-svn-helper/tsh-trust-dialog.c:77
+msgid "Trust"
+msgstr ""

Modified: thunar-svn-plugin/trunk/po/hu.po
===================================================================
--- thunar-svn-plugin/trunk/po/hu.po	2007-12-24 14:35:23 UTC (rev 3750)
+++ thunar-svn-plugin/trunk/po/hu.po	2007-12-24 22:31:07 UTC (rev 3751)
@@ -1,7 +1,8 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: Thunar SVN plugin\n"
-"POT-Creation-Date: \n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007-12-24 23:15+0100\n"
 "PO-Revision-Date: 2007-06-04 08:37+0100\n"
 "Last-Translator: SZERVÁC Attila <sas at 321.hu>\n"
 "Language-Team: Hungarian\n"
@@ -17,12 +18,12 @@
 msgstr "SVN _Import"
 
 #. append the svn submenu action
-#: thunar-svn-plugin/tsp-provider.c:409
-#: thunar-svn-plugin/tsp-provider.c:444
+#: thunar-svn-plugin/tsp-provider.c:409 thunar-svn-plugin/tsp-provider.c:444
+#: thunar-svn-plugin/tsp-provider.c:452
 msgid "SVN"
 msgstr "SVN"
 
-#: thunar-svn-plugin/tsp-provider.c:455
+#: thunar-svn-plugin/tsp-provider.c:457
 msgid "SVN _Checkout"
 msgstr "SVN _Checkout"
 
@@ -90,73 +91,187 @@
 msgid "Unlock"
 msgstr "Felold"
 
-#: thunar-svn-plugin/tsp-svn-action.c:377
-#: tsp-svn-helper/tsh-update-dialog.c:102
+#: thunar-svn-plugin/tsp-svn-action.c:377 tsp-svn-helper/tsh-update.c:105
 msgid "Update"
 msgstr "Frissít"
 
-#: tsp-svn-helper/main.c:55
+#. Translators: the first string is a path and the second string
+#. * is a hostname. Nautilus and the panel contain the same string
+#. * to translate.
+#.
+#: tsp-svn-helper/gtkfilechooserdefault.c:71
+#, c-format
+msgid "%1$s on %2$s"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:50
+msgid "Select A File"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:51
+msgid "Desktop"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:52
+msgid "(None)"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:339
+msgid "Dialog"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:340
+msgid "The file chooser dialog to use."
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:356
+msgid "Focus on click"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:357
+msgid "Whether the entry grabs focus when it is clicked with the mouse"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:370
+msgid "Title"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:371
+msgid "The title of the file chooser dialog."
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:384
+msgid "Width In Characters"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:385
+msgid "The desired width of the entry widget, in characters."
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:2035
+msgid "Other..."
+msgstr ""
+
+#: tsp-svn-helper/main.c:58
 msgid "Print version information"
 msgstr "Verzió kiírása"
 
-#: tsp-svn-helper/main.c:62
+#: tsp-svn-helper/main.c:65
 msgid "Execute checkout action"
 msgstr "Checkout művelet futtatása"
 
-#: tsp-svn-helper/main.c:68
+#: tsp-svn-helper/main.c:71
 msgid "Execute update action"
 msgstr "Frissítési művelet futtatása"
 
-#: tsp-svn-helper/tsh-login-dialog.c:65
-msgid "_Username:"
-msgstr "Felhasználónév:"
+#: tsp-svn-helper/tsh-checkout.c:94 tsp-svn-helper/tsh-checkout-dialog.c:103
+#, fuzzy
+msgid "Checkout"
+msgstr "SVN _Checkout"
 
-#: tsp-svn-helper/tsh-login-dialog.c:81
-msgid "_Password:"
-msgstr "Jelszó:"
+#: tsp-svn-helper/tsh-checkout-dialog.c:64
+msgid "_Repository:"
+msgstr ""
 
-#: tsp-svn-helper/tsh-login-dialog.c:98
-msgid "Remember"
-msgstr "Emlékezz"
+#: tsp-svn-helper/tsh-checkout-dialog.c:71
+#: tsp-svn-helper/tsh-checkout-dialog.c:91
+msgid "Select a folder"
+msgstr ""
 
-#: tsp-svn-helper/tsh-login-dialog.c:106
-msgid "Login"
-msgstr "Bejelentkezés"
+#: tsp-svn-helper/tsh-checkout-dialog.c:84
+msgid "_Checkout directory:"
+msgstr ""
 
-#: tsp-svn-helper/tsh-update.c:52
+#: tsp-svn-helper/tsh-common.c:448
 msgid "Deleted"
 msgstr "Törölve"
 
-#: tsp-svn-helper/tsh-update.c:55
+#: tsp-svn-helper/tsh-common.c:453
 msgid "Added"
 msgstr "Hozzáadva"
 
-#: tsp-svn-helper/tsh-update.c:58
+#: tsp-svn-helper/tsh-common.c:458
 msgid "Updated"
 msgstr "Frissítve"
 
-#: tsp-svn-helper/tsh-update.c:61
+#: tsp-svn-helper/tsh-common.c:462
 #, c-format
 msgid "At revision: %li"
 msgstr "E verziónál: %li"
 
-#: tsp-svn-helper/tsh-update.c:62
+#: tsp-svn-helper/tsh-common.c:464
 msgid "Completed"
 msgstr "Kész"
 
-#: tsp-svn-helper/tsh-update.c:65
+#: tsp-svn-helper/tsh-common.c:469
 msgid "External"
 msgstr "Külső"
 
-#: tsp-svn-helper/tsh-update-dialog.c:75
+#: tsp-svn-helper/tsh-file-dialog.c:60
+msgid "_Certificate:"
+msgstr ""
+
+#: tsp-svn-helper/tsh-file-dialog.c:67
+msgid "Select a file"
+msgstr ""
+
+#: tsp-svn-helper/tsh-file-dialog.c:78 tsp-svn-helper/tsh-login-dialog.c:98
+#: tsp-svn-helper/tsh-trust-dialog.c:73
+msgid "Remember"
+msgstr "Emlékezz"
+
+#: tsp-svn-helper/tsh-file-dialog.c:86
+msgid "Certificate"
+msgstr ""
+
+#: tsp-svn-helper/tsh-login-dialog.c:65
+msgid "_Username:"
+msgstr "Felhasználónév:"
+
+#: tsp-svn-helper/tsh-login-dialog.c:81
+msgid "_Password:"
+msgstr "Jelszó:"
+
+#: tsp-svn-helper/tsh-login-dialog.c:106
+msgid "Login"
+msgstr "Bejelentkezés"
+
+#: tsp-svn-helper/tsh-notify-dialog.c:75
 msgid "Action"
 msgstr "Művelet"
 
-#: tsp-svn-helper/tsh-update-dialog.c:81
+#: tsp-svn-helper/tsh-notify-dialog.c:81
 msgid "Path"
 msgstr "Útvonal"
 
-#: tsp-svn-helper/tsh-update-dialog.c:87
+#: tsp-svn-helper/tsh-notify-dialog.c:87
 msgid "Mime type"
 msgstr "Mime típus"
 
+#: tsp-svn-helper/tsh-notify-dialog.c:102
+msgid "Notification"
+msgstr ""
+
+#: tsp-svn-helper/tsh-trust-dialog.c:58
+msgid "Certificate is not yet valid."
+msgstr ""
+
+#: tsp-svn-helper/tsh-trust-dialog.c:61
+msgid "Certificate has expired."
+msgstr ""
+
+#: tsp-svn-helper/tsh-trust-dialog.c:64
+msgid "Certificate does not match the remote hostname."
+msgstr ""
+
+#: tsp-svn-helper/tsh-trust-dialog.c:67
+msgid "Certificate authority is unknown."
+msgstr ""
+
+#: tsp-svn-helper/tsh-trust-dialog.c:70
+msgid "Other failure."
+msgstr ""
+
+#: tsp-svn-helper/tsh-trust-dialog.c:77
+msgid "Trust"
+msgstr ""

Modified: thunar-svn-plugin/trunk/po/lv.po
===================================================================
--- thunar-svn-plugin/trunk/po/lv.po	2007-12-24 14:35:23 UTC (rev 3750)
+++ thunar-svn-plugin/trunk/po/lv.po	2007-12-24 22:31:07 UTC (rev 3751)
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: thunar-svn-plugin\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-06-28 00:37+0200\n"
+"POT-Creation-Date: 2007-12-24 23:15+0100\n"
 "PO-Revision-Date: 2007-11-15 21:18+0300\n"
 "Last-Translator: Rihards Priedītis <rprieditis at inbox.lv>\n"
 "Language-Team: Latvian <rprieditis at inbox.lv>\n"
@@ -20,8 +20,7 @@
 msgstr "SVN _Imports"
 
 #. append the svn submenu action
-#: thunar-svn-plugin/tsp-provider.c:409
-#: thunar-svn-plugin/tsp-provider.c:444
+#: thunar-svn-plugin/tsp-provider.c:409 thunar-svn-plugin/tsp-provider.c:444
 #: thunar-svn-plugin/tsp-provider.c:452
 msgid "SVN"
 msgstr "SVN"
@@ -94,27 +93,96 @@
 msgid "Unlock"
 msgstr "Atslēgt"
 
-#: thunar-svn-plugin/tsp-svn-action.c:377
-#: tsp-svn-helper/tsh-update.c:105
+#: thunar-svn-plugin/tsp-svn-action.c:377 tsp-svn-helper/tsh-update.c:105
 msgid "Update"
 msgstr "Atjaunot"
 
-#: tsp-svn-helper/main.c:56
+#. Translators: the first string is a path and the second string
+#. * is a hostname. Nautilus and the panel contain the same string
+#. * to translate.
+#.
+#: tsp-svn-helper/gtkfilechooserdefault.c:71
+#, c-format
+msgid "%1$s on %2$s"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:50
+msgid "Select A File"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:51
+msgid "Desktop"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:52
+msgid "(None)"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:339
+msgid "Dialog"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:340
+msgid "The file chooser dialog to use."
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:356
+msgid "Focus on click"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:357
+msgid "Whether the entry grabs focus when it is clicked with the mouse"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:370
+msgid "Title"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:371
+msgid "The title of the file chooser dialog."
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:384
+msgid "Width In Characters"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:385
+msgid "The desired width of the entry widget, in characters."
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:2035
+msgid "Other..."
+msgstr ""
+
+#: tsp-svn-helper/main.c:58
 msgid "Print version information"
 msgstr "Izdrukāt versijas informāciju"
 
-#: tsp-svn-helper/main.c:63
+#: tsp-svn-helper/main.c:65
 msgid "Execute checkout action"
 msgstr "Izpildīt izrakstīšanas darbību"
 
-#: tsp-svn-helper/main.c:69
+#: tsp-svn-helper/main.c:71
 msgid "Execute update action"
 msgstr "Izpildīt atjaunošanas darbību"
 
-#: tsp-svn-helper/tsh-checkout.c:87
+#: tsp-svn-helper/tsh-checkout.c:94 tsp-svn-helper/tsh-checkout-dialog.c:103
 msgid "Checkout"
 msgstr "Izrakstīt"
 
+#: tsp-svn-helper/tsh-checkout-dialog.c:64
+msgid "_Repository:"
+msgstr ""
+
+#: tsp-svn-helper/tsh-checkout-dialog.c:71
+#: tsp-svn-helper/tsh-checkout-dialog.c:91
+msgid "Select a folder"
+msgstr ""
+
+#: tsp-svn-helper/tsh-checkout-dialog.c:84
+msgid "_Checkout directory:"
+msgstr ""
+
 #: tsp-svn-helper/tsh-common.c:448
 msgid "Deleted"
 msgstr "Dzēsts"
@@ -140,6 +208,24 @@
 msgid "External"
 msgstr "Ārējs"
 
+#: tsp-svn-helper/tsh-file-dialog.c:60
+msgid "_Certificate:"
+msgstr ""
+
+#: tsp-svn-helper/tsh-file-dialog.c:67
+msgid "Select a file"
+msgstr ""
+
+#: tsp-svn-helper/tsh-file-dialog.c:78 tsp-svn-helper/tsh-login-dialog.c:98
+#: tsp-svn-helper/tsh-trust-dialog.c:73
+msgid "Remember"
+msgstr "Atceries"
+
+#: tsp-svn-helper/tsh-file-dialog.c:86
+#, fuzzy
+msgid "Certificate"
+msgstr "Paziņošana"
+
 #: tsp-svn-helper/tsh-login-dialog.c:65
 msgid "_Username:"
 msgstr "_Lietotāja vārds:"
@@ -148,10 +234,6 @@
 msgid "_Password:"
 msgstr "_Parole:"
 
-#: tsp-svn-helper/tsh-login-dialog.c:98
-msgid "Remember"
-msgstr "Atceries"
-
 #: tsp-svn-helper/tsh-login-dialog.c:106
 msgid "Login"
 msgstr "Pieteikties"
@@ -172,3 +254,26 @@
 msgid "Notification"
 msgstr "Paziņošana"
 
+#: tsp-svn-helper/tsh-trust-dialog.c:58
+msgid "Certificate is not yet valid."
+msgstr ""
+
+#: tsp-svn-helper/tsh-trust-dialog.c:61
+msgid "Certificate has expired."
+msgstr ""
+
+#: tsp-svn-helper/tsh-trust-dialog.c:64
+msgid "Certificate does not match the remote hostname."
+msgstr ""
+
+#: tsp-svn-helper/tsh-trust-dialog.c:67
+msgid "Certificate authority is unknown."
+msgstr ""
+
+#: tsp-svn-helper/tsh-trust-dialog.c:70
+msgid "Other failure."
+msgstr ""
+
+#: tsp-svn-helper/tsh-trust-dialog.c:77
+msgid "Trust"
+msgstr ""

Added: thunar-svn-plugin/trunk/po/nl.po
===================================================================
--- thunar-svn-plugin/trunk/po/nl.po	                        (rev 0)
+++ thunar-svn-plugin/trunk/po/nl.po	2007-12-24 22:31:07 UTC (rev 3751)
@@ -0,0 +1,278 @@
+# Dutch translation of the thunar svn plugin.
+# Copyright (C) 2007 Peter de Ridder
+# This file is distributed under the same license as the thunar-svn-plugin package.
+# Peter de Ridder <peter at xfce.org>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: thunar-svn-plugin\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007-12-24 23:15+0100\n"
+"PO-Revision-Date: 2007-12-24 23:30+0100\n"
+"Last-Translator: Peter de Ridder <peter at xfce.org>\n"
+"Language-Team: Dutch <xfce-i18n at xfce.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: thunar-svn-plugin/tsp-provider.c:402
+msgid "SVN _Import"
+msgstr "SVN _Importeren"
+
+#. append the svn submenu action
+#: thunar-svn-plugin/tsp-provider.c:409 thunar-svn-plugin/tsp-provider.c:444
+#: thunar-svn-plugin/tsp-provider.c:452
+msgid "SVN"
+msgstr "SVN"
+
+#: thunar-svn-plugin/tsp-provider.c:457
+msgid "SVN _Checkout"
+msgstr "SVN _Ophalen"
+
+#: thunar-svn-plugin/tsp-svn-action.c:225
+msgid "Add"
+msgstr "Toevoegen"
+
+#: thunar-svn-plugin/tsp-svn-action.c:232
+msgid "Blame"
+msgstr "Beschuldigen"
+
+#: thunar-svn-plugin/tsp-svn-action.c:247
+msgid "Cleanup"
+msgstr "Opschonen"
+
+#: thunar-svn-plugin/tsp-svn-action.c:254
+msgid "Commit"
+msgstr "Versturen"
+
+#: thunar-svn-plugin/tsp-svn-action.c:265
+msgid "Delete"
+msgstr "Verwijderen"
+
+#: thunar-svn-plugin/tsp-svn-action.c:272
+msgid "Diff"
+msgstr "Verschillen"
+
+#: thunar-svn-plugin/tsp-svn-action.c:279
+msgid "Export"
+msgstr "Exporteren"
+
+#: thunar-svn-plugin/tsp-svn-action.c:290
+msgid "Info"
+msgstr "Informatie"
+
+#: thunar-svn-plugin/tsp-svn-action.c:301
+msgid "Lock"
+msgstr "Vast Zetten"
+
+#: thunar-svn-plugin/tsp-svn-action.c:308
+msgid "Log"
+msgstr "Geschiedenis"
+
+#: thunar-svn-plugin/tsp-svn-action.c:333
+msgid "Edit Properties"
+msgstr "Attributen Wijzigen"
+
+#: thunar-svn-plugin/tsp-svn-action.c:342
+msgid "Resolve"
+msgstr "Verhelpen"
+
+#: thunar-svn-plugin/tsp-svn-action.c:349
+msgid "Revert"
+msgstr "Terug Halen"
+
+#: thunar-svn-plugin/tsp-svn-action.c:356
+msgid "Status"
+msgstr "Status"
+
+#: thunar-svn-plugin/tsp-svn-action.c:363
+msgid "Switch"
+msgstr "Omschakelen"
+
+#: thunar-svn-plugin/tsp-svn-action.c:370
+msgid "Unlock"
+msgstr "Vrijgeven"
+
+#: thunar-svn-plugin/tsp-svn-action.c:377 tsp-svn-helper/tsh-update.c:105
+msgid "Update"
+msgstr "Bijwerken"
+
+#. Translators: the first string is a path and the second string
+#. * is a hostname. Nautilus and the panel contain the same string
+#. * to translate.
+#.
+#: tsp-svn-helper/gtkfilechooserdefault.c:71
+#, c-format
+msgid "%1$s on %2$s"
+msgstr "%1$s op %2$s"
+
+#: tsp-svn-helper/gtkfilechooserentry.c:50
+msgid "Select A File"
+msgstr "Een bestand selecteren"
+
+#: tsp-svn-helper/gtkfilechooserentry.c:51
+msgid "Desktop"
+msgstr "Bureaublad"
+
+#: tsp-svn-helper/gtkfilechooserentry.c:52
+msgid "(None)"
+msgstr "(Geen)"
+
+#: tsp-svn-helper/gtkfilechooserentry.c:339
+msgid "Dialog"
+msgstr "Dialoogvenster"
+
+#: tsp-svn-helper/gtkfilechooserentry.c:340
+msgid "The file chooser dialog to use."
+msgstr "De te gebruiken bestandskiezer."
+
+#: tsp-svn-helper/gtkfilechooserentry.c:356
+msgid "Focus on click"
+msgstr "Aandacht bij klikken"
+
+#: tsp-svn-helper/gtkfilechooserentry.c:357
+msgid "Whether the entry grabs focus when it is clicked with the mouse"
+msgstr "Of het veld de aandacht krijgt als het met de muis wordt aangeklikt"
+
+#: tsp-svn-helper/gtkfilechooserentry.c:370
+msgid "Title"
+msgstr "Titel"
+
+#: tsp-svn-helper/gtkfilechooserentry.c:371
+msgid "The title of the file chooser dialog."
+msgstr "De titel van het bestandsselectie-dialoogvenster."
+
+#: tsp-svn-helper/gtkfilechooserentry.c:384
+msgid "Width In Characters"
+msgstr "Breedte, in lettertekens"
+
+#: tsp-svn-helper/gtkfilechooserentry.c:385
+msgid "The desired width of the entry widget, in characters."
+msgstr "De gewenste breedte van het text-widget, in lettertekens."
+
+#: tsp-svn-helper/gtkfilechooserentry.c:2035
+msgid "Other..."
+msgstr "Andere..."
+
+#: tsp-svn-helper/main.c:58
+msgid "Print version information"
+msgstr "Versie informatie tonen"
+
+#: tsp-svn-helper/main.c:65
+msgid "Execute checkout action"
+msgstr "Ophaal actie uitvoeren"
+
+#: tsp-svn-helper/main.c:71
+msgid "Execute update action"
+msgstr "Bijwerk actie uitvoeren"
+
+#: tsp-svn-helper/tsh-checkout.c:94 tsp-svn-helper/tsh-checkout-dialog.c:103
+msgid "Checkout"
+msgstr "Ophalen"
+
+#: tsp-svn-helper/tsh-checkout-dialog.c:64
+msgid "_Repository:"
+msgstr ""
+
+#: tsp-svn-helper/tsh-checkout-dialog.c:71
+#: tsp-svn-helper/tsh-checkout-dialog.c:91
+msgid "Select a folder"
+msgstr "Selecteer een map"
+
+#: tsp-svn-helper/tsh-checkout-dialog.c:84
+msgid "_Checkout directory:"
+msgstr "_Ophaal map:"
+
+#: tsp-svn-helper/tsh-common.c:448
+msgid "Deleted"
+msgstr "Verwijderd"
+
+#: tsp-svn-helper/tsh-common.c:453
+msgid "Added"
+msgstr "Toegevoegd"
+
+#: tsp-svn-helper/tsh-common.c:458
+msgid "Updated"
+msgstr "Bijgewerkt"
+
+#: tsp-svn-helper/tsh-common.c:462
+#, c-format
+msgid "At revision: %li"
+msgstr "Op versie: %li"
+
+#: tsp-svn-helper/tsh-common.c:464
+msgid "Completed"
+msgstr "Voltooid"
+
+#: tsp-svn-helper/tsh-common.c:469
+msgid "External"
+msgstr "Extern"
+
+#: tsp-svn-helper/tsh-file-dialog.c:60
+msgid "_Certificate:"
+msgstr "_Certificaat:"
+
+#: tsp-svn-helper/tsh-file-dialog.c:67
+msgid "Select a file"
+msgstr "Selecteer een bestand"
+
+#: tsp-svn-helper/tsh-file-dialog.c:78 tsp-svn-helper/tsh-login-dialog.c:98
+#: tsp-svn-helper/tsh-trust-dialog.c:73
+msgid "Remember"
+msgstr "Onthouden"
+
+#: tsp-svn-helper/tsh-file-dialog.c:86
+msgid "Certificate"
+msgstr "Certificaat"
+
+#: tsp-svn-helper/tsh-login-dialog.c:65
+msgid "_Username:"
+msgstr "_Gebruikersnaam:"
+
+#: tsp-svn-helper/tsh-login-dialog.c:81
+msgid "_Password:"
+msgstr "_Wachtwoord:"
+
+#: tsp-svn-helper/tsh-login-dialog.c:106
+msgid "Login"
+msgstr "Aanmelden"
+
+#: tsp-svn-helper/tsh-notify-dialog.c:75
+msgid "Action"
+msgstr "Actie"
+
+#: tsp-svn-helper/tsh-notify-dialog.c:81
+msgid "Path"
+msgstr "Pad"
+
+#: tsp-svn-helper/tsh-notify-dialog.c:87
+msgid "Mime type"
+msgstr ""
+
+#: tsp-svn-helper/tsh-notify-dialog.c:102
+msgid "Notification"
+msgstr "Notificatie"
+
+#: tsp-svn-helper/tsh-trust-dialog.c:58
+msgid "Certificate is not yet valid."
+msgstr "Certificaat is nog niet geldig."
+
+#: tsp-svn-helper/tsh-trust-dialog.c:61
+msgid "Certificate has expired."
+msgstr "Certificaat is niet meer geldig."
+
+#: tsp-svn-helper/tsh-trust-dialog.c:64
+msgid "Certificate does not match the remote hostname."
+msgstr "Certificaat komt niet overeen met hostnaam."
+
+#: tsp-svn-helper/tsh-trust-dialog.c:67
+msgid "Certificate authority is unknown."
+msgstr "Certificaat authoriteit is niet bekend."
+
+#: tsp-svn-helper/tsh-trust-dialog.c:70
+msgid "Other failure."
+msgstr "Andere fout."
+
+#: tsp-svn-helper/tsh-trust-dialog.c:77
+msgid "Trust"
+msgstr "Vertrouwen"

Modified: thunar-svn-plugin/trunk/po/pt_BR.po
===================================================================
--- thunar-svn-plugin/trunk/po/pt_BR.po	2007-12-24 14:35:23 UTC (rev 3750)
+++ thunar-svn-plugin/trunk/po/pt_BR.po	2007-12-24 22:31:07 UTC (rev 3751)
@@ -2,12 +2,12 @@
 # Copyright (C) 2007 THE thunar-svn-plugin'S COPYRIGHT HOLDER
 # This file is distributed under the same license as the thunar-svn-plugin package.
 # Fábio Nogueira <deb-user-ba at ubuntu.com>, 2007.
-# 
+#
 msgid ""
 msgstr ""
 "Project-Id-Version: thunar-svn-plugin\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-06-28 00:37+0200\n"
+"POT-Creation-Date: 2007-12-24 23:15+0100\n"
 "PO-Revision-Date: 2007-11-09 15:08-0300\n"
 "Last-Translator: Fábio Nogueira <deb-user-ba at ubuntu.com>\n"
 "Language-Team: Brazilian Portuguese <ldp-br at bazar2.conectiva.com.br>\n"
@@ -98,22 +98,92 @@
 msgid "Update"
 msgstr "Atualizar"
 
-#: tsp-svn-helper/main.c:56
+#. Translators: the first string is a path and the second string
+#. * is a hostname. Nautilus and the panel contain the same string
+#. * to translate.
+#.
+#: tsp-svn-helper/gtkfilechooserdefault.c:71
+#, c-format
+msgid "%1$s on %2$s"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:50
+msgid "Select A File"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:51
+msgid "Desktop"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:52
+msgid "(None)"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:339
+msgid "Dialog"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:340
+msgid "The file chooser dialog to use."
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:356
+msgid "Focus on click"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:357
+msgid "Whether the entry grabs focus when it is clicked with the mouse"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:370
+msgid "Title"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:371
+msgid "The title of the file chooser dialog."
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:384
+msgid "Width In Characters"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:385
+msgid "The desired width of the entry widget, in characters."
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:2035
+msgid "Other..."
+msgstr ""
+
+#: tsp-svn-helper/main.c:58
 msgid "Print version information"
 msgstr "Imprimir informação da versão"
 
-#: tsp-svn-helper/main.c:63
+#: tsp-svn-helper/main.c:65
 msgid "Execute checkout action"
 msgstr "Executar ação de checkout"
 
-#: tsp-svn-helper/main.c:69
+#: tsp-svn-helper/main.c:71
 msgid "Execute update action"
 msgstr "Executar ação de atualização"
 
-#: tsp-svn-helper/tsh-checkout.c:87
+#: tsp-svn-helper/tsh-checkout.c:94 tsp-svn-helper/tsh-checkout-dialog.c:103
 msgid "Checkout"
 msgstr "Checkout"
 
+#: tsp-svn-helper/tsh-checkout-dialog.c:64
+msgid "_Repository:"
+msgstr ""
+
+#: tsp-svn-helper/tsh-checkout-dialog.c:71
+#: tsp-svn-helper/tsh-checkout-dialog.c:91
+msgid "Select a folder"
+msgstr ""
+
+#: tsp-svn-helper/tsh-checkout-dialog.c:84
+msgid "_Checkout directory:"
+msgstr ""
+
 #: tsp-svn-helper/tsh-common.c:448
 msgid "Deleted"
 msgstr "Apagado"
@@ -139,6 +209,24 @@
 msgid "External"
 msgstr "Externo"
 
+#: tsp-svn-helper/tsh-file-dialog.c:60
+msgid "_Certificate:"
+msgstr ""
+
+#: tsp-svn-helper/tsh-file-dialog.c:67
+msgid "Select a file"
+msgstr ""
+
+#: tsp-svn-helper/tsh-file-dialog.c:78 tsp-svn-helper/tsh-login-dialog.c:98
+#: tsp-svn-helper/tsh-trust-dialog.c:73
+msgid "Remember"
+msgstr "Lembrar"
+
+#: tsp-svn-helper/tsh-file-dialog.c:86
+#, fuzzy
+msgid "Certificate"
+msgstr "Notificação"
+
 #: tsp-svn-helper/tsh-login-dialog.c:65
 msgid "_Username:"
 msgstr "Nome do _Usuário:"
@@ -147,10 +235,6 @@
 msgid "_Password:"
 msgstr "_Senha:"
 
-#: tsp-svn-helper/tsh-login-dialog.c:98
-msgid "Remember"
-msgstr "Lembrar"
-
 #: tsp-svn-helper/tsh-login-dialog.c:106
 msgid "Login"
 msgstr "Login"
@@ -170,3 +254,27 @@
 #: tsp-svn-helper/tsh-notify-dialog.c:102
 msgid "Notification"
 msgstr "Notificação"
+
+#: tsp-svn-helper/tsh-trust-dialog.c:58
+msgid "Certificate is not yet valid."
+msgstr ""
+
+#: tsp-svn-helper/tsh-trust-dialog.c:61
+msgid "Certificate has expired."
+msgstr ""
+
+#: tsp-svn-helper/tsh-trust-dialog.c:64
+msgid "Certificate does not match the remote hostname."
+msgstr ""
+
+#: tsp-svn-helper/tsh-trust-dialog.c:67
+msgid "Certificate authority is unknown."
+msgstr ""
+
+#: tsp-svn-helper/tsh-trust-dialog.c:70
+msgid "Other failure."
+msgstr ""
+
+#: tsp-svn-helper/tsh-trust-dialog.c:77
+msgid "Trust"
+msgstr ""

Modified: thunar-svn-plugin/trunk/po/thunar-svn-plugin.pot
===================================================================
--- thunar-svn-plugin/trunk/po/thunar-svn-plugin.pot	2007-12-24 14:35:23 UTC (rev 3750)
+++ thunar-svn-plugin/trunk/po/thunar-svn-plugin.pot	2007-12-24 22:31:07 UTC (rev 3751)
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-06-28 00:37+0200\n"
+"POT-Creation-Date: 2007-12-24 23:15+0100\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <LL at li.org>\n"
@@ -98,22 +98,92 @@
 msgid "Update"
 msgstr ""
 
-#: tsp-svn-helper/main.c:56
+#. Translators: the first string is a path and the second string
+#. * is a hostname. Nautilus and the panel contain the same string
+#. * to translate.
+#.
+#: tsp-svn-helper/gtkfilechooserdefault.c:71
+#, c-format
+msgid "%1$s on %2$s"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:50
+msgid "Select A File"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:51
+msgid "Desktop"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:52
+msgid "(None)"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:339
+msgid "Dialog"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:340
+msgid "The file chooser dialog to use."
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:356
+msgid "Focus on click"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:357
+msgid "Whether the entry grabs focus when it is clicked with the mouse"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:370
+msgid "Title"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:371
+msgid "The title of the file chooser dialog."
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:384
+msgid "Width In Characters"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:385
+msgid "The desired width of the entry widget, in characters."
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:2035
+msgid "Other..."
+msgstr ""
+
+#: tsp-svn-helper/main.c:58
 msgid "Print version information"
 msgstr ""
 
-#: tsp-svn-helper/main.c:63
+#: tsp-svn-helper/main.c:65
 msgid "Execute checkout action"
 msgstr ""
 
-#: tsp-svn-helper/main.c:69
+#: tsp-svn-helper/main.c:71
 msgid "Execute update action"
 msgstr ""
 
-#: tsp-svn-helper/tsh-checkout.c:87
+#: tsp-svn-helper/tsh-checkout.c:94 tsp-svn-helper/tsh-checkout-dialog.c:103
 msgid "Checkout"
 msgstr ""
 
+#: tsp-svn-helper/tsh-checkout-dialog.c:64
+msgid "_Repository:"
+msgstr ""
+
+#: tsp-svn-helper/tsh-checkout-dialog.c:71
+#: tsp-svn-helper/tsh-checkout-dialog.c:91
+msgid "Select a folder"
+msgstr ""
+
+#: tsp-svn-helper/tsh-checkout-dialog.c:84
+msgid "_Checkout directory:"
+msgstr ""
+
 #: tsp-svn-helper/tsh-common.c:448
 msgid "Deleted"
 msgstr ""
@@ -139,6 +209,23 @@
 msgid "External"
 msgstr ""
 
+#: tsp-svn-helper/tsh-file-dialog.c:60
+msgid "_Certificate:"
+msgstr ""
+
+#: tsp-svn-helper/tsh-file-dialog.c:67
+msgid "Select a file"
+msgstr ""
+
+#: tsp-svn-helper/tsh-file-dialog.c:78 tsp-svn-helper/tsh-login-dialog.c:98
+#: tsp-svn-helper/tsh-trust-dialog.c:73
+msgid "Remember"
+msgstr ""
+
+#: tsp-svn-helper/tsh-file-dialog.c:86
+msgid "Certificate"
+msgstr ""
+
 #: tsp-svn-helper/tsh-login-dialog.c:65
 msgid "_Username:"
 msgstr ""
@@ -147,10 +234,6 @@
 msgid "_Password:"
 msgstr ""
 
-#: tsp-svn-helper/tsh-login-dialog.c:98
-msgid "Remember"
-msgstr ""
-
 #: tsp-svn-helper/tsh-login-dialog.c:106
 msgid "Login"
 msgstr ""
@@ -170,3 +253,27 @@
 #: tsp-svn-helper/tsh-notify-dialog.c:102
 msgid "Notification"
 msgstr ""
+
+#: tsp-svn-helper/tsh-trust-dialog.c:58
+msgid "Certificate is not yet valid."
+msgstr ""
+
+#: tsp-svn-helper/tsh-trust-dialog.c:61
+msgid "Certificate has expired."
+msgstr ""
+
+#: tsp-svn-helper/tsh-trust-dialog.c:64
+msgid "Certificate does not match the remote hostname."
+msgstr ""
+
+#: tsp-svn-helper/tsh-trust-dialog.c:67
+msgid "Certificate authority is unknown."
+msgstr ""
+
+#: tsp-svn-helper/tsh-trust-dialog.c:70
+msgid "Other failure."
+msgstr ""
+
+#: tsp-svn-helper/tsh-trust-dialog.c:77
+msgid "Trust"
+msgstr ""

Modified: thunar-svn-plugin/trunk/po/ur.po
===================================================================
--- thunar-svn-plugin/trunk/po/ur.po	2007-12-24 14:35:23 UTC (rev 3750)
+++ thunar-svn-plugin/trunk/po/ur.po	2007-12-24 22:31:07 UTC (rev 3751)
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: thunar-svn-plugin\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-06-28 00:37+0200\n"
+"POT-Creation-Date: 2007-12-24 23:15+0100\n"
 "PO-Revision-Date: 2007-10-26 15:12+0500\n"
 "Last-Translator: Muhammad Ali Makki <makk.ma at gmail.com>\n"
 "Language-Team: Urdu <makki.ma at gmail.com>\n"
@@ -23,8 +23,7 @@
 msgstr "SVN _درآمد"
 
 #. append the svn submenu action
-#: thunar-svn-plugin/tsp-provider.c:409
-#: thunar-svn-plugin/tsp-provider.c:444
+#: thunar-svn-plugin/tsp-provider.c:409 thunar-svn-plugin/tsp-provider.c:444
 #: thunar-svn-plugin/tsp-provider.c:452
 msgid "SVN"
 msgstr "SVN"
@@ -97,27 +96,96 @@
 msgid "Unlock"
 msgstr "غیر مقفل"
 
-#: thunar-svn-plugin/tsp-svn-action.c:377
-#: tsp-svn-helper/tsh-update.c:105
+#: thunar-svn-plugin/tsp-svn-action.c:377 tsp-svn-helper/tsh-update.c:105
 msgid "Update"
 msgstr "تجدید"
 
-#: tsp-svn-helper/main.c:56
+#. Translators: the first string is a path and the second string
+#. * is a hostname. Nautilus and the panel contain the same string
+#. * to translate.
+#.
+#: tsp-svn-helper/gtkfilechooserdefault.c:71
+#, c-format
+msgid "%1$s on %2$s"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:50
+msgid "Select A File"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:51
+msgid "Desktop"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:52
+msgid "(None)"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:339
+msgid "Dialog"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:340
+msgid "The file chooser dialog to use."
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:356
+msgid "Focus on click"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:357
+msgid "Whether the entry grabs focus when it is clicked with the mouse"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:370
+msgid "Title"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:371
+msgid "The title of the file chooser dialog."
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:384
+msgid "Width In Characters"
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:385
+msgid "The desired width of the entry widget, in characters."
+msgstr ""
+
+#: tsp-svn-helper/gtkfilechooserentry.c:2035
+msgid "Other..."
+msgstr ""
+
+#: tsp-svn-helper/main.c:58
 msgid "Print version information"
 msgstr "ورژن معلومات طبع کریں"
 
-#: tsp-svn-helper/main.c:63
+#: tsp-svn-helper/main.c:65
 msgid "Execute checkout action"
 msgstr "چیک کریں"
 
-#: tsp-svn-helper/main.c:69
+#: tsp-svn-helper/main.c:71
 msgid "Execute update action"
 msgstr "تجدید کریں"
 
-#: tsp-svn-helper/tsh-checkout.c:87
+#: tsp-svn-helper/tsh-checkout.c:94 tsp-svn-helper/tsh-checkout-dialog.c:103
 msgid "Checkout"
 msgstr "چیک کریں"
 
+#: tsp-svn-helper/tsh-checkout-dialog.c:64
+msgid "_Repository:"
+msgstr ""
+
+#: tsp-svn-helper/tsh-checkout-dialog.c:71
+#: tsp-svn-helper/tsh-checkout-dialog.c:91
+msgid "Select a folder"
+msgstr ""
+
+#: tsp-svn-helper/tsh-checkout-dialog.c:84
+msgid "_Checkout directory:"
+msgstr ""
+
 #: tsp-svn-helper/tsh-common.c:448
 msgid "Deleted"
 msgstr "حذف"
@@ -143,6 +211,24 @@
 msgid "External"
 msgstr "خارجی"
 
+#: tsp-svn-helper/tsh-file-dialog.c:60
+msgid "_Certificate:"
+msgstr ""
+
+#: tsp-svn-helper/tsh-file-dialog.c:67
+msgid "Select a file"
+msgstr ""
+
+#: tsp-svn-helper/tsh-file-dialog.c:78 tsp-svn-helper/tsh-login-dialog.c:98
+#: tsp-svn-helper/tsh-trust-dialog.c:73
+msgid "Remember"
+msgstr "یاد رکھیں"
+
+#: tsp-svn-helper/tsh-file-dialog.c:86
+#, fuzzy
+msgid "Certificate"
+msgstr "اطلاعیہ"
+
 #: tsp-svn-helper/tsh-login-dialog.c:65
 msgid "_Username:"
 msgstr "_صارف نام:"
@@ -151,10 +237,6 @@
 msgid "_Password:"
 msgstr "_پاس ورڈ:"
 
-#: tsp-svn-helper/tsh-login-dialog.c:98
-msgid "Remember"
-msgstr "یاد رکھیں"
-
 #: tsp-svn-helper/tsh-login-dialog.c:106
 msgid "Login"
 msgstr "لاگ ان"
@@ -175,3 +257,26 @@
 msgid "Notification"
 msgstr "اطلاعیہ"
 
+#: tsp-svn-helper/tsh-trust-dialog.c:58
+msgid "Certificate is not yet valid."
+msgstr ""
+
+#: tsp-svn-helper/tsh-trust-dialog.c:61
+msgid "Certificate has expired."
+msgstr ""
+
+#: tsp-svn-helper/tsh-trust-dialog.c:64
+msgid "Certificate does not match the remote hostname."
+msgstr ""
+
+#: tsp-svn-helper/tsh-trust-dialog.c:67
+msgid "Certificate authority is unknown."
+msgstr ""
+
+#: tsp-svn-helper/tsh-trust-dialog.c:70
+msgid "Other failure."
+msgstr ""
+
+#: tsp-svn-helper/tsh-trust-dialog.c:77
+msgid "Trust"
+msgstr ""

Modified: thunar-svn-plugin/trunk/tsp-svn-helper/Makefile.am
===================================================================
--- thunar-svn-plugin/trunk/tsp-svn-helper/Makefile.am	2007-12-24 14:35:23 UTC (rev 3750)
+++ thunar-svn-plugin/trunk/tsp-svn-helper/Makefile.am	2007-12-24 22:31:07 UTC (rev 3751)
@@ -22,6 +22,13 @@
 	tsh-checkout.c							\
 	gtkfilechooserentry.h						\
 	gtkfilechooserentry.c						\
+	gtkfilechooserutils.h						\
+	gtkfilechooserutils.c						\
+	gtkfilechooser.h						\
+	gtkfilechooser.c						\
+	gtkfilechooserdefault.c						\
+	gtkprivate.h							\
+	gtkintl.h							\
 	tsh-dialog-common.h						\
 	tsh-dialog-common.c						\
 	tsh-login-dialog.h						\

Added: thunar-svn-plugin/trunk/tsp-svn-helper/gtkfilechooser.c
===================================================================
--- thunar-svn-plugin/trunk/tsp-svn-helper/gtkfilechooser.c	                        (rev 0)
+++ thunar-svn-plugin/trunk/tsp-svn-helper/gtkfilechooser.c	2007-12-24 22:31:07 UTC (rev 3751)
@@ -0,0 +1,231 @@
+/* GTK - The GIMP Toolkit
+ * gtkfilechooser.c: Abstract interface for file selector GUIs
+ * Copyright (C) 2003, Red Hat, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+#include <config.h>
+
+#include <gtk/gtk.h>
+#include "gtkfilechooser.h"
+#define GTK_FILE_SYSTEM_ENABLE_UNSUPPORTED
+#define GTK_FILE_CHOOSER_ENABLE_UNSUPPORTED
+#include "gtkfilechooserutils.h"
+#undef GTK_FILE_CHOOSER_ENABLE_UNSUPPORTED
+#undef GTK_FILE_SYSTEM_ENABLE_UNSUPPORTED
+
+/**
+ * _gtk_file_chooser_set_current_folder_path:
+ * @chooser: a #GtkFileChooser
+ * @path: the #GtkFilePath for the new folder
+ * @error: location to store error, or %NULL.
+ * 
+ * Sets the current folder for @chooser from a #GtkFilePath.
+ * Internal function, see gtk_file_chooser_set_current_folder_uri().
+ *
+ * Return value: %TRUE if the folder could be changed successfully, %FALSE
+ * otherwise.
+ *
+ * Since: 2.4
+ **/
+gboolean
+_gtk_file_chooser_set_current_folder_path (GtkFileChooser    *chooser,
+					   const GtkFilePath *path,
+					   GError           **error)
+{
+  g_return_val_if_fail (GTK_IS_FILE_CHOOSER (chooser), FALSE);
+  g_return_val_if_fail (path != NULL, FALSE);
+  g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
+
+  return GTK_FILE_CHOOSER_GET_IFACE (chooser)->set_current_folder (chooser, path, error);
+}
+
+/**
+ * _gtk_file_chooser_get_current_folder_path:
+ * @chooser: a #GtkFileChooser
+ * 
+ * Gets the current folder of @chooser as #GtkFilePath.
+ * See gtk_file_chooser_get_current_folder_uri().
+ * 
+ * Return value: the #GtkFilePath for the current folder.
+ * Free with gtk_file_path_free().
+ *
+ * Since: 2.4
+ */
+GtkFilePath *
+_gtk_file_chooser_get_current_folder_path (GtkFileChooser *chooser)
+{
+  g_return_val_if_fail (GTK_IS_FILE_CHOOSER (chooser), NULL);
+
+  return GTK_FILE_CHOOSER_GET_IFACE (chooser)->get_current_folder (chooser);  
+}
+
+/**
+ * _gtk_file_chooser_select_path:
+ * @chooser: a #GtkFileChooser
+ * @path: the path to select
+ * @error: location to store error, or %NULL
+ * 
+ * Selects the file referred to by @path. An internal function. See
+ * _gtk_file_chooser_select_uri().
+ *
+ * Return value: %TRUE if both the folder could be changed and the path was
+ * selected successfully, %FALSE otherwise.
+ *
+ * Since: 2.4
+ **/
+gboolean
+_gtk_file_chooser_select_path (GtkFileChooser    *chooser,
+			       const GtkFilePath *path,
+			       GError           **error)
+{
+  g_return_val_if_fail (GTK_IS_FILE_CHOOSER (chooser), FALSE);
+  g_return_val_if_fail (path != NULL, FALSE);
+  g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
+
+  return GTK_FILE_CHOOSER_GET_IFACE (chooser)->select_path (chooser, path, error);
+}
+
+/**
+ * _gtk_file_chooser_unselect_path:
+ * @chooser: a #GtkFileChooser
+ * @path: the filename to path
+ * 
+ * Unselects the file referred to by @path. An internal
+ * function. See _gtk_file_chooser_unselect_uri().
+ *
+ * Since: 2.4
+ **/
+void
+_gtk_file_chooser_unselect_path (GtkFileChooser    *chooser,
+				 const GtkFilePath *path)
+{
+  g_return_if_fail (GTK_IS_FILE_CHOOSER (chooser));
+
+  GTK_FILE_CHOOSER_GET_IFACE (chooser)->unselect_path (chooser, path);
+}
+
+/**
+ * _gtk_file_chooser_get_paths:
+ * @chooser: a #GtkFileChooser
+ * 
+ * Lists all the selected files and subfolders in the current folder of @chooser
+ * as #GtkFilePath. An internal function, see gtk_file_chooser_get_uris().
+ * 
+ * Return value: a #GSList containing a #GtkFilePath for each selected
+ *   file and subfolder in the current folder.  Free the returned list
+ *   with g_slist_free(), and the paths with gtk_file_path_free().
+ *
+ * Since: 2.4
+ **/
+GSList *
+_gtk_file_chooser_get_paths (GtkFileChooser *chooser)
+{
+  g_return_val_if_fail (GTK_IS_FILE_CHOOSER (chooser), NULL);
+
+  return GTK_FILE_CHOOSER_GET_IFACE (chooser)->get_paths (chooser);
+}
+
+/**
+ * _gtk_file_chooser_get_file_system:
+ * @chooser: a #GtkFileChooser
+ * 
+ * Gets the #GtkFileSystem of @chooser; this is an internal
+ * implementation detail, used for conversion between paths
+ * and filenames and URIs.
+ * 
+ * Return value: the file system for @chooser.
+ *
+ * Since: 2.4
+ **/
+GtkFileSystem *
+_gtk_file_chooser_get_file_system (GtkFileChooser *chooser)
+{
+  g_return_val_if_fail (GTK_IS_FILE_CHOOSER (chooser), NULL);
+
+  return GTK_FILE_CHOOSER_GET_IFACE (chooser)->get_file_system (chooser);
+}
+
+/**
+ * gtk_file_chooser_get_preview_filename:
+ * @chooser: a #GtkFileChooser
+ * 
+ * Gets the filename that should be previewed in a custom preview
+ * Internal function, see gtk_file_chooser_get_preview_uri().
+ * 
+ * Return value: the #GtkFilePath for the file to preview, or %NULL if no file
+ *  is selected. Free with gtk_file_path_free().
+ *
+ * Since: 2.4
+ **/
+GtkFilePath *
+_gtk_file_chooser_get_preview_path (GtkFileChooser *chooser)
+{
+  g_return_val_if_fail (GTK_IS_FILE_CHOOSER (chooser), NULL);
+
+  return GTK_FILE_CHOOSER_GET_IFACE (chooser)->get_preview_path (chooser);
+}
+
+/**
+ * _gtk_file_chooser_add_shortcut_folder:
+ * @chooser: a #GtkFileChooser
+ * @path: path of the folder to add
+ * @error: location to store error, or %NULL
+ * 
+ * Adds a folder to be displayed with the shortcut folders in a file chooser.
+ * Internal function, see gtk_file_chooser_add_shortcut_folder().
+ * 
+ * Return value: %TRUE if the folder could be added successfully, %FALSE
+ * otherwise.
+ *
+ * Since: 2.4
+ **/
+gboolean
+_gtk_file_chooser_add_shortcut_folder (GtkFileChooser    *chooser,
+				       const GtkFilePath *path,
+				       GError           **error)
+{
+  g_return_val_if_fail (GTK_IS_FILE_CHOOSER (chooser), FALSE);
+  g_return_val_if_fail (path != NULL, FALSE);
+
+  return GTK_FILE_CHOOSER_GET_IFACE (chooser)->add_shortcut_folder (chooser, path, error);
+}
+
+/**
+ * _gtk_file_chooser_remove_shortcut_folder:
+ * @chooser: a #GtkFileChooser
+ * @path: path of the folder to remove
+ * @error: location to store error, or %NULL
+ * 
+ * Removes a folder from the shortcut folders in a file chooser.  Internal
+ * function, see gtk_file_chooser_remove_shortcut_folder().
+ * 
+ * Return value: %TRUE if the folder could be removed successfully, %FALSE
+ * otherwise.
+ *
+ * Since: 2.4
+ **/
+gboolean
+_gtk_file_chooser_remove_shortcut_folder (GtkFileChooser    *chooser,
+					  const GtkFilePath *path,
+					  GError           **error)
+{
+  g_return_val_if_fail (GTK_IS_FILE_CHOOSER (chooser), FALSE);
+  g_return_val_if_fail (path != NULL, FALSE);
+
+  return GTK_FILE_CHOOSER_GET_IFACE (chooser)->remove_shortcut_folder (chooser, path, error);
+}

Added: thunar-svn-plugin/trunk/tsp-svn-helper/gtkfilechooser.h
===================================================================
--- thunar-svn-plugin/trunk/tsp-svn-helper/gtkfilechooser.h	                        (rev 0)
+++ thunar-svn-plugin/trunk/tsp-svn-helper/gtkfilechooser.h	2007-12-24 22:31:07 UTC (rev 3751)
@@ -0,0 +1,189 @@
+/* GTK - The GIMP Toolkit
+ * gtkfilechooser.h: Abstract interface for file selector GUIs
+ * Copyright (C) 2003, Red Hat, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __GTK_FILE_CHOOSER_H__
+#define __GTK_FILE_CHOOSER_H__
+
+//#include "gtkfilefilter.h"
+//#include <gtk/gtkwidget.h>
+
+G_BEGIN_DECLS
+
+#define GTK_TYPE_FILE_CHOOSER             (gtk_file_chooser_get_type ())
+#define GTK_FILE_CHOOSER(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FILE_CHOOSER, GtkFileChooser))
+#define GTK_IS_FILE_CHOOSER(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FILE_CHOOSER))
+
+typedef struct _GtkFileChooser      GtkFileChooser;
+
+typedef enum
+{
+  GTK_FILE_CHOOSER_ACTION_OPEN,
+  GTK_FILE_CHOOSER_ACTION_SAVE,
+  GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,
+  GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER
+} GtkFileChooserAction;
+
+typedef enum
+{
+  GTK_FILE_CHOOSER_CONFIRMATION_CONFIRM,
+  GTK_FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME,
+  GTK_FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN
+} GtkFileChooserConfirmation;
+
+GType gtk_file_chooser_get_type (void) G_GNUC_CONST;
+
+/* GError enumeration for GtkFileChooser */
+
+#define GTK_FILE_CHOOSER_ERROR (gtk_file_chooser_error_quark ())
+
+typedef enum {
+  GTK_FILE_CHOOSER_ERROR_NONEXISTENT,
+  GTK_FILE_CHOOSER_ERROR_BAD_FILENAME,
+  GTK_FILE_CHOOSER_ERROR_ALREADY_EXISTS
+} GtkFileChooserError;
+
+GQuark gtk_file_chooser_error_quark (void);
+
+/* Configuration
+ */
+void                 gtk_file_chooser_set_action          (GtkFileChooser       *chooser,
+							   GtkFileChooserAction  action);
+GtkFileChooserAction gtk_file_chooser_get_action          (GtkFileChooser       *chooser);
+void                 gtk_file_chooser_set_local_only      (GtkFileChooser       *chooser,
+							   gboolean              local_only);
+gboolean             gtk_file_chooser_get_local_only      (GtkFileChooser       *chooser);
+void                 gtk_file_chooser_set_select_multiple (GtkFileChooser       *chooser,
+							   gboolean              select_multiple);
+gboolean             gtk_file_chooser_get_select_multiple (GtkFileChooser       *chooser);
+void                 gtk_file_chooser_set_show_hidden     (GtkFileChooser       *chooser,
+							   gboolean              show_hidden);
+gboolean             gtk_file_chooser_get_show_hidden     (GtkFileChooser       *chooser);
+
+void                 gtk_file_chooser_set_do_overwrite_confirmation (GtkFileChooser *chooser,
+								     gboolean        do_overwrite_confirmation);
+gboolean             gtk_file_chooser_get_do_overwrite_confirmation (GtkFileChooser *chooser);
+
+/* Suggested name for the Save-type actions
+ */
+void     gtk_file_chooser_set_current_name   (GtkFileChooser *chooser,
+					      const gchar    *name);
+
+/* Filename manipulation
+ */
+#ifdef G_OS_WIN32
+/* Reserve old names for DLL ABI backward compatibility */
+#define gtk_file_chooser_get_filename gtk_file_chooser_get_filename_utf8
+#define gtk_file_chooser_set_filename gtk_file_chooser_set_filename_utf8
+#define gtk_file_chooser_select_filename gtk_file_chooser_select_filename_utf8
+#define gtk_file_chooser_unselect_filename gtk_file_chooser_unselect_filename_utf8
+#define gtk_file_chooser_get_filenames gtk_file_chooser_get_filenames_utf8
+#define gtk_file_chooser_set_current_folder gtk_file_chooser_set_current_folder_utf8
+#define gtk_file_chooser_get_current_folder gtk_file_chooser_get_current_folder_utf8
+#define gtk_file_chooser_get_preview_filename gtk_file_chooser_get_preview_filename_utf8
+#define gtk_file_chooser_add_shortcut_folder gtk_file_chooser_add_shortcut_folder_utf8
+#define gtk_file_chooser_remove_shortcut_folder gtk_file_chooser_remove_shortcut_folder_utf8
+#define gtk_file_chooser_list_shortcut_folders gtk_file_chooser_list_shortcut_folders_utf8
+#endif
+
+gchar *  gtk_file_chooser_get_filename       (GtkFileChooser *chooser);
+gboolean gtk_file_chooser_set_filename       (GtkFileChooser *chooser,
+					      const char     *filename);
+gboolean gtk_file_chooser_select_filename    (GtkFileChooser *chooser,
+					      const char     *filename);
+void     gtk_file_chooser_unselect_filename  (GtkFileChooser *chooser,
+					      const char     *filename);
+void     gtk_file_chooser_select_all         (GtkFileChooser *chooser);
+void     gtk_file_chooser_unselect_all       (GtkFileChooser *chooser);
+GSList * gtk_file_chooser_get_filenames      (GtkFileChooser *chooser);
+gboolean gtk_file_chooser_set_current_folder (GtkFileChooser *chooser,
+					      const gchar    *filename);
+gchar *  gtk_file_chooser_get_current_folder (GtkFileChooser *chooser);
+
+
+/* URI manipulation
+ */
+gchar *  gtk_file_chooser_get_uri                (GtkFileChooser *chooser);
+gboolean gtk_file_chooser_set_uri                (GtkFileChooser *chooser,
+						  const char     *uri);
+gboolean gtk_file_chooser_select_uri             (GtkFileChooser *chooser,
+						  const char     *uri);
+void     gtk_file_chooser_unselect_uri           (GtkFileChooser *chooser,
+						  const char     *uri);
+GSList * gtk_file_chooser_get_uris               (GtkFileChooser *chooser);
+gboolean gtk_file_chooser_set_current_folder_uri (GtkFileChooser *chooser,
+						  const gchar    *uri);
+gchar *  gtk_file_chooser_get_current_folder_uri (GtkFileChooser *chooser);
+
+/* Preview widget
+ */
+void       gtk_file_chooser_set_preview_widget        (GtkFileChooser *chooser,
+						       GtkWidget      *preview_widget);
+GtkWidget *gtk_file_chooser_get_preview_widget        (GtkFileChooser *chooser);
+void       gtk_file_chooser_set_preview_widget_active (GtkFileChooser *chooser,
+						       gboolean        active);
+gboolean   gtk_file_chooser_get_preview_widget_active (GtkFileChooser *chooser);
+void       gtk_file_chooser_set_use_preview_label     (GtkFileChooser *chooser,
+						       gboolean        use_label);
+gboolean   gtk_file_chooser_get_use_preview_label     (GtkFileChooser *chooser);
+
+char *gtk_file_chooser_get_preview_filename (GtkFileChooser *chooser);
+char *gtk_file_chooser_get_preview_uri      (GtkFileChooser *chooser);
+
+/* Extra widget
+ */
+void       gtk_file_chooser_set_extra_widget (GtkFileChooser *chooser,
+					      GtkWidget      *extra_widget);
+GtkWidget *gtk_file_chooser_get_extra_widget (GtkFileChooser *chooser);
+
+/* List of user selectable filters
+ */
+void    gtk_file_chooser_add_filter    (GtkFileChooser *chooser,
+					GtkFileFilter  *filter);
+void    gtk_file_chooser_remove_filter (GtkFileChooser *chooser,
+					GtkFileFilter  *filter);
+GSList *gtk_file_chooser_list_filters  (GtkFileChooser *chooser);
+
+/* Current filter
+ */
+void           gtk_file_chooser_set_filter (GtkFileChooser *chooser,
+					   GtkFileFilter  *filter);
+GtkFileFilter *gtk_file_chooser_get_filter (GtkFileChooser *chooser);
+
+/* Per-application shortcut folders */
+
+gboolean gtk_file_chooser_add_shortcut_folder    (GtkFileChooser *chooser,
+						  const char     *folder,
+						  GError        **error);
+gboolean gtk_file_chooser_remove_shortcut_folder (GtkFileChooser *chooser,
+						  const char     *folder,
+						  GError        **error);
+GSList *gtk_file_chooser_list_shortcut_folders   (GtkFileChooser *chooser);
+
+gboolean gtk_file_chooser_add_shortcut_folder_uri    (GtkFileChooser *chooser,
+						      const char     *uri,
+						      GError        **error);
+gboolean gtk_file_chooser_remove_shortcut_folder_uri (GtkFileChooser *chooser,
+						      const char     *uri,
+						      GError        **error);
+GSList *gtk_file_chooser_list_shortcut_folder_uris   (GtkFileChooser *chooser);
+
+G_END_DECLS
+
+#endif /* __GTK_FILE_CHOOSER_H__ */

Added: thunar-svn-plugin/trunk/tsp-svn-helper/gtkfilechooserdefault.c
===================================================================
--- thunar-svn-plugin/trunk/tsp-svn-helper/gtkfilechooserdefault.c	                        (rev 0)
+++ thunar-svn-plugin/trunk/tsp-svn-helper/gtkfilechooserdefault.c	2007-12-24 22:31:07 UTC (rev 3751)
@@ -0,0 +1,76 @@
+/* -*- Mode: C; c-file-style: "gnu"; tab-width: 8 -*- */
+/* GTK - The GIMP Toolkit
+ * gtkfilechooserdefault.c: Default implementation of GtkFileChooser
+ * Copyright (C) 2003, Red Hat, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+#include <config.h>
+
+#include <gtk/gtk.h>
+
+#include <string.h>
+
+#include "gtkintl.h"
+
+/* FIXME: GtkFileSystem needs a function to split a remote path
+ * into hostname and path components, or maybe just have a 
+ * gtk_file_system_path_get_display_name().
+ *
+ * This function is also used in gtkfilechooserbutton.c
+ */
+gchar *
+_gtk_file_chooser_label_for_uri (const gchar *uri)
+{
+  const gchar *path, *start, *end, *p;
+  gchar *host, *label;
+  
+  start = strstr (uri, "://");
+  start += 3;
+  path = strchr (start, '/');
+  
+  if (path)
+    end = path;
+  else
+    {
+      end = uri + strlen (uri);
+      path = "/";
+    }
+
+  /* strip username */
+  p = strchr (start, '@');
+  if (p && p < end)
+    {
+      start = p + 1;
+    }
+  
+  p = strchr (start, ':');
+  if (p && p < end)
+    end = p;
+  
+  host = g_strndup (start, end - start);
+
+  /* Translators: the first string is a path and the second string 
+   * is a hostname. Nautilus and the panel contain the same string 
+   * to translate. 
+   */
+  label = g_strdup_printf (_("%1$s on %2$s"), path, host);
+  
+  g_free (host);
+
+  return label;
+}

Modified: thunar-svn-plugin/trunk/tsp-svn-helper/gtkfilechooserentry.c
===================================================================
--- thunar-svn-plugin/trunk/tsp-svn-helper/gtkfilechooserentry.c	2007-12-24 14:35:23 UTC (rev 3750)
+++ thunar-svn-plugin/trunk/tsp-svn-helper/gtkfilechooserentry.c	2007-12-24 22:31:07 UTC (rev 3751)
@@ -11,7 +11,7 @@
  *
  * This library is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.         See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the GNU
  * Library General Public License for more details.
  *
  * You should have received a copy of the GNU Library General Public
@@ -30,48 +30,28 @@
 
 #include <string.h>
 
-#define GTK_FILE_CHOOSER_ENABLE_UNSUPPORTED
+#include <gtk/gtk.h>
 #define GTK_FILE_SYSTEM_ENABLE_UNSUPPORTED
+#define GTK_FILE_CHOOSER_ENABLE_UNSUPPORTED
+#include "gtkfilechooserutils.h"
+#undef GTK_FILE_CHOOSER_ENABLE_UNSUPPORTED
+#undef GTK_FILE_SYSTEM_ENABLE_UNSUPPORTED
+#include "gtkprivate.h"
 #include "gtkintl.h"
-#include <gtk/gtkbutton.h>
-#include <gtk/gtkcelllayout.h>
-#include <gtk/gtkcellrenderertext.h>
-#include <gtk/gtkcellrendererpixbuf.h>
-#include <gtk/gtkcomboboxentry.h>
-#include <gtk/gtkdnd.h>
-#include <gtk/gtkicontheme.h>
-#include <gtk/gtkiconfactory.h>
-#include <gtk/gtkimage.h>
-#include <gtk/gtklabel.h>
-#include <gtk/gtkliststore.h>
-#include <gtk/gtkstock.h>
-#include <gtk/gtktreemodelfilter.h>
-#include <gtk/gtkvseparator.h>
-#include <gtk/gtkfilechooserdialog.h>
-#include <gtk/gtkfilechooserprivate.h>
-#include <gtk/gtkfilechooserutils.h>
-#include "gtkmarshalers.h"
 
 #include "gtkfilechooserentry.h"
 
-#ifdef G_OS_WIN32
-#include <gtk/gtkfilesystemwin32.h>
-#endif
-
-#include <gtk/gtkprivate.h>
-//#include <gtk/gtkalias.h>
-
 /* **************** *
  *  Private Macros  *
  * **************** */
 
 #define GTK_FILE_CHOOSER_ENTRY_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GTK_TYPE_FILE_CHOOSER_ENTRY, GtkFileChooserEntryPrivate))
 
-#define DEFAULT_TITLE                N_("Select A File")
-#define DESKTOP_DISPLAY_NAME        N_("Desktop")
-#define FALLBACK_DISPLAY_NAME        N_("(None)")
-#define FALLBACK_ICON_NAME        "stock_unknown"
-#define FALLBACK_ICON_SIZE        16
+#define DEFAULT_TITLE         N_("Select A File")
+#define DESKTOP_DISPLAY_NAME  N_("Desktop")
+#define FALLBACK_DISPLAY_NAME N_("(None)")
+#define FALLBACK_ICON_NAME    "stock_unknown"
+#define FALLBACK_ICON_SIZE    16
 
 
 /* ********************** *
@@ -89,19 +69,12 @@
   PROP_WIDTH_CHARS
 };
 
-/* Signals */
-enum
-{
-  FILE_SET,
-  LAST_SIGNAL
-};
-
 /* TreeModel Columns */
 enum
 {
   ICON_COLUMN,
   DISPLAY_NAME_COLUMN,
-  PATH_COLUMN,
+  FULL_PATH_COLUMN,
   TYPE_COLUMN,
   DATA_COLUMN,
   IS_FOLDER_COLUMN,
@@ -135,8 +108,8 @@
 {
   GtkWidget *dialog;
   GtkWidget *button;
-  GtkWidget *image;
-  GtkWidget *label;
+//  GtkWidget *image;
+  GtkWidget *entry;
   GtkWidget *combo_box;
   GtkCellRenderer *icon_cell;
   GtkCellRenderer *name_cell;
@@ -156,7 +129,7 @@
   gulong fs_bookmarks_changed_id;
 
   GtkFileSystemHandle *dnd_select_folder_handle;
-  GtkFileSystemHandle *update_entry_handle;
+  GtkFileSystemHandle *update_button_handle;
   GSList *change_icon_theme_handles;
 
   gint icon_size;
@@ -170,9 +143,12 @@
   guint8 has_current_folder           : 1;
   guint8 has_other_separator          : 1;
 
-  /* Used for hiding/showing the dialog when the entry is hidden */
+  /* Used for hiding/showing the dialog when the button is hidden */
   guint8 active                       : 1;
 
+  /* Used to remember whether a title has been set yet, so we can use the default if it has not been set. */
+  guint8 has_title                    : 1;
+
   /* Used to track whether we need to set a default current folder on ::map() */
   guint8 folder_has_been_set          : 1;
 
@@ -227,7 +203,7 @@
                                                             gint              x,
                                                             gint              y,
                                                             GtkSelectionData *data,
-                                                            guint             type,
+                                                            guint             info,
                                                             guint             drag_time);
 static void     gtk_file_chooser_entry_show_all            (GtkWidget        *widget);
 static void     gtk_file_chooser_entry_hide_all            (GtkWidget        *widget);
@@ -309,7 +285,6 @@
                                                   gint            response,
                                                   gpointer        user_data);
 
-static guint file_chooser_entry_signals[LAST_SIGNAL] = { 0 };
 
 /* ******************* *
  *  GType Declaration  *
@@ -351,38 +326,18 @@
   widget_class->style_set = gtk_file_chooser_entry_style_set;
   widget_class->screen_changed = gtk_file_chooser_entry_screen_changed;
   widget_class->mnemonic_activate = gtk_file_chooser_entry_mnemonic_activate;
-  
-  /**
-   * GtkFileChooserEntrys::file-set:
-   * @widget: the object which received the signal.
-   *
-   * The ::file-set signal is emitted when the user selects a file.
-   * 
-   * Note that this signal is only emitted when the <emphasis>user</emphasis>
-   * changes the file. 
-   *
-   * Since: 2.12
-   */
-  file_chooser_entry_signals[FILE_SET] =
-    g_signal_new (I_("file-set"),
-                  G_TYPE_FROM_CLASS (gobject_class),
-                  G_SIGNAL_RUN_FIRST | G_SIGNAL_ACTION,
-                  G_STRUCT_OFFSET (GtkFileChooserEntryClass, file_set),
-                  NULL, NULL,
-                  _gtk_marshal_VOID__VOID,
-                  G_TYPE_NONE, 0);
 
   /**
    * GtkFileChooserEntry:dialog:
    * 
-   * Instance of the #GtkFileChooserDialog associated with the entry.
+   * Instance of the #GtkFileChooserDialog associated with the button.
    *
    * Since: 2.6
    */
   g_object_class_install_property (gobject_class, PROP_DIALOG,
                                    g_param_spec_object ("dialog",
-                                                        P_("Dialog"),
-                                                        P_("The file chooser dialog to use."),
+                                                        _("Dialog"),
+                                                        _("The file chooser dialog to use."),
                                                         GTK_TYPE_FILE_CHOOSER,
                                                         (GTK_PARAM_WRITABLE |
                                                          G_PARAM_CONSTRUCT_ONLY)));
@@ -390,7 +345,7 @@
   /**
    * GtkFileChooserEntry:focus-on-click:
    * 
-   * Whether the #GtkFileChooserEntry entry grabs focus when it is clicked
+   * Whether the #GtkFileChooserEntry button grabs focus when it is clicked
    * with the mouse.
    *
    * Since: 2.10
@@ -398,36 +353,36 @@
   g_object_class_install_property (gobject_class,
                                    PROP_FOCUS_ON_CLICK,
                                    g_param_spec_boolean ("focus-on-click",
-                                                         P_("Focus on click"),
-                                                         P_("Whether the entry grabs focus when it is clicked with the mouse"),
+                                                         _("Focus on click"),
+                                                         _("Whether the entry grabs focus when it is clicked with the mouse"),
                                                          TRUE,
                                                          GTK_PARAM_READWRITE));
   
   /**
    * GtkFileChooserEntry:title:
    * 
-   * Title to put on the #GtkFileChooserDialog associated with the entry.
+   * Title to put on the #GtkFileChooserDialog associated with the button.
    *
    * Since: 2.6
    */
   g_object_class_install_property (gobject_class, PROP_TITLE,
                                    g_param_spec_string ("title",
-                                                        P_("Title"),
-                                                        P_("The title of the file chooser dialog."),
+                                                        _("Title"),
+                                                        _("The title of the file chooser dialog."),
                                                         _(DEFAULT_TITLE),
                                                         GTK_PARAM_READWRITE));
 
   /**
    * GtkFileChooserEntry:width-chars:
    * 
-   * The width of the entry and label inside the entry, in characters.
+   * The width of the entry and label inside the button, in characters.
    *
    * Since: 2.6
    */
   g_object_class_install_property (gobject_class, PROP_WIDTH_CHARS,
                                    g_param_spec_int ("width-chars",
-                                                     P_("Width In Characters"),
-                                                     P_("The desired width of the entry widget, in characters."),
+                                                     _("Width In Characters"),
+                                                     _("The desired width of the entry widget, in characters."),
                                                      -1, G_MAXINT, -1,
                                                      GTK_PARAM_READWRITE));
 
@@ -455,22 +410,23 @@
   priv->button = gtk_button_new ();
   g_signal_connect (priv->button, "clicked", G_CALLBACK (button_clicked_cb),
                     entry);
-  //gtk_container_add (GTK_CONTAINER (entry), priv->button);
+  gtk_container_add (GTK_CONTAINER (entry), priv->button);
   gtk_widget_show (priv->button);
 
   box = gtk_hbox_new (FALSE, 4);
   gtk_container_add (GTK_CONTAINER (priv->button), box);
   gtk_widget_show (box);
 
-  priv->image = gtk_image_new ();
-  gtk_box_pack_start (GTK_BOX (box), priv->image, FALSE, FALSE, 0);
-  gtk_widget_show (priv->image);
+//  priv->image = gtk_image_new ();
+//  gtk_box_pack_start (GTK_BOX (box), priv->image, FALSE, FALSE, 0);
+//  gtk_widget_show (priv->image);
 
-  priv->label = gtk_label_new (_(FALLBACK_DISPLAY_NAME));
-  gtk_label_set_ellipsize (GTK_LABEL (priv->label), PANGO_ELLIPSIZE_END);
-  gtk_misc_set_alignment (GTK_MISC (priv->label), 0.0, 0.5);
-  gtk_container_add (GTK_CONTAINER (box), priv->label);
-  gtk_widget_show (priv->label);
+  priv->entry = gtk_entry_new ();
+  gtk_entry_set_text (GTK_ENTRY (priv->entry), _(FALLBACK_DISPLAY_NAME));
+//  gtk_label_set_ellipsize (GTK_LABEL (priv->label), PANGO_ELLIPSIZE_END);
+//  gtk_misc_set_alignment (GTK_MISC (priv->label), 0.0, 0.5);
+  gtk_container_add (GTK_CONTAINER (box), priv->entry);
+  gtk_widget_show (priv->entry);
 
   sep = gtk_vseparator_new ();
   gtk_box_pack_start (GTK_BOX (box), sep, FALSE, FALSE, 0);
@@ -487,7 +443,7 @@
     GTK_TREE_MODEL (gtk_list_store_new (NUM_COLUMNS,
                                         GDK_TYPE_PIXBUF, /* Icon */
                                         G_TYPE_STRING,         /* Display Name */
-                                        G_TYPE_STRING,
+                                        G_TYPE_STRING,         /* Full Path */
                                         G_TYPE_CHAR,         /* Row Type */
                                         G_TYPE_POINTER         /* Volume || Path */,
                                         G_TYPE_BOOLEAN   /* Is Folder? */,
@@ -571,18 +527,18 @@
 
     pos = model_get_type_position (entry, ROW_TYPE_SHORTCUT);
     pos += priv->n_shortcuts;
-
+g_debug(gtk_file_system_path_to_filename (entry->priv->fs, path));
     gtk_list_store_insert (GTK_LIST_STORE (priv->model), &iter, pos);
     gtk_list_store_set (GTK_LIST_STORE (priv->model), &iter,
                         ICON_COLUMN, NULL,
                         DISPLAY_NAME_COLUMN, _(FALLBACK_DISPLAY_NAME),
-                        PATH_COLUMN, gtk_file_system_path_to_filename (entry->priv->fs, path),
+                        FULL_PATH_COLUMN, gtk_file_system_path_to_filename (entry->priv->fs, path),
                         TYPE_COLUMN, ROW_TYPE_SHORTCUT,
                         DATA_COLUMN, gtk_file_path_copy (path),
                         IS_FOLDER_COLUMN, FALSE,
                         -1);
-    set_info_for_path_at_iter (entry, path, &iter);
-    priv->n_shortcuts++;
+      set_info_for_path_at_iter (entry, path, &iter);
+      priv->n_shortcuts++;
 
     gtk_tree_model_filter_refilter (GTK_TREE_MODEL_FILTER (priv->filter_model));
   }
@@ -690,13 +646,11 @@
                                              GTK_RESPONSE_ACCEPT,
                                              GTK_RESPONSE_CANCEL,
                                              -1);
+  }
 
+  /* Set the default title if necessary. We must wait until the dialog has been created to do this. */
+  if (!priv->has_title)
     gtk_file_chooser_entry_set_title (entry, _(DEFAULT_TITLE));
-  }
-  else if (!GTK_WINDOW (priv->dialog)->title)
-  {
-    gtk_file_chooser_entry_set_title (entry, _(DEFAULT_TITLE));
-  }
 
   current_folder = gtk_file_chooser_get_current_folder_uri (GTK_FILE_CHOOSER (priv->dialog));
   if (current_folder != NULL)
@@ -730,7 +684,7 @@
   g_signal_connect (priv->dialog, "notify",
                     G_CALLBACK (dialog_notify_cb), object);
   g_object_add_weak_pointer (G_OBJECT (priv->dialog),
-                             (gpointer) (&priv->dialog));
+                             (gpointer *) (&priv->dialog));
 
   priv->fs =
     g_object_ref (_gtk_file_chooser_get_file_system (GTK_FILE_CHOOSER (priv->dialog)));
@@ -753,7 +707,7 @@
                                           object, NULL);
 
   gtk_combo_box_set_model (GTK_COMBO_BOX (priv->combo_box), priv->filter_model);
-  gtk_combo_box_entry_set_text_column (GTK_COMBO_BOX_ENTRY (priv->combo_box), PATH_COLUMN);
+  gtk_combo_box_entry_set_text_column (GTK_COMBO_BOX_ENTRY (priv->combo_box), FULL_PATH_COLUMN);
   gtk_combo_box_set_row_separator_func (GTK_COMBO_BOX (priv->combo_box),
                                         combo_box_row_separator_func,
                                         NULL, NULL);
@@ -837,6 +791,9 @@
       break;
 
     case PROP_TITLE:
+      /* Remember that a title has been set, so we do no try to set it to the default in _init(). */
+      priv->has_title = TRUE;
+      /* Intentionally fall through instead of breaking here, to actually set the property. */
     case GTK_FILE_CHOOSER_PROP_FILTER:
     case GTK_FILE_CHOOSER_PROP_PREVIEW_WIDGET:
     case GTK_FILE_CHOOSER_PROP_PREVIEW_WIDGET_ACTIVE:
@@ -881,7 +838,7 @@
   {
     case PROP_WIDTH_CHARS:
       g_value_set_int (value,
-                       gtk_label_get_width_chars (GTK_LABEL (priv->label)));
+                       gtk_entry_get_width_chars (GTK_ENTRY (priv->entry)));
       break;
     case PROP_FOCUS_ON_CLICK:
       g_value_set_boolean (value,
@@ -952,22 +909,22 @@
     priv->dnd_select_folder_handle = NULL;
   }
 
-  if (priv->update_entry_handle)
-  {
-    gtk_file_system_cancel_operation (priv->update_entry_handle);
-    priv->update_entry_handle = NULL;
-  }
+  if (priv->update_button_handle)
+    {
+      gtk_file_system_cancel_operation (priv->update_button_handle);
+      priv->update_button_handle = NULL;
+    }
 
   if (priv->change_icon_theme_handles)
-  {
-    for (l = priv->change_icon_theme_handles; l; l = l->next)
     {
-      GtkFileSystemHandle *handle = GTK_FILE_SYSTEM_HANDLE (l->data);
-      gtk_file_system_cancel_operation (handle);
+      for (l = priv->change_icon_theme_handles; l; l = l->next)
+        {
+          GtkFileSystemHandle *handle = GTK_FILE_SYSTEM_HANDLE (l->data);
+          gtk_file_system_cancel_operation (handle);
+        }
+      g_slist_free (priv->change_icon_theme_handles);
+      priv->change_icon_theme_handles = NULL;
     }
-    g_slist_free (priv->change_icon_theme_handles);
-    priv->change_icon_theme_handles = NULL;
-  }
 
   if (priv->model)
   {
@@ -1074,7 +1031,7 @@
                                             gint              x,
                                             gint              y,
                                             GtkSelectionData *data,
-                                            guint              type,
+                                            guint              info,
                                             guint              drag_time)
 {
   GtkFileChooserEntry *entry = GTK_FILE_CHOOSER_ENTRY (widget);
@@ -1086,13 +1043,13 @@
     (*GTK_WIDGET_CLASS (gtk_file_chooser_entry_parent_class)->drag_data_received) (widget,
                                                                                     context,
                                                                                     x, y,
-                                                                                    data, type,
+                                                                                    data, info,
                                                                                     drag_time);
 
   if (widget == NULL || context == NULL || data == NULL || data->length < 0)
     return;
 
-  switch (type)
+  switch (info)
   {
     case TEXT_URI_LIST:
     {
@@ -1360,7 +1317,7 @@
              * If we switch to a better bookmarks file format (XBEL), we
              * should use mime info to get a better icon.
              */
-            pixbuf = gtk_icon_theme_load_icon (theme, "gnome-fs-share",
+                pixbuf = gtk_icon_theme_load_icon (theme, "gnome-fs-regular",
                                                priv->icon_size, 0, NULL);
         }
         else
@@ -1459,7 +1416,7 @@
   struct SetDisplayNameData *data = callback_data;
 
   if (!data->entry->priv->model)
-    /* entry got destroyed */
+    /* button got destroyed */
     goto out;
 
   path = gtk_tree_row_reference_get_path (data->row_ref);
@@ -1599,7 +1556,7 @@
   GtkFileSystemHandle *handle;
 
   gtk_tree_model_get (entry->priv->model, iter,
-                      PATH_COLUMN, &path,
+                      FULL_PATH_COLUMN, &path,
                       TYPE_COLUMN, &type,
                       DATA_COLUMN, &data,
                       HANDLE_COLUMN, &handle,
@@ -1638,10 +1595,9 @@
   GdkPixbuf *pixbuf;
   GtkFileSystemHandle *model_handle;
   struct ChangeIconThemeData *data = user_data;
-  gchar *name;
 
   if (!data->entry->priv->model)
-    /* entry got destroyed */
+    /* button got destroyed */
     goto out;
 
   path = gtk_tree_row_reference_get_path (data->row_ref);
@@ -1669,22 +1625,17 @@
                                       data->entry->priv->icon_size, NULL);
 
   if (pixbuf)
-    {
-      gtk_list_store_set (GTK_LIST_STORE (data->entry->priv->model), &iter,
-                          ICON_COLUMN, pixbuf,
-                          -1);
-      g_object_unref (pixbuf);
-    }
-
-  gtk_tree_model_get (data->entry->priv->model, &iter,
-                      DISPLAY_NAME_COLUMN, &name,
-                      -1);
-  if (!name)
+  {
     gtk_list_store_set (GTK_LIST_STORE (data->entry->priv->model), &iter,
-                        DISPLAY_NAME_COLUMN, gtk_file_info_get_display_name (info),
+                        ICON_COLUMN, pixbuf,
                         -1);
-  g_free (name);
-   
+    g_object_unref (pixbuf);
+  }
+
+  gtk_list_store_set (GTK_LIST_STORE (data->entry->priv->model), &iter,
+                      DISPLAY_NAME_COLUMN, gtk_file_info_get_display_name (info),
+                      -1);
+
 out:
   g_object_unref (data->entry);
   gtk_tree_row_reference_free (data->row_ref);
@@ -1697,7 +1648,7 @@
 model_add_special (GtkFileChooserEntry *entry)
 {
   const gchar *homedir;
-  const gchar *desktopdir;
+  gchar *desktopdir = NULL;
   GtkListStore *store;
   GtkTreeIter iter;
   GtkFilePath *path;
@@ -1732,7 +1683,7 @@
     gtk_list_store_set (store, &iter,
                         ICON_COLUMN, NULL,
                         DISPLAY_NAME_COLUMN, NULL,
-                        PATH_COLUMN, gtk_file_system_path_to_filename (entry->priv->fs, path),
+                        FULL_PATH_COLUMN, gtk_file_system_path_to_filename (entry->priv->fs, path),
                         TYPE_COLUMN, ROW_TYPE_SPECIAL,
                         DATA_COLUMN, path,
                         IS_FOLDER_COLUMN, TRUE,
@@ -1740,9 +1691,15 @@
                         -1);
 
     entry->priv->n_special++;
+
+#ifndef G_OS_WIN32
+    desktopdir = g_build_filename (homedir, DESKTOP_DISPLAY_NAME, NULL);
+#endif
   }
 
-  desktopdir = g_get_user_special_dir (G_USER_DIRECTORY_DESKTOP);
+#ifdef G_OS_WIN32
+  desktopdir = _gtk_file_system_win32_get_desktop ();
+#endif
 
   if (desktopdir)
   {
@@ -1751,6 +1708,7 @@
     struct ChangeIconThemeData *info;
 
     path = gtk_file_system_filename_to_path (entry->priv->fs, desktopdir);
+    g_free (desktopdir);
     gtk_list_store_insert (store, &iter, pos);
     pos++;
 
@@ -1769,7 +1727,7 @@
                         TYPE_COLUMN, ROW_TYPE_SPECIAL,
                         ICON_COLUMN, NULL,
                         DISPLAY_NAME_COLUMN, _(DESKTOP_DISPLAY_NAME),
-                        PATH_COLUMN, gtk_file_system_path_to_filename (entry->priv->fs, path),
+                        FULL_PATH_COLUMN, gtk_file_system_path_to_filename (entry->priv->fs, path),
                         DATA_COLUMN, path,
                         IS_FOLDER_COLUMN, TRUE,
                         HANDLE_COLUMN, handle,
@@ -1841,14 +1799,12 @@
     gtk_list_store_set (store, &iter,
                         ICON_COLUMN, pixbuf,
                         DISPLAY_NAME_COLUMN, display_name,
-                        PATH_COLUMN, gtk_file_system_path_to_filename (file_system, path),
+                        FULL_PATH_COLUMN, gtk_file_system_path_to_filename (file_system, path),
                         TYPE_COLUMN, ROW_TYPE_VOLUME,
                         DATA_COLUMN, volume,
                         IS_FOLDER_COLUMN, TRUE,
                         -1);
 
-    gtk_file_path_free (path);
-
     if (pixbuf)
       g_object_unref (pixbuf);
     g_free (display_name);
@@ -1889,7 +1845,7 @@
       gtk_list_store_set (store, &iter,
                           ICON_COLUMN, NULL,
                           DISPLAY_NAME_COLUMN, _(FALLBACK_DISPLAY_NAME),
-                          PATH_COLUMN, gtk_file_system_path_to_filename (entry->priv->fs, path),
+                          FULL_PATH_COLUMN, gtk_file_system_path_to_filename (entry->priv->fs, path),
                           TYPE_COLUMN, ROW_TYPE_BOOKMARK,
                           DATA_COLUMN, gtk_file_path_copy (path),
                           IS_FOLDER_COLUMN, FALSE,
@@ -1921,14 +1877,14 @@
       }
 
       icon_theme = gtk_icon_theme_get_for_screen (gtk_widget_get_screen (GTK_WIDGET (entry)));
-      pixbuf = gtk_icon_theme_load_icon (icon_theme, "gnome-fs-share", 
+      pixbuf = gtk_icon_theme_load_icon (icon_theme, "gnome-fs-directory", 
                                          entry->priv->icon_size, 0, NULL);
 
       gtk_list_store_insert (store, &iter, pos);
       gtk_list_store_set (store, &iter,
                           ICON_COLUMN, pixbuf,
                           DISPLAY_NAME_COLUMN, label,
-                          PATH_COLUMN, gtk_file_system_path_to_filename (entry->priv->fs, path),
+                          FULL_PATH_COLUMN, gtk_file_system_path_to_filename (entry->priv->fs, path),
                           TYPE_COLUMN, ROW_TYPE_BOOKMARK,
                           DATA_COLUMN, gtk_file_path_copy (path),
                           IS_FOLDER_COLUMN, TRUE,
@@ -1951,7 +1907,7 @@
     gtk_list_store_set (store, &iter,
                         ICON_COLUMN, NULL,
                         DISPLAY_NAME_COLUMN, NULL,
-                        PATH_COLUMN, NULL,
+                        FULL_PATH_COLUMN, NULL,
                         TYPE_COLUMN, ROW_TYPE_BOOKMARK_SEPARATOR,
                         DATA_COLUMN, NULL,
                         IS_FOLDER_COLUMN, FALSE,
@@ -1980,7 +1936,7 @@
     gtk_list_store_set (store, &iter,
                         ICON_COLUMN, NULL,
                         DISPLAY_NAME_COLUMN, NULL,
-                        PATH_COLUMN, NULL,
+                        FULL_PATH_COLUMN, NULL,
                         TYPE_COLUMN, ROW_TYPE_CURRENT_FOLDER_SEPARATOR,
                         DATA_COLUMN, NULL,
                         IS_FOLDER_COLUMN, FALSE,
@@ -2005,7 +1961,7 @@
     gtk_list_store_set (store, &iter,
                         ICON_COLUMN, NULL,
                         DISPLAY_NAME_COLUMN, _(FALLBACK_DISPLAY_NAME),
-                        PATH_COLUMN, gtk_file_system_path_to_filename (entry->priv->fs, path),
+                        FULL_PATH_COLUMN, gtk_file_system_path_to_filename (entry->priv->fs, path),
                         TYPE_COLUMN, ROW_TYPE_CURRENT_FOLDER,
                         DATA_COLUMN, gtk_file_path_copy (path),
                         IS_FOLDER_COLUMN, FALSE,
@@ -2034,17 +1990,13 @@
     }
     
     icon_theme = gtk_icon_theme_get_for_screen (gtk_widget_get_screen (GTK_WIDGET (entry)));
-    if (gtk_file_system_path_is_local (entry->priv->fs, path)) 
-      pixbuf = gtk_icon_theme_load_icon (icon_theme, "gnome-fs-directory", 
-                                         entry->priv->icon_size, 0, NULL);
-    else
-      pixbuf = gtk_icon_theme_load_icon (icon_theme, "gnome-fs-share", 
-                                         entry->priv->icon_size, 0, NULL);
-
+    pixbuf = gtk_icon_theme_load_icon (icon_theme, "gnome-fs-directory", 
+                                       entry->priv->icon_size, 0, NULL);
+    
     gtk_list_store_set (store, &iter,
                         ICON_COLUMN, pixbuf,
                         DISPLAY_NAME_COLUMN, label,
-                        PATH_COLUMN, gtk_file_system_path_to_filename (entry->priv->fs, path),
+                        FULL_PATH_COLUMN, gtk_file_system_path_to_filename (entry->priv->fs, path),
                         TYPE_COLUMN, ROW_TYPE_CURRENT_FOLDER,
                         DATA_COLUMN, gtk_file_path_copy (path),
                         IS_FOLDER_COLUMN, TRUE,
@@ -2069,7 +2021,7 @@
   gtk_list_store_set (store, &iter,
                       ICON_COLUMN, NULL,
                       DISPLAY_NAME_COLUMN, NULL,
-                      PATH_COLUMN, NULL,
+                      FULL_PATH_COLUMN, NULL,
                       TYPE_COLUMN, ROW_TYPE_OTHER_SEPARATOR,
                       DATA_COLUMN, NULL,
                       IS_FOLDER_COLUMN, FALSE,
@@ -2081,7 +2033,7 @@
   gtk_list_store_set (store, &iter,
                       ICON_COLUMN, NULL,
                       DISPLAY_NAME_COLUMN, _("Other..."),
-                      PATH_COLUMN, NULL,
+                      FULL_PATH_COLUMN, "",
                       TYPE_COLUMN, ROW_TYPE_OTHER,
                       DATA_COLUMN, NULL,
                       IS_FOLDER_COLUMN, FALSE,
@@ -2277,7 +2229,7 @@
         if (base_path)
         {
           row_found = (paths &&
-                       paths->data &&
+                         paths->data &&
                        gtk_file_path_compare (base_path, paths->data) == 0);
           gtk_file_path_free (base_path);
         }
@@ -2330,30 +2282,30 @@
                           gpointer             data)
 {
   gboolean cancelled = handle->cancelled;
-  GdkPixbuf *pixbuf;
+//  GdkPixbuf *pixbuf;
   GtkFileChooserEntry *entry = data;
   GtkFileChooserEntryPrivate *priv = entry->priv;
 
-  if (handle != priv->update_entry_handle)
+  if (handle != priv->update_button_handle)
     goto out;
 
-  priv->update_entry_handle = NULL;
+  priv->update_button_handle = NULL;
 
   if (cancelled || error)
     goto out;
 
-  gtk_label_set_text (GTK_LABEL (priv->label), gtk_file_info_get_display_name (info));
+  gtk_entry_set_text (GTK_ENTRY (priv->entry), gtk_file_info_get_display_name (info));
 
-  pixbuf = gtk_file_info_render_icon (info, GTK_WIDGET (priv->image),
-                                      priv->icon_size, NULL);
-  if (!pixbuf)
-    pixbuf = gtk_icon_theme_load_icon (get_icon_theme (GTK_WIDGET (priv->image)),
-                                       FALLBACK_ICON_NAME,
-                                       priv->icon_size, 0, NULL);
+//  pixbuf = gtk_file_info_render_icon (info, GTK_WIDGET (priv->image),
+//                                      priv->icon_size, NULL);
+//  if (!pixbuf)
+//    pixbuf = gtk_icon_theme_load_icon (get_icon_theme (GTK_WIDGET (priv->image)),
+//                                       FALLBACK_ICON_NAME,
+//                                       priv->icon_size, 0, NULL);
 
-  gtk_image_set_from_pixbuf (GTK_IMAGE (priv->image), pixbuf);
-  if (pixbuf)
-    g_object_unref (pixbuf);
+//  gtk_image_set_from_pixbuf (GTK_IMAGE (priv->image), pixbuf);
+//  if (pixbuf)
+//    g_object_unref (pixbuf);
 
 out:
   g_object_unref (entry);
@@ -2404,15 +2356,15 @@
         goto out;
     }
 
-    if (priv->update_entry_handle)
+    if (priv->update_button_handle)
     {
-      gtk_file_system_cancel_operation (priv->update_entry_handle);
-      priv->update_entry_handle = NULL;
+      gtk_file_system_cancel_operation (priv->update_button_handle);
+      priv->update_button_handle = NULL;
     }
-        
+      
     if (gtk_file_system_path_is_local (priv->fs, path))
     {
-      priv->update_entry_handle =
+      priv->update_button_handle =
         gtk_file_system_get_info (priv->fs, path,
                                   GTK_FILE_INFO_DISPLAY_NAME | GTK_FILE_INFO_ICON,
                                   update_label_get_info_cb,
@@ -2420,18 +2372,18 @@
     }
     else
     {
-      GdkPixbuf *pixbuf;
+//          GdkPixbuf *pixbuf;
 
       label_text = gtk_file_system_get_bookmark_label (entry->priv->fs, path);
       
-      pixbuf = gtk_icon_theme_load_icon (get_icon_theme (GTK_WIDGET (priv->image)), 
-                                         "gnome-fs-regular",
-                                         priv->icon_size, 0, NULL);
+//          pixbuf = gtk_icon_theme_load_icon (get_icon_theme (GTK_WIDGET (priv->image)), 
+//                                             "gnome-fs-regular",
+//                                             priv->icon_size, 0, NULL);
       
-      gtk_image_set_from_pixbuf (GTK_IMAGE (priv->image), pixbuf);
+//          gtk_image_set_from_pixbuf (GTK_IMAGE (priv->image), pixbuf);
 
-      if (pixbuf)
-        g_object_unref (pixbuf);
+//          if (pixbuf)
+//            g_object_unref (pixbuf);
     }
   }
 out:
@@ -2439,11 +2391,11 @@
 
   if (label_text)
   {
-    gtk_label_set_text (GTK_LABEL (priv->label), label_text);
+    gtk_entry_set_text (GTK_ENTRY (priv->entry), label_text);
     g_free (label_text);
   }
   else
-    gtk_label_set_text (GTK_LABEL (priv->label), _(FALLBACK_DISPLAY_NAME));
+    gtk_entry_set_text (GTK_ENTRY (priv->entry), _(FALLBACK_DISPLAY_NAME));
 }
 
 
@@ -2506,7 +2458,7 @@
 {
   GtkFileChooserEntryPrivate *priv = entry->priv;
 
-  /* Setup the dialog parent to be chooser entry's toplevel, and be modal
+  /* Setup the dialog parent to be chooser button's toplevel, and be modal
      as needed. */
   if (!GTK_WIDGET_VISIBLE (priv->dialog))
   {
@@ -2565,46 +2517,46 @@
     gchar type;
     gpointer data;
 
-    type = ROW_TYPE_INVALID;
-    data = NULL;
+      type = ROW_TYPE_INVALID;
+      data = NULL;
 
-    gtk_tree_model_get (priv->filter_model, &iter,
-                        TYPE_COLUMN, &type,
-                        DATA_COLUMN, &data,
-                        -1);
+      gtk_tree_model_get (priv->filter_model, &iter,
+                          TYPE_COLUMN, &type,
+                          DATA_COLUMN, &data,
+                          -1);
 
-    switch (type)
-    {
-      case ROW_TYPE_SPECIAL:
-      case ROW_TYPE_SHORTCUT:
-      case ROW_TYPE_BOOKMARK:
-      case ROW_TYPE_CURRENT_FOLDER:
-        gtk_file_chooser_unselect_all (GTK_FILE_CHOOSER (priv->dialog));
-        if (data)
-          _gtk_file_chooser_set_current_folder_path (GTK_FILE_CHOOSER (priv->dialog),
-                                                     data, NULL);
-        break;
-      case ROW_TYPE_VOLUME:
+      switch (type)
       {
-        GtkFilePath *base_path;
+        case ROW_TYPE_SPECIAL:
+        case ROW_TYPE_SHORTCUT:
+        case ROW_TYPE_BOOKMARK:
+        case ROW_TYPE_CURRENT_FOLDER:
+          gtk_file_chooser_unselect_all (GTK_FILE_CHOOSER (priv->dialog));
+          if (data)
+            _gtk_file_chooser_set_current_folder_path (GTK_FILE_CHOOSER (priv->dialog),
+                                                       data, NULL);
+          break;
+        case ROW_TYPE_VOLUME:
+        {
+          GtkFilePath *base_path;
 
-        gtk_file_chooser_unselect_all (GTK_FILE_CHOOSER (priv->dialog));
-        base_path = gtk_file_system_volume_get_base_path (priv->fs, data);
-        if (base_path)
+          gtk_file_chooser_unselect_all (GTK_FILE_CHOOSER (priv->dialog));
+          base_path = gtk_file_system_volume_get_base_path (priv->fs, data);
+          if (base_path)
           {
             _gtk_file_chooser_set_current_folder_path (GTK_FILE_CHOOSER (priv->dialog),
                                                        base_path, NULL);
             gtk_file_path_free (base_path);
           }
-      }
-      break;
-      case ROW_TYPE_OTHER:
-        open_dialog (user_data);
+        }
         break;
-      default:
-        break;
+        case ROW_TYPE_OTHER:
+          open_dialog (user_data);
+          break;
+        default:
+          break;
+      }
     }
-  }
 }
 
 /* Button */
@@ -2715,8 +2667,7 @@
   GtkFileChooserEntry *entry = GTK_FILE_CHOOSER_ENTRY (user_data);
   GtkFileChooserEntryPrivate *priv = entry->priv;
 
-  if (response == GTK_RESPONSE_ACCEPT ||
-      response == GTK_RESPONSE_OK)
+  if (response == GTK_RESPONSE_ACCEPT)
   {
     g_signal_emit_by_name (user_data, "current-folder-changed");
     g_signal_emit_by_name (user_data, "selection-changed");
@@ -2763,8 +2714,6 @@
 
   gtk_widget_set_sensitive (priv->combo_box, TRUE);
   gtk_widget_hide (priv->dialog);
-
-  g_signal_emit_by_name (user_data, "file-set");
 }
 
 
@@ -2777,9 +2726,9 @@
  * @title: the title of the browse dialog.
  * @action: the open mode for the widget.
  * 
- * Creates a new file-selecting entry widget.
+ * Creates a new file-selecting button widget.
  * 
- * Returns: a new entry widget.
+ * Returns: a new button widget.
  * 
  * Since: 2.6
  **/
@@ -2802,9 +2751,9 @@
  * @action: the open mode for the widget.
  * @backend: the name of the #GtkFileSystem backend to use.
  * 
- * Creates a new file-selecting entry widget using @backend.
+ * Creates a new file-selecting button widget using @backend.
  * 
- * Returns: a new entry widget.
+ * Returns: a new button widget.
  * 
  * Since: 2.6
  **/
@@ -2826,20 +2775,14 @@
 /**
  * gtk_file_chooser_entry_new_with_dialog:
  * @dialog: the widget to use as dialog
- *
- * Creates a #GtkFileChooserEntry widget which uses @dialog as its
- * file-picking window.
- *
- * Note that @dialog must be a #GtkDialog (or subclass) which
- * implements the #GtkFileChooser interface and must not have
- * %GTK_DIALOG_DESTROY_WITH_PARENT set.
- *
- * Also note that the dialog needs to have its confirmative entry
- * added with response %GTK_RESPONSE_ACCEPT or %GTK_RESPONSE_OK in
- * order for the entry to take over the file selected in the dialog.
- *
- * Returns: a new entry widget.
- *
+ * 
+ * Creates a #GtkFileChooserEntry widget which uses @dialog as it's
+ * file-picking window. Note that @dialog must be a #GtkDialog (or
+ * subclass) which implements the #GtkFileChooser interface and must 
+ * not have %GTK_DIALOG_DESTROY_WITH_PARENT set.
+ * 
+ * Returns: a new button widget.
+ * 
  * Since: 2.6
  **/
 GtkWidget *
@@ -2854,10 +2797,10 @@
 
 /**
  * gtk_file_chooser_entry_set_title:
- * @entry: the entry widget to modify.
+ * @button: the button widget to modify.
  * @title: the new browse dialog title.
  * 
- * Modifies the @title of the browse dialog used by @entry.
+ * Modifies the @title of the browse dialog used by @button.
  * 
  * Since: 2.6
  **/
@@ -2873,9 +2816,9 @@
 
 /**
  * gtk_file_chooser_entry_get_title:
- * @entry: the entry widget to examine.
+ * @button: the button widget to examine.
  * 
- * Retrieves the title of the browse dialog used by @entry. The returned value
+ * Retrieves the title of the browse dialog used by @button. The returned value
  * should not be modified or freed.
  * 
  * Returns: a pointer to the browse dialog's title.
@@ -2892,11 +2835,11 @@
 
 /**
  * gtk_file_chooser_entry_get_width_chars:
- * @entry: the entry widget to examine.
+ * @button: the button widget to examine.
  * 
- * Retrieves the width in characters of the @entry widget's entry and/or label.
+ * Retrieves the width in characters of the @button widget's entry and/or label.
  * 
- * Returns: an integer width (in characters) that the entry will use to size itself.
+ * Returns: an integer width (in characters) that the button will use to size itself.
  * 
  * Since: 2.6
  **/
@@ -2905,15 +2848,15 @@
 {
   g_return_val_if_fail (GTK_IS_FILE_CHOOSER_ENTRY (entry), -1);
 
-  return gtk_label_get_width_chars (GTK_LABEL (entry->priv->label));
+  return gtk_entry_get_width_chars (GTK_ENTRY (entry->priv->entry));
 }
 
 /**
  * gtk_file_chooser_entry_set_width_chars:
- * @entry: the entry widget to examine.
+ * @button: the button widget to examine.
  * @n_chars: the new width, in characters.
  * 
- * Sets the width (in characters) that @entry will use to @n_chars.
+ * Sets the width (in characters) that @button will use to @n_chars.
  * 
  * Since: 2.6
  **/
@@ -2923,16 +2866,16 @@
 {
   g_return_if_fail (GTK_IS_FILE_CHOOSER_ENTRY (entry));
 
-  gtk_label_set_width_chars (GTK_LABEL (entry->priv->label), n_chars);
+  gtk_entry_set_width_chars (GTK_ENTRY (entry->priv->entry), n_chars);
   g_object_notify (G_OBJECT (entry), "width-chars");
 }
 
 /**
  * gtk_file_chooser_entry_set_focus_on_click:
- * @entry: a #GtkFileChooserEntry
- * @focus_on_click: whether the entry grabs focus when clicked with the mouse
+ * @button: a #GtkFileChooserEntry
+ * @focus_on_click: whether the button grabs focus when clicked with the mouse
  * 
- * Sets whether the entry will grab focus when it is clicked with the mouse.
+ * Sets whether the button will grab focus when it is clicked with the mouse.
  * Making mouse clicks not grab focus is useful in places like toolbars where
  * you don't want the keyboard focus removed from the main area of the
  * application.
@@ -2963,12 +2906,12 @@
 
 /**
  * gtk_file_chooser_entry_get_focus_on_click:
- * @entry: a #GtkFileChooserEntry
+ * @button: a #GtkFileChooserEntry
  * 
- * Returns whether the entry grabs focus when it is clicked with the mouse.
+ * Returns whether the button grabs focus when it is clicked with the mouse.
  * See gtk_file_chooser_entry_set_focus_on_click().
  *
- * Return value: %TRUE if the entry grabs focus when it is clicked with
+ * Return value: %TRUE if the button grabs focus when it is clicked with
  *               the mouse.
  *
  * Since: 2.10
@@ -2982,4 +2925,4 @@
 }
 
 #define __GTK_FILE_CHOOSER_ENTRY_C__
-//#include <gtk/gtkaliasdef.c>
+//#include "gtkaliasdef.c"

Modified: thunar-svn-plugin/trunk/tsp-svn-helper/gtkfilechooserentry.h
===================================================================
--- thunar-svn-plugin/trunk/tsp-svn-helper/gtkfilechooserentry.h	2007-12-24 14:35:23 UTC (rev 3750)
+++ thunar-svn-plugin/trunk/tsp-svn-helper/gtkfilechooserentry.h	2007-12-24 22:31:07 UTC (rev 3751)
@@ -9,7 +9,7 @@
  *
  * This library is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.         See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the GNU
  * Library General Public License for more details.
  *
  * You should have received a copy of the GNU Library General Public
@@ -58,8 +58,6 @@
   /*< private >*/
   GtkHBoxClass parent_class;
 
-  void (* file_set) (GtkFileChooserEntry *fc);
-
   void (*__gtk_reserved1);
   void (*__gtk_reserved2);
   void (*__gtk_reserved3);
@@ -67,6 +65,7 @@
   void (*__gtk_reserved5);
   void (*__gtk_reserved6);
   void (*__gtk_reserved7);
+  void (*__gtk_reserved8);
 };
 
 

Added: thunar-svn-plugin/trunk/tsp-svn-helper/gtkfilechooserutils.c
===================================================================
--- thunar-svn-plugin/trunk/tsp-svn-helper/gtkfilechooserutils.c	                        (rev 0)
+++ thunar-svn-plugin/trunk/tsp-svn-helper/gtkfilechooserutils.c	2007-12-24 22:31:07 UTC (rev 3751)
@@ -0,0 +1,265 @@
+/* GTK - The GIMP Toolkit
+ * gtkfilechooserutils.c: Private utility functions useful for
+ *                        implementing a GtkFileChooser interface
+ * Copyright (C) 2003, Red Hat, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+#include <config.h>
+
+#include <gtk/gtk.h>
+#define GTK_FILE_SYSTEM_ENABLE_UNSUPPORTED
+#define GTK_FILE_CHOOSER_ENABLE_UNSUPPORTED
+#include "gtkfilechooserutils.h"
+#undef GTK_FILE_CHOOSER_ENABLE_UNSUPPORTED
+#undef GTK_FILE_SYSTEM_ENABLE_UNSUPPORTED
+
+static gboolean       delegate_set_current_folder     (GtkFileChooser    *chooser,
+						       const GtkFilePath *path,
+						       GError           **error);
+static GtkFilePath *  delegate_get_current_folder     (GtkFileChooser    *chooser);
+static void           delegate_set_current_name       (GtkFileChooser    *chooser,
+						       const gchar       *name);
+static gboolean       delegate_select_path            (GtkFileChooser    *chooser,
+						       const GtkFilePath *path,
+						       GError           **error);
+static void           delegate_unselect_path          (GtkFileChooser    *chooser,
+						       const GtkFilePath *path);
+static void           delegate_select_all             (GtkFileChooser    *chooser);
+static void           delegate_unselect_all           (GtkFileChooser    *chooser);
+static GSList *       delegate_get_paths              (GtkFileChooser    *chooser);
+static GtkFilePath *  delegate_get_preview_path       (GtkFileChooser    *chooser);
+static GtkFileSystem *delegate_get_file_system        (GtkFileChooser    *chooser);
+static void           delegate_add_filter             (GtkFileChooser    *chooser,
+						       GtkFileFilter     *filter);
+static void           delegate_remove_filter          (GtkFileChooser    *chooser,
+						       GtkFileFilter     *filter);
+static GSList *       delegate_list_filters           (GtkFileChooser    *chooser);
+static gboolean       delegate_add_shortcut_folder    (GtkFileChooser    *chooser,
+						       const GtkFilePath *path,
+						       GError           **error);
+static gboolean       delegate_remove_shortcut_folder (GtkFileChooser    *chooser,
+						       const GtkFilePath *path,
+						       GError           **error);
+static GSList *       delegate_list_shortcut_folders  (GtkFileChooser    *chooser);
+
+/**
+ * _gtk_file_chooser_install_properties:
+ * @klass: the class structure for a type deriving from #GObject
+ *
+ * Installs the necessary properties for a class implementing
+ * #GtkFileChooser. A #GtkParamSpecOverride property is installed
+ * for each property, using the values from the #GtkFileChooserProp
+ * enumeration. The caller must make sure itself that the enumeration
+ * values don't collide with some other property values they
+ * are using.
+ **/
+void
+_gtk_file_chooser_install_properties (GObjectClass *klass)
+{
+  g_object_class_override_property (klass,
+				    GTK_FILE_CHOOSER_PROP_ACTION,
+				    "action");
+  g_object_class_override_property (klass,
+				    GTK_FILE_CHOOSER_PROP_EXTRA_WIDGET,
+				    "extra-widget");
+  g_object_class_override_property (klass,
+				    GTK_FILE_CHOOSER_PROP_FILE_SYSTEM_BACKEND,
+				    "file-system-backend");
+  g_object_class_override_property (klass,
+				    GTK_FILE_CHOOSER_PROP_FILTER,
+				    "filter");
+  g_object_class_override_property (klass,
+				    GTK_FILE_CHOOSER_PROP_LOCAL_ONLY,
+				    "local-only");
+  g_object_class_override_property (klass,
+				    GTK_FILE_CHOOSER_PROP_PREVIEW_WIDGET,
+				    "preview-widget");
+  g_object_class_override_property (klass,
+				    GTK_FILE_CHOOSER_PROP_PREVIEW_WIDGET_ACTIVE,
+				    "preview-widget-active");
+  g_object_class_override_property (klass,
+				    GTK_FILE_CHOOSER_PROP_USE_PREVIEW_LABEL,
+				    "use-preview-label");
+  g_object_class_override_property (klass,
+				    GTK_FILE_CHOOSER_PROP_SELECT_MULTIPLE,
+				    "select-multiple");
+  g_object_class_override_property (klass,
+				    GTK_FILE_CHOOSER_PROP_SHOW_HIDDEN,
+				    "show-hidden");
+  g_object_class_override_property (klass,
+				    GTK_FILE_CHOOSER_PROP_DO_OVERWRITE_CONFIRMATION,
+				    "do-overwrite-confirmation");
+}
+
+/**
+ * _gtk_file_chooser_delegate_iface_init:
+ * @iface: a #GtkFileChoserIface structure
+ *
+ * An interface-initialization function for use in cases where
+ * an object is simply delegating the methods, signals of
+ * the #GtkFileChooser interface to another object.
+ * _gtk_file_chooser_set_delegate() must be called on each
+ * instance of the object so that the delegate object can
+ * be found.
+ **/
+void
+_gtk_file_chooser_delegate_iface_init (GtkFileChooserIface *iface)
+{
+  iface->set_current_folder = delegate_set_current_folder;
+  iface->get_current_folder = delegate_get_current_folder;
+  iface->set_current_name = delegate_set_current_name;
+  iface->select_path = delegate_select_path;
+  iface->unselect_path = delegate_unselect_path;
+  iface->select_all = delegate_select_all;
+  iface->unselect_all = delegate_unselect_all;
+  iface->get_paths = delegate_get_paths;
+  iface->get_preview_path = delegate_get_preview_path;
+  iface->get_file_system = delegate_get_file_system;
+  iface->add_filter = delegate_add_filter;
+  iface->remove_filter = delegate_remove_filter;
+  iface->list_filters = delegate_list_filters;
+  iface->add_shortcut_folder = delegate_add_shortcut_folder;
+  iface->remove_shortcut_folder = delegate_remove_shortcut_folder;
+  iface->list_shortcut_folders = delegate_list_shortcut_folders;
+}
+
+GQuark
+_gtk_file_chooser_delegate_get_quark (void)
+{
+  static GQuark quark = 0;
+
+  if (G_UNLIKELY (quark == 0))
+    quark = g_quark_from_static_string ("gtk-file-chooser-delegate");
+  
+  return quark;
+}
+
+static GtkFileChooser *
+get_delegate (GtkFileChooser *receiver)
+{
+  return g_object_get_qdata (G_OBJECT (receiver),
+			     GTK_FILE_CHOOSER_DELEGATE_QUARK);
+}
+
+static gboolean
+delegate_select_path (GtkFileChooser    *chooser,
+		      const GtkFilePath *path,
+		      GError           **error)
+{
+  return _gtk_file_chooser_select_path (get_delegate (chooser), path, error);
+}
+
+static void
+delegate_unselect_path (GtkFileChooser    *chooser,
+			const GtkFilePath *path)
+{
+  _gtk_file_chooser_unselect_path (get_delegate (chooser), path);
+}
+
+static void
+delegate_select_all (GtkFileChooser *chooser)
+{
+  gtk_file_chooser_select_all (get_delegate (chooser));
+}
+
+static void
+delegate_unselect_all (GtkFileChooser *chooser)
+{
+  gtk_file_chooser_unselect_all (get_delegate (chooser));
+}
+
+static GSList *
+delegate_get_paths (GtkFileChooser *chooser)
+{
+  return _gtk_file_chooser_get_paths (get_delegate (chooser));
+}
+
+static GtkFilePath *
+delegate_get_preview_path (GtkFileChooser *chooser)
+{
+  return _gtk_file_chooser_get_preview_path (get_delegate (chooser));
+}
+
+static GtkFileSystem *
+delegate_get_file_system (GtkFileChooser *chooser)
+{
+  return _gtk_file_chooser_get_file_system (get_delegate (chooser));
+}
+
+static void
+delegate_add_filter (GtkFileChooser *chooser,
+		     GtkFileFilter  *filter)
+{
+  gtk_file_chooser_add_filter (get_delegate (chooser), filter);
+}
+
+static void
+delegate_remove_filter (GtkFileChooser *chooser,
+			GtkFileFilter  *filter)
+{
+  gtk_file_chooser_remove_filter (get_delegate (chooser), filter);
+}
+
+static GSList *
+delegate_list_filters (GtkFileChooser *chooser)
+{
+  return gtk_file_chooser_list_filters (get_delegate (chooser));
+}
+
+static gboolean
+delegate_add_shortcut_folder (GtkFileChooser    *chooser,
+			      const GtkFilePath *path,
+			      GError           **error)
+{
+  return _gtk_file_chooser_add_shortcut_folder (get_delegate (chooser), path, error);
+}
+
+static gboolean
+delegate_remove_shortcut_folder (GtkFileChooser    *chooser,
+				 const GtkFilePath *path,
+				 GError           **error)
+{
+  return _gtk_file_chooser_remove_shortcut_folder (get_delegate (chooser), path, error);
+}
+
+static GSList *
+delegate_list_shortcut_folders (GtkFileChooser *chooser)
+{
+  return gtk_file_chooser_list_shortcut_folders (get_delegate (chooser));
+}
+
+static gboolean
+delegate_set_current_folder (GtkFileChooser    *chooser,
+			     const GtkFilePath *path,
+			     GError           **error)
+{
+  return _gtk_file_chooser_set_current_folder_path (get_delegate (chooser), path, error);
+}
+
+static GtkFilePath *
+delegate_get_current_folder (GtkFileChooser *chooser)
+{
+  return _gtk_file_chooser_get_current_folder_path (get_delegate (chooser));
+}
+
+static void
+delegate_set_current_name (GtkFileChooser *chooser,
+			   const gchar    *name)
+{
+  gtk_file_chooser_set_current_name (get_delegate (chooser), name);
+}

Added: thunar-svn-plugin/trunk/tsp-svn-helper/gtkfilechooserutils.h
===================================================================
--- thunar-svn-plugin/trunk/tsp-svn-helper/gtkfilechooserutils.h	                        (rev 0)
+++ thunar-svn-plugin/trunk/tsp-svn-helper/gtkfilechooserutils.h	2007-12-24 22:31:07 UTC (rev 3751)
@@ -0,0 +1,57 @@
+/* GTK - The GIMP Toolkit
+ * gtkfilechooserutils.h: Private utility functions useful for
+ *                        implementing a GtkFileChooser interface
+ * Copyright (C) 2003, Red Hat, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __GTK_FILE_CHOOSER_UTILS_H__
+#define __GTK_FILE_CHOOSER_UTILS_H__
+
+#include <gtk/gtkfilechooserprivate.h>
+
+G_BEGIN_DECLS
+
+#define GTK_FILE_CHOOSER_DELEGATE_QUARK	  (_gtk_file_chooser_delegate_get_quark ())
+
+typedef enum {
+  GTK_FILE_CHOOSER_PROP_FIRST                  = 0x1000,
+  GTK_FILE_CHOOSER_PROP_ACTION                 = GTK_FILE_CHOOSER_PROP_FIRST,
+  GTK_FILE_CHOOSER_PROP_FILE_SYSTEM_BACKEND,
+  GTK_FILE_CHOOSER_PROP_FILTER,
+  GTK_FILE_CHOOSER_PROP_LOCAL_ONLY,
+  GTK_FILE_CHOOSER_PROP_PREVIEW_WIDGET, 
+  GTK_FILE_CHOOSER_PROP_PREVIEW_WIDGET_ACTIVE,
+  GTK_FILE_CHOOSER_PROP_USE_PREVIEW_LABEL,
+  GTK_FILE_CHOOSER_PROP_EXTRA_WIDGET,
+  GTK_FILE_CHOOSER_PROP_SELECT_MULTIPLE,
+  GTK_FILE_CHOOSER_PROP_SHOW_HIDDEN,
+  GTK_FILE_CHOOSER_PROP_DO_OVERWRITE_CONFIRMATION,
+  GTK_FILE_CHOOSER_PROP_LAST                   = GTK_FILE_CHOOSER_PROP_DO_OVERWRITE_CONFIRMATION
+} GtkFileChooserProp;
+
+void _gtk_file_chooser_install_properties (GObjectClass *klass);
+
+void _gtk_file_chooser_delegate_iface_init (GtkFileChooserIface *iface);
+void _gtk_file_chooser_set_delegate        (GtkFileChooser *receiver,
+					    GtkFileChooser *delegate);
+
+GQuark _gtk_file_chooser_delegate_get_quark (void) G_GNUC_CONST;
+
+G_END_DECLS
+
+#endif /* __GTK_FILE_CHOOSER_UTILS_H__ */

Added: thunar-svn-plugin/trunk/tsp-svn-helper/gtkintl.h
===================================================================
--- thunar-svn-plugin/trunk/tsp-svn-helper/gtkintl.h	                        (rev 0)
+++ thunar-svn-plugin/trunk/tsp-svn-helper/gtkintl.h	2007-12-24 22:31:07 UTC (rev 3751)
@@ -0,0 +1,9 @@
+#ifndef __GTKINTL_H__
+#define __GTKINTL_H__
+
+#include <glib/gi18n-lib.h>
+
+/* not really I18N-related, but also a string marker macro */
+#define I_(string) g_intern_static_string (string)
+
+#endif

Added: thunar-svn-plugin/trunk/tsp-svn-helper/gtkprivate.h
===================================================================
--- thunar-svn-plugin/trunk/tsp-svn-helper/gtkprivate.h	                        (rev 0)
+++ thunar-svn-plugin/trunk/tsp-svn-helper/gtkprivate.h	2007-12-24 22:31:07 UTC (rev 3751)
@@ -0,0 +1,39 @@
+/* GTK - The GIMP Toolkit
+ * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+/*
+ * Modified by the GTK+ Team and others 1997-2000.  See the AUTHORS
+ * file for a list of people on the GTK+ Team.  See the ChangeLog
+ * files for a list of changes.  These files are distributed with
+ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. 
+ */
+
+#ifndef __GTK_PRIVATE_H__
+#define __GTK_PRIVATE_H__
+
+
+G_BEGIN_DECLS
+
+#define GTK_PARAM_READABLE G_PARAM_READABLE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB
+#define GTK_PARAM_WRITABLE G_PARAM_WRITABLE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB
+#define GTK_PARAM_READWRITE G_PARAM_READWRITE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB
+
+G_END_DECLS
+
+#endif /* __GTK_PRIVATE_H__ */

Modified: thunar-svn-plugin/trunk/tsp-svn-helper/tsh-checkout-dialog.c
===================================================================
--- thunar-svn-plugin/trunk/tsp-svn-helper/tsh-checkout-dialog.c	2007-12-24 14:35:23 UTC (rev 3750)
+++ thunar-svn-plugin/trunk/tsp-svn-helper/tsh-checkout-dialog.c	2007-12-24 22:31:07 UTC (rev 3751)
@@ -26,6 +26,7 @@
 
 //#include "tsh-file-chooser-entry.h"
 #include "gtkfilechooserentry.h"
+//#include <gtk/gtkfilechooserentry.h>
 
 #include "tsh-checkout-dialog.h"
 
@@ -68,6 +69,7 @@
 	                  0, 0);
 
 	dialog->repository = gtk_file_chooser_entry_new(_("Select a folder"), GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER);//tsh_file_chooser_entry_new ();
+	//dialog->repository = _gtk_file_chooser_entry_new(FALSE);
 	gtk_table_attach (GTK_TABLE (table), dialog->repository,
 	                  1, 2, 0, 1,
 	                  GTK_EXPAND | GTK_FILL,
@@ -87,6 +89,7 @@
 	                  0, 0);
 
 	dialog->path = gtk_file_chooser_button_new (_("Select a folder"), GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER);
+	//dialog->path = gtk_file_chooser_entry_new(_("Select a folder"), GTK_FILE_CHOOSER_ACTION_OPEN);//GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER);//tsh_file_chooser_entry_new ();
 	gtk_table_attach (GTK_TABLE (table), dialog->path,
 	                  1, 2, 1, 2,
 	                  GTK_EXPAND | GTK_FILL,




More information about the Goodies-commits mailing list