[Goodies-commits] r3420 - in ristretto/trunk: po src

Stephan Arts stephan at xfce.org
Sun Oct 21 00:42:40 CEST 2007


Author: stephan
Date: 2007-10-20 22:42:40 +0000 (Sat, 20 Oct 2007)
New Revision: 3420

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/picture_viewer.c
Log:
Update po files
improve motion event handling on picture viewer



Modified: ristretto/trunk/po/de.po
===================================================================
--- ristretto/trunk/po/de.po	2007-10-20 20:49:18 UTC (rev 3419)
+++ ristretto/trunk/po/de.po	2007-10-20 22:42:40 UTC (rev 3420)
@@ -3,11 +3,12 @@
 # This file is distributed under the same license as the PACKAGE package.
 # Christian Dywan <christian at twotoasts.de>, 2007.
 #
+#: ../src/main.c:65
 msgid ""
 msgstr ""
 "Project-Id-Version: ristretto\n"
 "Report-Msgid-Bugs-To: stephan at xfce.org\n"
-"POT-Creation-Date: 2007-09-27 23:32+0200\n"
+"POT-Creation-Date: 2007-10-21 00:41+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"
@@ -15,72 +16,83 @@
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 
+#: ../src/main.c:47
+msgid "Version information"
+msgstr ""
+
+#: ../src/main.c:69
+#, c-format
+msgid ""
+"%s: %s\n"
+"Try %s --help to see a full list of available command line options.\n"
+msgstr ""
+
 #. Create 'File' menu
-#: ../src/main_window.c:241
+#: ../src/main_window.c:278
 msgid "_File"
 msgstr "_Datei"
 
-#: ../src/main_window.c:248
+#: ../src/main_window.c:285
 msgid "O_pen Folder"
 msgstr "_Ordner öffnen"
 
-#: ../src/main_window.c:249
+#: ../src/main_window.c:286
 msgid "_Recently used"
 msgstr "_Zuletzt geöffnet"
 
 #. Create 'Edit' menu
-#: ../src/main_window.c:276
+#: ../src/main_window.c:318
 msgid "_Edit"
 msgstr "_Bearbeiten"
 
-#: ../src/main_window.c:281
+#: ../src/main_window.c:323 ../src/main_window.c:488
 msgid "Open with..."
 msgstr "Ö_fnen mit..."
 
-#: ../src/main_window.c:287
+#: ../src/main_window.c:329 ../src/main_window.c:499
 msgid "No applications available"
 msgstr "Keine Programme verfügbar"
 
 #. Create 'View' menu
-#: ../src/main_window.c:295
+#: ../src/main_window.c:338
 msgid "_View"
 msgstr "_Ansicht"
 
-#: ../src/main_window.c:302
+#: ../src/main_window.c:345
 msgid "Show Toolbar"
 msgstr "_Werkzeugleiste anzeigen"
 
-#: ../src/main_window.c:303
+#: ../src/main_window.c:346
 msgid "Thumbnail Viewer"
 msgstr "Vor_schaubilder"
 
-#: ../src/main_window.c:321
+#: ../src/main_window.c:364
 msgid "Show Horizontally"
 msgstr "_Horizontal anzeigen"
 
-#: ../src/main_window.c:325
+#: ../src/main_window.c:368
 msgid "Show Vertically"
 msgstr "_Vertikal anzeigen"
 
-#: ../src/main_window.c:329
+#: ../src/main_window.c:372
 msgid "Hide"
 msgstr "Ver_bergen"
 
 #. Create 'Go' menu
-#: ../src/main_window.c:339
+#: ../src/main_window.c:382
 msgid "_Go"
 msgstr "_Gehe zu"
 
 #. Create 'Help' menu
-#: ../src/main_window.c:368
+#: ../src/main_window.c:411
 msgid "_Help"
 msgstr "_Hilfe"
 
-#: ../src/main_window.c:809
+#: ../src/main_window.c:968
 msgid "Developer:"
 msgstr "Entwickler:"
 
-#: ../src/main_window.c:819
+#: ../src/main_window.c:978
 msgid ""
 "Ristretto is a fast and lightweight picture-viewer for the Xfce desktop "
 "environment."
@@ -88,23 +100,23 @@
 "Ristretto ist ein schneller und leichter Bildbetrachter für die "
 "Arbeitsumgebung Xfce."
 
-#: ../src/main_window.c:827
+#: ../src/main_window.c:986
 msgid "translator-credits"
 msgstr "Christian Dywan <christian at twotoasts.de>"
 
-#: ../src/main_window.c:847
+#: ../src/main_window.c:1006
 msgid "Open image"
 msgstr "Bild öffnen"
 
-#: ../src/main_window.c:882
+#: ../src/main_window.c:1046
 msgid "Could not open file"
 msgstr "Datei konnte nicht geöffnet werden"
 
-#: ../src/main_window.c:892
+#: ../src/main_window.c:1056
 msgid "Open folder"
 msgstr "_Ordner öffnen"
 
-#: ../src/main_window.c:997
+#: ../src/main_window.c:1167
 msgid ""
 "Are you sure you want to clear ristretto's list of recently opened documents?"
 msgstr ""

Modified: ristretto/trunk/po/fi.po
===================================================================
--- ristretto/trunk/po/fi.po	2007-10-20 20:49:18 UTC (rev 3419)
+++ ristretto/trunk/po/fi.po	2007-10-20 22:42:40 UTC (rev 3420)
@@ -3,11 +3,12 @@
 # This file is distributed under the same license as the ristretto package.
 # Jari Rahkonen <jari.rahkonen at pp1.inet.fi>, 2007
 #
+#: ../src/main.c:65
 msgid ""
 msgstr ""
 "Project-Id-Version: ristretto 0.0.5\n"
 "Report-Msgid-Bugs-To: stephan at xfce.org\n"
-"POT-Creation-Date: 2007-09-27 23:32+0200\n"
+"POT-Creation-Date: 2007-10-21 00:41+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"
@@ -15,94 +16,105 @@
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 
+#: ../src/main.c:47
+msgid "Version information"
+msgstr ""
+
+#: ../src/main.c:69
+#, c-format
+msgid ""
+"%s: %s\n"
+"Try %s --help to see a full list of available command line options.\n"
+msgstr ""
+
 #. Create 'File' menu
-#: ../src/main_window.c:241
+#: ../src/main_window.c:278
 msgid "_File"
 msgstr "_Tiedosto"
 
-#: ../src/main_window.c:248
+#: ../src/main_window.c:285
 msgid "O_pen Folder"
 msgstr "Avaa _hakemisto"
 
-#: ../src/main_window.c:249
+#: ../src/main_window.c:286
 msgid "_Recently used"
 msgstr "_Viimeaikaiset"
 
 #. Create 'Edit' menu
-#: ../src/main_window.c:276
+#: ../src/main_window.c:318
 msgid "_Edit"
 msgstr "_Muokkaa"
 
-#: ../src/main_window.c:281
+#: ../src/main_window.c:323 ../src/main_window.c:488
 msgid "Open with..."
 msgstr "_Avaa sovelluksessa..."
 
-#: ../src/main_window.c:287
+#: ../src/main_window.c:329 ../src/main_window.c:499
 msgid "No applications available"
 msgstr "Sovelluksia ei saatavilla"
 
 #. Create 'View' menu
-#: ../src/main_window.c:295
+#: ../src/main_window.c:338
 msgid "_View"
 msgstr "_Näytä"
 
-#: ../src/main_window.c:302
+#: ../src/main_window.c:345
 msgid "Show Toolbar"
 msgstr "Näytä työkalupalkki"
 
-#: ../src/main_window.c:303
+#: ../src/main_window.c:346
 msgid "Thumbnail Viewer"
 msgstr "Pienoiskuvat"
 
-#: ../src/main_window.c:321
+#: ../src/main_window.c:364
 msgid "Show Horizontally"
 msgstr "Näytä vaakasuunnassa"
 
-#: ../src/main_window.c:325
+#: ../src/main_window.c:368
 msgid "Show Vertically"
 msgstr "Näytä pystysuunnassa"
 
-#: ../src/main_window.c:329
+#: ../src/main_window.c:372
 msgid "Hide"
 msgstr "Piilota"
 
 #. Create 'Go' menu
-#: ../src/main_window.c:339
+#: ../src/main_window.c:382
 msgid "_Go"
 msgstr "_Siirry"
 
 #. Create 'Help' menu
-#: ../src/main_window.c:368
+#: ../src/main_window.c:411
 msgid "_Help"
 msgstr "_Ohje"
 
-#: ../src/main_window.c:809
+#: ../src/main_window.c:968
 msgid "Developer:"
 msgstr "Kehittäjä:"
 
-#: ../src/main_window.c:819
+#: ../src/main_window.c:978
 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:827
+#: ../src/main_window.c:986
 msgid "translator-credits"
 msgstr "Jari Rahkonen <jari.rahkonen at pp1.inet.fi>"
 
-#: ../src/main_window.c:847
+#: ../src/main_window.c:1006
 msgid "Open image"
 msgstr "Avaa kuva"
 
-#: ../src/main_window.c:882
+#: ../src/main_window.c:1046
 msgid "Could not open file"
 msgstr "Tiedoston avaus ei onnistunut"
 
-#: ../src/main_window.c:892
+#: ../src/main_window.c:1056
 msgid "Open folder"
 msgstr "Avaa hakemisto"
 
-#: ../src/main_window.c:997
+#: ../src/main_window.c:1167
 msgid ""
 "Are you sure you want to clear ristretto's list of recently opened documents?"
 msgstr ""

Modified: ristretto/trunk/po/fr.po
===================================================================
--- ristretto/trunk/po/fr.po	2007-10-20 20:49:18 UTC (rev 3419)
+++ ristretto/trunk/po/fr.po	2007-10-20 22:42:40 UTC (rev 3420)
@@ -3,11 +3,12 @@
 # This file is distributed under the same license as the PACKAGE package.
 # Mike Massonnet <mmassonnet at xfce.org>, 2007.
 #
+#: ../src/main.c:65
 msgid ""
 msgstr ""
 "Project-Id-Version: ristretto\n"
 "Report-Msgid-Bugs-To: stephan at xfce.org\n"
-"POT-Creation-Date: 2007-09-27 23:32+0200\n"
+"POT-Creation-Date: 2007-10-21 00:41+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"
@@ -15,72 +16,83 @@
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 
+#: ../src/main.c:47
+msgid "Version information"
+msgstr ""
+
+#: ../src/main.c:69
+#, c-format
+msgid ""
+"%s: %s\n"
+"Try %s --help to see a full list of available command line options.\n"
+msgstr ""
+
 #. Create 'File' menu
-#: ../src/main_window.c:241
+#: ../src/main_window.c:278
 msgid "_File"
 msgstr "_Fichier"
 
-#: ../src/main_window.c:248
+#: ../src/main_window.c:285
 msgid "O_pen Folder"
 msgstr "O_uvrir un répertoire"
 
-#: ../src/main_window.c:249
+#: ../src/main_window.c:286
 msgid "_Recently used"
 msgstr "_Récemment ouvert"
 
 #. Create 'Edit' menu
-#: ../src/main_window.c:276
+#: ../src/main_window.c:318
 msgid "_Edit"
 msgstr "_Editer"
 
-#: ../src/main_window.c:281
+#: ../src/main_window.c:323 ../src/main_window.c:488
 msgid "Open with..."
 msgstr "_Ouvrir avec..."
 
-#: ../src/main_window.c:287
+#: ../src/main_window.c:329 ../src/main_window.c:499
 msgid "No applications available"
 msgstr "Aucune application disponible"
 
 #. Create 'View' menu
-#: ../src/main_window.c:295
+#: ../src/main_window.c:338
 msgid "_View"
 msgstr "_Afficher"
 
-#: ../src/main_window.c:302
+#: ../src/main_window.c:345
 msgid "Show Toolbar"
 msgstr "Barre d'outils"
 
-#: ../src/main_window.c:303
+#: ../src/main_window.c:346
 msgid "Thumbnail Viewer"
 msgstr "Vue des miniatures"
 
-#: ../src/main_window.c:321
+#: ../src/main_window.c:364
 msgid "Show Horizontally"
 msgstr "Afficher horizontalement"
 
-#: ../src/main_window.c:325
+#: ../src/main_window.c:368
 msgid "Show Vertically"
 msgstr "Afficher verticalement"
 
-#: ../src/main_window.c:329
+#: ../src/main_window.c:372
 msgid "Hide"
 msgstr "Cacher"
 
 #. Create 'Go' menu
-#: ../src/main_window.c:339
+#: ../src/main_window.c:382
 msgid "_Go"
 msgstr "A_ller"
 
 #. Create 'Help' menu
-#: ../src/main_window.c:368
+#: ../src/main_window.c:411
 msgid "_Help"
 msgstr "A_ide"
 
-#: ../src/main_window.c:809
+#: ../src/main_window.c:968
 msgid "Developer:"
 msgstr "Développeur :"
 
-#: ../src/main_window.c:819
+#: ../src/main_window.c:978
 msgid ""
 "Ristretto is a fast and lightweight picture-viewer for the Xfce desktop "
 "environment."
@@ -88,23 +100,23 @@
 "Ristretto est un visualiseur d'images léger et rapide pour l'environnement "
 "de bureau Xfce."
 
-#: ../src/main_window.c:827
+#: ../src/main_window.c:986
 msgid "translator-credits"
 msgstr "Mike Massonnet <mmassonnet at xfce.org>"
 
-#: ../src/main_window.c:847
+#: ../src/main_window.c:1006
 msgid "Open image"
 msgstr "Ouvrir une image"
 
-#: ../src/main_window.c:882
+#: ../src/main_window.c:1046
 msgid "Could not open file"
 msgstr "Impossible d'ouvrir le fichier"
 
-#: ../src/main_window.c:892
+#: ../src/main_window.c:1056
 msgid "Open folder"
 msgstr "Ouvrir un répertoire"
 
-#: ../src/main_window.c:997
+#: ../src/main_window.c:1167
 msgid ""
 "Are you sure you want to clear ristretto's list of recently opened documents?"
 msgstr ""

Modified: ristretto/trunk/po/nb_NO.po
===================================================================
--- ristretto/trunk/po/nb_NO.po	2007-10-20 20:49:18 UTC (rev 3419)
+++ ristretto/trunk/po/nb_NO.po	2007-10-20 22:42:40 UTC (rev 3420)
@@ -3,11 +3,12 @@
 # This file is distributed under the same license as the PACKAGE package.
 # Terje Uriansrud <ter at operamail.com>, 2007.
 #
+#: ../src/main.c:65
 msgid ""
 msgstr ""
 "Project-Id-Version: ristretto\n"
 "Report-Msgid-Bugs-To: stephan at xfce.org\n"
-"POT-Creation-Date: 2007-09-27 23:32+0200\n"
+"POT-Creation-Date: 2007-10-21 00:41+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"
@@ -16,94 +17,105 @@
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
+#: ../src/main.c:47
+msgid "Version information"
+msgstr ""
+
+#: ../src/main.c:69
+#, c-format
+msgid ""
+"%s: %s\n"
+"Try %s --help to see a full list of available command line options.\n"
+msgstr ""
+
 #. Create 'File' menu
-#: ../src/main_window.c:241
+#: ../src/main_window.c:278
 msgid "_File"
 msgstr "_Fil"
 
-#: ../src/main_window.c:248
+#: ../src/main_window.c:285
 msgid "O_pen Folder"
 msgstr "Åp_ne mappe"
 
-#: ../src/main_window.c:249
+#: ../src/main_window.c:286
 msgid "_Recently used"
 msgstr "Nylig _brukt"
 
 #. Create 'Edit' menu
-#: ../src/main_window.c:276
+#: ../src/main_window.c:318
 msgid "_Edit"
 msgstr "_Rediger"
 
-#: ../src/main_window.c:281
+#: ../src/main_window.c:323 ../src/main_window.c:488
 msgid "Open with..."
 msgstr ""
 
-#: ../src/main_window.c:287
+#: ../src/main_window.c:329 ../src/main_window.c:499
 msgid "No applications available"
 msgstr ""
 
 #. Create 'View' menu
-#: ../src/main_window.c:295
+#: ../src/main_window.c:338
 msgid "_View"
 msgstr "_Vis"
 
-#: ../src/main_window.c:302
+#: ../src/main_window.c:345
 msgid "Show Toolbar"
 msgstr ""
 
-#: ../src/main_window.c:303
+#: ../src/main_window.c:346
 msgid "Thumbnail Viewer"
 msgstr "Miniatyrvisning"
 
-#: ../src/main_window.c:321
+#: ../src/main_window.c:364
 msgid "Show Horizontally"
 msgstr "Vis vannrett"
 
-#: ../src/main_window.c:325
+#: ../src/main_window.c:368
 msgid "Show Vertically"
 msgstr "Vis loddrett"
 
-#: ../src/main_window.c:329
+#: ../src/main_window.c:372
 msgid "Hide"
 msgstr "Skjul"
 
 #. Create 'Go' menu
-#: ../src/main_window.c:339
+#: ../src/main_window.c:382
 msgid "_Go"
 msgstr "_Gå"
 
 #. Create 'Help' menu
-#: ../src/main_window.c:368
+#: ../src/main_window.c:411
 msgid "_Help"
 msgstr "_Hjelp"
 
-#: ../src/main_window.c:809
+#: ../src/main_window.c:968
 msgid "Developer:"
 msgstr "Utvikler:"
 
-#: ../src/main_window.c:819
+#: ../src/main_window.c:978
 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:827
+#: ../src/main_window.c:986
 msgid "translator-credits"
 msgstr "Oversettelser"
 
-#: ../src/main_window.c:847
+#: ../src/main_window.c:1006
 msgid "Open image"
 msgstr "Åpne bilde"
 
-#: ../src/main_window.c:882
+#: ../src/main_window.c:1046
 msgid "Could not open file"
 msgstr ""
 
-#: ../src/main_window.c:892
+#: ../src/main_window.c:1056
 msgid "Open folder"
 msgstr "Åpne mappe"
 
-#: ../src/main_window.c:997
+#: ../src/main_window.c:1167
 msgid ""
 "Are you sure you want to clear ristretto's list of recently opened documents?"
 msgstr ""

Modified: ristretto/trunk/po/nl.po
===================================================================
--- ristretto/trunk/po/nl.po	2007-10-20 20:49:18 UTC (rev 3419)
+++ ristretto/trunk/po/nl.po	2007-10-20 22:42:40 UTC (rev 3420)
@@ -3,11 +3,12 @@
 # This file is distributed under the same license as the ristretto package.
 # Stephan Arts <stephan at xfce.org>, 2007.
 #
+#: ../src/main.c:65
 msgid ""
 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-27 23:32+0200\n"
+"POT-Creation-Date: 2007-10-21 00:41+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"
@@ -16,72 +17,85 @@
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
+#: ../src/main.c:47
+msgid "Version information"
+msgstr "Versie informatie"
+
+#: ../src/main.c:69
+#, c-format
+msgid ""
+"%s: %s\n"
+"Try %s --help to see a full list of available command line options.\n"
+msgstr ""
+"%s: %s\n"
+"Probeer %s --help voor een lijst van beschikbare commando regel opties.\n"
+
 #. Create 'File' menu
-#: ../src/main_window.c:241
+#: ../src/main_window.c:278
 msgid "_File"
 msgstr "_Bestand"
 
-#: ../src/main_window.c:248
+#: ../src/main_window.c:285
 msgid "O_pen Folder"
 msgstr "Map o_penen"
 
-#: ../src/main_window.c:249
+#: ../src/main_window.c:286
 msgid "_Recently used"
 msgstr "_Recent geopend"
 
 #. Create 'Edit' menu
-#: ../src/main_window.c:276
+#: ../src/main_window.c:318
 msgid "_Edit"
 msgstr "B_ewerken"
 
-#: ../src/main_window.c:281
+#: ../src/main_window.c:323 ../src/main_window.c:488
 msgid "Open with..."
 msgstr "_Openen met..."
 
-#: ../src/main_window.c:287
+#: ../src/main_window.c:329 ../src/main_window.c:499
 msgid "No applications available"
 msgstr "Geen programma's beschikbaar"
 
 #. Create 'View' menu
-#: ../src/main_window.c:295
+#: ../src/main_window.c:338
 msgid "_View"
 msgstr "Beel_d"
 
-#: ../src/main_window.c:302
+#: ../src/main_window.c:345
 msgid "Show Toolbar"
 msgstr "Toon Werkbalk"
 
-#: ../src/main_window.c:303
+#: ../src/main_window.c:346
 msgid "Thumbnail Viewer"
 msgstr "Miniatuur Weergave"
 
-#: ../src/main_window.c:321
+#: ../src/main_window.c:364
 msgid "Show Horizontally"
 msgstr "Horizontaal tonen"
 
-#: ../src/main_window.c:325
+#: ../src/main_window.c:368
 msgid "Show Vertically"
 msgstr "Verticaal tonen"
 
-#: ../src/main_window.c:329
+#: ../src/main_window.c:372
 msgid "Hide"
 msgstr "Verbergen"
 
 #. Create 'Go' menu
-#: ../src/main_window.c:339
+#: ../src/main_window.c:382
 msgid "_Go"
 msgstr "_Ga"
 
 #. Create 'Help' menu
-#: ../src/main_window.c:368
+#: ../src/main_window.c:411
 msgid "_Help"
 msgstr "_Help"
 
-#: ../src/main_window.c:809
+#: ../src/main_window.c:968
 msgid "Developer:"
 msgstr "Ontwikkelaar:"
 
-#: ../src/main_window.c:819
+#: ../src/main_window.c:978
 msgid ""
 "Ristretto is a fast and lightweight picture-viewer for the Xfce desktop "
 "environment."
@@ -89,23 +103,23 @@
 "Ristretto is een snel en lichtgewicht afbeeldingsweergave-programma voor de "
 "Xfce-desktop omgeving"
 
-#: ../src/main_window.c:827
+#: ../src/main_window.c:986
 msgid "translator-credits"
 msgstr "Stephan Arts <stephan at xfce.org>"
 
-#: ../src/main_window.c:847
+#: ../src/main_window.c:1006
 msgid "Open image"
 msgstr "Afbeelding openen"
 
-#: ../src/main_window.c:882
+#: ../src/main_window.c:1046
 msgid "Could not open file"
 msgstr "Kan bestand niet openen"
 
-#: ../src/main_window.c:892
+#: ../src/main_window.c:1056
 msgid "Open folder"
 msgstr "Map openen"
 
-#: ../src/main_window.c:997
+#: ../src/main_window.c:1167
 msgid ""
 "Are you sure you want to clear ristretto's list of recently opened documents?"
 msgstr ""

Modified: ristretto/trunk/po/ristretto.pot
===================================================================
--- ristretto/trunk/po/ristretto.pot	2007-10-20 20:49:18 UTC (rev 3419)
+++ ristretto/trunk/po/ristretto.pot	2007-10-20 22:42:40 UTC (rev 3420)
@@ -3,12 +3,13 @@
 # This file is distributed under the same license as the PACKAGE package.
 # FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
 #
+#: ../src/main.c:65
 #, fuzzy
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: stephan at xfce.org\n"
-"POT-Creation-Date: 2007-09-27 23:32+0200\n"
+"POT-Creation-Date: 2007-10-21 00:41+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"
@@ -16,94 +17,105 @@
 "Content-Type: text/plain; charset=CHARSET\n"
 "Content-Transfer-Encoding: 8bit\n"
 
+#: ../src/main.c:47
+msgid "Version information"
+msgstr ""
+
+#: ../src/main.c:69
+#, c-format
+msgid ""
+"%s: %s\n"
+"Try %s --help to see a full list of available command line options.\n"
+msgstr ""
+
 #. Create 'File' menu
-#: ../src/main_window.c:241
+#: ../src/main_window.c:278
 msgid "_File"
 msgstr ""
 
-#: ../src/main_window.c:248
+#: ../src/main_window.c:285
 msgid "O_pen Folder"
 msgstr ""
 
-#: ../src/main_window.c:249
+#: ../src/main_window.c:286
 msgid "_Recently used"
 msgstr ""
 
 #. Create 'Edit' menu
-#: ../src/main_window.c:276
+#: ../src/main_window.c:318
 msgid "_Edit"
 msgstr ""
 
-#: ../src/main_window.c:281
+#: ../src/main_window.c:323 ../src/main_window.c:488
 msgid "Open with..."
 msgstr ""
 
-#: ../src/main_window.c:287
+#: ../src/main_window.c:329 ../src/main_window.c:499
 msgid "No applications available"
 msgstr ""
 
 #. Create 'View' menu
-#: ../src/main_window.c:295
+#: ../src/main_window.c:338
 msgid "_View"
 msgstr ""
 
-#: ../src/main_window.c:302
+#: ../src/main_window.c:345
 msgid "Show Toolbar"
 msgstr ""
 
-#: ../src/main_window.c:303
+#: ../src/main_window.c:346
 msgid "Thumbnail Viewer"
 msgstr ""
 
-#: ../src/main_window.c:321
+#: ../src/main_window.c:364
 msgid "Show Horizontally"
 msgstr ""
 
-#: ../src/main_window.c:325
+#: ../src/main_window.c:368
 msgid "Show Vertically"
 msgstr ""
 
-#: ../src/main_window.c:329
+#: ../src/main_window.c:372
 msgid "Hide"
 msgstr ""
 
 #. Create 'Go' menu
-#: ../src/main_window.c:339
+#: ../src/main_window.c:382
 msgid "_Go"
 msgstr ""
 
 #. Create 'Help' menu
-#: ../src/main_window.c:368
+#: ../src/main_window.c:411
 msgid "_Help"
 msgstr ""
 
-#: ../src/main_window.c:809
+#: ../src/main_window.c:968
 msgid "Developer:"
 msgstr ""
 
-#: ../src/main_window.c:819
+#: ../src/main_window.c:978
 msgid ""
 "Ristretto is a fast and lightweight picture-viewer for the Xfce desktop "
 "environment."
 msgstr ""
 
-#: ../src/main_window.c:827
+#: ../src/main_window.c:986
 msgid "translator-credits"
 msgstr ""
 
-#: ../src/main_window.c:847
+#: ../src/main_window.c:1006
 msgid "Open image"
 msgstr ""
 
-#: ../src/main_window.c:882
+#: ../src/main_window.c:1046
 msgid "Could not open file"
 msgstr ""
 
-#: ../src/main_window.c:892
+#: ../src/main_window.c:1056
 msgid "Open folder"
 msgstr ""
 
-#: ../src/main_window.c:997
+#: ../src/main_window.c:1167
 msgid ""
 "Are you sure you want to clear ristretto's list of recently opened documents?"
 msgstr ""

Modified: ristretto/trunk/src/picture_viewer.c
===================================================================
--- ristretto/trunk/src/picture_viewer.c	2007-10-20 20:49:18 UTC (rev 3419)
+++ ristretto/trunk/src/picture_viewer.c	2007-10-20 22:42:40 UTC (rev 3420)
@@ -24,6 +24,10 @@
 #include "navigator.h"
 #include "picture_viewer.h"
 
+#ifndef RSTTO_PICTURE_VIEWER_DRAG_MOTION_TIMEOUT
+#define RSTTO_PICTURE_VIEWER_DRAG_MOTION_TIMEOUT 160
+#endif
+
 struct _RsttoPictureViewerPriv
 {
     GdkPixbufLoader  *loader;
@@ -44,6 +48,7 @@
         gdouble y;
         gint h_val;
         gint v_val;
+        gint32 time;
     } motion;
     GtkMenu          *menu;
 };
@@ -251,10 +256,8 @@
 static gboolean
 rstto_picture_viewer_expose(GtkWidget *widget, GdkEventExpose *event)
 {
-    if(rstto_picture_viewer_refresh(RSTTO_PICTURE_VIEWER(widget)))
-    {
-        rstto_picture_viewer_paint(widget);
-    }
+    rstto_picture_viewer_refresh(RSTTO_PICTURE_VIEWER(widget));
+    rstto_picture_viewer_paint(widget);
     return FALSE;
 }
 
@@ -1007,40 +1010,47 @@
 {
     if (event->state & GDK_BUTTON1_MASK)
     {
-        if (viewer->priv->motion.x != event->x)
+        if (viewer->priv->motion.time == 0)
+            viewer->priv->motion.time = gtk_get_current_event_time();
+
+
+        if (((event->time - viewer->priv->motion.time) > RSTTO_PICTURE_VIEWER_DRAG_MOTION_TIMEOUT))
         {
-            gint val = viewer->hadjustment->value;
-            viewer->hadjustment->value = viewer->priv->motion.h_val + (viewer->priv->motion.x - event->x);
-            if((viewer->hadjustment->value + viewer->hadjustment->page_size) > viewer->hadjustment->upper)
+            if (viewer->priv->motion.x != event->x)
             {
-                viewer->hadjustment->value = viewer->hadjustment->upper - viewer->hadjustment->page_size;
+                gint val = viewer->hadjustment->value;
+                viewer->hadjustment->value = viewer->priv->motion.h_val + (viewer->priv->motion.x - event->x);
+                if((viewer->hadjustment->value + viewer->hadjustment->page_size) > viewer->hadjustment->upper)
+                {
+                    viewer->hadjustment->value = viewer->hadjustment->upper - viewer->hadjustment->page_size;
+                }
+                if((viewer->hadjustment->value) < viewer->hadjustment->lower)
+                {
+                    viewer->hadjustment->value = viewer->hadjustment->lower;
+                }
+                if (val != viewer->hadjustment->value)
+                    gtk_adjustment_value_changed(viewer->hadjustment);
             }
-            if((viewer->hadjustment->value) < viewer->hadjustment->lower)
-            {
-                viewer->hadjustment->value = viewer->hadjustment->lower;
-            }
-            if (val != viewer->hadjustment->value)
-                gtk_adjustment_value_changed(viewer->hadjustment);
-        }
 
-        if (viewer->priv->motion.y != event->y)
-        {
-            gint val = viewer->vadjustment->value;
-            viewer->vadjustment->value = viewer->priv->motion.v_val + (viewer->priv->motion.y - event->y);
-            if((viewer->vadjustment->value + viewer->vadjustment->page_size) > viewer->vadjustment->upper)
+            if (viewer->priv->motion.y != event->y)
             {
-                viewer->vadjustment->value = viewer->vadjustment->upper - viewer->vadjustment->page_size;
+                gint val = viewer->vadjustment->value;
+                viewer->vadjustment->value = viewer->priv->motion.v_val + (viewer->priv->motion.y - event->y);
+                if((viewer->vadjustment->value + viewer->vadjustment->page_size) > viewer->vadjustment->upper)
+                {
+                    viewer->vadjustment->value = viewer->vadjustment->upper - viewer->vadjustment->page_size;
+                }
+                if((viewer->vadjustment->value) < viewer->vadjustment->lower)
+                {
+                    viewer->vadjustment->value = viewer->vadjustment->lower;
+                }
+                if (val != viewer->vadjustment->value)
+                    gtk_adjustment_value_changed(viewer->vadjustment);
             }
-            if((viewer->vadjustment->value) < viewer->vadjustment->lower)
-            {
-                viewer->vadjustment->value = viewer->vadjustment->lower;
-            }
-            if (val != viewer->vadjustment->value)
-                gtk_adjustment_value_changed(viewer->vadjustment);
+            viewer->priv->motion.time = event->time;
         }
-
     }
-    return TRUE;
+    return FALSE;
 }
 
 static void




More information about the Goodies-commits mailing list