[Goodies-commits] r3259 - in ristretto/trunk: po src
Stephan Arts
stephan at xfce.org
Thu Sep 27 23:32:47 CEST 2007
Author: stephan
Date: 2007-09-27 21:32:47 +0000 (Thu, 27 Sep 2007)
New Revision: 3259
Modified:
ristretto/trunk/po/de.po
ristretto/trunk/po/fi.po
ristretto/trunk/po/fr.po
ristretto/trunk/po/nb_NO.po
ristretto/trunk/po/nl.po
ristretto/trunk/po/ristretto.pot
ristretto/trunk/src/main_window.c
Log:
Fix 'clear recent documents'
Fix title in titlebar
Modified: ristretto/trunk/po/de.po
===================================================================
--- ristretto/trunk/po/de.po 2007-09-27 21:28:10 UTC (rev 3258)
+++ ristretto/trunk/po/de.po 2007-09-27 21:32:47 UTC (rev 3259)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: ristretto\n"
"Report-Msgid-Bugs-To: stephan at xfce.org\n"
-"POT-Creation-Date: 2007-09-25 06:00+0200\n"
+"POT-Creation-Date: 2007-09-27 23:32+0200\n"
"PO-Revision-Date: 2007-07-03 00:59:21+0200\n"
"Last-Translator: stephan arts <stephan at xfce.org>\n"
"Language-Team: German\n"
@@ -16,71 +16,71 @@
"Content-Transfer-Encoding: 8bit\n"
#. Create 'File' menu
-#: ../src/main_window.c:219
+#: ../src/main_window.c:241
msgid "_File"
msgstr "_Datei"
-#: ../src/main_window.c:226
+#: ../src/main_window.c:248
msgid "O_pen Folder"
msgstr "_Ordner öffnen"
-#: ../src/main_window.c:227
+#: ../src/main_window.c:249
msgid "_Recently used"
msgstr "_Zuletzt geöffnet"
#. Create 'Edit' menu
-#: ../src/main_window.c:254
+#: ../src/main_window.c:276
msgid "_Edit"
msgstr "_Bearbeiten"
-#: ../src/main_window.c:259
+#: ../src/main_window.c:281
msgid "Open with..."
msgstr "Ö_fnen mit..."
-#: ../src/main_window.c:265
+#: ../src/main_window.c:287
msgid "No applications available"
msgstr "Keine Programme verfügbar"
#. Create 'View' menu
-#: ../src/main_window.c:273
+#: ../src/main_window.c:295
msgid "_View"
msgstr "_Ansicht"
-#: ../src/main_window.c:280
+#: ../src/main_window.c:302
msgid "Show Toolbar"
msgstr "_Werkzeugleiste anzeigen"
-#: ../src/main_window.c:281
+#: ../src/main_window.c:303
msgid "Thumbnail Viewer"
msgstr "Vor_schaubilder"
-#: ../src/main_window.c:299
+#: ../src/main_window.c:321
msgid "Show Horizontally"
msgstr "_Horizontal anzeigen"
-#: ../src/main_window.c:303
+#: ../src/main_window.c:325
msgid "Show Vertically"
msgstr "_Vertikal anzeigen"
-#: ../src/main_window.c:307
+#: ../src/main_window.c:329
msgid "Hide"
msgstr "Ver_bergen"
#. Create 'Go' menu
-#: ../src/main_window.c:317
+#: ../src/main_window.c:339
msgid "_Go"
msgstr "_Gehe zu"
#. Create 'Help' menu
-#: ../src/main_window.c:346
+#: ../src/main_window.c:368
msgid "_Help"
msgstr "_Hilfe"
-#: ../src/main_window.c:673
+#: ../src/main_window.c:809
msgid "Developer:"
msgstr "Entwickler:"
-#: ../src/main_window.c:683
+#: ../src/main_window.c:819
msgid ""
"Ristretto is a fast and lightweight picture-viewer for the Xfce desktop "
"environment."
@@ -88,22 +88,29 @@
"Ristretto ist ein schneller und leichter Bildbetrachter für die "
"Arbeitsumgebung Xfce."
-#: ../src/main_window.c:691
+#: ../src/main_window.c:827
msgid "translator-credits"
msgstr "Christian Dywan <christian at twotoasts.de>"
-#: ../src/main_window.c:711
+#: ../src/main_window.c:847
msgid "Open image"
msgstr "Bild öffnen"
-#: ../src/main_window.c:746
+#: ../src/main_window.c:882
msgid "Could not open file"
msgstr "Datei konnte nicht geöffnet werden"
-#: ../src/main_window.c:756
+#: ../src/main_window.c:892
msgid "Open folder"
msgstr "_Ordner öffnen"
+#: ../src/main_window.c:997
+msgid ""
+"Are you sure you want to clear ristretto's list of recently opened documents?"
+msgstr ""
+"Sind Sie sicher, dass Sie ristrettos Liste der zuletzt geöffneten Dokumente "
+"leeren wollen?"
+
#: ../ristretto.desktop.in.h:1
msgid "Image Viewer"
msgstr "Bildbetrachter"
@@ -128,12 +135,5 @@
#~ msgid "Flip _Horizontally"
#~ msgstr "_Horizontal spiegeln"
-#~ msgid ""
-#~ "Are you sure you want to clear ristretto's list of recently opened "
-#~ "documents?"
-#~ msgstr ""
-#~ "Sind Sie sicher, dass Sie ristrettos Liste der zuletzt geöffneten "
-#~ "Dokumente leeren wollen?"
-
#~ msgid "_Clear"
#~ msgstr "_Leeren"
Modified: ristretto/trunk/po/fi.po
===================================================================
--- ristretto/trunk/po/fi.po 2007-09-27 21:28:10 UTC (rev 3258)
+++ ristretto/trunk/po/fi.po 2007-09-27 21:32:47 UTC (rev 3259)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: ristretto 0.0.5\n"
"Report-Msgid-Bugs-To: stephan at xfce.org\n"
-"POT-Creation-Date: 2007-09-25 06:00+0200\n"
+"POT-Creation-Date: 2007-09-27 23:32+0200\n"
"PO-Revision-Date: 2007-09-14 11:19+0300\n"
"Last-Translator: Jari Rahkonen <jari.rahkonen at pp1.inet.fi>\n"
"Language-Team: Finnish <xfce-i18n at xfce.org>\n"
@@ -16,92 +16,98 @@
"Content-Transfer-Encoding: 8bit\n"
#. Create 'File' menu
-#: ../src/main_window.c:219
+#: ../src/main_window.c:241
msgid "_File"
msgstr "_Tiedosto"
-#: ../src/main_window.c:226
+#: ../src/main_window.c:248
msgid "O_pen Folder"
msgstr "Avaa _hakemisto"
-#: ../src/main_window.c:227
+#: ../src/main_window.c:249
msgid "_Recently used"
msgstr "_Viimeaikaiset"
#. Create 'Edit' menu
-#: ../src/main_window.c:254
+#: ../src/main_window.c:276
msgid "_Edit"
msgstr "_Muokkaa"
-#: ../src/main_window.c:259
+#: ../src/main_window.c:281
msgid "Open with..."
msgstr "_Avaa sovelluksessa..."
-#: ../src/main_window.c:265
+#: ../src/main_window.c:287
msgid "No applications available"
msgstr "Sovelluksia ei saatavilla"
#. Create 'View' menu
-#: ../src/main_window.c:273
+#: ../src/main_window.c:295
msgid "_View"
msgstr "_Näytä"
-#: ../src/main_window.c:280
+#: ../src/main_window.c:302
msgid "Show Toolbar"
msgstr "Näytä työkalupalkki"
-#: ../src/main_window.c:281
+#: ../src/main_window.c:303
msgid "Thumbnail Viewer"
msgstr "Pienoiskuvat"
-#: ../src/main_window.c:299
+#: ../src/main_window.c:321
msgid "Show Horizontally"
msgstr "Näytä vaakasuunnassa"
-#: ../src/main_window.c:303
+#: ../src/main_window.c:325
msgid "Show Vertically"
msgstr "Näytä pystysuunnassa"
-#: ../src/main_window.c:307
+#: ../src/main_window.c:329
msgid "Hide"
msgstr "Piilota"
#. Create 'Go' menu
-#: ../src/main_window.c:317
+#: ../src/main_window.c:339
msgid "_Go"
msgstr "_Siirry"
#. Create 'Help' menu
-#: ../src/main_window.c:346
+#: ../src/main_window.c:368
msgid "_Help"
msgstr "_Ohje"
-#: ../src/main_window.c:673
+#: ../src/main_window.c:809
msgid "Developer:"
msgstr "Kehittäjä:"
-#: ../src/main_window.c:683
+#: ../src/main_window.c:819
msgid ""
"Ristretto is a fast and lightweight picture-viewer for the Xfce desktop "
"environment."
msgstr "Ristretto on nopea ja kevyt kuvankatseluohjelma Xfce-työpöydälle."
-#: ../src/main_window.c:691
+#: ../src/main_window.c:827
msgid "translator-credits"
msgstr "Jari Rahkonen <jari.rahkonen at pp1.inet.fi>"
-#: ../src/main_window.c:711
+#: ../src/main_window.c:847
msgid "Open image"
msgstr "Avaa kuva"
-#: ../src/main_window.c:746
+#: ../src/main_window.c:882
msgid "Could not open file"
msgstr "Tiedoston avaus ei onnistunut"
-#: ../src/main_window.c:756
+#: ../src/main_window.c:892
msgid "Open folder"
msgstr "Avaa hakemisto"
+#: ../src/main_window.c:997
+msgid ""
+"Are you sure you want to clear ristretto's list of recently opened documents?"
+msgstr ""
+"Haluatko varmasti tyhjentää ristretton viimeaikaisten tiedostojen listan?"
+
#: ../ristretto.desktop.in.h:1
msgid "Image Viewer"
msgstr "Kuvankatseluohjelma"
@@ -125,9 +131,3 @@
#~ msgid "Flip _Horizontally"
#~ msgstr "Peilaa v_aakasuunnassa"
-
-#~ msgid ""
-#~ "Are you sure you want to clear ristretto's list of recently opened "
-#~ "documents?"
-#~ msgstr ""
-#~ "Haluatko varmasti tyhjentää ristretton viimeaikaisten tiedostojen listan?"
Modified: ristretto/trunk/po/fr.po
===================================================================
--- ristretto/trunk/po/fr.po 2007-09-27 21:28:10 UTC (rev 3258)
+++ ristretto/trunk/po/fr.po 2007-09-27 21:32:47 UTC (rev 3259)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: ristretto\n"
"Report-Msgid-Bugs-To: stephan at xfce.org\n"
-"POT-Creation-Date: 2007-09-25 06:00+0200\n"
+"POT-Creation-Date: 2007-09-27 23:32+0200\n"
"PO-Revision-Date: 2007-09-12 22:11+0100\n"
"Last-Translator: Mike Massonnet <mmassonnet at gmail.com>\n"
"Language-Team: French\n"
@@ -16,71 +16,71 @@
"Content-Transfer-Encoding: 8bit\n"
#. Create 'File' menu
-#: ../src/main_window.c:219
+#: ../src/main_window.c:241
msgid "_File"
msgstr "_Fichier"
-#: ../src/main_window.c:226
+#: ../src/main_window.c:248
msgid "O_pen Folder"
msgstr "O_uvrir un répertoire"
-#: ../src/main_window.c:227
+#: ../src/main_window.c:249
msgid "_Recently used"
msgstr "_Récemment ouvert"
#. Create 'Edit' menu
-#: ../src/main_window.c:254
+#: ../src/main_window.c:276
msgid "_Edit"
msgstr "_Editer"
-#: ../src/main_window.c:259
+#: ../src/main_window.c:281
msgid "Open with..."
msgstr "_Ouvrir avec..."
-#: ../src/main_window.c:265
+#: ../src/main_window.c:287
msgid "No applications available"
msgstr "Aucune application disponible"
#. Create 'View' menu
-#: ../src/main_window.c:273
+#: ../src/main_window.c:295
msgid "_View"
msgstr "_Afficher"
-#: ../src/main_window.c:280
+#: ../src/main_window.c:302
msgid "Show Toolbar"
msgstr "Barre d'outils"
-#: ../src/main_window.c:281
+#: ../src/main_window.c:303
msgid "Thumbnail Viewer"
msgstr "Vue des miniatures"
-#: ../src/main_window.c:299
+#: ../src/main_window.c:321
msgid "Show Horizontally"
msgstr "Afficher horizontalement"
-#: ../src/main_window.c:303
+#: ../src/main_window.c:325
msgid "Show Vertically"
msgstr "Afficher verticalement"
-#: ../src/main_window.c:307
+#: ../src/main_window.c:329
msgid "Hide"
msgstr "Cacher"
#. Create 'Go' menu
-#: ../src/main_window.c:317
+#: ../src/main_window.c:339
msgid "_Go"
msgstr "A_ller"
#. Create 'Help' menu
-#: ../src/main_window.c:346
+#: ../src/main_window.c:368
msgid "_Help"
msgstr "A_ide"
-#: ../src/main_window.c:673
+#: ../src/main_window.c:809
msgid "Developer:"
msgstr "Développeur :"
-#: ../src/main_window.c:683
+#: ../src/main_window.c:819
msgid ""
"Ristretto is a fast and lightweight picture-viewer for the Xfce desktop "
"environment."
@@ -88,22 +88,29 @@
"Ristretto est un visualiseur d'images léger et rapide pour l'environnement "
"de bureau Xfce."
-#: ../src/main_window.c:691
+#: ../src/main_window.c:827
msgid "translator-credits"
msgstr "Mike Massonnet <mmassonnet at xfce.org>"
-#: ../src/main_window.c:711
+#: ../src/main_window.c:847
msgid "Open image"
msgstr "Ouvrir une image"
-#: ../src/main_window.c:746
+#: ../src/main_window.c:882
msgid "Could not open file"
msgstr "Impossible d'ouvrir le fichier"
-#: ../src/main_window.c:756
+#: ../src/main_window.c:892
msgid "Open folder"
msgstr "Ouvrir un répertoire"
+#: ../src/main_window.c:997
+msgid ""
+"Are you sure you want to clear ristretto's list of recently opened documents?"
+msgstr ""
+"Êtes-vous certain de vouloir supprimer la liste des documents récemment "
+"ouverts de Ristretto ?"
+
#: ../ristretto.desktop.in.h:1
msgid "Image Viewer"
msgstr "Visualiseur d'Images"
@@ -127,10 +134,3 @@
#~ msgid "Flip _Horizontally"
#~ msgstr "Retourner _horizontalement"
-
-#~ msgid ""
-#~ "Are you sure you want to clear ristretto's list of recently opened "
-#~ "documents?"
-#~ msgstr ""
-#~ "Êtes-vous certain de vouloir supprimer la liste des documents récemment "
-#~ "ouverts de Ristretto ?"
Modified: ristretto/trunk/po/nb_NO.po
===================================================================
--- ristretto/trunk/po/nb_NO.po 2007-09-27 21:28:10 UTC (rev 3258)
+++ ristretto/trunk/po/nb_NO.po 2007-09-27 21:32:47 UTC (rev 3259)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: ristretto\n"
"Report-Msgid-Bugs-To: stephan at xfce.org\n"
-"POT-Creation-Date: 2007-09-25 06:00+0200\n"
+"POT-Creation-Date: 2007-09-27 23:32+0200\n"
"PO-Revision-Date: 2007-08-29 21:12+0200\n"
"Last-Translator: Terje Uriansrud <ter at operamail.com>\n"
"Language-Team: Norwegian Bokmal\n"
@@ -17,92 +17,97 @@
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. Create 'File' menu
-#: ../src/main_window.c:219
+#: ../src/main_window.c:241
msgid "_File"
msgstr "_Fil"
-#: ../src/main_window.c:226
+#: ../src/main_window.c:248
msgid "O_pen Folder"
msgstr "Åp_ne mappe"
-#: ../src/main_window.c:227
+#: ../src/main_window.c:249
msgid "_Recently used"
msgstr "Nylig _brukt"
#. Create 'Edit' menu
-#: ../src/main_window.c:254
+#: ../src/main_window.c:276
msgid "_Edit"
msgstr "_Rediger"
-#: ../src/main_window.c:259
+#: ../src/main_window.c:281
msgid "Open with..."
msgstr ""
-#: ../src/main_window.c:265
+#: ../src/main_window.c:287
msgid "No applications available"
msgstr ""
#. Create 'View' menu
-#: ../src/main_window.c:273
+#: ../src/main_window.c:295
msgid "_View"
msgstr "_Vis"
-#: ../src/main_window.c:280
+#: ../src/main_window.c:302
msgid "Show Toolbar"
msgstr ""
-#: ../src/main_window.c:281
+#: ../src/main_window.c:303
msgid "Thumbnail Viewer"
msgstr "Miniatyrvisning"
-#: ../src/main_window.c:299
+#: ../src/main_window.c:321
msgid "Show Horizontally"
msgstr "Vis vannrett"
-#: ../src/main_window.c:303
+#: ../src/main_window.c:325
msgid "Show Vertically"
msgstr "Vis loddrett"
-#: ../src/main_window.c:307
+#: ../src/main_window.c:329
msgid "Hide"
msgstr "Skjul"
#. Create 'Go' menu
-#: ../src/main_window.c:317
+#: ../src/main_window.c:339
msgid "_Go"
msgstr "_Gå"
#. Create 'Help' menu
-#: ../src/main_window.c:346
+#: ../src/main_window.c:368
msgid "_Help"
msgstr "_Hjelp"
-#: ../src/main_window.c:673
+#: ../src/main_window.c:809
msgid "Developer:"
msgstr "Utvikler:"
-#: ../src/main_window.c:683
+#: ../src/main_window.c:819
msgid ""
"Ristretto is a fast and lightweight picture-viewer for the Xfce desktop "
"environment."
msgstr "Ristretto er en rask og lettvekts bildefremviser for Xfce skrivebordet"
-#: ../src/main_window.c:691
+#: ../src/main_window.c:827
msgid "translator-credits"
msgstr "Oversettelser"
-#: ../src/main_window.c:711
+#: ../src/main_window.c:847
msgid "Open image"
msgstr "Åpne bilde"
-#: ../src/main_window.c:746
+#: ../src/main_window.c:882
msgid "Could not open file"
msgstr ""
-#: ../src/main_window.c:756
+#: ../src/main_window.c:892
msgid "Open folder"
msgstr "Åpne mappe"
+#: ../src/main_window.c:997
+msgid ""
+"Are you sure you want to clear ristretto's list of recently opened documents?"
+msgstr ""
+
#: ../ristretto.desktop.in.h:1
msgid "Image Viewer"
msgstr "Bildefremviser"
Modified: ristretto/trunk/po/nl.po
===================================================================
--- ristretto/trunk/po/nl.po 2007-09-27 21:28:10 UTC (rev 3258)
+++ ristretto/trunk/po/nl.po 2007-09-27 21:32:47 UTC (rev 3259)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: ristretto 0.0.1-svn-r02537\n"
"Report-Msgid-Bugs-To: stephan at xfce.org\n"
-"POT-Creation-Date: 2007-09-25 06:00+0200\n"
+"POT-Creation-Date: 2007-09-27 23:32+0200\n"
"PO-Revision-Date: 2007-07-13 00:48+0200\n"
"Last-Translator: Stephan Arts <stephan at xfce.org>\n"
"Language-Team: Dutch\n"
@@ -17,71 +17,71 @@
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. Create 'File' menu
-#: ../src/main_window.c:219
+#: ../src/main_window.c:241
msgid "_File"
msgstr "_Bestand"
-#: ../src/main_window.c:226
+#: ../src/main_window.c:248
msgid "O_pen Folder"
msgstr "Map o_penen"
-#: ../src/main_window.c:227
+#: ../src/main_window.c:249
msgid "_Recently used"
msgstr "_Recent geopend"
#. Create 'Edit' menu
-#: ../src/main_window.c:254
+#: ../src/main_window.c:276
msgid "_Edit"
msgstr "B_ewerken"
-#: ../src/main_window.c:259
+#: ../src/main_window.c:281
msgid "Open with..."
msgstr "_Openen met..."
-#: ../src/main_window.c:265
+#: ../src/main_window.c:287
msgid "No applications available"
msgstr "Geen programma's beschikbaar"
#. Create 'View' menu
-#: ../src/main_window.c:273
+#: ../src/main_window.c:295
msgid "_View"
msgstr "Beel_d"
-#: ../src/main_window.c:280
+#: ../src/main_window.c:302
msgid "Show Toolbar"
msgstr "Toon Werkbalk"
-#: ../src/main_window.c:281
+#: ../src/main_window.c:303
msgid "Thumbnail Viewer"
msgstr "Miniatuur Weergave"
-#: ../src/main_window.c:299
+#: ../src/main_window.c:321
msgid "Show Horizontally"
msgstr "Horizontaal tonen"
-#: ../src/main_window.c:303
+#: ../src/main_window.c:325
msgid "Show Vertically"
msgstr "Verticaal tonen"
-#: ../src/main_window.c:307
+#: ../src/main_window.c:329
msgid "Hide"
msgstr "Verbergen"
#. Create 'Go' menu
-#: ../src/main_window.c:317
+#: ../src/main_window.c:339
msgid "_Go"
msgstr "_Ga"
#. Create 'Help' menu
-#: ../src/main_window.c:346
+#: ../src/main_window.c:368
msgid "_Help"
msgstr "_Help"
-#: ../src/main_window.c:673
+#: ../src/main_window.c:809
msgid "Developer:"
msgstr "Ontwikkelaar:"
-#: ../src/main_window.c:683
+#: ../src/main_window.c:819
msgid ""
"Ristretto is a fast and lightweight picture-viewer for the Xfce desktop "
"environment."
@@ -89,22 +89,29 @@
"Ristretto is een snel en lichtgewicht afbeeldingsweergave-programma voor de "
"Xfce-desktop omgeving"
-#: ../src/main_window.c:691
+#: ../src/main_window.c:827
msgid "translator-credits"
msgstr "Stephan Arts <stephan at xfce.org>"
-#: ../src/main_window.c:711
+#: ../src/main_window.c:847
msgid "Open image"
msgstr "Afbeelding openen"
-#: ../src/main_window.c:746
+#: ../src/main_window.c:882
msgid "Could not open file"
msgstr "Kan bestand niet openen"
-#: ../src/main_window.c:756
+#: ../src/main_window.c:892
msgid "Open folder"
msgstr "Map openen"
+#: ../src/main_window.c:997
+msgid ""
+"Are you sure you want to clear ristretto's list of recently opened documents?"
+msgstr ""
+"Weet U zeker dat u de lijst met recent door ristretto geopende bestanden "
+"wilt wissen?"
+
#: ../ristretto.desktop.in.h:1
msgid "Image Viewer"
msgstr "Afbeeldingsweergave"
@@ -129,13 +136,6 @@
#~ msgid "Flip _Horizontally"
#~ msgstr "_Horizontaal spiegelen"
-#~ msgid ""
-#~ "Are you sure you want to clear ristretto's list of recently opened "
-#~ "documents?"
-#~ msgstr ""
-#~ "Weet U zeker dat u de lijst met recent door ristretto geopende bestanden "
-#~ "wilt wissen?"
-
#~ msgid "_Clear"
#~ msgstr "_Opruimen"
Modified: ristretto/trunk/po/ristretto.pot
===================================================================
--- ristretto/trunk/po/ristretto.pot 2007-09-27 21:28:10 UTC (rev 3258)
+++ ristretto/trunk/po/ristretto.pot 2007-09-27 21:32:47 UTC (rev 3259)
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: stephan at xfce.org\n"
-"POT-Creation-Date: 2007-09-25 06:00+0200\n"
+"POT-Creation-Date: 2007-09-27 23:32+0200\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"
@@ -17,92 +17,97 @@
"Content-Transfer-Encoding: 8bit\n"
#. Create 'File' menu
-#: ../src/main_window.c:219
+#: ../src/main_window.c:241
msgid "_File"
msgstr ""
-#: ../src/main_window.c:226
+#: ../src/main_window.c:248
msgid "O_pen Folder"
msgstr ""
-#: ../src/main_window.c:227
+#: ../src/main_window.c:249
msgid "_Recently used"
msgstr ""
#. Create 'Edit' menu
-#: ../src/main_window.c:254
+#: ../src/main_window.c:276
msgid "_Edit"
msgstr ""
-#: ../src/main_window.c:259
+#: ../src/main_window.c:281
msgid "Open with..."
msgstr ""
-#: ../src/main_window.c:265
+#: ../src/main_window.c:287
msgid "No applications available"
msgstr ""
#. Create 'View' menu
-#: ../src/main_window.c:273
+#: ../src/main_window.c:295
msgid "_View"
msgstr ""
-#: ../src/main_window.c:280
+#: ../src/main_window.c:302
msgid "Show Toolbar"
msgstr ""
-#: ../src/main_window.c:281
+#: ../src/main_window.c:303
msgid "Thumbnail Viewer"
msgstr ""
-#: ../src/main_window.c:299
+#: ../src/main_window.c:321
msgid "Show Horizontally"
msgstr ""
-#: ../src/main_window.c:303
+#: ../src/main_window.c:325
msgid "Show Vertically"
msgstr ""
-#: ../src/main_window.c:307
+#: ../src/main_window.c:329
msgid "Hide"
msgstr ""
#. Create 'Go' menu
-#: ../src/main_window.c:317
+#: ../src/main_window.c:339
msgid "_Go"
msgstr ""
#. Create 'Help' menu
-#: ../src/main_window.c:346
+#: ../src/main_window.c:368
msgid "_Help"
msgstr ""
-#: ../src/main_window.c:673
+#: ../src/main_window.c:809
msgid "Developer:"
msgstr ""
-#: ../src/main_window.c:683
+#: ../src/main_window.c:819
msgid ""
"Ristretto is a fast and lightweight picture-viewer for the Xfce desktop "
"environment."
msgstr ""
-#: ../src/main_window.c:691
+#: ../src/main_window.c:827
msgid "translator-credits"
msgstr ""
-#: ../src/main_window.c:711
+#: ../src/main_window.c:847
msgid "Open image"
msgstr ""
-#: ../src/main_window.c:746
+#: ../src/main_window.c:882
msgid "Could not open file"
msgstr ""
-#: ../src/main_window.c:756
+#: ../src/main_window.c:892
msgid "Open folder"
msgstr ""
+#: ../src/main_window.c:997
+msgid ""
+"Are you sure you want to clear ristretto's list of recently opened documents?"
+msgstr ""
+
#: ../ristretto.desktop.in.h:1
msgid "Image Viewer"
msgstr ""
Modified: ristretto/trunk/src/main_window.c
===================================================================
--- ristretto/trunk/src/main_window.c 2007-09-27 21:28:10 UTC (rev 3258)
+++ ristretto/trunk/src/main_window.c 2007-09-27 21:32:47 UTC (rev 3259)
@@ -169,6 +169,8 @@
static void
cb_rstto_main_window_open_recent(GtkRecentChooser *chooser, RsttoMainWindow *window);
static void
+cb_rstto_main_window_clear_recent(GtkWidget *widget, RsttoMainWindow *window);
+static void
cb_rstto_main_window_close(GtkWidget *widget, RsttoMainWindow *window);
static void
cb_rstto_main_window_quit(GtkWidget *widget, RsttoMainWindow *window);
@@ -481,6 +483,9 @@
g_signal_connect(window->priv->menus.file.menu_item_quit,
"activate",
G_CALLBACK(cb_rstto_main_window_quit), window);
+ g_signal_connect(window->priv->menus.file.recently.menu_item_clear,
+ "activate",
+ G_CALLBACK(cb_rstto_main_window_clear_recent), window);
g_signal_connect(window->priv->menus.help.menu_item_about,
"activate",
G_CALLBACK(cb_rstto_main_window_about), window);
@@ -534,6 +539,23 @@
parent_class = g_type_class_peek_parent(window_class);
}
+static gboolean
+rstto_main_window_clear_recent(RsttoMainWindow *window)
+{
+ GList *items = gtk_recent_manager_get_items(window->priv->manager);
+ GList *iter = items;
+ while(iter)
+ {
+ if(gtk_recent_info_has_application(iter->data, "ristretto"))
+ {
+ gtk_recent_manager_remove_item(window->priv->manager, gtk_recent_info_get_uri(iter->data), NULL);
+ }
+ iter = g_list_next(iter);
+ }
+ return FALSE;
+}
+
+
GtkWidget *
rstto_main_window_new()
{
@@ -966,6 +988,23 @@
}
static void
+cb_rstto_main_window_clear_recent(GtkWidget *widget, RsttoMainWindow *window)
+{
+ GtkWidget *dialog = gtk_message_dialog_new(NULL,
+ GTK_DIALOG_MODAL,
+ GTK_MESSAGE_ERROR,
+ GTK_BUTTONS_OK_CANCEL,
+ _("Are you sure you want to clear ristretto's list of recently opened documents?"));
+ gint result = gtk_dialog_run(GTK_DIALOG(dialog));
+ if (result == GTK_RESPONSE_OK)
+ {
+ g_timeout_add(150, (GSourceFunc)rstto_main_window_clear_recent, window);
+ }
+ gtk_widget_destroy(dialog);
+
+}
+
+static void
cb_rstto_main_window_close(GtkWidget *widget, RsttoMainWindow *window)
{
RsttoNavigatorEntry *entry = rstto_navigator_get_file(window->priv->navigator);
@@ -989,6 +1028,7 @@
{
ThunarVfsInfo *info = NULL;
const gchar *filename = NULL;
+ gchar *title = NULL;
if(entry)
{
@@ -1001,10 +1041,22 @@
gtk_widget_set_sensitive(window->priv->menus.go.menu_item_next, TRUE);
gtk_widget_set_sensitive(window->priv->menus.go.menu_item_play, TRUE);
gtk_widget_set_sensitive(window->priv->menus.go.menu_item_pause, TRUE);
+ if (rstto_navigator_get_n_files(navigator) > 1)
+ {
+ title = g_strdup_printf("%s - %s [%d/%d]", PACKAGE_NAME, filename, nr+1, rstto_navigator_get_n_files(navigator));
+ }
+ else
+ {
+ title = g_strconcat(PACKAGE_NAME, " - ", filename, NULL);
+ }
+ gtk_window_set_title(GTK_WINDOW(window), title);
+ g_free(title);
+ title = NULL;
}
else
{
gtk_widget_set_sensitive(window->priv->menus.file.menu_item_close, FALSE);
+ gtk_window_set_title(GTK_WINDOW(window), PACKAGE_STRING);
if (rstto_navigator_get_n_files(window->priv->navigator) == 0)
{
gtk_widget_set_sensitive(window->priv->menus.go.menu_item_first, FALSE);
More information about the Goodies-commits
mailing list