Commit bbb7233f authored by Benedikt Meurer's avatar Benedikt Meurer

2006-02-07 Benedikt Meurer <benny@xfce.org>

	* thunar/thunar-application.{c,h}: Add thunar_application_take_window(),
	  which is used to add a GtkWindow to the internal application windows
	  list. The application will not exit until the last controlled window
	  is closed by the user.
	* thunar/thunar-file.{c,h}: Use a generic parent parameter for the
	  thunar_file_launch() method.
	* thunar/thunar-chooser-dialog.{c,h}: Use a generic parent paramter for
	  the thunar_show_chooser_dialog() method, and let the application take
	  over control of the dialog window.
	* thunar/thunar-gdk-extensions.{c,h}, thunar/Makefile.am: Import method
	  thunar_gdk_screen_open() from Terminal, which opens a GdkScreen from
	  a full qualified display name.
	* README, configure.in.in: Add optional check for D-BUS.
	* thunar/Makefile.am, org.xfce.FileManager.service.in, Makefile.am,
	  thunar/thunar-dbus-service-infos.xml, thunar/thunar-application.{c,h},
	  thunar/thunar-dbus-service.{c,h}: Initial import of the basic D-BUS
	  service for Thunar, the org.xfce.FileManager implementation. See the
	  thunar-dbus-service-infos.xml file for a description of the current
	  interface.
	* po/Thunar.pot, po/*.po: Update the translations.




(Old svn revision: 19776)
parent 226bc36f
2006-02-07 Benedikt Meurer <benny@xfce.org>
* thunar/thunar-application.{c,h}: Add thunar_application_take_window(),
which is used to add a GtkWindow to the internal application windows
list. The application will not exit until the last controlled window
is closed by the user.
* thunar/thunar-file.{c,h}: Use a generic parent parameter for the
thunar_file_launch() method.
* thunar/thunar-chooser-dialog.{c,h}: Use a generic parent paramter for
the thunar_show_chooser_dialog() method, and let the application take
over control of the dialog window.
* thunar/thunar-gdk-extensions.{c,h}, thunar/Makefile.am: Import method
thunar_gdk_screen_open() from Terminal, which opens a GdkScreen from
a full qualified display name.
* README, configure.in.in: Add optional check for D-BUS.
* thunar/Makefile.am, org.xfce.FileManager.service.in, Makefile.am,
thunar/thunar-dbus-service-infos.xml, thunar/thunar-application.{c,h},
thunar/thunar-dbus-service.{c,h}: Initial import of the basic D-BUS
service for Thunar, the org.xfce.FileManager implementation. See the
thunar-dbus-service-infos.xml file for a description of the current
interface.
* po/Thunar.pot, po/*.po: Update the translations.
2006-02-07 Benedikt Meurer <benny@xfce.org>
* thunar-vfs/thunar-vfs-mime-cleaner.c: Also cleanup the defaults.list
......
......@@ -33,19 +33,29 @@ desktop_in_files = Thunar.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
if HAVE_DBUS
servicedir = $(datadir)/dbus-1/services
service_in_files = org.xfce.FileManager.service.in
service_DATA = $(service_in_files:.service.in=.service)
%.service: %.service.in
sed -e "s,\@bindir\@,$(bindir),g" < $< > $@
endif
EXTRA_DIST = \
FAQ \
HACKING \
intltool-extract.in \
intltool-merge.in \
intltool-update.in \
$(desktop_in_files)
$(desktop_in_files) \
$(service_in_files)
DISTCLEANFILES = \
intltool-extract \
intltool-merge \
intltool-update \
$(desktop_DATA)
$(desktop_DATA) \
$(service_DATA)
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
......
......@@ -20,6 +20,7 @@ Thunar depends on the following packages:
Thunar can optionally use the following packages:
- D-BUS 0.34 or above (strongly suggested)
- gamin 0.1.0 or above
- gconf 2.4 or above
- libjpeg 6 or above
......
......@@ -163,6 +163,12 @@ XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.6.0])
XDT_CHECK_PACKAGE([LIBPNG], [libpng12], [1.2.0])
XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.2.0])
dnl **********************************
dnl *** Optional support for D-BUS ***
dnl **********************************
XDT_CHECK_OPTIONAL_PACKAGE([DBUS], [dbus-glib-1],
[0.34], [dbus], [D-BUS support])
dnl *******************************************************
dnl *** Optional support for gconf (GNOME thumbnailers) ***
dnl *******************************************************
......
[D-BUS Service]
Name=org.xfce.FileManager
Exec=@bindir@/Thunar
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-06 18:18+0100\n"
"POT-Creation-Date: 2006-02-07 22:04+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -127,7 +127,7 @@ msgstr ""
msgid "Failed to remove `%s': %s"
msgstr ""
#: ../thunar-vfs/thunar-vfs-mime-database.c:1656
#: ../thunar-vfs/thunar-vfs-mime-database.c:1697
#, c-format
msgid "Failed to load application from file %s"
msgstr ""
......@@ -362,37 +362,37 @@ msgid "Thunar"
msgstr ""
#. display an error message to the user
#: ../thunar/thunar-application.c:222
#: ../thunar/thunar-application.c:240
msgid "Failed to launch operation"
msgstr ""
#: ../thunar/thunar-application.c:445 ../thunar/thunar-application.c:478
#: ../thunar/thunar-application.c:487 ../thunar/thunar-application.c:520
msgid "Copying files..."
msgstr ""
#: ../thunar/thunar-application.c:512
#: ../thunar/thunar-application.c:554
msgid "Creating symbolic links..."
msgstr ""
#: ../thunar/thunar-application.c:547
#: ../thunar/thunar-application.c:589
msgid "Moving files..."
msgstr ""
#: ../thunar/thunar-application.c:582
#: ../thunar/thunar-application.c:624
msgid "Deleting files..."
msgstr ""
#: ../thunar/thunar-application.c:622
#: ../thunar/thunar-application.c:664
msgid "Creating files..."
msgstr ""
#: ../thunar/thunar-application.c:662
#: ../thunar/thunar-application.c:704
msgid "Creating directories..."
msgstr ""
#. tell the user that it didn't work
#. display an error to the user
#: ../thunar/thunar-chooser-button.c:281 ../thunar/thunar-chooser-dialog.c:479
#: ../thunar/thunar-chooser-button.c:281 ../thunar/thunar-chooser-dialog.c:480
#, c-format
msgid "Failed to set default application for \"%s\""
msgstr ""
......@@ -413,64 +413,64 @@ msgstr ""
msgid "_Other Application..."
msgstr ""
#: ../thunar/thunar-chooser-dialog.c:204 ../thunar/thunar-launcher.c:122
#: ../thunar/thunar-chooser-dialog.c:205 ../thunar/thunar-launcher.c:122
msgid "Open With"
msgstr ""
#. create the "Custom command" expand
#: ../thunar/thunar-chooser-dialog.c:266
#: ../thunar/thunar-chooser-dialog.c:267
msgid "Use a _custom command:"
msgstr ""
#. create the "Custom command" button
#: ../thunar/thunar-chooser-dialog.c:284
#: ../thunar/thunar-chooser-dialog.c:285
msgid "_Browse"
msgstr ""
#. display an error to the user
#: ../thunar/thunar-chooser-dialog.c:457
#: ../thunar/thunar-chooser-dialog.c:458
#, c-format
msgid "Failed to add new application \"%s\""
msgstr ""
#. display an error to the user
#: ../thunar/thunar-chooser-dialog.c:492
#: ../thunar/thunar-chooser-dialog.c:493
#, c-format
msgid "Failed to execute \"%s\""
msgstr ""
#. update the header label
#: ../thunar/thunar-chooser-dialog.c:613
#: ../thunar/thunar-chooser-dialog.c:614
#, c-format
msgid "Open <i>%s</i> and other files of type \"%s\" with:"
msgstr ""
#: ../thunar/thunar-chooser-dialog.c:635 ../thunar-uca/thunar-uca-editor.c:491
#: ../thunar/thunar-chooser-dialog.c:636 ../thunar-uca/thunar-uca-editor.c:491
msgid "Select an Application"
msgstr ""
#: ../thunar/thunar-chooser-dialog.c:645 ../thunar-uca/thunar-uca-editor.c:501
#: ../thunar/thunar-chooser-dialog.c:646 ../thunar-uca/thunar-uca-editor.c:501
#: ../thunar-uca/thunar-uca-editor.c:640
msgid "All Files"
msgstr ""
#: ../thunar/thunar-chooser-dialog.c:650 ../thunar-uca/thunar-uca-editor.c:506
#: ../thunar/thunar-chooser-dialog.c:651 ../thunar-uca/thunar-uca-editor.c:506
msgid "Executable Files"
msgstr ""
#: ../thunar/thunar-chooser-dialog.c:665 ../thunar-uca/thunar-uca-editor.c:521
#: ../thunar/thunar-chooser-dialog.c:666 ../thunar-uca/thunar-uca-editor.c:521
msgid "Perl Scripts"
msgstr ""
#: ../thunar/thunar-chooser-dialog.c:671 ../thunar-uca/thunar-uca-editor.c:527
#: ../thunar/thunar-chooser-dialog.c:672 ../thunar-uca/thunar-uca-editor.c:527
msgid "Python Scripts"
msgstr ""
#: ../thunar/thunar-chooser-dialog.c:677 ../thunar-uca/thunar-uca-editor.c:533
#: ../thunar/thunar-chooser-dialog.c:678 ../thunar-uca/thunar-uca-editor.c:533
msgid "Ruby Scripts"
msgstr ""
#: ../thunar/thunar-chooser-dialog.c:683 ../thunar-uca/thunar-uca-editor.c:539
#: ../thunar/thunar-chooser-dialog.c:684 ../thunar-uca/thunar-uca-editor.c:539
msgid "Shell Scripts"
msgstr ""
......@@ -493,7 +493,7 @@ msgstr ""
msgid "There is nothing on the clipboard to paste"
msgstr ""
#: ../thunar/thunar-create-dialog.c:177 ../thunar/thunar-standard-view.c:2015
#: ../thunar/thunar-create-dialog.c:177 ../thunar/thunar-standard-view.c:2023
msgid "Enter the new name:"
msgstr ""
......@@ -556,7 +556,7 @@ msgstr ""
msgid "The root folder has no parent"
msgstr ""
#: ../thunar/thunar-file.c:1011
#: ../thunar/thunar-file.c:1024
msgid "File System"
msgstr ""
......@@ -578,74 +578,74 @@ msgstr ""
msgid "Go to the next visited folder"
msgstr ""
#: ../thunar/thunar-icon-factory.c:668
#: ../thunar/thunar-icon-factory.c:674
#, c-format
msgid "Failed to load fallback icon from `%s' (%s). Check your installation!"
msgstr ""
#: ../thunar/thunar-icon-view.c:126
#: ../thunar/thunar-icon-view.c:121
msgid "Arran_ge Items"
msgstr ""
#: ../thunar/thunar-icon-view.c:131
#: ../thunar/thunar-icon-view.c:126
msgid "Sort By _Name"
msgstr ""
#: ../thunar/thunar-icon-view.c:131
#: ../thunar/thunar-icon-view.c:126
msgid "Keep items sorted by their name in rows"
msgstr ""
#: ../thunar/thunar-icon-view.c:132
#: ../thunar/thunar-icon-view.c:127
msgid "Sort By _Size"
msgstr ""
#: ../thunar/thunar-icon-view.c:132
#: ../thunar/thunar-icon-view.c:127
msgid "Keep items sorted by their size in rows"
msgstr ""
#: ../thunar/thunar-icon-view.c:133
#: ../thunar/thunar-icon-view.c:128
msgid "Sort By _Type"
msgstr ""
#: ../thunar/thunar-icon-view.c:133
#: ../thunar/thunar-icon-view.c:128
msgid "Keep items sorted by their type in rows"
msgstr ""
#: ../thunar/thunar-icon-view.c:134
#: ../thunar/thunar-icon-view.c:129
msgid "Sort By Modification _Date"
msgstr ""
#: ../thunar/thunar-icon-view.c:134
#: ../thunar/thunar-icon-view.c:129
msgid "Keep items sorted by their modification date in rows"
msgstr ""
#: ../thunar/thunar-icon-view.c:139
#: ../thunar/thunar-icon-view.c:134
msgid "_Ascending"
msgstr ""
#: ../thunar/thunar-icon-view.c:139
#: ../thunar/thunar-icon-view.c:134
msgid "Sort items in ascending order"
msgstr ""
#: ../thunar/thunar-icon-view.c:140
#: ../thunar/thunar-icon-view.c:135
msgid "_Descending"
msgstr ""
#: ../thunar/thunar-icon-view.c:140
#: ../thunar/thunar-icon-view.c:135
msgid "Sort items in descending order"
msgstr ""
#: ../thunar/thunar-icon-view.c:328
#: ../thunar/thunar-icon-view.c:323
msgid "Icon based directory listing"
msgstr ""
#: ../thunar/thunar-icon-view.c:329
#: ../thunar/thunar-icon-view.c:324
msgid "Icon view"
msgstr ""
#. append the "Open" menu action
#: ../thunar/thunar-launcher.c:119 ../thunar/thunar-launcher.c:749
#: ../thunar/thunar-shortcuts-view.c:359
#: ../thunar/thunar-shortcuts-view.c:360
msgid "_Open"
msgstr ""
......@@ -654,7 +654,7 @@ msgid "Open the selected files"
msgstr ""
#. append the "Open in New Window" menu action
#: ../thunar/thunar-launcher.c:120 ../thunar/thunar-shortcuts-view.c:370
#: ../thunar/thunar-launcher.c:120 ../thunar/thunar-shortcuts-view.c:371
msgid "Open in New Window"
msgstr ""
......@@ -1190,214 +1190,214 @@ msgstr[0] ""
msgstr[1] ""
#. append the "Mount Volume" menu action
#: ../thunar/thunar-shortcuts-view.c:384
#: ../thunar/thunar-shortcuts-view.c:385
msgid "_Mount Volume"
msgstr ""
#. append the "Eject Volume" menu action
#: ../thunar/thunar-shortcuts-view.c:394
#: ../thunar/thunar-shortcuts-view.c:395
msgid "E_ject Volume"
msgstr ""
#. append the "Unmount Volume" menu item
#: ../thunar/thunar-shortcuts-view.c:403
#: ../thunar/thunar-shortcuts-view.c:404
msgid "_Unmount Volume"
msgstr ""
#. append the remove menu item
#: ../thunar/thunar-shortcuts-view.c:449
#: ../thunar/thunar-shortcuts-view.c:450
msgid "_Remove Shortcut"
msgstr ""
#. append the rename menu item
#: ../thunar/thunar-shortcuts-view.c:464
#: ../thunar/thunar-shortcuts-view.c:465
msgid "Re_name Shortcut"
msgstr ""
#. append the "Display icon emblems" item
#: ../thunar/thunar-shortcuts-view.c:479
#: ../thunar/thunar-shortcuts-view.c:480
msgid "Display _Emblem Icons"
msgstr ""
#: ../thunar/thunar-shortcuts-view.c:481
#: ../thunar/thunar-shortcuts-view.c:482
msgid ""
"Display emblem icons in the shortcuts list for all files for which emblems "
"have been defined in the file properties dialog."
msgstr ""
#: ../thunar/thunar-shortcuts-view.c:788
#: ../thunar/thunar-shortcuts-view.c:789
#, c-format
msgid "The path '%s' does not refer to a directory"
msgstr ""
#. display an error message to the user
#: ../thunar/thunar-shortcuts-view.c:807
#: ../thunar/thunar-shortcuts-view.c:808
msgid "Failed to add new shortcut"
msgstr ""
#. display an error dialog to inform the user
#: ../thunar/thunar-shortcuts-view.c:910
#: ../thunar/thunar-shortcuts-view.c:911
#, c-format
msgid "Failed to eject \"%s\""
msgstr ""
#. display an error dialog to inform the user
#: ../thunar/thunar-shortcuts-view.c:956
#: ../thunar/thunar-shortcuts-view.c:957
#, c-format
msgid "Failed to mount \"%s\""
msgstr ""
#. display an error dialog to inform the user
#: ../thunar/thunar-shortcuts-view.c:1000
#: ../thunar/thunar-shortcuts-view.c:1001
#, c-format
msgid "Failed to unmount \"%s\""
msgstr ""
#: ../thunar/thunar-standard-view.c:274
#: ../thunar/thunar-standard-view.c:277
msgid "File Context Menu"
msgstr ""
#: ../thunar/thunar-standard-view.c:275
#: ../thunar/thunar-standard-view.c:278
msgid "Folder Context Menu"
msgstr ""
#: ../thunar/thunar-standard-view.c:276
#: ../thunar/thunar-standard-view.c:279
msgid "Create _Folder..."
msgstr ""
#: ../thunar/thunar-standard-view.c:276
#: ../thunar/thunar-standard-view.c:279
msgid "Create an empty folder within the current folder"
msgstr ""
#: ../thunar/thunar-standard-view.c:277
#: ../thunar/thunar-standard-view.c:280
msgid "_Properties..."
msgstr ""
#: ../thunar/thunar-standard-view.c:277
#: ../thunar/thunar-standard-view.c:280
msgid "View the properties of the selected file"
msgstr ""
#: ../thunar/thunar-standard-view.c:278
#: ../thunar/thunar-standard-view.c:281
msgid "_Copy Files"
msgstr ""
#: ../thunar/thunar-standard-view.c:278
#: ../thunar/thunar-standard-view.c:281
msgid "Copy the selected files"
msgstr ""
#: ../thunar/thunar-standard-view.c:279
#: ../thunar/thunar-standard-view.c:282
msgid "Cu_t Files"
msgstr ""
#: ../thunar/thunar-standard-view.c:279
#: ../thunar/thunar-standard-view.c:282
msgid "Cut the selected files"
msgstr ""
#: ../thunar/thunar-standard-view.c:280
#: ../thunar/thunar-standard-view.c:283
msgid "_Paste Files"
msgstr ""
#: ../thunar/thunar-standard-view.c:281
#: ../thunar/thunar-standard-view.c:284
msgid "_Delete Files"
msgstr ""
#: ../thunar/thunar-standard-view.c:281
#: ../thunar/thunar-standard-view.c:284
msgid "Delete the selected files"
msgstr ""
#: ../thunar/thunar-standard-view.c:282
#: ../thunar/thunar-standard-view.c:285
msgid "Paste Files into Folder"
msgstr ""
#: ../thunar/thunar-standard-view.c:282
#: ../thunar/thunar-standard-view.c:285
msgid "Paste files into the selected folder"
msgstr ""
#: ../thunar/thunar-standard-view.c:283
#: ../thunar/thunar-standard-view.c:286
msgid "Select _all Files"
msgstr ""
#: ../thunar/thunar-standard-view.c:283
#: ../thunar/thunar-standard-view.c:286
msgid "Select all files in this window"
msgstr ""
#: ../thunar/thunar-standard-view.c:284
#: ../thunar/thunar-standard-view.c:287
msgid "Select _by Pattern..."
msgstr ""
#: ../thunar/thunar-standard-view.c:284
#: ../thunar/thunar-standard-view.c:287
msgid "Select all files that match a certain pattern"
msgstr ""
#: ../thunar/thunar-standard-view.c:285 ../thunar/thunar-standard-view.c:2908
#: ../thunar/thunar-standard-view.c:288 ../thunar/thunar-standard-view.c:2984
msgid "Du_plicate File"
msgid_plural "Du_plicate Files"
msgstr[0] ""
msgstr[1] ""
#: ../thunar/thunar-standard-view.c:285
#: ../thunar/thunar-standard-view.c:288
msgid "Duplicate each selected file"
msgstr ""
#: ../thunar/thunar-standard-view.c:286 ../thunar/thunar-standard-view.c:2914
#: ../thunar/thunar-standard-view.c:289 ../thunar/thunar-standard-view.c:2990
msgid "Ma_ke Link"
msgid_plural "Ma_ke Links"
msgstr[0] ""
msgstr[1] ""
#: ../thunar/thunar-standard-view.c:286
#: ../thunar/thunar-standard-view.c:289
msgid "Create a symbolic link for each selected file"
msgstr ""
#: ../thunar/thunar-standard-view.c:287
#: ../thunar/thunar-standard-view.c:290
msgid "_Rename..."
msgstr ""
#: ../thunar/thunar-standard-view.c:287
#: ../thunar/thunar-standard-view.c:290
msgid "Rename the selected file"
msgstr ""
#. add the "Create Document" sub menu action
#: ../thunar/thunar-standard-view.c:520
#: ../thunar/thunar-standard-view.c:524
msgid "Create _Document"
msgstr ""
#: ../thunar/thunar-standard-view.c:1103
#: ../thunar/thunar-standard-view.c:1111
msgid "Loading folder contents..."
msgstr ""
#. ask the user to enter a name for the new empty file
#: ../thunar/thunar-standard-view.c:1489
#: ../thunar/thunar-standard-view.c:1497
msgid "New Empty File"
msgstr ""
#: ../thunar/thunar-standard-view.c:1489
#: ../thunar/thunar-standard-view.c:1497
msgid "New Empty File..."
msgstr ""
#. ask the user to enter a name for the new folder
#: ../thunar/thunar-standard-view.c:1540
#: ../thunar/thunar-standard-view.c:1548
msgid "New Folder"
msgstr ""
#: ../thunar/thunar-standard-view.c:1540
#: ../thunar/thunar-standard-view.c:1548
msgid "New Folder..."
msgstr ""
#. generate a title for the create dialog
#: ../thunar/thunar-standard-view.c:1589
#: ../thunar/thunar-standard-view.c:1597
#, c-format
msgid "Create Document from template \"%s\""
msgstr ""
#: ../thunar/thunar-standard-view.c:1740
#: ../thunar/thunar-standard-view.c:1748
#, c-format
msgid ""
"Are you sure that you want to\n"
"permanently delete \"%s\"?"
msgstr ""
#: ../thunar/thunar-standard-view.c:1745
#: ../thunar/thunar-standard-view.c:1753
#, c-format
msgid ""
"Are you sure that you want to permanently\n"
......@@ -1408,48 +1408,48 @@ msgid_plural ""
msgstr[0] ""
msgstr[1] ""
#: ../thunar/thunar-standard-view.c:1767
#: ../thunar/thunar-standard-view.c:1775
msgid "If you delete a file, it is permanently lost."
msgstr ""
#: ../thunar/thunar-standard-view.c:1832
#: ../thunar/thunar-standard-view.c:1840
msgid "Select by Pattern"
msgstr ""
#: ../thunar/thunar-standard-view.c:1847
#: ../thunar/thunar-standard-view.c:1855
msgid "Pattern:"
msgstr ""
#. create a new dialog window
#: ../thunar/thunar-standard-view.c:1986
#: ../thunar/thunar-standard-view.c:1994
#, c-format
msgid "Rename \"%s\""
msgstr ""
#. display an error message
#: ../thunar/thunar-standard-view.c:2057
#: ../thunar/thunar-standard-view.c:2065
#, c-format
msgid "Failed to rename \"%s\""
msgstr ""
#: ../thunar/thunar-standard-view.c:2631
#: ../thunar/thunar-standard-view.c:2655
#, c-format
msgid "Failed to open directory `%s'"
msgstr ""
#: ../thunar/thunar-standard-view.c:2881
#: ../thunar/thunar-standard-view.c:2957
msgid "_Copy File"
msgid_plural "_Copy Files"
msgstr[0] ""
msgstr[1] ""
#: ../thunar/thunar-standard-view.c:2887
#: ../thunar/thunar-standard-view.c:2963
msgid "Cu_t File"
msgid_plural "Cu_t Files"
msgstr[0] ""
msgstr[1] ""