[Goodies-commits] r2367 - in thunar-volman/trunk: . po thunar-volman
Benedikt Meurer
benny at xfce.org
Mon Jan 15 21:14:29 CET 2007
Author: benny
Date: 2007-01-15 20:14:29 +0000 (Mon, 15 Jan 2007)
New Revision: 2367
Modified:
thunar-volman/trunk/ChangeLog
thunar-volman/trunk/po/ChangeLog
thunar-volman/trunk/po/de.po
thunar-volman/trunk/po/fr.po
thunar-volman/trunk/po/hu.po
thunar-volman/trunk/po/thunar-volman.pot
thunar-volman/trunk/thunar-volman/tvm-preferences-dialog.c
Log:
2007-01-15 Benedikt Meurer <benny at xfce.org>
* thunar-volman/tvm-preferences-dialog.c: Connect the "Help" button
and open the removable media section of the Thunar user manual.
* po/thunar-volman.pot, po/*.po: Merge new strings.
* po/de.po: Update german translations.
Modified: thunar-volman/trunk/ChangeLog
===================================================================
--- thunar-volman/trunk/ChangeLog 2007-01-15 19:10:23 UTC (rev 2366)
+++ thunar-volman/trunk/ChangeLog 2007-01-15 20:14:29 UTC (rev 2367)
@@ -1,5 +1,12 @@
2007-01-15 Benedikt Meurer <benny at xfce.org>
+ * thunar-volman/tvm-preferences-dialog.c: Connect the "Help" button
+ and open the removable media section of the Thunar user manual.
+ * po/thunar-volman.pot, po/*.po: Merge new strings.
+ * po/de.po: Update german translations.
+
+2007-01-15 Benedikt Meurer <benny at xfce.org>
+
* thunar-volman/: Add support for printers.
* po/POTFILES.in: Add new files here.
* po/thunar-volman.pot, po/*.po: Merge new strings.
Modified: thunar-volman/trunk/po/ChangeLog
===================================================================
--- thunar-volman/trunk/po/ChangeLog 2007-01-15 19:10:23 UTC (rev 2366)
+++ thunar-volman/trunk/po/ChangeLog 2007-01-15 20:14:29 UTC (rev 2367)
@@ -1,5 +1,10 @@
2007-01-15 Benedikt Meurer <benny at xfce.org>
+ * thunar-volman.pot, *.po: Merge new strings.
+ * de.po: Update german translations.
+
+2007-01-15 Benedikt Meurer <benny at xfce.org>
+
* POTFILES.in: Add new files here.
* thunar-volman.pot, *.po: Merge new strings.
* de.po: Update german translations.
Modified: thunar-volman/trunk/po/de.po
===================================================================
--- thunar-volman/trunk/po/de.po 2007-01-15 19:10:23 UTC (rev 2366)
+++ thunar-volman/trunk/po/de.po 2007-01-15 20:14:29 UTC (rev 2367)
@@ -7,8 +7,8 @@
msgstr ""
"Project-Id-Version: thunar-volman 0.0.1\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-01-15 18:43+0100\n"
-"PO-Revision-Date: 2007-01-15 18:39+0100\n"
+"POT-Creation-Date: 2007-01-15 21:12+0100\n"
+"PO-Revision-Date: 2007-01-15 21:19+0100\n"
"Last-Translator: Benedikt Meurer <benny at xfce.org>\n"
"Language-Team: German <de at li.org>\n"
"MIME-Version: 1.0\n"
@@ -19,7 +19,7 @@
msgid "The HAL device UDI of the newly added device"
msgstr "Der HAL UDI des neu hinzugekommenen Geräts"
-#: thunar-volman/main.c:51 thunar-volman/tvm-preferences-dialog.c:118
+#: thunar-volman/main.c:51 thunar-volman/tvm-preferences-dialog.c:120
msgid "Configure management of removable drives and media"
msgstr "Die Verwaltung von Wechseldatenträgern und -medien konfigurieren"
@@ -191,191 +191,195 @@
msgid "Shell Scripts"
msgstr "Shell Skripte"
-#: thunar-volman/tvm-preferences-dialog.c:117
+#: thunar-volman/tvm-preferences-dialog.c:119
msgid "Removable Drives and Media"
msgstr "Wechseldatenträger- und Medieneinstellungen"
#.
#. Storage
#.
-#: thunar-volman/tvm-preferences-dialog.c:135
+#: thunar-volman/tvm-preferences-dialog.c:143
msgid "Storage"
msgstr "Datenträger"
-#: thunar-volman/tvm-preferences-dialog.c:145
+#: thunar-volman/tvm-preferences-dialog.c:153
msgid "Removable Storage"
msgstr "Wechseldatenträger"
-#: thunar-volman/tvm-preferences-dialog.c:162
+#: thunar-volman/tvm-preferences-dialog.c:170
msgid "_Mount removable drives when hot-plugged"
msgstr "_Hotplug-Wechsellaufwerke automatisch einhängen"
-#: thunar-volman/tvm-preferences-dialog.c:167
+#: thunar-volman/tvm-preferences-dialog.c:175
msgid "Mount removable media when _inserted"
msgstr "Wechselmedien beim Einlegen ein_hängen"
-#: thunar-volman/tvm-preferences-dialog.c:172
+#: thunar-volman/tvm-preferences-dialog.c:180
msgid "B_rowse removable media when inserted"
msgstr "Wechselmedien beim _Einlegen öffnen"
-#: thunar-volman/tvm-preferences-dialog.c:177
+#: thunar-volman/tvm-preferences-dialog.c:185
msgid "_Auto-run programs on new drives and media"
msgstr "_Programme auf neuen Laufwerken und Medien automatisch ausführen"
-#: thunar-volman/tvm-preferences-dialog.c:182
+#: thunar-volman/tvm-preferences-dialog.c:190
msgid "Auto-open files on new drives and media"
msgstr "Dateien auf neuen Laufwerken und Medien automatisch ö_ffnen"
-#: thunar-volman/tvm-preferences-dialog.c:191
+#: thunar-volman/tvm-preferences-dialog.c:199
msgid "Blank CDs and DVDs"
msgstr "CD/DVD-Rohlinge"
-#: thunar-volman/tvm-preferences-dialog.c:208
+#: thunar-volman/tvm-preferences-dialog.c:216
msgid "_Burn a CD or DVD when a blank disc is inserted"
msgstr "Eine CD oder DVD _brennen, wenn ein Rohling eingelegt wird"
-#: thunar-volman/tvm-preferences-dialog.c:216
+#: thunar-volman/tvm-preferences-dialog.c:224
msgid "Command for _Data CDs:"
msgstr "Befehl für _Daten-CDs:"
-#: thunar-volman/tvm-preferences-dialog.c:223
+#: thunar-volman/tvm-preferences-dialog.c:231
msgid "Command for A_udio CDs:"
msgstr "Befehl für A_udio-CDs:"
#.
#. Multimedia
#.
-#: thunar-volman/tvm-preferences-dialog.c:237
+#: thunar-volman/tvm-preferences-dialog.c:245
msgid "Multimedia"
msgstr "Unterhaltungsmedien"
-#: thunar-volman/tvm-preferences-dialog.c:247
+#: thunar-volman/tvm-preferences-dialog.c:255
msgid "Audio CDs"
msgstr "Audio-CDs"
-#: thunar-volman/tvm-preferences-dialog.c:264
+#: thunar-volman/tvm-preferences-dialog.c:272
msgid "Play _audio CDs when inserted"
msgstr "_Audio-CDs beim Einlegen wiedergeben"
-#: thunar-volman/tvm-preferences-dialog.c:269
-#: thunar-volman/tvm-preferences-dialog.c:375
-#: thunar-volman/tvm-preferences-dialog.c:417
-#: thunar-volman/tvm-preferences-dialog.c:491
-#: thunar-volman/tvm-preferences-dialog.c:533
+#: thunar-volman/tvm-preferences-dialog.c:277
+#: thunar-volman/tvm-preferences-dialog.c:383
+#: thunar-volman/tvm-preferences-dialog.c:425
+#: thunar-volman/tvm-preferences-dialog.c:499
+#: thunar-volman/tvm-preferences-dialog.c:541
msgid "_Command:"
msgstr "_Befehl:"
-#: thunar-volman/tvm-preferences-dialog.c:279
+#: thunar-volman/tvm-preferences-dialog.c:287
msgid "Video CDs/DVDs"
msgstr "Video-CDs/DVDs"
-#: thunar-volman/tvm-preferences-dialog.c:296
+#: thunar-volman/tvm-preferences-dialog.c:304
msgid "Play _video CDs and DVDs when inserted"
msgstr "_Video-CDs/DVDs beim Einlegen wiedergeben"
-#: thunar-volman/tvm-preferences-dialog.c:301
-#: thunar-volman/tvm-preferences-dialog.c:333
-#: thunar-volman/tvm-preferences-dialog.c:449
-#: thunar-volman/tvm-preferences-dialog.c:565
+#: thunar-volman/tvm-preferences-dialog.c:309
+#: thunar-volman/tvm-preferences-dialog.c:341
+#: thunar-volman/tvm-preferences-dialog.c:457
+#: thunar-volman/tvm-preferences-dialog.c:573
msgid "C_ommand:"
msgstr "B_efehl:"
-#: thunar-volman/tvm-preferences-dialog.c:311
+#: thunar-volman/tvm-preferences-dialog.c:319
msgid "Portable Music Players"
msgstr "Tragbare Musik-Player"
-#: thunar-volman/tvm-preferences-dialog.c:328
+#: thunar-volman/tvm-preferences-dialog.c:336
msgid "Play _music files when connected"
msgstr "Nach dem Verbinden _Musikdateien abspielen"
#.
#. Cameras
#.
-#: thunar-volman/tvm-preferences-dialog.c:343
+#: thunar-volman/tvm-preferences-dialog.c:351
msgid "Cameras"
msgstr "Kameras"
-#: thunar-volman/tvm-preferences-dialog.c:353
+#: thunar-volman/tvm-preferences-dialog.c:361
msgid "Digital Cameras"
msgstr "Digitalkameras"
-#: thunar-volman/tvm-preferences-dialog.c:370
+#: thunar-volman/tvm-preferences-dialog.c:378
msgid "Import digital photographs when connected"
msgstr "Nach dem Verbinden digitale Fotos _importieren"
#.
#. PDAs
#.
-#: thunar-volman/tvm-preferences-dialog.c:385
+#: thunar-volman/tvm-preferences-dialog.c:393
msgid "PDAs"
msgstr "PDAs"
-#: thunar-volman/tvm-preferences-dialog.c:395
+#: thunar-volman/tvm-preferences-dialog.c:403
msgid "Palm™"
msgstr "Palm"
-#: thunar-volman/tvm-preferences-dialog.c:412
+#: thunar-volman/tvm-preferences-dialog.c:420
msgid "Sync _Palm™ devices when connected"
msgstr "Nach dem Verbinden Daten mit Pa_lms abgleichen"
-#: thunar-volman/tvm-preferences-dialog.c:427
+#: thunar-volman/tvm-preferences-dialog.c:435
msgid "Pocket PCs"
msgstr "Pocket PCs"
-#: thunar-volman/tvm-preferences-dialog.c:444
+#: thunar-volman/tvm-preferences-dialog.c:452
msgid "Sync Pocket P_C devices when connected"
msgstr "Nach dem Verbinden Daten mit _PocketPCs abgleichen"
#.
#. Printers
#.
-#: thunar-volman/tvm-preferences-dialog.c:459
-#: thunar-volman/tvm-preferences-dialog.c:469
+#: thunar-volman/tvm-preferences-dialog.c:467
+#: thunar-volman/tvm-preferences-dialog.c:477
msgid "Printers"
msgstr "Drucker"
-#: thunar-volman/tvm-preferences-dialog.c:486
+#: thunar-volman/tvm-preferences-dialog.c:494
msgid "Automatically run a program when a _printer is connected"
msgstr "Automatisch ein Programm ausführen, wenn ein _Drucker eingesteckt wird"
#.
#. Input Devices
#.
-#: thunar-volman/tvm-preferences-dialog.c:501
+#: thunar-volman/tvm-preferences-dialog.c:509
msgid "Input Devices"
msgstr "Eingabegeräte"
-#: thunar-volman/tvm-preferences-dialog.c:511
+#: thunar-volman/tvm-preferences-dialog.c:519
msgid "Keyboards"
msgstr "Tastaturen"
-#: thunar-volman/tvm-preferences-dialog.c:528
+#: thunar-volman/tvm-preferences-dialog.c:536
msgid "Automatically run a program when an USB _keyboard is connected"
msgstr ""
"Automatisch ein Programm ausführen, wenn eine USB-_Tastatur eingesteckt wird"
-#: thunar-volman/tvm-preferences-dialog.c:543
+#: thunar-volman/tvm-preferences-dialog.c:551
msgid "Mice"
msgstr "Mäuse"
-#: thunar-volman/tvm-preferences-dialog.c:560
+#: thunar-volman/tvm-preferences-dialog.c:568
msgid "Automatically run a program when an USB _mouse is connected"
msgstr ""
"Automatisch ein Programm ausführen, wenn eine USB-_Maus eingesteckt wird"
-#: thunar-volman/tvm-preferences-dialog.c:575
+#: thunar-volman/tvm-preferences-dialog.c:583
msgid "Tablet"
msgstr "Grafiktablets"
-#: thunar-volman/tvm-preferences-dialog.c:592
+#: thunar-volman/tvm-preferences-dialog.c:600
msgid "Automatically run a program when a _tablet is connected"
msgstr ""
"Automatisch ein Programm ausführen, wenn ein _Grafiktablett eingesteckt wird"
-#: thunar-volman/tvm-preferences-dialog.c:597
+#: thunar-volman/tvm-preferences-dialog.c:605
msgid "Com_mand:"
msgstr "Befe_hl:"
+#: thunar-volman/tvm-preferences-dialog.c:690
+msgid "Failed to open the documentation browser"
+msgstr "Die Dokumentation konnte nicht angezeigt werden"
+
#: thunar-volman/tvm-run.c:133 thunar-volman/tvm-run.c:144
msgid "Choose Disc Type"
msgstr "Medientyp auswählen"
Modified: thunar-volman/trunk/po/fr.po
===================================================================
--- thunar-volman/trunk/po/fr.po 2007-01-15 19:10:23 UTC (rev 2366)
+++ thunar-volman/trunk/po/fr.po 2007-01-15 20:14:29 UTC (rev 2367)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: thunar-volman\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-01-15 18:43+0100\n"
+"POT-Creation-Date: 2007-01-15 21:12+0100\n"
"PO-Revision-Date: 2007-01-12 17:14+0100\n"
"Last-Translator: Maximilian Schleiss <maxschleiss at bluewin.ch>\n"
"Language-Team: French <xfce-i18n at xfce.org>\n"
@@ -19,7 +19,7 @@
msgid "The HAL device UDI of the newly added device"
msgstr "L'UDI HAL du périphérique nouvellement ajouté"
-#: thunar-volman/main.c:51 thunar-volman/tvm-preferences-dialog.c:118
+#: thunar-volman/main.c:51 thunar-volman/tvm-preferences-dialog.c:120
msgid "Configure management of removable drives and media"
msgstr "Configurer la gestion de disques amovibles et de médias"
@@ -190,139 +190,139 @@
msgid "Shell Scripts"
msgstr "Scripts shell"
-#: thunar-volman/tvm-preferences-dialog.c:117
+#: thunar-volman/tvm-preferences-dialog.c:119
msgid "Removable Drives and Media"
msgstr "Disques amovibles et médias"
#.
#. Storage
#.
-#: thunar-volman/tvm-preferences-dialog.c:135
+#: thunar-volman/tvm-preferences-dialog.c:143
msgid "Storage"
msgstr "Stockage"
-#: thunar-volman/tvm-preferences-dialog.c:145
+#: thunar-volman/tvm-preferences-dialog.c:153
msgid "Removable Storage"
msgstr "Stockage amovible"
-#: thunar-volman/tvm-preferences-dialog.c:162
+#: thunar-volman/tvm-preferences-dialog.c:170
msgid "_Mount removable drives when hot-plugged"
msgstr "_Monter les disques amovibles à la connexion"
-#: thunar-volman/tvm-preferences-dialog.c:167
+#: thunar-volman/tvm-preferences-dialog.c:175
msgid "Mount removable media when _inserted"
msgstr "Monter les médias amovibles à l'_insertion"
-#: thunar-volman/tvm-preferences-dialog.c:172
+#: thunar-volman/tvm-preferences-dialog.c:180
msgid "B_rowse removable media when inserted"
msgstr "_Parcourir les médias amovibles à l'insertion"
-#: thunar-volman/tvm-preferences-dialog.c:177
+#: thunar-volman/tvm-preferences-dialog.c:185
msgid "_Auto-run programs on new drives and media"
msgstr "_Auto-exécution d'applications pour les nouveaux disques et médias"
-#: thunar-volman/tvm-preferences-dialog.c:182
+#: thunar-volman/tvm-preferences-dialog.c:190
msgid "Auto-open files on new drives and media"
msgstr "Auto-ouverture des fichiers pour les nouveaux disques et médias"
-#: thunar-volman/tvm-preferences-dialog.c:191
+#: thunar-volman/tvm-preferences-dialog.c:199
msgid "Blank CDs and DVDs"
msgstr "CDs et DVDs vierges"
-#: thunar-volman/tvm-preferences-dialog.c:208
+#: thunar-volman/tvm-preferences-dialog.c:216
msgid "_Burn a CD or DVD when a blank disc is inserted"
msgstr "_Graver un CD ou DVD à l'insertion d'un disque vierge"
-#: thunar-volman/tvm-preferences-dialog.c:216
+#: thunar-volman/tvm-preferences-dialog.c:224
msgid "Command for _Data CDs:"
msgstr "Commande pour les CDs _données :"
-#: thunar-volman/tvm-preferences-dialog.c:223
+#: thunar-volman/tvm-preferences-dialog.c:231
msgid "Command for A_udio CDs:"
msgstr "Commande pour les CDs A_udio :"
#.
#. Multimedia
#.
-#: thunar-volman/tvm-preferences-dialog.c:237
+#: thunar-volman/tvm-preferences-dialog.c:245
msgid "Multimedia"
msgstr "Multimédia"
-#: thunar-volman/tvm-preferences-dialog.c:247
+#: thunar-volman/tvm-preferences-dialog.c:255
msgid "Audio CDs"
msgstr "CDs audio"
-#: thunar-volman/tvm-preferences-dialog.c:264
+#: thunar-volman/tvm-preferences-dialog.c:272
msgid "Play _audio CDs when inserted"
msgstr "Écouter les CDs _audio à l'insertion"
-#: thunar-volman/tvm-preferences-dialog.c:269
-#: thunar-volman/tvm-preferences-dialog.c:375
-#: thunar-volman/tvm-preferences-dialog.c:417
-#: thunar-volman/tvm-preferences-dialog.c:491
-#: thunar-volman/tvm-preferences-dialog.c:533
+#: thunar-volman/tvm-preferences-dialog.c:277
+#: thunar-volman/tvm-preferences-dialog.c:383
+#: thunar-volman/tvm-preferences-dialog.c:425
+#: thunar-volman/tvm-preferences-dialog.c:499
+#: thunar-volman/tvm-preferences-dialog.c:541
msgid "_Command:"
msgstr "_Commande :"
-#: thunar-volman/tvm-preferences-dialog.c:279
+#: thunar-volman/tvm-preferences-dialog.c:287
msgid "Video CDs/DVDs"
msgstr "CDs/DVDs vidéo"
-#: thunar-volman/tvm-preferences-dialog.c:296
+#: thunar-volman/tvm-preferences-dialog.c:304
msgid "Play _video CDs and DVDs when inserted"
msgstr "Visionner les CDs et DVDs vidéo à l'insertion"
-#: thunar-volman/tvm-preferences-dialog.c:301
-#: thunar-volman/tvm-preferences-dialog.c:333
-#: thunar-volman/tvm-preferences-dialog.c:449
-#: thunar-volman/tvm-preferences-dialog.c:565
+#: thunar-volman/tvm-preferences-dialog.c:309
+#: thunar-volman/tvm-preferences-dialog.c:341
+#: thunar-volman/tvm-preferences-dialog.c:457
+#: thunar-volman/tvm-preferences-dialog.c:573
msgid "C_ommand:"
msgstr "C_ommande :"
-#: thunar-volman/tvm-preferences-dialog.c:311
+#: thunar-volman/tvm-preferences-dialog.c:319
msgid "Portable Music Players"
msgstr "Lecteurs de musique portables"
-#: thunar-volman/tvm-preferences-dialog.c:328
+#: thunar-volman/tvm-preferences-dialog.c:336
msgid "Play _music files when connected"
msgstr "Écouter la _musique à la connexion"
#.
#. Cameras
#.
-#: thunar-volman/tvm-preferences-dialog.c:343
+#: thunar-volman/tvm-preferences-dialog.c:351
msgid "Cameras"
msgstr "Caméras"
-#: thunar-volman/tvm-preferences-dialog.c:353
+#: thunar-volman/tvm-preferences-dialog.c:361
msgid "Digital Cameras"
msgstr "Caméras digitales"
-#: thunar-volman/tvm-preferences-dialog.c:370
+#: thunar-volman/tvm-preferences-dialog.c:378
msgid "Import digital photographs when connected"
msgstr "Importer les photos numériques à la connexion"
#.
#. PDAs
#.
-#: thunar-volman/tvm-preferences-dialog.c:385
+#: thunar-volman/tvm-preferences-dialog.c:393
msgid "PDAs"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:395
+#: thunar-volman/tvm-preferences-dialog.c:403
msgid "Palm™"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:412
+#: thunar-volman/tvm-preferences-dialog.c:420
#, fuzzy
msgid "Sync _Palm™ devices when connected"
msgstr "Écouter la _musique à la connexion"
-#: thunar-volman/tvm-preferences-dialog.c:427
+#: thunar-volman/tvm-preferences-dialog.c:435
msgid "Pocket PCs"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:444
+#: thunar-volman/tvm-preferences-dialog.c:452
#, fuzzy
msgid "Sync Pocket P_C devices when connected"
msgstr "Écouter la _musique à la connexion"
@@ -330,12 +330,12 @@
#.
#. Printers
#.
-#: thunar-volman/tvm-preferences-dialog.c:459
-#: thunar-volman/tvm-preferences-dialog.c:469
+#: thunar-volman/tvm-preferences-dialog.c:467
+#: thunar-volman/tvm-preferences-dialog.c:477
msgid "Printers"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:486
+#: thunar-volman/tvm-preferences-dialog.c:494
#, fuzzy
msgid "Automatically run a program when a _printer is connected"
msgstr "Exécuter une application à la connexion d'une _tablette graphique"
@@ -343,38 +343,42 @@
#.
#. Input Devices
#.
-#: thunar-volman/tvm-preferences-dialog.c:501
+#: thunar-volman/tvm-preferences-dialog.c:509
msgid "Input Devices"
msgstr "Périphériques d'entrée"
-#: thunar-volman/tvm-preferences-dialog.c:511
+#: thunar-volman/tvm-preferences-dialog.c:519
msgid "Keyboards"
msgstr "Claviers"
-#: thunar-volman/tvm-preferences-dialog.c:528
+#: thunar-volman/tvm-preferences-dialog.c:536
msgid "Automatically run a program when an USB _keyboard is connected"
msgstr "Exécuter une application à la connexion d'un _clavier USB"
-#: thunar-volman/tvm-preferences-dialog.c:543
+#: thunar-volman/tvm-preferences-dialog.c:551
msgid "Mice"
msgstr "Souris"
-#: thunar-volman/tvm-preferences-dialog.c:560
+#: thunar-volman/tvm-preferences-dialog.c:568
msgid "Automatically run a program when an USB _mouse is connected"
msgstr "Exécuter une application à la connexion d'une _souris USB"
-#: thunar-volman/tvm-preferences-dialog.c:575
+#: thunar-volman/tvm-preferences-dialog.c:583
msgid "Tablet"
msgstr "Tablette graphique"
-#: thunar-volman/tvm-preferences-dialog.c:592
+#: thunar-volman/tvm-preferences-dialog.c:600
msgid "Automatically run a program when a _tablet is connected"
msgstr "Exécuter une application à la connexion d'une _tablette graphique"
-#: thunar-volman/tvm-preferences-dialog.c:597
+#: thunar-volman/tvm-preferences-dialog.c:605
msgid "Com_mand:"
msgstr "Com_mande :"
+#: thunar-volman/tvm-preferences-dialog.c:690
+msgid "Failed to open the documentation browser"
+msgstr ""
+
#: thunar-volman/tvm-run.c:133 thunar-volman/tvm-run.c:144
msgid "Choose Disc Type"
msgstr "Choisir le type de disque"
Modified: thunar-volman/trunk/po/hu.po
===================================================================
--- thunar-volman/trunk/po/hu.po 2007-01-15 19:10:23 UTC (rev 2366)
+++ thunar-volman/trunk/po/hu.po 2007-01-15 20:14:29 UTC (rev 2367)
@@ -2,7 +2,7 @@
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-01-15 18:43+0100\n"
+"POT-Creation-Date: 2007-01-15 21:12+0100\n"
"PO-Revision-Date: 2007-01-12 12:07+0100\n"
"Last-Translator: SZERVÁC Attila <sas at 321.hu>\n"
"Language-Team: Hungarian\n"
@@ -17,7 +17,7 @@
msgid "The HAL device UDI of the newly added device"
msgstr "Az új eszköz HAL eszköz UDI azonosítója"
-#: thunar-volman/main.c:51 thunar-volman/tvm-preferences-dialog.c:118
+#: thunar-volman/main.c:51 thunar-volman/tvm-preferences-dialog.c:120
msgid "Configure management of removable drives and media"
msgstr "Eltávolítható meghajtók és média beállítás kezelő"
@@ -187,139 +187,139 @@
msgid "Shell Scripts"
msgstr "Héj szkriptek"
-#: thunar-volman/tvm-preferences-dialog.c:117
+#: thunar-volman/tvm-preferences-dialog.c:119
msgid "Removable Drives and Media"
msgstr "Eltávolítható meghajtók és média"
#.
#. Storage
#.
-#: thunar-volman/tvm-preferences-dialog.c:135
+#: thunar-volman/tvm-preferences-dialog.c:143
msgid "Storage"
msgstr "Tároló"
-#: thunar-volman/tvm-preferences-dialog.c:145
+#: thunar-volman/tvm-preferences-dialog.c:153
msgid "Removable Storage"
msgstr "Eltávolítható tároló"
-#: thunar-volman/tvm-preferences-dialog.c:162
+#: thunar-volman/tvm-preferences-dialog.c:170
msgid "_Mount removable drives when hot-plugged"
msgstr "Eltávolítható tárolók _csatolása bedugáskor"
-#: thunar-volman/tvm-preferences-dialog.c:167
+#: thunar-volman/tvm-preferences-dialog.c:175
msgid "Mount removable media when _inserted"
msgstr "Eltávolítható média csatolás be_helyezéskor"
-#: thunar-volman/tvm-preferences-dialog.c:172
+#: thunar-volman/tvm-preferences-dialog.c:180
msgid "B_rowse removable media when inserted"
msgstr "Eltávolítható média bön_gészése behelyezéskor"
-#: thunar-volman/tvm-preferences-dialog.c:177
+#: thunar-volman/tvm-preferences-dialog.c:185
msgid "_Auto-run programs on new drives and media"
msgstr "Új meghajtókon és médián lévő programok _automata-futtatása"
-#: thunar-volman/tvm-preferences-dialog.c:182
+#: thunar-volman/tvm-preferences-dialog.c:190
msgid "Auto-open files on new drives and media"
msgstr "Új meghajtókon és médián lévő programok _automata-megnyitása"
-#: thunar-volman/tvm-preferences-dialog.c:191
+#: thunar-volman/tvm-preferences-dialog.c:199
msgid "Blank CDs and DVDs"
msgstr "Üres CD és DVD lemezek"
-#: thunar-volman/tvm-preferences-dialog.c:208
+#: thunar-volman/tvm-preferences-dialog.c:216
msgid "_Burn a CD or DVD when a blank disc is inserted"
msgstr "CD vagy DVD _sütése egy üres lemez berakásakor"
-#: thunar-volman/tvm-preferences-dialog.c:216
+#: thunar-volman/tvm-preferences-dialog.c:224
msgid "Command for _Data CDs:"
msgstr "Parancs az a_dat CD lemezekhez:"
-#: thunar-volman/tvm-preferences-dialog.c:223
+#: thunar-volman/tvm-preferences-dialog.c:231
msgid "Command for A_udio CDs:"
msgstr "Parancs a _hang CD lemezekhez:"
#.
#. Multimedia
#.
-#: thunar-volman/tvm-preferences-dialog.c:237
+#: thunar-volman/tvm-preferences-dialog.c:245
msgid "Multimedia"
msgstr "Multimédia"
-#: thunar-volman/tvm-preferences-dialog.c:247
+#: thunar-volman/tvm-preferences-dialog.c:255
msgid "Audio CDs"
msgstr "Hang CD lemezek"
-#: thunar-volman/tvm-preferences-dialog.c:264
+#: thunar-volman/tvm-preferences-dialog.c:272
msgid "Play _audio CDs when inserted"
msgstr "H_ang CD lemezek lejátszása berakáskor"
-#: thunar-volman/tvm-preferences-dialog.c:269
-#: thunar-volman/tvm-preferences-dialog.c:375
-#: thunar-volman/tvm-preferences-dialog.c:417
-#: thunar-volman/tvm-preferences-dialog.c:491
-#: thunar-volman/tvm-preferences-dialog.c:533
+#: thunar-volman/tvm-preferences-dialog.c:277
+#: thunar-volman/tvm-preferences-dialog.c:383
+#: thunar-volman/tvm-preferences-dialog.c:425
+#: thunar-volman/tvm-preferences-dialog.c:499
+#: thunar-volman/tvm-preferences-dialog.c:541
msgid "_Command:"
msgstr "_Parancs:"
-#: thunar-volman/tvm-preferences-dialog.c:279
+#: thunar-volman/tvm-preferences-dialog.c:287
msgid "Video CDs/DVDs"
msgstr "Videó CD/DVD lemezek"
-#: thunar-volman/tvm-preferences-dialog.c:296
+#: thunar-volman/tvm-preferences-dialog.c:304
msgid "Play _video CDs and DVDs when inserted"
msgstr "_Videó CD és DVD lemezek lejátszása berakáskor"
-#: thunar-volman/tvm-preferences-dialog.c:301
-#: thunar-volman/tvm-preferences-dialog.c:333
-#: thunar-volman/tvm-preferences-dialog.c:449
-#: thunar-volman/tvm-preferences-dialog.c:565
+#: thunar-volman/tvm-preferences-dialog.c:309
+#: thunar-volman/tvm-preferences-dialog.c:341
+#: thunar-volman/tvm-preferences-dialog.c:457
+#: thunar-volman/tvm-preferences-dialog.c:573
msgid "C_ommand:"
msgstr "Para_ncs:"
-#: thunar-volman/tvm-preferences-dialog.c:311
+#: thunar-volman/tvm-preferences-dialog.c:319
msgid "Portable Music Players"
msgstr "Hordozható zene lejátszók"
-#: thunar-volman/tvm-preferences-dialog.c:328
+#: thunar-volman/tvm-preferences-dialog.c:336
msgid "Play _music files when connected"
msgstr "_Zene fájlok lejátszása csatlakoztatáskor"
#.
#. Cameras
#.
-#: thunar-volman/tvm-preferences-dialog.c:343
+#: thunar-volman/tvm-preferences-dialog.c:351
msgid "Cameras"
msgstr "Kamerák"
-#: thunar-volman/tvm-preferences-dialog.c:353
+#: thunar-volman/tvm-preferences-dialog.c:361
msgid "Digital Cameras"
msgstr "Digitális kamerák"
-#: thunar-volman/tvm-preferences-dialog.c:370
+#: thunar-volman/tvm-preferences-dialog.c:378
msgid "Import digital photographs when connected"
msgstr "Digitális fotók importálása csatlakoztatáskor"
#.
#. PDAs
#.
-#: thunar-volman/tvm-preferences-dialog.c:385
+#: thunar-volman/tvm-preferences-dialog.c:393
msgid "PDAs"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:395
+#: thunar-volman/tvm-preferences-dialog.c:403
msgid "Palm™"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:412
+#: thunar-volman/tvm-preferences-dialog.c:420
#, fuzzy
msgid "Sync _Palm™ devices when connected"
msgstr "_Zene fájlok lejátszása csatlakoztatáskor"
-#: thunar-volman/tvm-preferences-dialog.c:427
+#: thunar-volman/tvm-preferences-dialog.c:435
msgid "Pocket PCs"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:444
+#: thunar-volman/tvm-preferences-dialog.c:452
#, fuzzy
msgid "Sync Pocket P_C devices when connected"
msgstr "_Zene fájlok lejátszása csatlakoztatáskor"
@@ -327,12 +327,12 @@
#.
#. Printers
#.
-#: thunar-volman/tvm-preferences-dialog.c:459
-#: thunar-volman/tvm-preferences-dialog.c:469
+#: thunar-volman/tvm-preferences-dialog.c:467
+#: thunar-volman/tvm-preferences-dialog.c:477
msgid "Printers"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:486
+#: thunar-volman/tvm-preferences-dialog.c:494
#, fuzzy
msgid "Automatically run a program when a _printer is connected"
msgstr "Egy program automata futtatása egy USB _egér csatlakoztatásakor"
@@ -340,39 +340,43 @@
#.
#. Input Devices
#.
-#: thunar-volman/tvm-preferences-dialog.c:501
+#: thunar-volman/tvm-preferences-dialog.c:509
msgid "Input Devices"
msgstr "Beviteli eszközök"
-#: thunar-volman/tvm-preferences-dialog.c:511
+#: thunar-volman/tvm-preferences-dialog.c:519
msgid "Keyboards"
msgstr "Billentyűzet"
-#: thunar-volman/tvm-preferences-dialog.c:528
+#: thunar-volman/tvm-preferences-dialog.c:536
msgid "Automatically run a program when an USB _keyboard is connected"
msgstr ""
"Egy program automata futtatása egy USB _billentyűzet csatlakoztatásakor"
-#: thunar-volman/tvm-preferences-dialog.c:543
+#: thunar-volman/tvm-preferences-dialog.c:551
msgid "Mice"
msgstr "Egerek"
-#: thunar-volman/tvm-preferences-dialog.c:560
+#: thunar-volman/tvm-preferences-dialog.c:568
msgid "Automatically run a program when an USB _mouse is connected"
msgstr "Egy program automata futtatása egy USB _egér csatlakoztatásakor"
-#: thunar-volman/tvm-preferences-dialog.c:575
+#: thunar-volman/tvm-preferences-dialog.c:583
msgid "Tablet"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:592
+#: thunar-volman/tvm-preferences-dialog.c:600
msgid "Automatically run a program when a _tablet is connected"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:597
+#: thunar-volman/tvm-preferences-dialog.c:605
msgid "Com_mand:"
msgstr "Para_ncs:"
+#: thunar-volman/tvm-preferences-dialog.c:690
+msgid "Failed to open the documentation browser"
+msgstr ""
+
#: thunar-volman/tvm-run.c:133 thunar-volman/tvm-run.c:144
msgid "Choose Disc Type"
msgstr "Válassz lemez típust"
Modified: thunar-volman/trunk/po/thunar-volman.pot
===================================================================
--- thunar-volman/trunk/po/thunar-volman.pot 2007-01-15 19:10:23 UTC (rev 2366)
+++ thunar-volman/trunk/po/thunar-volman.pot 2007-01-15 20:14:29 UTC (rev 2367)
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-01-15 18:43+0100\n"
+"POT-Creation-Date: 2007-01-15 21:12+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"
@@ -20,7 +20,7 @@
msgid "The HAL device UDI of the newly added device"
msgstr ""
-#: thunar-volman/main.c:51 thunar-volman/tvm-preferences-dialog.c:118
+#: thunar-volman/main.c:51 thunar-volman/tvm-preferences-dialog.c:120
msgid "Configure management of removable drives and media"
msgstr ""
@@ -190,188 +190,192 @@
msgid "Shell Scripts"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:117
+#: thunar-volman/tvm-preferences-dialog.c:119
msgid "Removable Drives and Media"
msgstr ""
#.
#. Storage
#.
-#: thunar-volman/tvm-preferences-dialog.c:135
+#: thunar-volman/tvm-preferences-dialog.c:143
msgid "Storage"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:145
+#: thunar-volman/tvm-preferences-dialog.c:153
msgid "Removable Storage"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:162
+#: thunar-volman/tvm-preferences-dialog.c:170
msgid "_Mount removable drives when hot-plugged"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:167
+#: thunar-volman/tvm-preferences-dialog.c:175
msgid "Mount removable media when _inserted"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:172
+#: thunar-volman/tvm-preferences-dialog.c:180
msgid "B_rowse removable media when inserted"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:177
+#: thunar-volman/tvm-preferences-dialog.c:185
msgid "_Auto-run programs on new drives and media"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:182
+#: thunar-volman/tvm-preferences-dialog.c:190
msgid "Auto-open files on new drives and media"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:191
+#: thunar-volman/tvm-preferences-dialog.c:199
msgid "Blank CDs and DVDs"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:208
+#: thunar-volman/tvm-preferences-dialog.c:216
msgid "_Burn a CD or DVD when a blank disc is inserted"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:216
+#: thunar-volman/tvm-preferences-dialog.c:224
msgid "Command for _Data CDs:"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:223
+#: thunar-volman/tvm-preferences-dialog.c:231
msgid "Command for A_udio CDs:"
msgstr ""
#.
#. Multimedia
#.
-#: thunar-volman/tvm-preferences-dialog.c:237
+#: thunar-volman/tvm-preferences-dialog.c:245
msgid "Multimedia"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:247
+#: thunar-volman/tvm-preferences-dialog.c:255
msgid "Audio CDs"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:264
+#: thunar-volman/tvm-preferences-dialog.c:272
msgid "Play _audio CDs when inserted"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:269
-#: thunar-volman/tvm-preferences-dialog.c:375
-#: thunar-volman/tvm-preferences-dialog.c:417
-#: thunar-volman/tvm-preferences-dialog.c:491
-#: thunar-volman/tvm-preferences-dialog.c:533
+#: thunar-volman/tvm-preferences-dialog.c:277
+#: thunar-volman/tvm-preferences-dialog.c:383
+#: thunar-volman/tvm-preferences-dialog.c:425
+#: thunar-volman/tvm-preferences-dialog.c:499
+#: thunar-volman/tvm-preferences-dialog.c:541
msgid "_Command:"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:279
+#: thunar-volman/tvm-preferences-dialog.c:287
msgid "Video CDs/DVDs"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:296
+#: thunar-volman/tvm-preferences-dialog.c:304
msgid "Play _video CDs and DVDs when inserted"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:301
-#: thunar-volman/tvm-preferences-dialog.c:333
-#: thunar-volman/tvm-preferences-dialog.c:449
-#: thunar-volman/tvm-preferences-dialog.c:565
+#: thunar-volman/tvm-preferences-dialog.c:309
+#: thunar-volman/tvm-preferences-dialog.c:341
+#: thunar-volman/tvm-preferences-dialog.c:457
+#: thunar-volman/tvm-preferences-dialog.c:573
msgid "C_ommand:"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:311
+#: thunar-volman/tvm-preferences-dialog.c:319
msgid "Portable Music Players"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:328
+#: thunar-volman/tvm-preferences-dialog.c:336
msgid "Play _music files when connected"
msgstr ""
#.
#. Cameras
#.
-#: thunar-volman/tvm-preferences-dialog.c:343
+#: thunar-volman/tvm-preferences-dialog.c:351
msgid "Cameras"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:353
+#: thunar-volman/tvm-preferences-dialog.c:361
msgid "Digital Cameras"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:370
+#: thunar-volman/tvm-preferences-dialog.c:378
msgid "Import digital photographs when connected"
msgstr ""
#.
#. PDAs
#.
-#: thunar-volman/tvm-preferences-dialog.c:385
+#: thunar-volman/tvm-preferences-dialog.c:393
msgid "PDAs"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:395
+#: thunar-volman/tvm-preferences-dialog.c:403
msgid "Palm™"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:412
+#: thunar-volman/tvm-preferences-dialog.c:420
msgid "Sync _Palm™ devices when connected"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:427
+#: thunar-volman/tvm-preferences-dialog.c:435
msgid "Pocket PCs"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:444
+#: thunar-volman/tvm-preferences-dialog.c:452
msgid "Sync Pocket P_C devices when connected"
msgstr ""
#.
#. Printers
#.
-#: thunar-volman/tvm-preferences-dialog.c:459
-#: thunar-volman/tvm-preferences-dialog.c:469
+#: thunar-volman/tvm-preferences-dialog.c:467
+#: thunar-volman/tvm-preferences-dialog.c:477
msgid "Printers"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:486
+#: thunar-volman/tvm-preferences-dialog.c:494
msgid "Automatically run a program when a _printer is connected"
msgstr ""
#.
#. Input Devices
#.
-#: thunar-volman/tvm-preferences-dialog.c:501
+#: thunar-volman/tvm-preferences-dialog.c:509
msgid "Input Devices"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:511
+#: thunar-volman/tvm-preferences-dialog.c:519
msgid "Keyboards"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:528
+#: thunar-volman/tvm-preferences-dialog.c:536
msgid "Automatically run a program when an USB _keyboard is connected"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:543
+#: thunar-volman/tvm-preferences-dialog.c:551
msgid "Mice"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:560
+#: thunar-volman/tvm-preferences-dialog.c:568
msgid "Automatically run a program when an USB _mouse is connected"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:575
+#: thunar-volman/tvm-preferences-dialog.c:583
msgid "Tablet"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:592
+#: thunar-volman/tvm-preferences-dialog.c:600
msgid "Automatically run a program when a _tablet is connected"
msgstr ""
-#: thunar-volman/tvm-preferences-dialog.c:597
+#: thunar-volman/tvm-preferences-dialog.c:605
msgid "Com_mand:"
msgstr ""
+#: thunar-volman/tvm-preferences-dialog.c:690
+msgid "Failed to open the documentation browser"
+msgstr ""
+
#: thunar-volman/tvm-run.c:133 thunar-volman/tvm-run.c:144
msgid "Choose Disc Type"
msgstr ""
Modified: thunar-volman/trunk/thunar-volman/tvm-preferences-dialog.c
===================================================================
--- thunar-volman/trunk/thunar-volman/tvm-preferences-dialog.c 2007-01-15 19:10:23 UTC (rev 2366)
+++ thunar-volman/trunk/thunar-volman/tvm-preferences-dialog.c 2007-01-15 20:14:29 UTC (rev 2367)
@@ -28,9 +28,11 @@
-static void tvm_preferences_dialog_class_init (TvmPreferencesDialogClass *klass);
-static void tvm_preferences_dialog_init (TvmPreferencesDialog *dialog);
-static void tvm_preferences_dialog_finalize (GObject *object);
+static void tvm_preferences_dialog_class_init (TvmPreferencesDialogClass *klass);
+static void tvm_preferences_dialog_init (TvmPreferencesDialog *dialog);
+static void tvm_preferences_dialog_finalize (GObject *object);
+static void tvm_preferences_dialog_help_clicked (GtkWidget *button,
+ TvmPreferencesDialog *dialog);
@@ -117,10 +119,16 @@
gtk_window_set_title (GTK_WINDOW (dialog), _("Removable Drives and Media"));
xfce_titled_dialog_set_subtitle (XFCE_TITLED_DIALOG (dialog), _("Configure management of removable drives and media"));
- /* add "Help" and "Close" buttons */
+ /* add "Help" button */
+ button = gtk_button_new_from_stock (GTK_STOCK_HELP);
+ g_signal_connect (G_OBJECT (button), "clicked", G_CALLBACK (tvm_preferences_dialog_help_clicked), dialog);
+ gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->action_area), button, FALSE, FALSE, 0);
+ gtk_button_box_set_child_secondary (GTK_BUTTON_BOX (GTK_DIALOG (dialog)->action_area), button, TRUE);
+ gtk_widget_show (button);
+
+ /* add "Close" button */
gtk_dialog_add_buttons (GTK_DIALOG (dialog),
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
- GTK_STOCK_HELP, GTK_RESPONSE_HELP,
NULL);
notebook = gtk_notebook_new ();
@@ -616,6 +624,82 @@
+static void
+tvm_preferences_dialog_help_clicked (GtkWidget *button,
+ TvmPreferencesDialog *dialog)
+{
+ GtkWidget *message;
+ GError *err = NULL;
+ gchar **argv;
+ gchar *bindir;
+ gchar *prefix;
+ gchar *path;
+
+ g_return_if_fail (TVM_IS_PREFERENCES_DIALOG (dialog));
+ g_return_if_fail (GTK_IS_BUTTON (button));
+
+ /* try to locate Thunar in the $PATH */
+ path = g_find_program_in_path ("Thunar");
+ if (G_UNLIKELY (path == NULL))
+ path = g_find_program_in_path ("thunar");
+ if (G_LIKELY (path != NULL))
+ {
+ bindir = g_path_get_dirname (path);
+ prefix = g_path_get_dirname (bindir);
+ g_free (bindir);
+ g_free (path);
+
+ /* now check if ThunarHelp is in $prefix/libexec */
+ path = g_build_filename (prefix, "libexec", "ThunarHelp", NULL);
+ if (!g_file_test (path, G_FILE_TEST_IS_EXECUTABLE))
+ {
+ /* release path */
+ g_free (path);
+
+ /* try to support Debian weirdness */
+ path = g_build_filename (prefix, "lib", "thunar", "ThunarHelp", NULL);
+ if (!g_file_test (path, G_FILE_TEST_IS_EXECUTABLE))
+ {
+ /* release path */
+ g_free (path);
+ path = NULL;
+ }
+ }
+ }
+
+ /* no ThunarHelp, weird! */
+ if (G_UNLIKELY (path == NULL))
+ path = g_strdup ("ThunarHelp");
+
+ /* prepare command to run help */
+ argv = g_new (gchar *, 4);
+ argv[0] = path;
+ argv[1] = g_strdup ("using-removable-media");
+ argv[2] = g_strdup ("management-of-removable-drives-and-media");
+ argv[3] = NULL;
+
+ /* try to open the user manual */
+ if (!gdk_spawn_on_screen (gtk_widget_get_screen (button), NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, &err))
+ {
+ /* display an error message to the user */
+ message = gtk_message_dialog_new (GTK_WINDOW (dialog),
+ GTK_DIALOG_DESTROY_WITH_PARENT
+ | GTK_DIALOG_MODAL,
+ GTK_MESSAGE_ERROR,
+ GTK_BUTTONS_CLOSE,
+ "%s.", _("Failed to open the documentation browser"));
+ gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (message), "%s.", err->message);
+ gtk_dialog_run (GTK_DIALOG (message));
+ gtk_widget_destroy (message);
+ g_error_free (err);
+ }
+
+ /* cleanup */
+ g_strfreev (argv);
+}
+
+
+
/**
* tvm_preferences_dialog_new:
* @parent : a #GtkWindow or %NULL.
@@ -630,4 +714,6 @@
return g_object_new (TVM_TYPE_PREFERENCES_DIALOG, NULL);
}
+
+
/* vim:set encoding=UTF-8: */
More information about the Goodies-commits
mailing list