From ceb9fdc22fa60ef36386dc98d0b858d8e7a65d64 Mon Sep 17 00:00:00 2001 From: Leandro Regueiro Date: Mon, 23 May 2011 12:54:26 +0200 Subject: [PATCH 1/2] l10n: Updated Galician (gl) translation to 100% New status: 679 messages complete with 0 fuzzies and 0 untranslated. Transmitted-via: Transifex (translations.xfce.org). --- po/gl.po | 286 +++++++++++++++++++++++++++++++------------------------------ 1 files changed, 145 insertions(+), 141 deletions(-) diff --git a/po/gl.po b/po/gl.po index 4d46aa0..f679418 100644 --- a/po/gl.po +++ b/po/gl.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Thunar 0.9.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-01-18 12:15+0000\n" +"POT-Creation-Date: 2011-05-23 10:15+0000\n" "PO-Revision-Date: 2010-10-19 18:14+0100\n" "Last-Translator: Leandro Regueiro \n" "Language-Team: Galician \n" @@ -133,12 +133,12 @@ msgid "Sort items in descending order" msgstr "Ordenar os elementos por orde descendente" #. display an error message to the user -#: ../thunar/thunar-application.c:379 +#: ../thunar/thunar-application.c:387 msgid "Failed to launch operation" msgstr "Non se puido iniciar a operación" #. tell the user that we were unable to launch the file specified -#: ../thunar/thunar-application.c:1040 ../thunar/thunar-application.c:1166 +#: ../thunar/thunar-application.c:1048 ../thunar/thunar-application.c:1174 #: ../thunar/thunar-launcher.c:1065 ../thunar/thunar-location-entry.c:394 #: ../thunar/thunar-location-entry.c:422 #: ../thunar/thunar-shortcuts-view.c:1277 ../thunar/thunar-window.c:1507 @@ -146,65 +146,65 @@ msgstr "Non se puido iniciar a operación" msgid "Failed to open \"%s\"" msgstr "Non se puido abrir «%s»" -#: ../thunar/thunar-application.c:1170 +#: ../thunar/thunar-application.c:1178 #, c-format msgid "Failed to open \"%s\": %s" msgstr "Non se puido abrir «%s»: %s" #. display an error message -#: ../thunar/thunar-application.c:1234 -#: ../thunar/thunar-properties-dialog.c:624 -#: ../thunar/thunar-standard-view.c:2203 ../thunar/thunar-tree-view.c:1672 +#: ../thunar/thunar-application.c:1242 +#: ../thunar/thunar-properties-dialog.c:643 +#: ../thunar/thunar-standard-view.c:2259 ../thunar/thunar-tree-view.c:1672 #, c-format msgid "Failed to rename \"%s\"" msgstr "Non se puido renomear «%s»" -#: ../thunar/thunar-application.c:1320 +#: ../thunar/thunar-application.c:1344 #: ../thunar/thunar-location-buttons.c:1285 -#: ../thunar/thunar-standard-view.c:1824 ../thunar/thunar-tree-view.c:1569 +#: ../thunar/thunar-standard-view.c:1880 ../thunar/thunar-tree-view.c:1569 msgid "New Folder" msgstr "Novo cartafol" -#: ../thunar/thunar-application.c:1321 +#: ../thunar/thunar-application.c:1345 #: ../thunar/thunar-location-buttons.c:1286 -#: ../thunar/thunar-standard-view.c:1825 ../thunar/thunar-tree-view.c:1570 +#: ../thunar/thunar-standard-view.c:1881 ../thunar/thunar-tree-view.c:1570 msgid "Create New Folder" msgstr "Crear novo cartafol" -#: ../thunar/thunar-application.c:1325 +#: ../thunar/thunar-application.c:1349 msgid "New File" msgstr "Novo ficheiro" -#: ../thunar/thunar-application.c:1326 +#: ../thunar/thunar-application.c:1350 msgid "Create New File" msgstr "Crear un novo ficheiro" #. generate a title for the create dialog -#: ../thunar/thunar-application.c:1384 ../thunar/thunar-standard-view.c:1870 +#: ../thunar/thunar-application.c:1408 ../thunar/thunar-standard-view.c:1926 #, c-format msgid "Create Document from template \"%s\"" msgstr "Crear un documento a partir do modelo «%s»" -#: ../thunar/thunar-application.c:1451 +#: ../thunar/thunar-application.c:1475 msgid "Copying files..." msgstr "Copiando ficheiros..." -#: ../thunar/thunar-application.c:1487 +#: ../thunar/thunar-application.c:1511 #, c-format msgid "Copying files to \"%s\"..." msgstr "Copiando os ficheiros a \"%s\"..." -#: ../thunar/thunar-application.c:1533 +#: ../thunar/thunar-application.c:1557 #, c-format msgid "Creating symbolic links in \"%s\"..." msgstr "Creando ligazóns simbólicas en \"%s\"..." -#: ../thunar/thunar-application.c:1586 +#: ../thunar/thunar-application.c:1610 #, c-format msgid "Moving files into \"%s\"..." msgstr "Movendo os ficheiros a \"%s\"..." -#: ../thunar/thunar-application.c:1677 +#: ../thunar/thunar-application.c:1701 #, c-format msgid "" "Are you sure that you want to\n" @@ -213,7 +213,7 @@ msgstr "" "Ten a certeza de querer eliminar\n" "permanentemente «%s»?" -#: ../thunar/thunar-application.c:1682 +#: ../thunar/thunar-application.c:1706 #, c-format msgid "" "Are you sure that you want to permanently\n" @@ -228,58 +228,58 @@ msgstr[1] "" "Ten a certeza de querer eliminar permanentemente\r\n" "os %u ficheiros seleccionados?" -#: ../thunar/thunar-application.c:1702 +#: ../thunar/thunar-application.c:1726 msgid "If you delete a file, it is permanently lost." msgstr "Se elimina un ficheiro, será de forma permanente." -#: ../thunar/thunar-application.c:1712 +#: ../thunar/thunar-application.c:1736 msgid "Deleting files..." msgstr "Eliminando ficheiros..." -#: ../thunar/thunar-application.c:1747 +#: ../thunar/thunar-application.c:1771 msgid "Moving files into the trash..." msgstr "Movendo os ficheiros ao lixo..." -#: ../thunar/thunar-application.c:1786 +#: ../thunar/thunar-application.c:1810 msgid "Creating files..." msgstr "Creando ficheiros..." -#: ../thunar/thunar-application.c:1825 +#: ../thunar/thunar-application.c:1849 msgid "Creating directories..." msgstr "Creando directorios..." -#: ../thunar/thunar-application.c:1864 +#: ../thunar/thunar-application.c:1888 msgid "Remove all files and folders from the Trash?" msgstr "Desexa eliminar todos os ficheiros e cartafoles do Colector de lixo?" #. append the "Empty Trash" menu action #. prepare the menu item -#: ../thunar/thunar-application.c:1870 ../thunar/thunar-location-buttons.c:171 +#: ../thunar/thunar-application.c:1894 ../thunar/thunar-location-buttons.c:171 #: ../thunar/thunar-shortcuts-view.c:875 ../thunar/thunar-tree-view.c:1145 #: ../thunar/thunar-window.c:296 ../plugins/thunar-tpa/thunar-tpa.c:177 msgid "_Empty Trash" msgstr "_Baleirar o lixo" -#: ../thunar/thunar-application.c:1874 +#: ../thunar/thunar-application.c:1898 msgid "If you choose to empty the Trash, all items in it will be permanently lost. Please note that you can also delete them separately." msgstr "Se escolle baleirar o Lixo perderanse permanentemente todos os seus elementos. Teña en conta que tamén pode eliminalos un por un." -#: ../thunar/thunar-application.c:1891 +#: ../thunar/thunar-application.c:1915 msgid "Emptying the Trash..." msgstr "Baleirando o Colector de lixo..." -#: ../thunar/thunar-application.c:1937 +#: ../thunar/thunar-application.c:1961 #, c-format msgid "Failed to determine the original path for \"%s\"" msgstr "Non se puido determinar a ruta orixinal de \"%s\"" #. display an error dialog -#: ../thunar/thunar-application.c:1954 +#: ../thunar/thunar-application.c:1978 #, c-format msgid "Could not restore \"%s\"" msgstr "Non se puido restaurar \"%s\"" -#: ../thunar/thunar-application.c:1962 +#: ../thunar/thunar-application.c:1986 msgid "Restoring files..." msgstr "Restaurando os ficheiros..." @@ -288,16 +288,16 @@ msgstr "Restaurando os ficheiros..." msgid "Failed to set default application for \"%s\"" msgstr "Non se puido establecer o aplicativo predeterminado para «%s»" -#: ../thunar/thunar-chooser-button.c:439 +#: ../thunar/thunar-chooser-button.c:440 #, c-format msgid "The selected application is used to open this and other files of type \"%s\"." msgstr "O aplicativo seleccionado úsase para abrir este tipo de ficheiros e outros do tipo «%s»." -#: ../thunar/thunar-chooser-button.c:489 +#: ../thunar/thunar-chooser-button.c:492 msgid "No application selected" msgstr "Non se seleccionou ningún aplicativo" -#: ../thunar/thunar-chooser-button.c:502 +#: ../thunar/thunar-chooser-button.c:505 msgid "Other Application..." msgstr "Outro aplicativo..." @@ -426,7 +426,7 @@ msgid "Other Applications" msgstr "Outros aplicativos" #. tell the user that we cannot paste -#: ../thunar/thunar-clipboard-manager.c:328 +#: ../thunar/thunar-clipboard-manager.c:352 msgid "There is nothing on the clipboard to paste" msgstr "Non hai nada no portarretallos que se poida pegar" @@ -500,7 +500,7 @@ msgstr "_Expandir automaticamente as columnas cando sexa necesario" #. tell the user that we're unable to determine the file info #: ../thunar/thunar-column-model.c:858 ../thunar/thunar-list-model.c:682 #: ../thunar/thunar-list-model.c:710 -#: ../thunar/thunar-permissions-chooser.c:240 ../thunar/thunar-util.c:269 +#: ../thunar/thunar-permissions-chooser.c:240 ../thunar/thunar-util.c:271 #: ../plugins/thunar-apr/thunar-apr-desktop-page.c:458 #: ../plugins/thunar-apr/thunar-apr-image-page.c:285 #: ../plugins/thunar-apr/thunar-apr-image-page.c:286 @@ -678,12 +678,12 @@ msgstr "Desexa substituír o ficheiro existente" #. Fourth box (size, volume, free space) #. #: ../thunar/thunar-dialogs.c:651 ../thunar/thunar-dialogs.c:682 -#: ../thunar/thunar-properties-dialog.c:408 +#: ../thunar/thunar-properties-dialog.c:417 msgid "Size:" msgstr "Tamaño:" #: ../thunar/thunar-dialogs.c:651 ../thunar/thunar-dialogs.c:682 -#: ../thunar/thunar-properties-dialog.c:369 +#: ../thunar/thunar-properties-dialog.c:378 msgid "Modified:" msgstr "Modificado:" @@ -699,21 +699,21 @@ msgstr "co seguinte cartafol?" msgid "ReplaceDialogPart2|with the following file?" msgstr "co seguinte ficheiro?" -#: ../thunar/thunar-dnd.c:71 +#: ../thunar/thunar-dnd.c:72 msgid "_Copy here" msgstr "_Copiar aquí" -#: ../thunar/thunar-dnd.c:71 +#: ../thunar/thunar-dnd.c:72 msgid "_Move here" msgstr "_Mover aquí" -#: ../thunar/thunar-dnd.c:71 +#: ../thunar/thunar-dnd.c:72 msgid "_Link here" msgstr "_Ligar aquí" #. display an error to the user #. display an error message to the user -#: ../thunar/thunar-dnd.c:254 ../thunar/thunar-launcher.c:540 +#: ../thunar/thunar-dnd.c:255 ../thunar/thunar-launcher.c:540 #, c-format msgid "Failed to execute file \"%s\"" msgstr "Non se puido executar o ficheiro «%s»" @@ -759,7 +759,7 @@ msgstr "Dono" #. Permissions chooser #. -#: ../thunar/thunar-enum-types.c:121 ../thunar/thunar-properties-dialog.c:481 +#: ../thunar/thunar-enum-types.c:121 ../thunar/thunar-properties-dialog.c:490 msgid "Permissions" msgstr "Permisos" @@ -779,32 +779,32 @@ msgstr "Ficheiro" msgid "File Name" msgstr "Nome de ficheiro" -#: ../thunar/thunar-file.c:864 ../thunar/thunar-shortcuts-view.c:279 +#: ../thunar/thunar-file.c:867 ../thunar/thunar-shortcuts-view.c:279 #: ../thunar/thunar-window.c:312 msgid "File System" msgstr "Sistema de ficheiros" -#: ../thunar/thunar-file.c:943 +#: ../thunar/thunar-file.c:946 #, c-format msgid "The root folder has no parent" msgstr "O cartafol raíz non ten cartafol superior" -#: ../thunar/thunar-file.c:1006 +#: ../thunar/thunar-file.c:1009 ../thunar/thunar-file.c:1280 #, c-format msgid "Failed to parse the desktop file: %s" msgstr "Produciuse un erro ao analizar o ficheiro desktop: %s" -#: ../thunar/thunar-file.c:1044 +#: ../thunar/thunar-file.c:1047 #, c-format msgid "No Exec field specified" msgstr "Campo Exec non especificado" -#: ../thunar/thunar-file.c:1065 +#: ../thunar/thunar-file.c:1068 #, c-format msgid "No URL field specified" msgstr "Campo URL non especificado" -#: ../thunar/thunar-file.c:1071 +#: ../thunar/thunar-file.c:1074 #, c-format msgid "Invalid desktop file" msgstr "O ficheiro desktop non é válido" @@ -835,48 +835,48 @@ msgstr "Listado de directorios con iconas" msgid "Icon view" msgstr "Vista de iconas" -#: ../thunar/thunar-io-jobs.c:162 ../thunar/thunar-io-jobs.c:299 +#: ../thunar/thunar-io-jobs.c:165 ../thunar/thunar-io-jobs.c:302 #, c-format msgid "The file \"%s\" already exists" msgstr "O ficheiro «%s» xa existe" -#: ../thunar/thunar-io-jobs.c:185 +#: ../thunar/thunar-io-jobs.c:188 #, c-format msgid "Failed to create empty file \"%s\": %s" msgstr "Produciuse un erro ao crear o ficheiro baleiro \"%s\": %s" -#: ../thunar/thunar-io-jobs.c:322 +#: ../thunar/thunar-io-jobs.c:325 #, c-format msgid "Failed to create directory \"%s\": %s" msgstr "Produciuse un erro ao crear o directorio \"%s\": %s" #. tell the user that we're preparing to unlink the files -#: ../thunar/thunar-io-jobs.c:386 +#: ../thunar/thunar-io-jobs.c:391 msgid "Preparing..." msgstr "Preparando..." -#: ../thunar/thunar-io-jobs.c:448 +#: ../thunar/thunar-io-jobs.c:464 #, c-format msgid "Could not delete file \"%s\": %s" msgstr "Non se puido eliminar o ficheiro \"%s\": %s" -#: ../thunar/thunar-io-jobs.c:546 +#: ../thunar/thunar-io-jobs.c:565 #, c-format msgid "Could not create symbolic link to \"%s\" because it is not a local file" msgstr "Non se puido crear unha ligazón simbólica a \"%s\" porque non é un ficheiro local" #. generate a useful error message -#: ../thunar/thunar-io-jobs.c:874 +#: ../thunar/thunar-io-jobs.c:924 #, c-format msgid "Failed to change the owner of \"%s\": %s" msgstr "Produciuse un erro ao cambiar o dono de \"%s\": %s" -#: ../thunar/thunar-io-jobs.c:875 +#: ../thunar/thunar-io-jobs.c:925 #, c-format msgid "Failed to change the group of \"%s\": %s" msgstr "Produciuse un erro ao cambiar o grupo de \"%s\": %s" -#: ../thunar/thunar-io-jobs.c:1031 +#: ../thunar/thunar-io-jobs.c:1081 #, c-format msgid "Failed to change the permissions of \"%s\": %s" msgstr "Produciuse un erro ao cambiar os permisos de \"%s\": %s" @@ -889,7 +889,7 @@ msgstr "copia de %s" #: ../thunar/thunar-io-jobs-util.c:37 ../thunar/thunar-list-model.c:727 #: ../thunar/thunar-list-model.c:1626 ../thunar/thunar-list-model.c:1637 -#: ../thunar/thunar-properties-dialog.c:873 +#: ../thunar/thunar-properties-dialog.c:908 #, c-format msgid "link to %s" msgstr "ligazón a %s" @@ -1099,7 +1099,7 @@ msgstr[0] "Enviar o ficheiro seleccionado a \"%s\"" msgstr[1] "Enviar os ficheiros seleccionados a \"%s\"" #. generate a text which includes the size of all items in the folder -#: ../thunar/thunar-list-model.c:2299 +#: ../thunar/thunar-list-model.c:2308 #, c-format msgid "%d item (%s), Free space: %s" msgid_plural "%d items (%s), Free space: %s" @@ -1107,41 +1107,41 @@ msgstr[0] "%d elemento (%s), espazo libre: %s" msgstr[1] "%d elementos (%s), espazo libre: %s" #. just the standard text -#: ../thunar/thunar-list-model.c:2308 +#: ../thunar/thunar-list-model.c:2317 #, c-format msgid "%d item, Free space: %s" msgid_plural "%d items, Free space: %s" msgstr[0] "%d elemento, espazo libre: %s" msgstr[1] "%d elementos, espazo libre: %s" -#: ../thunar/thunar-list-model.c:2316 +#: ../thunar/thunar-list-model.c:2325 #, c-format msgid "%d item" msgid_plural "%d items" msgstr[0] "%d elemento" msgstr[1] "%d elementos" -#: ../thunar/thunar-list-model.c:2335 +#: ../thunar/thunar-list-model.c:2344 #, c-format msgid "\"%s\" broken link" msgstr "«%s» ligazón rota" -#: ../thunar/thunar-list-model.c:2339 +#: ../thunar/thunar-list-model.c:2348 #, c-format msgid "\"%s\" (%s) link to %s" msgstr "«%s» (%s) ligazón a %s" -#: ../thunar/thunar-list-model.c:2344 +#: ../thunar/thunar-list-model.c:2353 #, c-format msgid "\"%s\" shortcut" msgstr "Atallo a \"%s\"" -#: ../thunar/thunar-list-model.c:2348 +#: ../thunar/thunar-list-model.c:2357 #, c-format msgid "\"%s\" mountable" msgstr "\"%s\" montable" -#: ../thunar/thunar-list-model.c:2355 +#: ../thunar/thunar-list-model.c:2364 #, c-format msgid "\"%s\" (%s) %s" msgstr "«%s» (%s) %s" @@ -1152,24 +1152,24 @@ msgstr "«%s» (%s) %s" #. trash), otherwise the #. * properties dialog width will be messed up. #. -#: ../thunar/thunar-list-model.c:2367 ../thunar/thunar-properties-dialog.c:330 +#: ../thunar/thunar-list-model.c:2376 ../thunar/thunar-properties-dialog.c:339 msgid "Original Path:" msgstr "Ruta orixinal:" #. append the image dimensions to the statusbar text -#: ../thunar/thunar-list-model.c:2380 +#: ../thunar/thunar-list-model.c:2389 #: ../plugins/thunar-apr/thunar-apr-image-page.c:149 msgid "Image Size:" msgstr "Tamaño de imaxe:" -#: ../thunar/thunar-list-model.c:2399 +#: ../thunar/thunar-list-model.c:2408 #, c-format msgid "%d item selected (%s)" msgid_plural "%d items selected (%s)" msgstr[0] "%d elemento seleccionado (%s)" msgstr[1] "%d elementos seleccionados (%s)" -#: ../thunar/thunar-list-model.c:2404 +#: ../thunar/thunar-list-model.c:2413 #, c-format msgid "%d item selected" msgid_plural "%d items selected" @@ -1178,7 +1178,7 @@ msgstr[1] "%d elementos seleccionados" #. append the "Create Folder" menu action #: ../thunar/thunar-location-buttons.c:170 -#: ../thunar/thunar-standard-view.c:340 ../thunar/thunar-tree-view.c:1161 +#: ../thunar/thunar-standard-view.c:356 ../thunar/thunar-tree-view.c:1161 msgid "Create _Folder..." msgstr "Crear carta_fol..." @@ -1187,12 +1187,12 @@ msgid "Delete all files and folders in the Trash" msgstr "Eliminar todos os ficheiros e cartafoles do Colector de lixo" #: ../thunar/thunar-location-buttons.c:172 -#: ../thunar/thunar-standard-view.c:346 +#: ../thunar/thunar-standard-view.c:362 msgid "Paste Into Folder" msgstr "Pegar no cartafol" #: ../thunar/thunar-location-buttons.c:173 -#: ../thunar/thunar-renamer-dialog.c:184 ../thunar/thunar-standard-view.c:341 +#: ../thunar/thunar-renamer-dialog.c:184 ../thunar/thunar-standard-view.c:357 msgid "_Properties..." msgstr "_Propiedades..." @@ -1229,11 +1229,11 @@ msgstr "Move ou copia ficheiros seleccionados previamente mediante as ordes Copi msgid "View the properties of the folder \"%s\"" msgstr "Ver as propiedades do cartafol «%s»" -#: ../thunar/thunar-location-dialog.c:67 +#: ../thunar/thunar-location-dialog.c:66 msgid "Open Location" msgstr "Abrir localización" -#: ../thunar/thunar-location-dialog.c:81 +#: ../thunar/thunar-location-dialog.c:80 msgid "_Location:" msgstr "_Localización:" @@ -1684,76 +1684,80 @@ msgid_plural "%lu seconds remaining" msgstr[0] "resta %lu segundo" msgstr[1] "restan %lu segundos" -#: ../thunar/thunar-properties-dialog.c:227 +#: ../thunar/thunar-properties-dialog.c:236 msgid "General" msgstr "Xeral" -#: ../thunar/thunar-properties-dialog.c:251 +#: ../thunar/thunar-properties-dialog.c:260 msgid "Name:" msgstr "Nome:" #. Second box (kind, open with, link target) #. -#: ../thunar/thunar-properties-dialog.c:276 +#: ../thunar/thunar-properties-dialog.c:285 msgid "Kind:" msgstr "Tipo:" -#: ../thunar/thunar-properties-dialog.c:298 +#: ../thunar/thunar-properties-dialog.c:307 msgid "Open With:" msgstr "Abrir con:" -#: ../thunar/thunar-properties-dialog.c:312 +#: ../thunar/thunar-properties-dialog.c:321 msgid "Link Target:" msgstr "Destino da ligazón:" #. Third box (deleted, modified, accessed) #. -#: ../thunar/thunar-properties-dialog.c:355 +#: ../thunar/thunar-properties-dialog.c:364 msgid "Deleted:" msgstr "Eliminado:" -#: ../thunar/thunar-properties-dialog.c:383 +#: ../thunar/thunar-properties-dialog.c:392 msgid "Accessed:" msgstr "Accedido:" -#: ../thunar/thunar-properties-dialog.c:421 +#: ../thunar/thunar-properties-dialog.c:430 msgid "Volume:" msgstr "Volume:" -#: ../thunar/thunar-properties-dialog.c:445 +#: ../thunar/thunar-properties-dialog.c:454 msgid "Free Space:" msgstr "Espazo libre:" #. Emblem chooser #. -#: ../thunar/thunar-properties-dialog.c:470 +#: ../thunar/thunar-properties-dialog.c:479 msgid "Emblems" msgstr "Emblemas" #. allocate the icon chooser #. allocate the chooser dialog -#: ../thunar/thunar-properties-dialog.c:708 +#: ../thunar/thunar-properties-dialog.c:727 #: ../plugins/thunar-uca/thunar-uca-editor.c:608 #, c-format msgid "Select an Icon for \"%s\"" msgstr "Seleccione unha icona para \"%s\"" #. tell the user that we failed to change the icon of the .desktop file -#: ../thunar/thunar-properties-dialog.c:734 +#: ../thunar/thunar-properties-dialog.c:753 #, c-format msgid "Failed to change icon of \"%s\"" msgstr "Fallo ao cambiar a icona de \"%s\"" #. update the properties dialog title -#: ../thunar/thunar-properties-dialog.c:823 +#: ../thunar/thunar-properties-dialog.c:856 #, c-format msgid "%s - Properties" msgstr "%s - Propiedades" -#: ../thunar/thunar-properties-dialog.c:871 +#: ../thunar/thunar-properties-dialog.c:906 msgid "broken link" msgstr "ligazón rota" +#: ../thunar/thunar-properties-dialog.c:917 +msgid "unknown" +msgstr "descoñecido" + #: ../thunar/thunar-renamer-dialog.c:177 ../thunar/thunar-window.c:293 msgid "_File" msgstr "_Ficheiro" @@ -1762,7 +1766,7 @@ msgstr "_Ficheiro" msgid "_Send To" msgstr "Enviar _a" -#: ../thunar/thunar-renamer-dialog.c:179 ../thunar/thunar-standard-view.c:338 +#: ../thunar/thunar-renamer-dialog.c:179 ../thunar/thunar-standard-view.c:354 msgid "File Context Menu" msgstr "Menú contextual de ficheiro" @@ -1790,7 +1794,7 @@ msgstr "_Acerca de" msgid "Display information about Thunar Bulk Rename" msgstr "Mostra información sobre o renomeador masivo de Thunar" -#: ../thunar/thunar-renamer-dialog.c:184 ../thunar/thunar-standard-view.c:341 +#: ../thunar/thunar-renamer-dialog.c:184 ../thunar/thunar-standard-view.c:357 msgid "View the properties of the selected file" msgstr "Ver as propiedades do ficheiro seleccionado" @@ -1979,159 +1983,159 @@ msgid_plural "%u items, totalling %s" msgstr[0] "%u elemento, sumando %s" msgstr[1] "%u elementos, sumando %s" -#: ../thunar/thunar-standard-view.c:339 +#: ../thunar/thunar-standard-view.c:355 msgid "Folder Context Menu" msgstr "Menú contextual de cartafol" -#: ../thunar/thunar-standard-view.c:340 +#: ../thunar/thunar-standard-view.c:356 msgid "Create an empty folder within the current folder" msgstr "Crear un cartafol baleiro dentro do cartafol actual" #. append the "Cut" menu action -#: ../thunar/thunar-standard-view.c:342 ../thunar/thunar-tree-view.c:1182 +#: ../thunar/thunar-standard-view.c:358 ../thunar/thunar-tree-view.c:1182 msgid "Cu_t" msgstr "Cor_tar" #. append the "Copy" menu action -#: ../thunar/thunar-standard-view.c:343 ../thunar/thunar-tree-view.c:1194 +#: ../thunar/thunar-standard-view.c:359 ../thunar/thunar-tree-view.c:1194 msgid "_Copy" msgstr "_Copiar" -#: ../thunar/thunar-standard-view.c:344 +#: ../thunar/thunar-standard-view.c:360 msgid "_Paste" msgstr "_Pegar" -#: ../thunar/thunar-standard-view.c:344 +#: ../thunar/thunar-standard-view.c:360 msgid "Move or copy files previously selected by a Cut or Copy command" msgstr "Move ou copia ficheiros previamente seleccionados por unha orde «Cortar» ou «Copiar»" #. append the "Delete" menu action -#: ../thunar/thunar-standard-view.c:345 ../thunar/thunar-tree-view.c:1229 +#: ../thunar/thunar-standard-view.c:361 ../thunar/thunar-tree-view.c:1229 msgid "_Delete" msgstr "_Eliminar" -#: ../thunar/thunar-standard-view.c:346 +#: ../thunar/thunar-standard-view.c:362 msgid "Move or copy files previously selected by a Cut or Copy command into the selected folder" msgstr "Move ou copia ficheiros previamente seleccionados por unha orde «Cortar» ou «Copiar» dentro do cartafol seleccionado" -#: ../thunar/thunar-standard-view.c:347 +#: ../thunar/thunar-standard-view.c:363 msgid "Select _all Files" msgstr "Seleccion_ar todos os ficheiros" -#: ../thunar/thunar-standard-view.c:347 +#: ../thunar/thunar-standard-view.c:363 msgid "Select all files in this window" msgstr "Seleccionar todos os ficheiros desta xanela" -#: ../thunar/thunar-standard-view.c:348 +#: ../thunar/thunar-standard-view.c:364 msgid "Select _by Pattern..." msgstr "Seleccionar _usando un patrón..." -#: ../thunar/thunar-standard-view.c:348 +#: ../thunar/thunar-standard-view.c:364 msgid "Select all files that match a certain pattern" msgstr "Selecciona todos os ficheiros que coinciden cun certo patrón" -#: ../thunar/thunar-standard-view.c:349 +#: ../thunar/thunar-standard-view.c:365 msgid "Du_plicate" msgstr "Du_plicar" -#: ../thunar/thunar-standard-view.c:350 ../thunar/thunar-standard-view.c:3461 +#: ../thunar/thunar-standard-view.c:366 ../thunar/thunar-standard-view.c:3696 msgid "Ma_ke Link" msgid_plural "Ma_ke Links" msgstr[0] "Crear unha _ligazón" msgstr[1] "Crear _ligazóns" #. append the "Rename" menu action -#: ../thunar/thunar-standard-view.c:351 ../thunar/thunar-tree-view.c:1253 +#: ../thunar/thunar-standard-view.c:367 ../thunar/thunar-tree-view.c:1253 msgid "_Rename..." msgstr "_Renomear..." -#: ../thunar/thunar-standard-view.c:352 +#: ../thunar/thunar-standard-view.c:368 msgid "_Restore" msgstr "_Restaurar" #. add the "Create Document" sub menu action -#: ../thunar/thunar-standard-view.c:565 +#: ../thunar/thunar-standard-view.c:585 msgid "Create _Document" msgstr "Crear _documento" -#: ../thunar/thunar-standard-view.c:1296 +#: ../thunar/thunar-standard-view.c:1352 msgid "Loading folder contents..." msgstr "Cargando o contido do cartafol..." -#: ../thunar/thunar-standard-view.c:1780 +#: ../thunar/thunar-standard-view.c:1836 msgid "New Empty File" msgstr "Novo ficheiro baleiro" -#: ../thunar/thunar-standard-view.c:1781 +#: ../thunar/thunar-standard-view.c:1837 msgid "New Empty File..." msgstr "Novo ficheiro baleiro..." -#: ../thunar/thunar-standard-view.c:2069 +#: ../thunar/thunar-standard-view.c:2125 msgid "Select by Pattern" msgstr "Seleccionar usando un patrón" -#: ../thunar/thunar-standard-view.c:2075 +#: ../thunar/thunar-standard-view.c:2131 msgid "_Select" msgstr "_Seleccionar" -#: ../thunar/thunar-standard-view.c:2084 +#: ../thunar/thunar-standard-view.c:2140 msgid "_Pattern:" msgstr "_Patrón:" #. tell the user that the file name provided by the X Direct Save source is #. invalid -#: ../thunar/thunar-standard-view.c:2573 +#: ../thunar/thunar-standard-view.c:2629 msgid "Invalid filename provided by XDS drag site" msgstr "Nome de ficheiro incorrecto proporcionado polo sitio XDS" #. display an error dialog to the user -#: ../thunar/thunar-standard-view.c:2752 +#: ../thunar/thunar-standard-view.c:2808 #, c-format msgid "Failed to create a link for the URL \"%s\"" msgstr "Non se puido crear unha ligazón ao URL «%s»" -#: ../thunar/thunar-standard-view.c:3094 +#: ../thunar/thunar-standard-view.c:3150 #, c-format msgid "Failed to open directory \"%s\"" msgstr "Non se puido abrir o directorio «%s»" -#: ../thunar/thunar-standard-view.c:3421 +#: ../thunar/thunar-standard-view.c:3656 msgid "Prepare the selected file to be moved with a Paste command" msgid_plural "Prepare the selected files to be moved with a Paste command" msgstr[0] "Preparar o ficheiro seleccionado para mover mediante unha orde Pegar" msgstr[1] "Preparar os ficheiros seleccionados para mover mediante unha orde Pegar" -#: ../thunar/thunar-standard-view.c:3429 +#: ../thunar/thunar-standard-view.c:3664 msgid "Prepare the selected file to be copied with a Paste command" msgid_plural "Prepare the selected files to be copied with a Paste command" msgstr[0] "Preparar o ficheiro seleccionado para copiar mediante unha orde Pegar" msgstr[1] "Preparar os ficheiros seleccionados para copiar mediante unha orde Pegar" -#: ../thunar/thunar-standard-view.c:3440 +#: ../thunar/thunar-standard-view.c:3675 msgid "Delete the selected file" msgid_plural "Delete the selected files" msgstr[0] "Eliminar o ficheiro seleccionado" msgstr[1] "Eliminar os ficheiros seleccionados" -#: ../thunar/thunar-standard-view.c:3454 +#: ../thunar/thunar-standard-view.c:3689 msgid "Duplicate the selected file" msgid_plural "Duplicate each selected file" msgstr[0] "Duplicar o ficheiro seleccionado" msgstr[1] "Duplicar cada ficheiro seleccionado" -#: ../thunar/thunar-standard-view.c:3463 +#: ../thunar/thunar-standard-view.c:3698 msgid "Create a symbolic link for the selected file" msgid_plural "Create a symbolic link for each selected file" msgstr[0] "Crear unha ligazón simbólica para o ficheiro seleccionado" msgstr[1] "Crear unha ligazón simbólica para cada ficheiro seleccionado" -#: ../thunar/thunar-standard-view.c:3471 +#: ../thunar/thunar-standard-view.c:3706 msgid "Rename the selected file" msgid_plural "Rename the selected files" msgstr[0] "Renomear o ficheiro seleccionado" msgstr[1] "Renomear os ficheiros seleccionados" -#: ../thunar/thunar-standard-view.c:3479 +#: ../thunar/thunar-standard-view.c:3714 msgid "Restore the selected file" msgid_plural "Restore the selected files" msgstr[0] "Restaurar o ficheiro seleccionado" @@ -2142,34 +2146,34 @@ msgstr[1] "Restaurar os ficheiros seleccionados" msgid "_Empty File" msgstr "Ficheiro _baleiro" -#: ../thunar/thunar-transfer-job.c:638 +#: ../thunar/thunar-transfer-job.c:672 msgid "Collecting files..." msgstr "Reunindo ficheiros..." #. update progress information -#: ../thunar/thunar-transfer-job.c:665 +#: ../thunar/thunar-transfer-job.c:704 #, c-format msgid "Trying to restore \"%s\"" msgstr "Intentando restaurar \"%s\"" -#: ../thunar/thunar-transfer-job.c:691 +#: ../thunar/thunar-transfer-job.c:730 #, c-format msgid "The folder \"%s\" does not exist anymore but is required to restore the file \"%s\" from the trash" msgstr "O cartafol \"%s\" xa non existe, pero é necesario para restaurar o ficheiro \"%s\" dende o lixo" -#: ../thunar/thunar-transfer-job.c:716 +#: ../thunar/thunar-transfer-job.c:755 #, c-format msgid "Failed to restore the folder \"%s\"" msgstr "Produciuse un erro ao restaurar o cartafol \"%s\"" #. update progress information -#: ../thunar/thunar-transfer-job.c:736 +#: ../thunar/thunar-transfer-job.c:775 #, c-format msgid "Trying to move \"%s\"" msgstr "Intentando mover \"%s\"" #. update progress information -#: ../thunar/thunar-transfer-job.c:761 +#: ../thunar/thunar-transfer-job.c:805 #, c-format msgid "Could not move \"%s\" directly. Collecting files for copying..." msgstr "Non se puido mover \"%s\" directamente. Recolectando os ficheiros para copialos..." @@ -2196,46 +2200,46 @@ msgstr "_Pegar dentro do cartafol" msgid "P_roperties..." msgstr "P_ropiedades..." -#: ../thunar/thunar-util.c:95 +#: ../thunar/thunar-util.c:97 #, c-format msgid "Invalid path" msgstr "Ruta non válida" -#: ../thunar/thunar-util.c:129 +#: ../thunar/thunar-util.c:131 #, c-format msgid "Unknown user \"%s\"" msgstr "Usuario «%s» descoñecido" #. TRANSLATORS: file was modified less than one day ago -#: ../thunar/thunar-util.c:218 +#: ../thunar/thunar-util.c:220 msgid "Today" msgstr "Hoxe" #. TRANSLATORS: file was modified less than one day ago -#: ../thunar/thunar-util.c:223 +#: ../thunar/thunar-util.c:225 #, c-format msgid "Today at %X" msgstr "Hoxe ás %X" #. TRANSLATORS: file was modified less than two days ago -#: ../thunar/thunar-util.c:231 +#: ../thunar/thunar-util.c:233 msgid "Yesterday" msgstr "Onte" #. TRANSLATORS: file was modified less than two days ago -#: ../thunar/thunar-util.c:236 +#: ../thunar/thunar-util.c:238 #, c-format msgid "Yesterday at %X" msgstr "Onte ás %X" #. Days from last week -#: ../thunar/thunar-util.c:244 +#: ../thunar/thunar-util.c:246 #, c-format msgid "%A at %X" msgstr "%A ás %X" #. Any other date -#: ../thunar/thunar-util.c:249 +#: ../thunar/thunar-util.c:251 #, c-format msgid "%x at %X" msgstr "%x ás %X" @@ -2846,7 +2850,7 @@ msgstr "Come_za con:" msgid "Text _Format:" msgstr "_Formato de texto:" -#: ../plugins/thunar-sbr/thunar-sbr-number-renamer.c:533 +#: ../plugins/thunar-sbr/thunar-sbr-number-renamer.c:532 msgid "Numbering" msgstr "Numeración" -- 1.7.5.2 From 88f84760a484b9de29271bb9a9ee11a6d46c0b03 Mon Sep 17 00:00:00 2001 From: youarefunny Date: Mon, 23 May 2011 10:51:14 -0400 Subject: [PATCH 2/2] Added a setting on how showing hidden files are shown in new windows. --- thunar/thunar-preferences-dialog.c | 73 ++++++++++++++++++++++++++++++++++-- thunar/thunar-preferences.c | 23 +++++++++-- thunar/thunar-window.c | 68 +++++++++++++++++++-------------- 3 files changed, 127 insertions(+), 37 deletions(-) diff --git a/thunar/thunar-preferences-dialog.c b/thunar/thunar-preferences-dialog.c index 504db2c..a1f4f6e 100644 --- a/thunar/thunar-preferences-dialog.c +++ b/thunar/thunar-preferences-dialog.c @@ -41,7 +41,7 @@ static void thunar_preferences_dialog_finalize (GObject *object); static void thunar_preferences_dialog_response (GtkDialog *dialog, gint response); -static void thunar_preferences_dialog_configure (ThunarPreferencesDialog *dialog); +static void thunar_preferences_dialog_configure (ThunarPreferencesDialog *dialog); @@ -148,6 +148,56 @@ transform_view_index_to_string (const GValue *src_value, +static gboolean +transform_hidden_string_to_index (const GValue *src_value, + GValue *dst_value, + gpointer user_data) +{ + char *type = g_value_get_string (src_value); + + if ( strcmp(type, "hidden") == 0 ) + g_value_set_int (dst_value, 0); + else if ( strcmp(type, "last") == 0 ) + g_value_set_int (dst_value, 1); + else if ( strcmp(type, "show") == 0 ) + g_value_set_int (dst_value, 2); + else + g_value_set_int (dst_value, 3); + + return TRUE; +} + + + +static gboolean +transform_hidden_index_to_string (const GValue *src_value, + GValue *dst_value, + gpointer user_data) +{ + switch (g_value_get_int (src_value)) + { + case 0: + g_value_set_static_string (dst_value, "hidden"); + break; + + case 1: + g_value_set_static_string (dst_value, "last"); + break; + + case 2: + g_value_set_static_string (dst_value, "show"); + break; + + default: + g_value_set_static_string (dst_value, g_type_name (G_TYPE_NONE)); + break; + } + + return TRUE; +} + + + static void thunar_preferences_dialog_class_init (ThunarPreferencesDialogClass *klass) { @@ -221,7 +271,7 @@ thunar_preferences_dialog_init (ThunarPreferencesDialog *dialog) gtk_frame_set_label_widget (GTK_FRAME (frame), label); gtk_widget_show (label); - table = gtk_table_new (3, 2, FALSE); + table = gtk_table_new (4, 2, FALSE); gtk_table_set_row_spacings (GTK_TABLE (table), 6); gtk_table_set_col_spacings (GTK_TABLE (table), 12); gtk_container_set_border_width (GTK_CONTAINER (table), 12); @@ -244,17 +294,32 @@ thunar_preferences_dialog_init (ThunarPreferencesDialog *dialog) gtk_label_set_mnemonic_widget (GTK_LABEL (label), combo); gtk_widget_show (combo); + label = gtk_label_new_with_mnemonic (_("Wether to show hidden files in new windows")); + gtk_table_attach (GTK_TABLE (table), label, 0, 1, 1, 2, GTK_FILL, GTK_FILL, 0, 0); + gtk_widget_show (label); + + combo = gtk_combo_box_new_text (); + gtk_combo_box_append_text (GTK_COMBO_BOX (combo), _("Hidden")); + gtk_combo_box_append_text (GTK_COMBO_BOX (combo), _("Last State")); + gtk_combo_box_append_text (GTK_COMBO_BOX (combo), _("Visible")); + exo_mutual_binding_new_full (G_OBJECT (dialog->preferences), "default-show-hidden", G_OBJECT (combo), "active", + transform_hidden_string_to_index, transform_hidden_index_to_string, NULL, NULL); + gtk_table_attach (GTK_TABLE (table), combo, 1, 2, 1, 2, GTK_EXPAND | GTK_FILL, GTK_FILL, 0, 0); + thunar_gtk_label_set_a11y_relation (GTK_LABEL (label), combo); + gtk_label_set_mnemonic_widget (GTK_LABEL (label), combo); + gtk_widget_show (combo); + button = gtk_check_button_new_with_mnemonic (_("Sort _folders before files")); exo_mutual_binding_new (G_OBJECT (dialog->preferences), "misc-folders-first", G_OBJECT (button), "active"); gtk_widget_set_tooltip_text (button, _("Select this option to list folders before files when you sort a folder.")); - gtk_table_attach (GTK_TABLE (table), button, 0, 2, 1, 2, GTK_EXPAND | GTK_FILL, GTK_FILL, 0, 0); + gtk_table_attach (GTK_TABLE (table), button, 0, 2, 2, 3, GTK_EXPAND | GTK_FILL, GTK_FILL, 0, 0); gtk_widget_show (button); button = gtk_check_button_new_with_mnemonic (_("_Show thumbnails")); exo_mutual_binding_new (G_OBJECT (dialog->preferences), "misc-show-thumbnails", G_OBJECT (button), "active"); gtk_widget_set_tooltip_text (button, _("Select this option to display previewable files within a " "folder as automatically generated thumbnail icons.")); - gtk_table_attach (GTK_TABLE (table), button, 0, 2, 2, 3, GTK_EXPAND | GTK_FILL, GTK_FILL, 0, 0); + gtk_table_attach (GTK_TABLE (table), button, 0, 2, 3, 4, GTK_EXPAND | GTK_FILL, GTK_FILL, 0, 0); gtk_widget_show (button); frame = g_object_new (GTK_TYPE_FRAME, "border-width", 0, "shadow-type", GTK_SHADOW_NONE, NULL); diff --git a/thunar/thunar-preferences.c b/thunar/thunar-preferences.c index 84d1f9b..cad1ea1 100644 --- a/thunar/thunar-preferences.c +++ b/thunar/thunar-preferences.c @@ -50,6 +50,7 @@ enum { PROP_0, PROP_DEFAULT_VIEW, + PROP_DEFAULT_SHOW_HIDDEN, PROP_LAST_COMPACT_VIEW_ZOOM_LEVEL, PROP_LAST_DETAILS_VIEW_COLUMN_ORDER, PROP_LAST_DETAILS_VIEW_COLUMN_WIDTHS, @@ -294,7 +295,7 @@ thunar_preferences_class_init (ThunarPreferencesClass *klass) /** * ThunarPreferences:last-show-hidden: * - * Whether to show hidden files by default in new windows. + * Last state of showing hidden files. **/ g_object_class_install_property (gobject_class, PROP_LAST_SHOW_HIDDEN, @@ -305,6 +306,20 @@ thunar_preferences_class_init (ThunarPreferencesClass *klass) EXO_PARAM_READWRITE)); /** + * ThunarPreferences:default-show-hidden: + * + * Whether to show hidden files by default in new windows. + **/ + g_object_class_install_property (gobject_class, + PROP_LAST_SIDE_PANE, + g_param_spec_string ("default-show-hidden", + "defaultShowHidden", + "default-show-hidden", + "last", + EXO_PARAM_READWRITE)); + + + /** * ThunarPreferences:last-side-pane: * * The name of the widget class, which should be used for the @@ -400,7 +415,7 @@ thunar_preferences_class_init (ThunarPreferencesClass *klass) "last-window-width", 1, G_MAXINT, 640, EXO_PARAM_READWRITE)); - + /** * ThunarPreferences:last-window-maximized: * @@ -769,7 +784,7 @@ static void thunar_preferences_suspend_monitor (ThunarPreferences *preferences) { /* verify that the monitor is active */ - if (G_LIKELY (preferences->monitor != NULL + if (G_LIKELY (preferences->monitor != NULL && !g_file_monitor_is_cancelled (preferences->monitor))) { /* disconnect the handle from the monitor */ @@ -793,7 +808,7 @@ thunar_preferences_monitor (GFileMonitor *monitor, _thunar_return_if_fail (preferences->monitor == monitor); /* schedule a reload whenever the file is created/changed */ - if (event_type == G_FILE_MONITOR_EVENT_CHANGED + if (event_type == G_FILE_MONITOR_EVENT_CHANGED || event_type == G_FILE_MONITOR_EVENT_CREATED) { thunar_preferences_queue_load (preferences); diff --git a/thunar/thunar-window.c b/thunar/thunar-window.c index d258d8f..7769187 100644 --- a/thunar/thunar-window.c +++ b/thunar/thunar-window.c @@ -3,18 +3,18 @@ * Copyright (c) 2005-2007 Benedikt Meurer * Copyright (c) 2009-2011 Jannis Pohlmann * - * This program is free software; you can redistribute it and/or + * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of + * published by the Free Software Foundation; either version 2 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public - * License along with this program; if not, write to the Free + * You should have received a copy of the GNU General Public + * License along with this program; if not, write to the Free * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. */ @@ -593,14 +593,14 @@ static void thunar_window_setup_user_dir_menu_entries (ThunarWindow *window) { static const gchar *callback_names[] = { - "open-desktop", - "open-documents", - "open-downloads", + "open-desktop", + "open-documents", + "open-downloads", "open-music", - "open-pictures", - "open-public", - "open-templates", - "open-videos", + "open-pictures", + "open-public", + "open-templates", + "open-videos", NULL }; GtkAction *action; @@ -671,6 +671,7 @@ thunar_window_init (ThunarWindow *window) GtkWidget *item; GtkAction *action; gboolean show_hidden; + gchar *default_show_hidden; gboolean visible; GSList *group; gchar *type_name; @@ -713,7 +714,16 @@ thunar_window_init (ThunarWindow *window) /* initialize the "show-hidden" action using the last value from the preferences */ action = gtk_action_group_get_action (window->action_group, "show-hidden"); - g_object_get (G_OBJECT (window->preferences), "last-show-hidden", &show_hidden, NULL); + g_object_get (G_OBJECT (window->preferences), "default-show-hidden", &default_show_hidden, NULL); + printf("%s\n", default_show_hidden); + if ( strcmp(default_show_hidden, "hidden") == 0 ) + show_hidden = FALSE; + else if ( strcmp(default_show_hidden, "last") == 0 ) + g_object_get (G_OBJECT (window->preferences), "last-show-hidden", &show_hidden, NULL); + else if ( strcmp(default_show_hidden, "show") == 0 ) + show_hidden = TRUE; + else + show_hidden = FALSE; gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (action), show_hidden); /* synchronize the "show-hidden" state with the "last-show-hidden" preference */ @@ -770,7 +780,7 @@ thunar_window_init (ThunarWindow *window) /* determine the default window size from the preferences */ g_object_get (G_OBJECT (window->preferences), "last-window-width", &width, "last-window-height", &height, "last-window-maximized", &maximized, NULL); gtk_window_set_default_size (GTK_WINDOW (window), width, height); - + /* restore the maxized state of the window */ if (G_UNLIKELY (maximized)) gtk_window_maximize (GTK_WINDOW (window)); @@ -1438,7 +1448,7 @@ thunar_window_merge_go_actions (ThunarWindow *window) if (thunar_g_vfs_is_uri_scheme_supported ("network")) { /* create the network action */ - action = gtk_action_new ("open-network", _("Network"), _("Browse the network"), + action = gtk_action_new ("open-network", _("Network"), _("Browse the network"), GTK_STOCK_NETWORK); g_signal_connect (action, "activate", G_CALLBACK (thunar_window_action_open_network), window); @@ -1503,7 +1513,7 @@ thunar_window_poke_file_finish (ThunarBrowser *browser, } else { - thunar_dialogs_show_error (GTK_WIDGET (browser), error, + thunar_dialogs_show_error (GTK_WIDGET (browser), error, _("Failed to open \"%s\""), thunar_file_get_display_name (file)); } @@ -1517,7 +1527,7 @@ thunar_window_start_open_location (ThunarWindow *window, { ThunarFile *selected_file; GtkWidget *dialog; - + _thunar_return_if_fail (THUNAR_IS_WINDOW (window)); /* bring up the "Open Location"-dialog if the window has no location bar or the location bar @@ -1530,9 +1540,9 @@ thunar_window_start_open_location (ThunarWindow *window, gtk_window_set_modal (GTK_WINDOW (dialog), TRUE); gtk_window_set_destroy_with_parent (GTK_WINDOW (dialog), TRUE); gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (window)); - thunar_location_dialog_set_working_directory (THUNAR_LOCATION_DIALOG (dialog), + thunar_location_dialog_set_working_directory (THUNAR_LOCATION_DIALOG (dialog), thunar_window_get_current_directory (window)); - thunar_location_dialog_set_selected_file (THUNAR_LOCATION_DIALOG (dialog), + thunar_location_dialog_set_selected_file (THUNAR_LOCATION_DIALOG (dialog), thunar_window_get_current_directory (window)); /* setup the initial text (if any) */ @@ -1555,7 +1565,7 @@ thunar_window_start_open_location (ThunarWindow *window, selected_file = thunar_location_dialog_get_selected_file (THUNAR_LOCATION_DIALOG (dialog)); if (selected_file != NULL) { - thunar_browser_poke_file (THUNAR_BROWSER (window), selected_file, window, + thunar_browser_poke_file (THUNAR_BROWSER (window), selected_file, window, thunar_window_poke_file_finish, NULL); } } @@ -1648,7 +1658,7 @@ thunar_window_action_preferences (GtkAction *action, /* allocate and display a preferences dialog */; dialog = thunar_preferences_dialog_new (GTK_WINDOW (window)); - gtk_widget_show (dialog); + gtk_widget_show (dialog); /* ...and let the application take care of it */ application = thunar_application_get (); @@ -1794,7 +1804,7 @@ thunar_window_action_statusbar_changed (GtkToggleAction *action, /* determine the new state of the action */ active = gtk_toggle_action_get_active (action); - + /* check if we should drop the statusbar */ if (!active && window->statusbar != NULL) { @@ -2453,7 +2463,7 @@ thunar_window_current_directory_destroy (ThunarFile *current_directory, { /* determine the parent of the directory */ tmp = g_file_get_parent (path); - + /* if there's no parent this means that we've found no parent * that still exists at all. Fall back to $HOME then */ if (tmp == NULL) @@ -2593,7 +2603,7 @@ thunar_window_notify_loading (ThunarView *view, } } } - + static void @@ -2731,7 +2741,7 @@ thunar_window_new (void) /** * thunar_window_get_current_directory: * @window : a #ThunarWindow instance. - * + * * Queries the #ThunarFile instance, which represents the directory * currently displayed within @window. %NULL is returned if @window * is not currently associated with any directory. @@ -2762,7 +2772,7 @@ thunar_window_set_current_directory (ThunarWindow *window, _thunar_return_if_fail (THUNAR_IS_WINDOW (window)); _thunar_return_if_fail (current_directory == NULL || THUNAR_IS_FILE (current_directory)); - + /* check if we already display the requested directory */ if (G_UNLIKELY (window->current_directory == current_directory)) return; @@ -2793,7 +2803,7 @@ thunar_window_set_current_directory (ThunarWindow *window, g_signal_connect (G_OBJECT (current_directory), "changed", G_CALLBACK (thunar_window_current_directory_changed), window); g_signal_connect (G_OBJECT (current_directory), "destroy", G_CALLBACK (thunar_window_current_directory_destroy), window); g_object_ref (G_OBJECT (current_directory)); - + /* update window icon and title */ thunar_window_current_directory_changed (current_directory, window); @@ -2827,7 +2837,7 @@ thunar_window_set_current_directory (ThunarWindow *window, selected_files.data = NULL; selected_files.prev = NULL; selected_files.next = NULL; - + /* determine the next file in the history */ selected_file = thunar_history_peek_forward (window->history); if (selected_file != NULL) @@ -2844,7 +2854,7 @@ thunar_window_set_current_directory (ThunarWindow *window, selected_file = thunar_history_peek_back (window->history); if (selected_file != NULL) { - /* mark the file from history for selection if it is inside the + /* mark the file from history for selection if it is inside the * new directory */ if (thunar_file_is_parent (window->current_directory, selected_file)) selected_files.data = selected_file; -- 1.7.5.2