From f896b787e9f7fab786846d91a7c2b1bfed11ae03 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Tue, 22 Jan 2013 21:38:41 +0100
Subject: [PATCH 01/74] Update translations

---
 po/cs.po    |  2 +-
 po/de.po    | 14 ++++++++------
 po/eo.po    |  2 +-
 po/es.po    |  2 +-
 po/fr.po    |  7 ++++---
 po/it.po    |  4 ++--
 po/pl.po    |  2 +-
 po/ru.po    |  4 ++--
 po/ta_IN.po |  4 ++--
 po/tr.po    | 46 +++++++++++++++++++++++-----------------------
 po/uk_UA.po |  4 ++--
 11 files changed, 47 insertions(+), 44 deletions(-)

diff --git a/po/cs.po b/po/cs.po
index d148050..5e7c319 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -5,7 +5,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-01-13 15:08+0100\n"
+"POT-Creation-Date: 2013-01-22 21:33+0100\n"
 "PO-Revision-Date: 2012-06-19 23:59+0200\n"
 "Last-Translator: Martin Pelikan <pelikan@storkhole.cz>\n"
 "Language-Team: pwmt.org <mail@pwmt.org>\n"
diff --git a/po/de.po b/po/de.po
index 22d0860..8c621ac 100644
--- a/po/de.po
+++ b/po/de.po
@@ -2,19 +2,21 @@
 # See LICENSE file for license and copyright information
 #
 # Translators:
+#   <simon.legner@gmail.com>, 2012.
 msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-01-13 15:08+0100\n"
-"PO-Revision-Date: 2012-08-05 16:08+0100\n"
+"POT-Creation-Date: 2013-01-22 21:33+0100\n"
+"PO-Revision-Date: 2013-01-13 14:13+0000\n"
 "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
-"Language-Team: pwmt.org <mail@pwmt.org>\n"
+"Language-Team: German (http://www.transifex.com/projects/p/zathura/language/"
+"de/)\n"
 "Language: de\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=(n != 1)\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
 #: ../callbacks.c:218
 #, c-format
@@ -281,7 +283,7 @@ msgstr "Verwende den Dateinamen der Datei im Fenstertitel"
 
 #: ../config.c:203 ../main.c:60
 msgid "Enable synctex support"
-msgstr ""
+msgstr "Aktiviere SyncTeX-Unterstützung"
 
 #. define default inputbar commands
 #: ../config.c:359
@@ -306,7 +308,7 @@ msgstr "Zeige Dokumentinformationen an"
 
 #: ../config.c:364
 msgid "Execute a command"
-msgstr ""
+msgstr "Führe einen Befehl aus"
 
 #: ../config.c:365
 msgid "Show help"
diff --git a/po/eo.po b/po/eo.po
index 8de9d95..991d236 100644
--- a/po/eo.po
+++ b/po/eo.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-01-13 15:08+0100\n"
+"POT-Creation-Date: 2013-01-22 21:33+0100\n"
 "PO-Revision-Date: 2012-08-09 13:21+0000\n"
 "Last-Translator: norbux <manelsales@ono.com>\n"
 "Language-Team: Esperanto (http://www.transifex.com/projects/p/zathura/"
diff --git a/po/es.po b/po/es.po
index eea55de..3e7afb9 100644
--- a/po/es.po
+++ b/po/es.po
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-01-13 15:08+0100\n"
+"POT-Creation-Date: 2013-01-22 21:33+0100\n"
 "PO-Revision-Date: 2012-04-03 15:25+0000\n"
 "Last-Translator: Moritz Lipp <mlq@pwmt.org>\n"
 "Language-Team: Spanish (Castilian) (http://www.transifex.net/projects/p/"
diff --git a/po/fr.po b/po/fr.po
index 5d248ef..1903755 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -2,6 +2,7 @@
 # See LICENSE file for license and copyright information
 #
 # Translators:
+# Dorian  <munto@free.fr>, 2012.
 # Quentin Stiévenart <quentin.stievenart@gmail.com>, 2012.
 # Stéphane Aulery <lkppo@free.fr>, 2012.
 # Benoît Knecht <benoit.knecht@gmail.com>, 2012.
@@ -9,8 +10,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-01-13 15:08+0100\n"
-"PO-Revision-Date: 2012-12-14 00:08+0100\n"
+"POT-Creation-Date: 2013-01-22 21:33+0100\n"
+"PO-Revision-Date: 2013-01-13 14:13+0000\n"
 "Last-Translator: Benoît Knecht <benoit.knecht@gmail.com>\n"
 "Language-Team: French (http://www.transifex.com/projects/p/zathura/language/"
 "fr/)\n"
@@ -18,7 +19,7 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=(n > 1)\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
 
 #: ../callbacks.c:218
 #, c-format
diff --git a/po/it.po b/po/it.po
index 6db739e..49f5a58 100644
--- a/po/it.po
+++ b/po/it.po
@@ -7,8 +7,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-01-13 15:08+0100\n"
-"PO-Revision-Date: 2012-06-20 14:58+0000\n"
+"POT-Creation-Date: 2013-01-22 21:33+0100\n"
+"PO-Revision-Date: 2013-01-13 14:12+0000\n"
 "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
 "Language-Team: Italian (http://www.transifex.com/projects/p/zathura/language/"
 "it/)\n"
diff --git a/po/pl.po b/po/pl.po
index 7bf8d44..5759dd4 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-01-13 15:08+0100\n"
+"POT-Creation-Date: 2013-01-22 21:33+0100\n"
 "PO-Revision-Date: 2012-04-03 16:07+0000\n"
 "Last-Translator: p <poczciwiec@gmail.com>\n"
 "Language-Team: Polish (http://www.transifex.net/projects/p/zathura/language/"
diff --git a/po/ru.po b/po/ru.po
index affdc88..8e25657 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -7,8 +7,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-01-13 15:08+0100\n"
-"PO-Revision-Date: 2012-06-20 14:58+0000\n"
+"POT-Creation-Date: 2013-01-22 21:33+0100\n"
+"PO-Revision-Date: 2013-01-13 14:12+0000\n"
 "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
 "Language-Team: Russian (http://www.transifex.com/projects/p/zathura/language/"
 "ru/)\n"
diff --git a/po/ta_IN.po b/po/ta_IN.po
index 4451aed..7656be1 100644
--- a/po/ta_IN.po
+++ b/po/ta_IN.po
@@ -7,8 +7,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-01-13 15:08+0100\n"
-"PO-Revision-Date: 2012-04-03 15:25+0000\n"
+"POT-Creation-Date: 2013-01-22 21:33+0100\n"
+"PO-Revision-Date: 2013-01-13 14:12+0000\n"
 "Last-Translator: mankand007 <mankand007@gmail.com>\n"
 "Language-Team: Tamil (India) (http://www.transifex.net/projects/p/zathura/"
 "language/ta_IN/)\n"
diff --git a/po/tr.po b/po/tr.po
index f61f75f..23d3149 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -8,8 +8,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-01-13 15:08+0100\n"
-"PO-Revision-Date: 2012-05-01 20:38+0000\n"
+"POT-Creation-Date: 2013-01-22 21:33+0100\n"
+"PO-Revision-Date: 2013-01-13 14:12+0000\n"
 "Last-Translator: hsngrms <dead-bodies-everywhere@hotmail.com>\n"
 "Language-Team: Turkish (http://www.transifex.net/projects/p/zathura/language/"
 "tr/)\n"
@@ -17,7 +17,7 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=1; plural=0\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
 
 #: ../callbacks.c:218
 #, c-format
@@ -117,12 +117,12 @@ msgstr "'%s' eki '%s' konumuna yazılamadı."
 #: ../commands.c:487
 #, c-format
 msgid "Unknown image '%s'."
-msgstr ""
+msgstr "Tanınmayan resim dosyası '%s'"
 
 #: ../commands.c:491
 #, c-format
 msgid "Unknown attachment or image '%s'."
-msgstr ""
+msgstr "Tanınmayan eklenti veya resim dosyası '%s'"
 
 #: ../commands.c:542
 msgid "Argument must be a number."
@@ -131,7 +131,7 @@ msgstr "Argüman bir sayı olmalı."
 #: ../completion.c:250
 #, c-format
 msgid "Page %d"
-msgstr ""
+msgstr "Sayfa %d"
 
 #: ../completion.c:293
 msgid "Attachments"
@@ -140,7 +140,7 @@ msgstr "Ekleri kaydet"
 #. add images
 #: ../completion.c:324
 msgid "Images"
-msgstr ""
+msgstr "Resimler"
 
 #. zathura settings
 #: ../config.c:135
@@ -161,7 +161,7 @@ msgstr "Satır başına sayfa sayısı"
 
 #: ../config.c:143
 msgid "Column of the first page"
-msgstr ""
+msgstr "İlk sayfanın sütunu"
 
 #: ../config.c:145
 msgid "Scroll step"
@@ -169,11 +169,11 @@ msgstr "Kaydırma aralığı"
 
 #: ../config.c:147
 msgid "Horizontal scroll step"
-msgstr ""
+msgstr "Yatay kaydırma adımı"
 
 #: ../config.c:149
 msgid "Full page scroll overlap"
-msgstr ""
+msgstr "Tam ekran kaydırma kaplaması"
 
 #: ../config.c:151
 msgid "Zoom minimum"
@@ -193,7 +193,7 @@ msgstr "Önbellek temizliği yapılma sıklığı, saniye cinsinden"
 
 #: ../config.c:158
 msgid "Number of positions to remember in the jumplist"
-msgstr ""
+msgstr "Atlama listesinde hatırlanacak pozisyon sayısı"
 
 #: ../config.c:160
 msgid "Recoloring (dark color)"
@@ -217,7 +217,7 @@ msgstr "Sayga rengini değiştir"
 
 #: ../config.c:172
 msgid "When recoloring keep original hue and adjust lightness only"
-msgstr ""
+msgstr "Yeniden renklendirirken renk değerini tut ve sadece parlaklığı ayarla"
 
 #: ../config.c:174
 msgid "Wrap scrolling"
@@ -233,7 +233,7 @@ msgstr "Satır başına sayfa sayısı"
 
 #: ../config.c:180
 msgid "Horizontally centered zoom"
-msgstr ""
+msgstr "Yatay olarak ortalanmış büyütme"
 
 #: ../config.c:182
 msgid "Center result horizontally"
@@ -265,19 +265,19 @@ msgstr "Her zaman ilk sayfayı aç"
 
 #: ../config.c:195
 msgid "Highlight search results"
-msgstr ""
+msgstr "Arama sonuçlarını vurgula"
 
 #: ../config.c:197
 msgid "Enable incremental search"
-msgstr ""
+msgstr "Artımlı aramayı etkinleştir"
 
 #: ../config.c:199
 msgid "Clear search results on abort"
-msgstr ""
+msgstr "Kapatınca arama sonuçlarını temizle"
 
 #: ../config.c:201
 msgid "Use basename of the file in the window title"
-msgstr ""
+msgstr "Pencere başlığı olarak dosyanın adını kullan"
 
 #: ../config.c:203 ../main.c:60
 msgid "Enable synctex support"
@@ -306,7 +306,7 @@ msgstr "Dosya bilgisi göster"
 
 #: ../config.c:364
 msgid "Execute a command"
-msgstr ""
+msgstr "Bir komut çalıştır"
 
 #: ../config.c:365
 msgid "Show help"
@@ -350,15 +350,15 @@ msgstr "Seçilen işaretlemeleri sil"
 
 #: ../config.c:375
 msgid "Don't highlight current search results"
-msgstr ""
+msgstr "Şuanki arama sonuçlarını vurgulama"
 
 #: ../config.c:376
 msgid "Highlight current search results"
-msgstr ""
+msgstr "Şuanki arama sonuçlarını vurgula"
 
 #: ../config.c:377
 msgid "Show version information"
-msgstr ""
+msgstr "Versiyon bilgisi göster"
 
 #: ../links.c:161 ../links.c:240
 msgid "Failed to run xdg-open."
@@ -400,7 +400,7 @@ msgstr "Arka planda işlemden çocuk oluştur"
 
 #: ../main.c:57
 msgid "Document password"
-msgstr ""
+msgstr "Belge şifresi"
 
 #: ../main.c:58
 msgid "Log level (debug, info, warning, error)"
@@ -429,7 +429,7 @@ msgstr "Resim kopyala"
 
 #: ../page-widget.c:745
 msgid "Save image as"
-msgstr ""
+msgstr "Resmi farklı kaydet"
 
 #: ../shortcuts.c:956
 msgid "This document does not contain any index"
diff --git a/po/uk_UA.po b/po/uk_UA.po
index 1b0fa8b..ec16704 100644
--- a/po/uk_UA.po
+++ b/po/uk_UA.po
@@ -7,8 +7,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-01-13 15:08+0100\n"
-"PO-Revision-Date: 2012-06-20 14:58+0000\n"
+"POT-Creation-Date: 2013-01-22 21:33+0100\n"
+"PO-Revision-Date: 2013-01-13 14:12+0000\n"
 "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
 "Language-Team: Ukrainian (Ukraine) (http://www.transifex.com/projects/p/"
 "zathura/language/uk_UA/)\n"

From 9bffd425564026f445e959a8d7281410e71c03bc Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Tue, 22 Jan 2013 21:42:10 +0100
Subject: [PATCH 02/74] Import new translations from transifex

---
 po/ca.po    | 440 +++++++++++++++++++++++++++++++++++++++++++++++++++
 po/el.po    | 442 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 po/he.po    | 438 +++++++++++++++++++++++++++++++++++++++++++++++++++
 po/hr.po    | 439 +++++++++++++++++++++++++++++++++++++++++++++++++++
 po/pt_BR.po | 440 +++++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 2199 insertions(+)
 create mode 100644 po/ca.po
 create mode 100644 po/el.po
 create mode 100644 po/he.po
 create mode 100644 po/hr.po
 create mode 100644 po/pt_BR.po

diff --git a/po/ca.po b/po/ca.po
new file mode 100644
index 0000000..ee75723
--- /dev/null
+++ b/po/ca.po
@@ -0,0 +1,440 @@
+# zathura - language file (Catalan)
+# See LICENSE file for license and copyright information
+#
+# Translators:
+#   <manelsales@ono.com>, 2012.
+#   <mvdan@mvdan.cc>, 2012.
+msgid ""
+msgstr ""
+"Project-Id-Version: zathura\n"
+"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
+"POT-Creation-Date: 2013-01-22 21:33+0100\n"
+"PO-Revision-Date: 2013-01-13 14:12+0000\n"
+"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
+"Language-Team: Catalan (http://www.transifex.com/projects/p/zathura/language/"
+"ca/)\n"
+"Language: ca\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: ../callbacks.c:218
+#, c-format
+msgid "Invalid input '%s' given."
+msgstr "Entrada invàlida '%s'."
+
+#: ../callbacks.c:256
+#, c-format
+msgid "Invalid index '%s' given."
+msgstr "Índex invàlid '%s'."
+
+#: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
+#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:408
+#: ../commands.c:529 ../shortcuts.c:475 ../shortcuts.c:1053
+#: ../shortcuts.c:1082
+msgid "No document opened."
+msgstr "No s'ha obert cap document."
+
+#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:413
+msgid "Invalid number of arguments given."
+msgstr "Nombre d'arguments invàlids."
+
+#: ../commands.c:49
+#, c-format
+msgid "Bookmark successfuly updated: %s"
+msgstr "Marcador actualitzat correctament: %s"
+
+#: ../commands.c:55
+#, c-format
+msgid "Could not create bookmark: %s"
+msgstr "No s'ha pogut crear el marcador: %s"
+
+#: ../commands.c:59
+#, c-format
+msgid "Bookmark successfuly created: %s"
+msgstr "Marcador creat correctament: %s"
+
+#: ../commands.c:82
+#, c-format
+msgid "Removed bookmark: %s"
+msgstr "Esborrat el marcador: %s"
+
+#: ../commands.c:84
+#, c-format
+msgid "Failed to remove bookmark: %s"
+msgstr "No s'ha pogut esborrar el marcador: %s"
+
+#: ../commands.c:110
+#, c-format
+msgid "No such bookmark: %s"
+msgstr "Marcador no existent: %s"
+
+#: ../commands.c:161 ../commands.c:183
+msgid "No information available."
+msgstr "Cap informació disponible."
+
+#: ../commands.c:221
+msgid "Too many arguments."
+msgstr "Massa arguments."
+
+#: ../commands.c:230
+msgid "No arguments given."
+msgstr "Cap argument subministrat."
+
+#: ../commands.c:289 ../commands.c:315
+msgid "Document saved."
+msgstr "Document desat."
+
+#: ../commands.c:291 ../commands.c:317
+msgid "Failed to save document."
+msgstr "No s'ha pogut desar el document."
+
+#: ../commands.c:294 ../commands.c:320
+msgid "Invalid number of arguments."
+msgstr "Nombre d'arguments invàlids."
+
+#: ../commands.c:432
+#, c-format
+msgid "Couldn't write attachment '%s' to '%s'."
+msgstr "No s'ha pogut escriure el fitxer adjunt '%s' a '%s'."
+
+#: ../commands.c:434
+#, c-format
+msgid "Wrote attachment '%s' to '%s'."
+msgstr "S'ha escrit el fitxer adjunt '%s' a '%s'."
+
+#: ../commands.c:478
+#, c-format
+msgid "Wrote image '%s' to '%s'."
+msgstr "S'ha escrit la imatge '%s' a '%s'."
+
+#: ../commands.c:480
+#, c-format
+msgid "Couldn't write image '%s' to '%s'."
+msgstr "No s'ha pogut escriure la imatge '%s' a '%s'."
+
+#: ../commands.c:487
+#, c-format
+msgid "Unknown image '%s'."
+msgstr "Imatge desconeguda '%s'."
+
+#: ../commands.c:491
+#, c-format
+msgid "Unknown attachment or image '%s'."
+msgstr "Imatge o fitxer adjunt desconegut '%s'."
+
+#: ../commands.c:542
+msgid "Argument must be a number."
+msgstr "L'argument ha de ser un nombre."
+
+#: ../completion.c:250
+#, c-format
+msgid "Page %d"
+msgstr "Pàgina %d"
+
+#: ../completion.c:293
+msgid "Attachments"
+msgstr "Fitxers adjunts"
+
+#. add images
+#: ../completion.c:324
+msgid "Images"
+msgstr "Imatges"
+
+#. zathura settings
+#: ../config.c:135
+msgid "Database backend"
+msgstr "Base de dades de rerefons"
+
+#: ../config.c:137
+msgid "Zoom step"
+msgstr "Pas d'ampliació"
+
+#: ../config.c:139
+msgid "Padding between pages"
+msgstr "Separació entre pàgines"
+
+#: ../config.c:141
+msgid "Number of pages per row"
+msgstr "Nombre de pàgines per fila"
+
+#: ../config.c:143
+msgid "Column of the first page"
+msgstr "Columna de la primera pàgina"
+
+#: ../config.c:145
+msgid "Scroll step"
+msgstr "Pas de desplaçament"
+
+#: ../config.c:147
+msgid "Horizontal scroll step"
+msgstr "Pas de desplaçament horitzontal"
+
+#: ../config.c:149
+msgid "Full page scroll overlap"
+msgstr ""
+
+#: ../config.c:151
+msgid "Zoom minimum"
+msgstr "Zoom mínim"
+
+#: ../config.c:153
+msgid "Zoom maximum"
+msgstr "Zoom màxim"
+
+#: ../config.c:155
+msgid "Life time (in seconds) of a hidden page"
+msgstr "Temps de vida (en segons) de la pàgina oculta"
+
+#: ../config.c:156
+msgid "Amount of seconds between each cache purge"
+msgstr "Quantitat de segons entre cada purga de memòria cau"
+
+#: ../config.c:158
+msgid "Number of positions to remember in the jumplist"
+msgstr ""
+
+#: ../config.c:160
+msgid "Recoloring (dark color)"
+msgstr "Recolorejant (color fosc)"
+
+#: ../config.c:162
+msgid "Recoloring (light color)"
+msgstr "Recolorejant (color clar)"
+
+#: ../config.c:164
+msgid "Color for highlighting"
+msgstr "Color de realçament"
+
+#: ../config.c:166
+msgid "Color for highlighting (active)"
+msgstr "Color de realçament (activat)"
+
+#: ../config.c:170
+msgid "Recolor pages"
+msgstr "Recolorejant les pàgines"
+
+#: ../config.c:172
+msgid "When recoloring keep original hue and adjust lightness only"
+msgstr "Quan recoloregis manté el to original i ajusta només la lluminositat"
+
+#: ../config.c:174
+msgid "Wrap scrolling"
+msgstr "Desplaçament recollit"
+
+#: ../config.c:176
+msgid "Page aware scrolling"
+msgstr ""
+
+#: ../config.c:178
+msgid "Advance number of pages per row"
+msgstr "Avançar nombre de pàgines per fila"
+
+#: ../config.c:180
+msgid "Horizontally centered zoom"
+msgstr "Zoom centrat horitzontalment"
+
+#: ../config.c:182
+msgid "Center result horizontally"
+msgstr "Centra el resultat horitzontalment"
+
+#: ../config.c:184
+msgid "Transparency for highlighting"
+msgstr "Transparència del realçat"
+
+#: ../config.c:186
+msgid "Render 'Loading ...'"
+msgstr "Renderitza 'Carregant ...'"
+
+#: ../config.c:187
+msgid "Adjust to when opening file"
+msgstr "Ajustar al fitxer quan s'obri"
+
+#: ../config.c:189
+msgid "Show hidden files and directories"
+msgstr "Mostra els directoris i fitxers ocults"
+
+#: ../config.c:191
+msgid "Show directories"
+msgstr "Mostra els directoris"
+
+#: ../config.c:193
+msgid "Always open on first page"
+msgstr "Obrir sempre la primera pàgina"
+
+#: ../config.c:195
+msgid "Highlight search results"
+msgstr "Realça els resultats de recerca"
+
+#: ../config.c:197
+msgid "Enable incremental search"
+msgstr ""
+
+#: ../config.c:199
+msgid "Clear search results on abort"
+msgstr "Esborra els resultats de recerca a l'interrompre"
+
+#: ../config.c:201
+msgid "Use basename of the file in the window title"
+msgstr "Utilitza el nom base del fitxer en el títol de la finestra"
+
+#: ../config.c:203 ../main.c:60
+msgid "Enable synctex support"
+msgstr ""
+
+#. define default inputbar commands
+#: ../config.c:359
+msgid "Add a bookmark"
+msgstr "Afegir un marcador"
+
+#: ../config.c:360
+msgid "Delete a bookmark"
+msgstr "Esborrar un marcador"
+
+#: ../config.c:361
+msgid "List all bookmarks"
+msgstr "Llista tots els marcadors"
+
+#: ../config.c:362
+msgid "Close current file"
+msgstr "Tancar el fitxer actual"
+
+#: ../config.c:363
+msgid "Show file information"
+msgstr "Mostra informació sobre el fitxer"
+
+#: ../config.c:364
+msgid "Execute a command"
+msgstr ""
+
+#: ../config.c:365
+msgid "Show help"
+msgstr "Mostrar l'ajuda"
+
+#: ../config.c:366
+msgid "Open document"
+msgstr "Obrir document"
+
+#: ../config.c:367
+msgid "Close zathura"
+msgstr "Tancar Zathura"
+
+#: ../config.c:368
+msgid "Print document"
+msgstr "Imprimir document"
+
+#: ../config.c:369
+msgid "Save document"
+msgstr "Desar document"
+
+#: ../config.c:370
+msgid "Save document (and force overwriting)"
+msgstr "Desar document (i forçar la sobreescritura)"
+
+#: ../config.c:371
+msgid "Save attachments"
+msgstr "Desa els fitxers adjunts"
+
+#: ../config.c:372
+msgid "Set page offset"
+msgstr "Assigna el desplaçament de pàgina"
+
+#: ../config.c:373
+msgid "Mark current location within the document"
+msgstr "Marca la posició actual dins el document"
+
+#: ../config.c:374
+msgid "Delete the specified marks"
+msgstr "Esborrar les marques especificades"
+
+#: ../config.c:375
+msgid "Don't highlight current search results"
+msgstr "No realcis els resultats de la recerca actual"
+
+#: ../config.c:376
+msgid "Highlight current search results"
+msgstr "Realça els resultats de recerca actual"
+
+#: ../config.c:377
+msgid "Show version information"
+msgstr "Mostra informació sobre la versió"
+
+#: ../links.c:161 ../links.c:240
+msgid "Failed to run xdg-open."
+msgstr "No s'ha pogut executar xdg-open."
+
+#: ../links.c:179
+#, c-format
+msgid "Link: page %d"
+msgstr ""
+
+#: ../links.c:186
+#, c-format
+msgid "Link: %s"
+msgstr ""
+
+#: ../links.c:190
+msgid "Link: Invalid"
+msgstr ""
+
+#: ../main.c:52
+msgid "Reparents to window specified by xid"
+msgstr "Reassigna a la finestra especificada per xid"
+
+#: ../main.c:53
+msgid "Path to the config directory"
+msgstr "Ruta al directori de configuració"
+
+#: ../main.c:54
+msgid "Path to the data directory"
+msgstr "Camí al directori de dades"
+
+#: ../main.c:55
+msgid "Path to the directories containing plugins"
+msgstr "Camí al directori que conté els plugins"
+
+#: ../main.c:56
+msgid "Fork into the background"
+msgstr "Bifurca en segon pla"
+
+#: ../main.c:57
+msgid "Document password"
+msgstr "Contrasenya del document"
+
+#: ../main.c:58
+msgid "Log level (debug, info, warning, error)"
+msgstr "Nivell de registre (depuració, informació, advertiments, errors)"
+
+#: ../main.c:59
+msgid "Print version information"
+msgstr "Imprimeix informació sobre la versió"
+
+#: ../main.c:61
+msgid "Synctex editor (forwarded to the synctex command)"
+msgstr "Editor synctex (reenviat a l'ordre synctex)"
+
+#: ../page-widget.c:455
+msgid "Loading..."
+msgstr "Carregant..."
+
+#: ../page-widget.c:646
+#, c-format
+msgid "Copied selected text to clipboard: %s"
+msgstr "Copiat el text seleccionat al porta-retalls: %s"
+
+#: ../page-widget.c:744
+msgid "Copy image"
+msgstr "Copia la imatge"
+
+#: ../page-widget.c:745
+msgid "Save image as"
+msgstr "Desa imatge com a"
+
+#: ../shortcuts.c:956
+msgid "This document does not contain any index"
+msgstr "Aquest document no conté cap índex"
+
+#: ../zathura.c:193 ../zathura.c:865
+msgid "[No name]"
+msgstr "[Sense nom]"
diff --git a/po/el.po b/po/el.po
new file mode 100644
index 0000000..d81271e
--- /dev/null
+++ b/po/el.po
@@ -0,0 +1,442 @@
+# zathura - language file (Greek)
+# See LICENSE file for license and copyright information
+#
+# Translators:
+# Nisok Kosin <nikos.efthimiou@gmail.com>, 2012.
+# Nisok Kosin <nisok@in.gr>, 2012.
+msgid ""
+msgstr ""
+"Project-Id-Version: zathura\n"
+"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
+"POT-Creation-Date: 2013-01-22 21:33+0100\n"
+"PO-Revision-Date: 2013-01-13 14:12+0000\n"
+"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
+"Language-Team: Greek (http://www.transifex.com/projects/p/zathura/language/"
+"el/)\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: ../callbacks.c:218
+#, c-format
+msgid "Invalid input '%s' given."
+msgstr "Η είσοδος '%s' είναι άκυρη."
+
+#: ../callbacks.c:256
+#, c-format
+msgid "Invalid index '%s' given."
+msgstr "Ο δείκτης '%s' είναι άκυρος."
+
+#: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
+#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:408
+#: ../commands.c:529 ../shortcuts.c:475 ../shortcuts.c:1053
+#: ../shortcuts.c:1082
+msgid "No document opened."
+msgstr "Δεν άνοιξε κανένα αρχείο. "
+
+#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:413
+msgid "Invalid number of arguments given."
+msgstr "Μη έγκυρος αριθμός παραμέτρων."
+
+#: ../commands.c:49
+#, c-format
+msgid "Bookmark successfuly updated: %s"
+msgstr "Η ενημέρωση του σελιδοδείκτη: %s ήταν επιτυχής. "
+
+#: ../commands.c:55
+#, c-format
+msgid "Could not create bookmark: %s"
+msgstr "Η δημιουργία του σελιδοδείκτη: %s δεν ήταν δυνατή."
+
+#: ../commands.c:59
+#, c-format
+msgid "Bookmark successfuly created: %s"
+msgstr "Η δημιουργία του σελιδοδείκτη: %s ήταν επιτυχής."
+
+#: ../commands.c:82
+#, c-format
+msgid "Removed bookmark: %s"
+msgstr "Ο σελιδοδείκτης: %s διεγράφει. "
+
+#: ../commands.c:84
+#, c-format
+msgid "Failed to remove bookmark: %s"
+msgstr "Η διαγραφή του σελιδοδείκτη: %s απέτυχε. "
+
+#: ../commands.c:110
+#, c-format
+msgid "No such bookmark: %s"
+msgstr "Ο σελιδοδείκτης: %s δεν βρέθηκε. "
+
+#: ../commands.c:161 ../commands.c:183
+msgid "No information available."
+msgstr "Δεν υπάρχουν διαθέσιμες πληροφορίες."
+
+#: ../commands.c:221
+msgid "Too many arguments."
+msgstr "Εισήχθησαν πολλές παράμετροι. "
+
+#: ../commands.c:230
+msgid "No arguments given."
+msgstr "Δεν εισήχθησαν παράμετροι. "
+
+#: ../commands.c:289 ../commands.c:315
+msgid "Document saved."
+msgstr "Το αρχείο αποθηκεύτηκε."
+
+#: ../commands.c:291 ../commands.c:317
+msgid "Failed to save document."
+msgstr "Η αποθήκευση του αρχείου απέτυχε. "
+
+#: ../commands.c:294 ../commands.c:320
+msgid "Invalid number of arguments."
+msgstr "Μη έγκυρος ο αριθμός των παραμέτρων. "
+
+#: ../commands.c:432
+#, c-format
+msgid "Couldn't write attachment '%s' to '%s'."
+msgstr "Μη επιτυχής η εγγραγή της προσάρτησης '%s' στην '%s'."
+
+#: ../commands.c:434
+#, c-format
+msgid "Wrote attachment '%s' to '%s'."
+msgstr "Επιτυχής η εγγραφή της προσάρτησης '%s' στην '%s'."
+
+#: ../commands.c:478
+#, c-format
+msgid "Wrote image '%s' to '%s'."
+msgstr "Ενεγράφει η εικόνα '%s' στην '%s'"
+
+#: ../commands.c:480
+#, c-format
+msgid "Couldn't write image '%s' to '%s'."
+msgstr "Δεν ενεγράφει η εικόνα '%s' στην '%s'."
+
+#: ../commands.c:487
+#, c-format
+msgid "Unknown image '%s'."
+msgstr "Άγνωστη εικόνα '%s'. "
+
+#: ../commands.c:491
+#, c-format
+msgid "Unknown attachment or image '%s'."
+msgstr "Άγνωστο προσάρτημα είτε εικόνα '%s'. "
+
+#: ../commands.c:542
+msgid "Argument must be a number."
+msgstr "Η παράμετρος πρέπει να είναι αριθμός."
+
+#: ../completion.c:250
+#, c-format
+msgid "Page %d"
+msgstr "Σελίδα %d"
+
+#: ../completion.c:293
+msgid "Attachments"
+msgstr "Προσαρτήσεις"
+
+#. add images
+#: ../completion.c:324
+msgid "Images"
+msgstr "Εικόνες"
+
+#. zathura settings
+#: ../config.c:135
+msgid "Database backend"
+msgstr "Το βασικό εργαλείο της βάσης δεδομένων"
+
+#: ../config.c:137
+msgid "Zoom step"
+msgstr "Βήμα μεγέθυνσης"
+
+#: ../config.c:139
+msgid "Padding between pages"
+msgstr "Διάκενο μεταξύ σελίδων"
+
+#: ../config.c:141
+msgid "Number of pages per row"
+msgstr "Αριθμός σελίδων ανά γραμμή"
+
+#: ../config.c:143
+msgid "Column of the first page"
+msgstr "Στήλη της πρώτης σελίδας"
+
+#: ../config.c:145
+msgid "Scroll step"
+msgstr "Βήμα κύλισης"
+
+#: ../config.c:147
+msgid "Horizontal scroll step"
+msgstr "Βήμα οριζόντιας κύλησης"
+
+#: ../config.c:149
+msgid "Full page scroll overlap"
+msgstr ""
+
+#: ../config.c:151
+msgid "Zoom minimum"
+msgstr "Ελάχιστη μεγέθυνση"
+
+#: ../config.c:153
+msgid "Zoom maximum"
+msgstr "Μέγιστη μεγέθυνση"
+
+#: ../config.c:155
+msgid "Life time (in seconds) of a hidden page"
+msgstr "Διάρκεια ζωής (σε δευτερόλεπτα) μίας κρυφής σελίδας"
+
+#: ../config.c:156
+msgid "Amount of seconds between each cache purge"
+msgstr "Αριθμός δευτερολέπτων μεταξύ εκκαθαρίσεων της μνήμης"
+
+#: ../config.c:158
+msgid "Number of positions to remember in the jumplist"
+msgstr ""
+
+#: ../config.c:160
+msgid "Recoloring (dark color)"
+msgstr "Επαναχρωματισμός (σκούρο χρώμα)"
+
+#: ../config.c:162
+msgid "Recoloring (light color)"
+msgstr "Επαναχρωματισμός (ανοικτό χρώμα)"
+
+#: ../config.c:164
+msgid "Color for highlighting"
+msgstr "Χρώμα τονισμού"
+
+#: ../config.c:166
+msgid "Color for highlighting (active)"
+msgstr "Χρώμα τονισμού (ενεργό)"
+
+#: ../config.c:170
+msgid "Recolor pages"
+msgstr "Επαναχρωματισμός σελίδων"
+
+#: ../config.c:172
+msgid "When recoloring keep original hue and adjust lightness only"
+msgstr ""
+"Κατά τον επαναχρωματισμό της σελιδάς διατήρηση της αρχικής απόχρωσης και "
+"αλλαγή μόνο της φωτεινότητας"
+
+#: ../config.c:174
+msgid "Wrap scrolling"
+msgstr "Κυκλική κύληση"
+
+#: ../config.c:176
+msgid "Page aware scrolling"
+msgstr ""
+
+#: ../config.c:178
+msgid "Advance number of pages per row"
+msgstr "Προώθηση σε αριθμό σελίδων ανά γραμμή"
+
+#: ../config.c:180
+msgid "Horizontally centered zoom"
+msgstr "Μεγένθηση οριζοντίως κεντραρισμένη"
+
+#: ../config.c:182
+msgid "Center result horizontally"
+msgstr "Οριζόντιο κεντράρισμα αποτελεσμάτων"
+
+#: ../config.c:184
+msgid "Transparency for highlighting"
+msgstr "Διαφάνεια για τονισμό"
+
+#: ../config.c:186
+msgid "Render 'Loading ...'"
+msgstr "Εμφάνιση της ένδειξης 'Φορτώνει ...'"
+
+#: ../config.c:187
+msgid "Adjust to when opening file"
+msgstr "Προσαρμογή κατά το άνοιγμα του αρχείου"
+
+#: ../config.c:189
+msgid "Show hidden files and directories"
+msgstr "Εμφάνιση κρυφών αρχείων και φακέλων"
+
+#: ../config.c:191
+msgid "Show directories"
+msgstr "Εμφάνιση καταλόγων"
+
+#: ../config.c:193
+msgid "Always open on first page"
+msgstr "Άνοιγμα πάντα στην πρώτη σελίδα"
+
+#: ../config.c:195
+msgid "Highlight search results"
+msgstr "Τονισμός αποτελεσμάτων αναζήτησης"
+
+#: ../config.c:197
+msgid "Enable incremental search"
+msgstr ""
+
+#: ../config.c:199
+msgid "Clear search results on abort"
+msgstr "Εκκαθάριση των απολεσμάτων αναζήτησης κατά την διακοπή"
+
+#: ../config.c:201
+msgid "Use basename of the file in the window title"
+msgstr "Χρήση του ονόματος του αρχείο στο τίτλο του παραθύρου"
+
+#: ../config.c:203 ../main.c:60
+msgid "Enable synctex support"
+msgstr "Ενεργοποίηση υποστήριξης synctex"
+
+#. define default inputbar commands
+#: ../config.c:359
+msgid "Add a bookmark"
+msgstr "Προσθήκη σελιδοδείκτη"
+
+#: ../config.c:360
+msgid "Delete a bookmark"
+msgstr "Διαγραφή σελιδοδείκτη"
+
+#: ../config.c:361
+msgid "List all bookmarks"
+msgstr "Εμφάνιση όλων των σελιδοδεικτών"
+
+#: ../config.c:362
+msgid "Close current file"
+msgstr "Κλείσιμο αρχείου"
+
+#: ../config.c:363
+msgid "Show file information"
+msgstr "Προβολή πληροφοριών αρχείου"
+
+#: ../config.c:364
+msgid "Execute a command"
+msgstr "Εκτέλεση εντολής"
+
+#: ../config.c:365
+msgid "Show help"
+msgstr "Εμφάνιση βοήθειας"
+
+#: ../config.c:366
+msgid "Open document"
+msgstr "Άνοιγμα αρχείου"
+
+#: ../config.c:367
+msgid "Close zathura"
+msgstr "Κλείσιμο"
+
+#: ../config.c:368
+msgid "Print document"
+msgstr "Εκτύπωση αρχείου"
+
+#: ../config.c:369
+msgid "Save document"
+msgstr "Αποθήκευση αρχείου"
+
+#: ../config.c:370
+msgid "Save document (and force overwriting)"
+msgstr "Αποθήκευση αρχείου (και αντικατάσταση)"
+
+#: ../config.c:371
+msgid "Save attachments"
+msgstr "Αποθήκευση προσαρτήσεων. "
+
+#: ../config.c:372
+msgid "Set page offset"
+msgstr "Ρύθμιση αντιστάθμισης σελίδας"
+
+#: ../config.c:373
+msgid "Mark current location within the document"
+msgstr "Επισήμανση τρέχουσας θέσης στο κείμενο"
+
+#: ../config.c:374
+msgid "Delete the specified marks"
+msgstr "Διαγραφή επιλεγμένων σημείων"
+
+#: ../config.c:375
+msgid "Don't highlight current search results"
+msgstr "Χωρίς τονισμό τα τρέχοντα αποτελέσματα της αναζήτησης"
+
+#: ../config.c:376
+msgid "Highlight current search results"
+msgstr "Τονισμός στα τρέχοντα αποτελέσματα της αναζήτησης"
+
+#: ../config.c:377
+msgid "Show version information"
+msgstr "Εμφάνιση πληροφοριών έκδοσης"
+
+#: ../links.c:161 ../links.c:240
+msgid "Failed to run xdg-open."
+msgstr "Απέτυχε η εκτέλεση του xdg-open. "
+
+#: ../links.c:179
+#, c-format
+msgid "Link: page %d"
+msgstr ""
+
+#: ../links.c:186
+#, c-format
+msgid "Link: %s"
+msgstr ""
+
+#: ../links.c:190
+msgid "Link: Invalid"
+msgstr ""
+
+#: ../main.c:52
+msgid "Reparents to window specified by xid"
+msgstr "Reparents to window specified by xid"
+
+#: ../main.c:53
+msgid "Path to the config directory"
+msgstr "Διαδρομή του αρχείου ρυθμίσεων"
+
+#: ../main.c:54
+msgid "Path to the data directory"
+msgstr "Διαδρομή του φακέλου δεδομένων"
+
+#: ../main.c:55
+msgid "Path to the directories containing plugins"
+msgstr "Διαδρομή φακέλου που περιέχει τα πρόσθετα"
+
+#: ../main.c:56
+msgid "Fork into the background"
+msgstr "Διακλάδωση στο παρασκήνιο"
+
+#: ../main.c:57
+msgid "Document password"
+msgstr "Κωδικός αρχείου"
+
+#: ../main.c:58
+msgid "Log level (debug, info, warning, error)"
+msgstr "Επίπεδο καταγραφής (debug, info, warning, error)"
+
+#: ../main.c:59
+msgid "Print version information"
+msgstr "Εκτύπωση πληροφοριών έκδοσης"
+
+#: ../main.c:61
+msgid "Synctex editor (forwarded to the synctex command)"
+msgstr "Synctex editor (Προώθηση στην εντολή synctex)"
+
+#: ../page-widget.c:455
+msgid "Loading..."
+msgstr "Φορτώνει ..."
+
+#: ../page-widget.c:646
+#, c-format
+msgid "Copied selected text to clipboard: %s"
+msgstr "Το επιλεγμένο κείμενο αποθηκεύτηκε στην μνήμη: %s"
+
+#: ../page-widget.c:744
+msgid "Copy image"
+msgstr "Αντιγραφή εικόνας"
+
+#: ../page-widget.c:745
+msgid "Save image as"
+msgstr "Αποθήκευση εικόνας ως..."
+
+#: ../shortcuts.c:956
+msgid "This document does not contain any index"
+msgstr "Το αρχείο δεν περιέχει κανένα δείκτη"
+
+#: ../zathura.c:193 ../zathura.c:865
+msgid "[No name]"
+msgstr "[Χωρίς όνομα]"
diff --git a/po/he.po b/po/he.po
new file mode 100644
index 0000000..5692429
--- /dev/null
+++ b/po/he.po
@@ -0,0 +1,438 @@
+# zathura - language file (Hebrew)
+# See LICENSE file for license and copyright information
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: zathura\n"
+"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
+"POT-Creation-Date: 2013-01-22 21:33+0100\n"
+"PO-Revision-Date: 2013-01-13 14:12+0000\n"
+"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
+"Language-Team: Hebrew (http://www.transifex.com/projects/p/zathura/language/"
+"he/)\n"
+"Language: he\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: ../callbacks.c:218
+#, c-format
+msgid "Invalid input '%s' given."
+msgstr ""
+
+#: ../callbacks.c:256
+#, c-format
+msgid "Invalid index '%s' given."
+msgstr ""
+
+#: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
+#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:408
+#: ../commands.c:529 ../shortcuts.c:475 ../shortcuts.c:1053
+#: ../shortcuts.c:1082
+msgid "No document opened."
+msgstr ""
+
+#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:413
+msgid "Invalid number of arguments given."
+msgstr ""
+
+#: ../commands.c:49
+#, c-format
+msgid "Bookmark successfuly updated: %s"
+msgstr ""
+
+#: ../commands.c:55
+#, c-format
+msgid "Could not create bookmark: %s"
+msgstr ""
+
+#: ../commands.c:59
+#, c-format
+msgid "Bookmark successfuly created: %s"
+msgstr ""
+
+#: ../commands.c:82
+#, c-format
+msgid "Removed bookmark: %s"
+msgstr ""
+
+#: ../commands.c:84
+#, c-format
+msgid "Failed to remove bookmark: %s"
+msgstr ""
+
+#: ../commands.c:110
+#, c-format
+msgid "No such bookmark: %s"
+msgstr ""
+
+#: ../commands.c:161 ../commands.c:183
+msgid "No information available."
+msgstr ""
+
+#: ../commands.c:221
+msgid "Too many arguments."
+msgstr ""
+
+#: ../commands.c:230
+msgid "No arguments given."
+msgstr ""
+
+#: ../commands.c:289 ../commands.c:315
+msgid "Document saved."
+msgstr ""
+
+#: ../commands.c:291 ../commands.c:317
+msgid "Failed to save document."
+msgstr ""
+
+#: ../commands.c:294 ../commands.c:320
+msgid "Invalid number of arguments."
+msgstr ""
+
+#: ../commands.c:432
+#, c-format
+msgid "Couldn't write attachment '%s' to '%s'."
+msgstr ""
+
+#: ../commands.c:434
+#, c-format
+msgid "Wrote attachment '%s' to '%s'."
+msgstr ""
+
+#: ../commands.c:478
+#, c-format
+msgid "Wrote image '%s' to '%s'."
+msgstr ""
+
+#: ../commands.c:480
+#, c-format
+msgid "Couldn't write image '%s' to '%s'."
+msgstr ""
+
+#: ../commands.c:487
+#, c-format
+msgid "Unknown image '%s'."
+msgstr ""
+
+#: ../commands.c:491
+#, c-format
+msgid "Unknown attachment or image '%s'."
+msgstr ""
+
+#: ../commands.c:542
+msgid "Argument must be a number."
+msgstr ""
+
+#: ../completion.c:250
+#, c-format
+msgid "Page %d"
+msgstr ""
+
+#: ../completion.c:293
+msgid "Attachments"
+msgstr ""
+
+#. add images
+#: ../completion.c:324
+msgid "Images"
+msgstr ""
+
+#. zathura settings
+#: ../config.c:135
+msgid "Database backend"
+msgstr ""
+
+#: ../config.c:137
+msgid "Zoom step"
+msgstr ""
+
+#: ../config.c:139
+msgid "Padding between pages"
+msgstr ""
+
+#: ../config.c:141
+msgid "Number of pages per row"
+msgstr ""
+
+#: ../config.c:143
+msgid "Column of the first page"
+msgstr ""
+
+#: ../config.c:145
+msgid "Scroll step"
+msgstr ""
+
+#: ../config.c:147
+msgid "Horizontal scroll step"
+msgstr ""
+
+#: ../config.c:149
+msgid "Full page scroll overlap"
+msgstr ""
+
+#: ../config.c:151
+msgid "Zoom minimum"
+msgstr ""
+
+#: ../config.c:153
+msgid "Zoom maximum"
+msgstr ""
+
+#: ../config.c:155
+msgid "Life time (in seconds) of a hidden page"
+msgstr ""
+
+#: ../config.c:156
+msgid "Amount of seconds between each cache purge"
+msgstr ""
+
+#: ../config.c:158
+msgid "Number of positions to remember in the jumplist"
+msgstr ""
+
+#: ../config.c:160
+msgid "Recoloring (dark color)"
+msgstr ""
+
+#: ../config.c:162
+msgid "Recoloring (light color)"
+msgstr ""
+
+#: ../config.c:164
+msgid "Color for highlighting"
+msgstr ""
+
+#: ../config.c:166
+msgid "Color for highlighting (active)"
+msgstr ""
+
+#: ../config.c:170
+msgid "Recolor pages"
+msgstr ""
+
+#: ../config.c:172
+msgid "When recoloring keep original hue and adjust lightness only"
+msgstr ""
+
+#: ../config.c:174
+msgid "Wrap scrolling"
+msgstr ""
+
+#: ../config.c:176
+msgid "Page aware scrolling"
+msgstr ""
+
+#: ../config.c:178
+msgid "Advance number of pages per row"
+msgstr ""
+
+#: ../config.c:180
+msgid "Horizontally centered zoom"
+msgstr ""
+
+#: ../config.c:182
+msgid "Center result horizontally"
+msgstr ""
+
+#: ../config.c:184
+msgid "Transparency for highlighting"
+msgstr ""
+
+#: ../config.c:186
+msgid "Render 'Loading ...'"
+msgstr ""
+
+#: ../config.c:187
+msgid "Adjust to when opening file"
+msgstr ""
+
+#: ../config.c:189
+msgid "Show hidden files and directories"
+msgstr ""
+
+#: ../config.c:191
+msgid "Show directories"
+msgstr ""
+
+#: ../config.c:193
+msgid "Always open on first page"
+msgstr ""
+
+#: ../config.c:195
+msgid "Highlight search results"
+msgstr ""
+
+#: ../config.c:197
+msgid "Enable incremental search"
+msgstr ""
+
+#: ../config.c:199
+msgid "Clear search results on abort"
+msgstr ""
+
+#: ../config.c:201
+msgid "Use basename of the file in the window title"
+msgstr ""
+
+#: ../config.c:203 ../main.c:60
+msgid "Enable synctex support"
+msgstr ""
+
+#. define default inputbar commands
+#: ../config.c:359
+msgid "Add a bookmark"
+msgstr ""
+
+#: ../config.c:360
+msgid "Delete a bookmark"
+msgstr ""
+
+#: ../config.c:361
+msgid "List all bookmarks"
+msgstr ""
+
+#: ../config.c:362
+msgid "Close current file"
+msgstr ""
+
+#: ../config.c:363
+msgid "Show file information"
+msgstr ""
+
+#: ../config.c:364
+msgid "Execute a command"
+msgstr ""
+
+#: ../config.c:365
+msgid "Show help"
+msgstr ""
+
+#: ../config.c:366
+msgid "Open document"
+msgstr ""
+
+#: ../config.c:367
+msgid "Close zathura"
+msgstr ""
+
+#: ../config.c:368
+msgid "Print document"
+msgstr ""
+
+#: ../config.c:369
+msgid "Save document"
+msgstr ""
+
+#: ../config.c:370
+msgid "Save document (and force overwriting)"
+msgstr ""
+
+#: ../config.c:371
+msgid "Save attachments"
+msgstr ""
+
+#: ../config.c:372
+msgid "Set page offset"
+msgstr ""
+
+#: ../config.c:373
+msgid "Mark current location within the document"
+msgstr ""
+
+#: ../config.c:374
+msgid "Delete the specified marks"
+msgstr ""
+
+#: ../config.c:375
+msgid "Don't highlight current search results"
+msgstr ""
+
+#: ../config.c:376
+msgid "Highlight current search results"
+msgstr ""
+
+#: ../config.c:377
+msgid "Show version information"
+msgstr ""
+
+#: ../links.c:161 ../links.c:240
+msgid "Failed to run xdg-open."
+msgstr ""
+
+#: ../links.c:179
+#, c-format
+msgid "Link: page %d"
+msgstr ""
+
+#: ../links.c:186
+#, c-format
+msgid "Link: %s"
+msgstr ""
+
+#: ../links.c:190
+msgid "Link: Invalid"
+msgstr ""
+
+#: ../main.c:52
+msgid "Reparents to window specified by xid"
+msgstr ""
+
+#: ../main.c:53
+msgid "Path to the config directory"
+msgstr ""
+
+#: ../main.c:54
+msgid "Path to the data directory"
+msgstr ""
+
+#: ../main.c:55
+msgid "Path to the directories containing plugins"
+msgstr ""
+
+#: ../main.c:56
+msgid "Fork into the background"
+msgstr ""
+
+#: ../main.c:57
+msgid "Document password"
+msgstr ""
+
+#: ../main.c:58
+msgid "Log level (debug, info, warning, error)"
+msgstr ""
+
+#: ../main.c:59
+msgid "Print version information"
+msgstr ""
+
+#: ../main.c:61
+msgid "Synctex editor (forwarded to the synctex command)"
+msgstr ""
+
+#: ../page-widget.c:455
+msgid "Loading..."
+msgstr ""
+
+#: ../page-widget.c:646
+#, c-format
+msgid "Copied selected text to clipboard: %s"
+msgstr ""
+
+#: ../page-widget.c:744
+msgid "Copy image"
+msgstr ""
+
+#: ../page-widget.c:745
+msgid "Save image as"
+msgstr ""
+
+#: ../shortcuts.c:956
+msgid "This document does not contain any index"
+msgstr ""
+
+#: ../zathura.c:193 ../zathura.c:865
+msgid "[No name]"
+msgstr ""
diff --git a/po/hr.po b/po/hr.po
new file mode 100644
index 0000000..b118108
--- /dev/null
+++ b/po/hr.po
@@ -0,0 +1,439 @@
+# zathura - language file (Croatian)
+# See LICENSE file for license and copyright information
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: zathura\n"
+"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
+"POT-Creation-Date: 2013-01-22 21:33+0100\n"
+"PO-Revision-Date: 2013-01-13 14:12+0000\n"
+"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
+"Language-Team: Croatian (http://www.transifex.com/projects/p/zathura/"
+"language/hr/)\n"
+"Language: hr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
+
+#: ../callbacks.c:218
+#, c-format
+msgid "Invalid input '%s' given."
+msgstr ""
+
+#: ../callbacks.c:256
+#, c-format
+msgid "Invalid index '%s' given."
+msgstr ""
+
+#: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
+#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:408
+#: ../commands.c:529 ../shortcuts.c:475 ../shortcuts.c:1053
+#: ../shortcuts.c:1082
+msgid "No document opened."
+msgstr ""
+
+#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:413
+msgid "Invalid number of arguments given."
+msgstr ""
+
+#: ../commands.c:49
+#, c-format
+msgid "Bookmark successfuly updated: %s"
+msgstr ""
+
+#: ../commands.c:55
+#, c-format
+msgid "Could not create bookmark: %s"
+msgstr ""
+
+#: ../commands.c:59
+#, c-format
+msgid "Bookmark successfuly created: %s"
+msgstr ""
+
+#: ../commands.c:82
+#, c-format
+msgid "Removed bookmark: %s"
+msgstr ""
+
+#: ../commands.c:84
+#, c-format
+msgid "Failed to remove bookmark: %s"
+msgstr ""
+
+#: ../commands.c:110
+#, c-format
+msgid "No such bookmark: %s"
+msgstr ""
+
+#: ../commands.c:161 ../commands.c:183
+msgid "No information available."
+msgstr ""
+
+#: ../commands.c:221
+msgid "Too many arguments."
+msgstr ""
+
+#: ../commands.c:230
+msgid "No arguments given."
+msgstr ""
+
+#: ../commands.c:289 ../commands.c:315
+msgid "Document saved."
+msgstr ""
+
+#: ../commands.c:291 ../commands.c:317
+msgid "Failed to save document."
+msgstr ""
+
+#: ../commands.c:294 ../commands.c:320
+msgid "Invalid number of arguments."
+msgstr ""
+
+#: ../commands.c:432
+#, c-format
+msgid "Couldn't write attachment '%s' to '%s'."
+msgstr ""
+
+#: ../commands.c:434
+#, c-format
+msgid "Wrote attachment '%s' to '%s'."
+msgstr ""
+
+#: ../commands.c:478
+#, c-format
+msgid "Wrote image '%s' to '%s'."
+msgstr ""
+
+#: ../commands.c:480
+#, c-format
+msgid "Couldn't write image '%s' to '%s'."
+msgstr ""
+
+#: ../commands.c:487
+#, c-format
+msgid "Unknown image '%s'."
+msgstr ""
+
+#: ../commands.c:491
+#, c-format
+msgid "Unknown attachment or image '%s'."
+msgstr ""
+
+#: ../commands.c:542
+msgid "Argument must be a number."
+msgstr ""
+
+#: ../completion.c:250
+#, c-format
+msgid "Page %d"
+msgstr ""
+
+#: ../completion.c:293
+msgid "Attachments"
+msgstr ""
+
+#. add images
+#: ../completion.c:324
+msgid "Images"
+msgstr ""
+
+#. zathura settings
+#: ../config.c:135
+msgid "Database backend"
+msgstr ""
+
+#: ../config.c:137
+msgid "Zoom step"
+msgstr ""
+
+#: ../config.c:139
+msgid "Padding between pages"
+msgstr ""
+
+#: ../config.c:141
+msgid "Number of pages per row"
+msgstr ""
+
+#: ../config.c:143
+msgid "Column of the first page"
+msgstr ""
+
+#: ../config.c:145
+msgid "Scroll step"
+msgstr ""
+
+#: ../config.c:147
+msgid "Horizontal scroll step"
+msgstr ""
+
+#: ../config.c:149
+msgid "Full page scroll overlap"
+msgstr ""
+
+#: ../config.c:151
+msgid "Zoom minimum"
+msgstr ""
+
+#: ../config.c:153
+msgid "Zoom maximum"
+msgstr ""
+
+#: ../config.c:155
+msgid "Life time (in seconds) of a hidden page"
+msgstr ""
+
+#: ../config.c:156
+msgid "Amount of seconds between each cache purge"
+msgstr ""
+
+#: ../config.c:158
+msgid "Number of positions to remember in the jumplist"
+msgstr ""
+
+#: ../config.c:160
+msgid "Recoloring (dark color)"
+msgstr ""
+
+#: ../config.c:162
+msgid "Recoloring (light color)"
+msgstr ""
+
+#: ../config.c:164
+msgid "Color for highlighting"
+msgstr ""
+
+#: ../config.c:166
+msgid "Color for highlighting (active)"
+msgstr ""
+
+#: ../config.c:170
+msgid "Recolor pages"
+msgstr ""
+
+#: ../config.c:172
+msgid "When recoloring keep original hue and adjust lightness only"
+msgstr ""
+
+#: ../config.c:174
+msgid "Wrap scrolling"
+msgstr ""
+
+#: ../config.c:176
+msgid "Page aware scrolling"
+msgstr ""
+
+#: ../config.c:178
+msgid "Advance number of pages per row"
+msgstr ""
+
+#: ../config.c:180
+msgid "Horizontally centered zoom"
+msgstr ""
+
+#: ../config.c:182
+msgid "Center result horizontally"
+msgstr ""
+
+#: ../config.c:184
+msgid "Transparency for highlighting"
+msgstr ""
+
+#: ../config.c:186
+msgid "Render 'Loading ...'"
+msgstr ""
+
+#: ../config.c:187
+msgid "Adjust to when opening file"
+msgstr ""
+
+#: ../config.c:189
+msgid "Show hidden files and directories"
+msgstr ""
+
+#: ../config.c:191
+msgid "Show directories"
+msgstr ""
+
+#: ../config.c:193
+msgid "Always open on first page"
+msgstr ""
+
+#: ../config.c:195
+msgid "Highlight search results"
+msgstr ""
+
+#: ../config.c:197
+msgid "Enable incremental search"
+msgstr ""
+
+#: ../config.c:199
+msgid "Clear search results on abort"
+msgstr ""
+
+#: ../config.c:201
+msgid "Use basename of the file in the window title"
+msgstr ""
+
+#: ../config.c:203 ../main.c:60
+msgid "Enable synctex support"
+msgstr ""
+
+#. define default inputbar commands
+#: ../config.c:359
+msgid "Add a bookmark"
+msgstr ""
+
+#: ../config.c:360
+msgid "Delete a bookmark"
+msgstr ""
+
+#: ../config.c:361
+msgid "List all bookmarks"
+msgstr ""
+
+#: ../config.c:362
+msgid "Close current file"
+msgstr ""
+
+#: ../config.c:363
+msgid "Show file information"
+msgstr ""
+
+#: ../config.c:364
+msgid "Execute a command"
+msgstr ""
+
+#: ../config.c:365
+msgid "Show help"
+msgstr ""
+
+#: ../config.c:366
+msgid "Open document"
+msgstr ""
+
+#: ../config.c:367
+msgid "Close zathura"
+msgstr ""
+
+#: ../config.c:368
+msgid "Print document"
+msgstr ""
+
+#: ../config.c:369
+msgid "Save document"
+msgstr ""
+
+#: ../config.c:370
+msgid "Save document (and force overwriting)"
+msgstr ""
+
+#: ../config.c:371
+msgid "Save attachments"
+msgstr ""
+
+#: ../config.c:372
+msgid "Set page offset"
+msgstr ""
+
+#: ../config.c:373
+msgid "Mark current location within the document"
+msgstr ""
+
+#: ../config.c:374
+msgid "Delete the specified marks"
+msgstr ""
+
+#: ../config.c:375
+msgid "Don't highlight current search results"
+msgstr ""
+
+#: ../config.c:376
+msgid "Highlight current search results"
+msgstr ""
+
+#: ../config.c:377
+msgid "Show version information"
+msgstr ""
+
+#: ../links.c:161 ../links.c:240
+msgid "Failed to run xdg-open."
+msgstr ""
+
+#: ../links.c:179
+#, c-format
+msgid "Link: page %d"
+msgstr ""
+
+#: ../links.c:186
+#, c-format
+msgid "Link: %s"
+msgstr ""
+
+#: ../links.c:190
+msgid "Link: Invalid"
+msgstr ""
+
+#: ../main.c:52
+msgid "Reparents to window specified by xid"
+msgstr ""
+
+#: ../main.c:53
+msgid "Path to the config directory"
+msgstr ""
+
+#: ../main.c:54
+msgid "Path to the data directory"
+msgstr ""
+
+#: ../main.c:55
+msgid "Path to the directories containing plugins"
+msgstr ""
+
+#: ../main.c:56
+msgid "Fork into the background"
+msgstr ""
+
+#: ../main.c:57
+msgid "Document password"
+msgstr ""
+
+#: ../main.c:58
+msgid "Log level (debug, info, warning, error)"
+msgstr ""
+
+#: ../main.c:59
+msgid "Print version information"
+msgstr ""
+
+#: ../main.c:61
+msgid "Synctex editor (forwarded to the synctex command)"
+msgstr ""
+
+#: ../page-widget.c:455
+msgid "Loading..."
+msgstr ""
+
+#: ../page-widget.c:646
+#, c-format
+msgid "Copied selected text to clipboard: %s"
+msgstr ""
+
+#: ../page-widget.c:744
+msgid "Copy image"
+msgstr ""
+
+#: ../page-widget.c:745
+msgid "Save image as"
+msgstr ""
+
+#: ../shortcuts.c:956
+msgid "This document does not contain any index"
+msgstr ""
+
+#: ../zathura.c:193 ../zathura.c:865
+msgid "[No name]"
+msgstr ""
diff --git a/po/pt_BR.po b/po/pt_BR.po
new file mode 100644
index 0000000..2c8e55a
--- /dev/null
+++ b/po/pt_BR.po
@@ -0,0 +1,440 @@
+# zathura - language file (Portuguese (Brazil))
+# See LICENSE file for license and copyright information
+#
+# Translators:
+#   <shorterfire@gmail.com>, 2012-2013.
+msgid ""
+msgstr ""
+"Project-Id-Version: zathura\n"
+"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
+"POT-Creation-Date: 2013-01-22 21:33+0100\n"
+"PO-Revision-Date: 2013-01-13 20:34+0000\n"
+"Last-Translator: salmora8 <shorterfire@gmail.com>\n"
+"Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/"
+"zathura/language/pt_BR/)\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: ../callbacks.c:218
+#, c-format
+msgid "Invalid input '%s' given."
+msgstr "Dados de entrada inválida '%s' ."
+
+#: ../callbacks.c:256
+#, c-format
+msgid "Invalid index '%s' given."
+msgstr "Dados de índice invalido '%s'."
+
+#: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
+#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:408
+#: ../commands.c:529 ../shortcuts.c:475 ../shortcuts.c:1053
+#: ../shortcuts.c:1082
+msgid "No document opened."
+msgstr "Nenhum documento aberto."
+
+#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:413
+msgid "Invalid number of arguments given."
+msgstr "Número de argumentos dados inválidos."
+
+#: ../commands.c:49
+#, c-format
+msgid "Bookmark successfuly updated: %s"
+msgstr "Favorito atualizado com sucesso: %s"
+
+#: ../commands.c:55
+#, c-format
+msgid "Could not create bookmark: %s"
+msgstr "Não foi possível criar favorito: %s"
+
+#: ../commands.c:59
+#, c-format
+msgid "Bookmark successfuly created: %s"
+msgstr "Favorito criado com sucesso: %s"
+
+#: ../commands.c:82
+#, c-format
+msgid "Removed bookmark: %s"
+msgstr "Favorito removido: %s"
+
+#: ../commands.c:84
+#, c-format
+msgid "Failed to remove bookmark: %s"
+msgstr "Falha ao remover favorito: %s"
+
+#: ../commands.c:110
+#, c-format
+msgid "No such bookmark: %s"
+msgstr "Não há favoritos: %s"
+
+#: ../commands.c:161 ../commands.c:183
+msgid "No information available."
+msgstr "Nenhuma informação disponível."
+
+#: ../commands.c:221
+msgid "Too many arguments."
+msgstr "Muitos argumentos."
+
+#: ../commands.c:230
+msgid "No arguments given."
+msgstr "Nenhum argumento dado."
+
+#: ../commands.c:289 ../commands.c:315
+msgid "Document saved."
+msgstr "Documento salvo."
+
+#: ../commands.c:291 ../commands.c:317
+msgid "Failed to save document."
+msgstr "Falha ao salvar o documento."
+
+#: ../commands.c:294 ../commands.c:320
+msgid "Invalid number of arguments."
+msgstr "Número de argumento invalido."
+
+#: ../commands.c:432
+#, c-format
+msgid "Couldn't write attachment '%s' to '%s'."
+msgstr "Não foi possível gravar anexo '%s' para '%s'."
+
+#: ../commands.c:434
+#, c-format
+msgid "Wrote attachment '%s' to '%s'."
+msgstr "Escreveu anexo '%s' para '%s'."
+
+#: ../commands.c:478
+#, c-format
+msgid "Wrote image '%s' to '%s'."
+msgstr "Escreveu imagem '%s' para '%s'."
+
+#: ../commands.c:480
+#, c-format
+msgid "Couldn't write image '%s' to '%s'."
+msgstr "Não foi possível gravar imagem '%s' para '%s'."
+
+#: ../commands.c:487
+#, c-format
+msgid "Unknown image '%s'."
+msgstr "Imagem desconhecida '%s'."
+
+#: ../commands.c:491
+#, c-format
+msgid "Unknown attachment or image '%s'."
+msgstr "Anexo desconhecido ou imagem '%s'."
+
+#: ../commands.c:542
+msgid "Argument must be a number."
+msgstr "O argumento deve ser um número."
+
+#: ../completion.c:250
+#, c-format
+msgid "Page %d"
+msgstr "Página %d"
+
+#: ../completion.c:293
+msgid "Attachments"
+msgstr "Anexos"
+
+#. add images
+#: ../completion.c:324
+msgid "Images"
+msgstr "Imagens"
+
+#. zathura settings
+#: ../config.c:135
+msgid "Database backend"
+msgstr "Fim da base de dados"
+
+#: ../config.c:137
+msgid "Zoom step"
+msgstr "Grau de Zoom"
+
+#: ../config.c:139
+msgid "Padding between pages"
+msgstr "Preenchimento entre páginas"
+
+#: ../config.c:141
+msgid "Number of pages per row"
+msgstr "Número de paginas por linha"
+
+#: ../config.c:143
+msgid "Column of the first page"
+msgstr "Coluna da primeira página"
+
+#: ../config.c:145
+msgid "Scroll step"
+msgstr "Fase de Rolagem"
+
+#: ../config.c:147
+msgid "Horizontal scroll step"
+msgstr "Etapa de rolagem horizontal"
+
+#: ../config.c:149
+msgid "Full page scroll overlap"
+msgstr "Sobreposição de rolagem de página inteira"
+
+#: ../config.c:151
+msgid "Zoom minimum"
+msgstr "Zoom minimo"
+
+#: ../config.c:153
+msgid "Zoom maximum"
+msgstr "Zoom máximo"
+
+#: ../config.c:155
+msgid "Life time (in seconds) of a hidden page"
+msgstr "Tempo de vida (em segundos) de uma página oculta"
+
+#: ../config.c:156
+msgid "Amount of seconds between each cache purge"
+msgstr "Quantidade de segundos entre as páginas invisíveis"
+
+#: ../config.c:158
+msgid "Number of positions to remember in the jumplist"
+msgstr "Numero de posições para lembrar na lista de salto"
+
+#: ../config.c:160
+msgid "Recoloring (dark color)"
+msgstr "Recolorindo (cor escura)"
+
+#: ../config.c:162
+msgid "Recoloring (light color)"
+msgstr "Recolorindo (cor clara)"
+
+#: ../config.c:164
+msgid "Color for highlighting"
+msgstr "Cor para destacar"
+
+#: ../config.c:166
+msgid "Color for highlighting (active)"
+msgstr "Cor para destacar (ativo)"
+
+#: ../config.c:170
+msgid "Recolor pages"
+msgstr "Recolorir páginas"
+
+#: ../config.c:172
+msgid "When recoloring keep original hue and adjust lightness only"
+msgstr ""
+"Quando recolorir, manter tonalidade original e ajustar somente a luminosidade"
+
+#: ../config.c:174
+msgid "Wrap scrolling"
+msgstr "Rolagem envoltório"
+
+#: ../config.c:176
+msgid "Page aware scrolling"
+msgstr "Rolagem de página consciente"
+
+#: ../config.c:178
+msgid "Advance number of pages per row"
+msgstr "Numero de avanço de paginas por linha"
+
+#: ../config.c:180
+msgid "Horizontally centered zoom"
+msgstr "Zoom centrado horizontalmente"
+
+#: ../config.c:182
+msgid "Center result horizontally"
+msgstr "Resultado centrado horizontalmente"
+
+#: ../config.c:184
+msgid "Transparency for highlighting"
+msgstr "Transparência para destacar"
+
+#: ../config.c:186
+msgid "Render 'Loading ...'"
+msgstr "Renderizando 'Carregando...'"
+
+#: ../config.c:187
+msgid "Adjust to when opening file"
+msgstr "Ajuste para quando abrir o arquivo"
+
+#: ../config.c:189
+msgid "Show hidden files and directories"
+msgstr "Mostrar arquivos ocultos e diretórios"
+
+#: ../config.c:191
+msgid "Show directories"
+msgstr "Mostrar diretórios"
+
+#: ../config.c:193
+msgid "Always open on first page"
+msgstr "Sempre abrir na primeira página"
+
+#: ../config.c:195
+msgid "Highlight search results"
+msgstr "Destaque resultados de busca"
+
+#: ../config.c:197
+msgid "Enable incremental search"
+msgstr "Ativar pesquisa incremental"
+
+#: ../config.c:199
+msgid "Clear search results on abort"
+msgstr "Limpar resultados de busca ou abortar"
+
+#: ../config.c:201
+msgid "Use basename of the file in the window title"
+msgstr "Usar nome do arquivo na barra de titulo"
+
+#: ../config.c:203 ../main.c:60
+msgid "Enable synctex support"
+msgstr "Ativar suporte synctex"
+
+#. define default inputbar commands
+#: ../config.c:359
+msgid "Add a bookmark"
+msgstr "Adicionar um favorito"
+
+#: ../config.c:360
+msgid "Delete a bookmark"
+msgstr "Deletar um favorito"
+
+#: ../config.c:361
+msgid "List all bookmarks"
+msgstr "Listar todos favoritos"
+
+#: ../config.c:362
+msgid "Close current file"
+msgstr "Fechar arquivo atual"
+
+#: ../config.c:363
+msgid "Show file information"
+msgstr "Mostrar informações do arquivo"
+
+#: ../config.c:364
+msgid "Execute a command"
+msgstr "Executar um comando"
+
+#: ../config.c:365
+msgid "Show help"
+msgstr "Mostrar ajuda"
+
+#: ../config.c:366
+msgid "Open document"
+msgstr "Abrir documento"
+
+#: ../config.c:367
+msgid "Close zathura"
+msgstr "Fechar zathura"
+
+#: ../config.c:368
+msgid "Print document"
+msgstr "Imprimir documento"
+
+#: ../config.c:369
+msgid "Save document"
+msgstr "Salvar documento"
+
+#: ../config.c:370
+msgid "Save document (and force overwriting)"
+msgstr "Salvar documento (e forçar sobrescrever)"
+
+#: ../config.c:371
+msgid "Save attachments"
+msgstr "Salvar anexos"
+
+#: ../config.c:372
+msgid "Set page offset"
+msgstr "Definir deslocamento da página"
+
+#: ../config.c:373
+msgid "Mark current location within the document"
+msgstr "Marcar localização atual no documento"
+
+#: ../config.c:374
+msgid "Delete the specified marks"
+msgstr "Apagar as marcas especificadas"
+
+#: ../config.c:375
+msgid "Don't highlight current search results"
+msgstr "Não destacar resultados de busca atual"
+
+#: ../config.c:376
+msgid "Highlight current search results"
+msgstr "Destacar resultado de busca atual"
+
+#: ../config.c:377
+msgid "Show version information"
+msgstr "Mostrar informações sobre a versão"
+
+#: ../links.c:161 ../links.c:240
+msgid "Failed to run xdg-open."
+msgstr "Falha ao executar xdg-open."
+
+#: ../links.c:179
+#, c-format
+msgid "Link: page %d"
+msgstr "Link: página %d"
+
+#: ../links.c:186
+#, c-format
+msgid "Link: %s"
+msgstr "Link: %s"
+
+#: ../links.c:190
+msgid "Link: Invalid"
+msgstr "Link: Inválido"
+
+#: ../main.c:52
+msgid "Reparents to window specified by xid"
+msgstr "Reparar a janela especificada por xid"
+
+#: ../main.c:53
+msgid "Path to the config directory"
+msgstr "Caminho de diretório para configuração"
+
+#: ../main.c:54
+msgid "Path to the data directory"
+msgstr "Caminho para diretório de dados"
+
+#: ../main.c:55
+msgid "Path to the directories containing plugins"
+msgstr "Caminho de diretório que contenham plugins"
+
+#: ../main.c:56
+msgid "Fork into the background"
+msgstr "Deslocar no fundo"
+
+#: ../main.c:57
+msgid "Document password"
+msgstr "Senha do documento"
+
+#: ../main.c:58
+msgid "Log level (debug, info, warning, error)"
+msgstr "Nível de log (depurar, informação, aviso, erro)"
+
+#: ../main.c:59
+msgid "Print version information"
+msgstr "Imprimir informações sobre a versão"
+
+#: ../main.c:61
+msgid "Synctex editor (forwarded to the synctex command)"
+msgstr "Editor synctex (encaminhado para o comando synctex)"
+
+#: ../page-widget.c:455
+msgid "Loading..."
+msgstr "Carregando..."
+
+#: ../page-widget.c:646
+#, c-format
+msgid "Copied selected text to clipboard: %s"
+msgstr "Texto selecionado copiado para área de transferência: %s "
+
+#: ../page-widget.c:744
+msgid "Copy image"
+msgstr "Copiar imagem"
+
+#: ../page-widget.c:745
+msgid "Save image as"
+msgstr "Salvar imagem para"
+
+#: ../shortcuts.c:956
+msgid "This document does not contain any index"
+msgstr "Este documento não contem qualquer índice"
+
+#: ../zathura.c:193 ../zathura.c:865
+msgid "[No name]"
+msgstr "[Sem nome]"

From b47d55338c280f22f1c1a6fa1eceec5724de481c Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Tue, 22 Jan 2013 21:56:43 +0100
Subject: [PATCH 03/74] Update copyright years

---
 LICENSE | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/LICENSE b/LICENSE
index 7d84c04..f9fa617 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2009-2012 pwmt.org
+Copyright (c) 2009-2013 pwmt.org
 
 This software is provided 'as-is', without any express or implied
 warranty. In no event will the authors be held liable for any damages

From a45c58f0b5a0d2884eff485def7f985d69d73b4e Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian@ramacher.at>
Date: Fri, 25 Jan 2013 23:19:26 +0100
Subject: [PATCH 04/74] Add tests for replace_substring

---
 tests/test_utils.c | 41 +++++++++++++++++++++++++++++++++++++++++
 utils.c            |  2 +-
 2 files changed, 42 insertions(+), 1 deletion(-)

diff --git a/tests/test_utils.c b/tests/test_utils.c
index 6f927e2..a36b3a9 100644
--- a/tests/test_utils.c
+++ b/tests/test_utils.c
@@ -25,6 +25,38 @@ START_TEST(test_file_valid_extension_null) {
   fail_unless(file_valid_extension(NULL, "pdf") == false, NULL);
 } END_TEST
 
+START_TEST(test_strings_replace_substrings_invalid) {
+  fail_unless(replace_substring(NULL, NULL, NULL) == NULL);
+  fail_unless(replace_substring("", NULL, NULL) == NULL);
+  fail_unless(replace_substring("", "", NULL) == NULL);
+} END_TEST
+
+START_TEST(test_strings_replace_substrings_nothing_to_replace) {
+  fail_unless(replace_substring("test", "n", "y") == NULL);
+} END_TEST
+
+START_TEST(test_strings_replace_substrings_1) {
+  char* result = replace_substring("test", "e", "f");
+  fail_unless(result != NULL);
+  fail_unless(strncmp(result, "tfst", 5) == 0);
+  g_free(result);
+} END_TEST
+
+START_TEST(test_strings_replace_substrings_2) {
+  char* result = replace_substring("test", "es", "f");
+  fail_unless(result != NULL);
+  fail_unless(strncmp(result, "tft", 4) == 0);
+  g_free(result);
+} END_TEST
+
+START_TEST(test_strings_replace_substrings_3) {
+  char* result = replace_substring("test", "e", "fg");
+  fail_unless(result != NULL);
+  fail_unless(strncmp(result, "tfgst", 6) == 0);
+  g_free(result);
+} END_TEST
+
+
 Suite* suite_utils()
 {
   TCase* tcase = NULL;
@@ -42,5 +74,14 @@ Suite* suite_utils()
   tcase_add_test(tcase, test_file_valid_extension_null);
   suite_add_tcase(suite, tcase);
 
+  /* strings */
+  tcase = tcase_create("strings");
+  tcase_add_test(tcase, test_strings_replace_substrings_invalid);
+  tcase_add_test(tcase, test_strings_replace_substrings_nothing_to_replace);
+  tcase_add_test(tcase, test_strings_replace_substrings_1);
+  tcase_add_test(tcase, test_strings_replace_substrings_2);
+  tcase_add_test(tcase, test_strings_replace_substrings_3);
+  suite_add_tcase(suite, tcase);
+
   return suite;
 }
diff --git a/utils.c b/utils.c
index 06de445..b72762d 100644
--- a/utils.c
+++ b/utils.c
@@ -461,7 +461,7 @@ replace_substring(const char* string, const char* old, const char* new)
   /* replace */
   while (*string != '\0') {
     if (strstr(string, old) == string) {
-      strcpy(&ret[i], new);
+      strncpy(&ret[i], new, new_len);
       i += new_len;
       string += old_len;
     } else {

From 7c3fa7fd1a975b224188fa84c94bb32033606fed Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Fri, 8 Feb 2013 10:58:57 +0100
Subject: [PATCH 05/74] Add support to detect mimetypes with magic

Thanks to Diego Joss <djego.joss@gmail.com> for the patch.
---
 Makefile   |  6 ++++++
 config.mk  |  9 +++++++++
 document.c | 35 +++++++++++++++++++++++++++++++++--
 3 files changed, 48 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 99628a7..669d6a4 100644
--- a/Makefile
+++ b/Makefile
@@ -17,6 +17,12 @@ else
 SOURCE = $(filter-out database-sqlite.c,$(OSOURCE))
 endif
 
+ifneq ($(WITH_MAGIC),0)
+INCS += $(MAGIC_INC)
+LIBS += $(MAGIC_LIB)
+CPPFLAGS += -DWITH_MAGIC
+endif
+
 ifneq ($(wildcard ${VALGRIND_SUPPRESSION_FILE}),)
 VALGRIND_ARGUMENTS += --suppressions=${VALGRIND_SUPPRESSION_FILE}
 endif
diff --git a/config.mk b/config.mk
index bd20747..d6fd079 100644
--- a/config.mk
+++ b/config.mk
@@ -23,6 +23,10 @@ GIRARA_VERSION_CHECK ?= $(shell pkg-config --atleast-version=$(GIRARA_MIN_VERSIO
 # To disable support for the sqlite backend set WITH_SQLITE to 0.
 WITH_SQLITE ?= $(shell (pkg-config --atleast-version=3.5.9 sqlite3 && echo 1) || echo 0)
 
+# mimetype detection
+# To disable support for mimetype detction with libmagic set WITH_MAGIC to 0.
+WITH_MAGIC ?= 1
+
 # paths
 PREFIX ?= /usr
 MANPREFIX ?= ${PREFIX}/share/man
@@ -56,6 +60,11 @@ SQLITE_INC ?= $(shell pkg-config --cflags sqlite3)
 SQLITE_LIB ?= $(shell pkg-config --libs sqlite3)
 endif
 
+ifneq (${WITH_MAGIC},0)
+MAGIC_INC ?=
+MAGIC_LIB ?= -lmagic
+endif
+
 INCS = ${GIRARA_INC} ${GTK_INC} ${GTHREAD_INC} ${GMODULE_INC}
 LIBS = ${GIRARA_LIB} ${GTK_LIB} ${GTHREAD_LIB} ${GMODULE_LIB} -lpthread -lm
 
diff --git a/document.c b/document.c
index ae85aa9..b06018a 100644
--- a/document.c
+++ b/document.c
@@ -2,7 +2,6 @@
 
 #define _BSD_SOURCE
 #define _XOPEN_SOURCE 700
-// TODO: Implement realpath
 
 #include <sys/wait.h>
 #include <stdlib.h>
@@ -12,6 +11,9 @@
 #include <errno.h>
 #include <glib.h>
 #include <glib/gi18n.h>
+#ifdef WITH_MAGIC
+#include <magic.h>
+#endif
 
 #include <girara/datastructures.h>
 #include <girara/utils.h>
@@ -518,7 +520,35 @@ zathura_document_get_information(zathura_document_t* document, zathura_error_t*
 static const gchar*
 guess_type(const char* path)
 {
-  gboolean uncertain;
+#ifdef WITH_MAGIC
+  const gchar *content_type = NULL;
+  const int flags =
+    MAGIC_MIME_TYPE |
+    MAGIC_SYMLINK |
+    MAGIC_NO_CHECK_APPTYPE |
+    MAGIC_NO_CHECK_CDF |
+    MAGIC_NO_CHECK_ELF |
+    MAGIC_NO_CHECK_ENCODING;
+  magic_t magic = magic_open(flags);
+  if (magic == NULL) {
+    girara_debug("failed creating the magic cookie\n");
+    return NULL;
+  }
+  if (magic_load(magic, NULL) < 0) {
+    girara_warning("failed loading the magic database: %s\n", magic_error(magic));
+    goto cleanup;
+  }
+  const char* mime_type = magic_file(magic, path);
+  if (mime_type == NULL) {
+    girara_warning("failed guessing filetype: %s\n", magic_error(magic));
+    goto cleanup;
+  }
+  content_type = g_strdup(mime_type);
+cleanup:
+  magic_close(magic);
+  return content_type;
+#else
+  gboolean uncertain = FALSE;
   const gchar* content_type = g_content_type_guess(path, NULL, 0, &uncertain);
   if (content_type == NULL) {
     return NULL;
@@ -590,6 +620,7 @@ guess_type(const char* path)
 
   g_strdelimit(out, "\n\r", '\0');
   return out;
+#endif
 }
 
 zathura_plugin_t*

From f51d66b8edbebda15496a8c5db88923a8375e5af Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Fri, 8 Feb 2013 10:59:43 +0100
Subject: [PATCH 06/74] Update README

---
 README | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/README b/README
index 3c447b9..d5bc8c9 100644
--- a/README
+++ b/README
@@ -12,6 +12,7 @@ sqlite3 (>= 3.5.9)
 check (for tests)
 intltool
 python-docutils (for man pages)
+magic (optional)
 
 Please note that you need to have a working pkg-config installation and that the
 Makefile is only compatible with GNU make. If you don't have a working
@@ -26,6 +27,9 @@ WITH_SQLITE=0 and sqlite support won't be available. Please note that sqlite3
 with metadata support is required, i.e. sqlite3 has to be built with
 SQLITE_ENABLE_COLUMN_METADATA defined.
 
+The use of magic to detect mimetypes is optional and can be disabled by setting
+WITH_MAGIC=0.
+
 Installation
 ------------
 To build and install zathura:

From 3f20ede9ab2852a2e1ead56818fd0faae7472d0b Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Fri, 8 Feb 2013 10:59:54 +0100
Subject: [PATCH 07/74] Add Marwan and Diego to AUTHORS

---
 AUTHORS | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/AUTHORS b/AUTHORS
index 84d768e..295c248 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -20,3 +20,5 @@ Roland Schatz <roland.schatz@students.jku.at>
 Abdó Roig-Maranges <abdo.roig@gmail.com>
 Benoît Knecht <benoit.knecht@gmail.com>
 Rob Cornish <jrmcornish@gmail.com>
+Marwan Tanager <marwan.tngr@gmail.com>
+Diego Joss <djego.joss@gmail.com>

From 815c51d066ef59e77f422f34ea131f0cc1dfb4b9 Mon Sep 17 00:00:00 2001
From: Marwan Tanager <marwan.tngr@gmail.com>
Date: Fri, 8 Feb 2013 13:43:03 +0200
Subject: [PATCH 08/74] Pass hadjustment to set_adjustment() instead of
 vadjustment.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils.c b/utils.c
index b72762d..e5a6eb0 100644
--- a/utils.c
+++ b/utils.c
@@ -372,7 +372,7 @@ readjust_view_after_zooming(zathura_t *zathura, float old_zoom, bool delay)
   if (delay == true) {
     position_set_delayed(zathura, valx, valy);
   } else {
-    set_adjustment(vadjustment, valx);
+    set_adjustment(hadjustment, valx);
     set_adjustment(vadjustment, valy);
   }
 }

From bb8bfc0dd3143974706969599f50560753aea53b Mon Sep 17 00:00:00 2001
From: "Ignas Anikevicius (gns_ank)" <anikevicius@gmail.com>
Date: Fri, 8 Feb 2013 13:59:40 +0000
Subject: [PATCH 09/74] Set the horizontal scroll step

Previously it was set to -1, which was essentially disabling the
horizontal scrolling. This enables the scrolling by default by setting
it to be the same as the vertical scrolling.

Signed-off-by: Ignas Anikevicius (gns_ank) <anikevicius@gmail.com>
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config.c b/config.c
index 1753594..8eaf8c7 100644
--- a/config.c
+++ b/config.c
@@ -143,7 +143,7 @@ config_load_default(zathura_t* zathura)
   girara_setting_add(gsession, "first-page-column",     &int_value,   INT,    false, _("Column of the first page"),cb_first_page_column_value_changed, NULL);
   float_value = 40;
   girara_setting_add(gsession, "scroll-step",           &float_value, FLOAT,  false, _("Scroll step"),             NULL, NULL);
-  float_value = -1;
+  float_value = 40;
   girara_setting_add(gsession, "scroll-hstep",          &float_value, FLOAT,  false, _("Horizontal scroll step"),             NULL, NULL);
   float_value = 0.0;
   girara_setting_add(gsession, "scroll-full-overlap",   &float_value, FLOAT,  false, _("Full page scroll overlap"),           NULL, NULL);

From 7dd30a42cfdd5c631881e67144786c8d54ed6d9c Mon Sep 17 00:00:00 2001
From: "Ignas Anikevicius (gns_ank)" <anikevicius@gmail.com>
Date: Fri, 8 Feb 2013 14:05:06 +0000
Subject: [PATCH 10/74] Fix some mutex deprecation warnings in page-widget

According to my compiler output and the page on glib deprecated APIs
[1], some of the stuff needed to be removed or changed.

[1] - http://developer.gnome.org/glib/2.31/glib-Deprecated-Thread-APIs.html

Signed-off-by: Ignas Anikevicius (gns_ank) <anikevicius@gmail.com>
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 page-widget.c | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/page-widget.c b/page-widget.c
index ac7e93d..d3c34e7 100644
--- a/page-widget.c
+++ b/page-widget.c
@@ -22,7 +22,7 @@ typedef struct zathura_page_widget_private_s {
   zathura_t* zathura; /**< Zathura object */
   cairo_surface_t* surface; /**< Cairo surface */
   gint64 last_view; /**< Last time the page has been viewed */
-  GStaticMutex lock; /**< Lock */
+  GMutex lock; /**< Lock */
 
   struct {
     girara_list_t* list; /**< List of links on the page */
@@ -162,7 +162,7 @@ zathura_page_widget_init(ZathuraPage* widget)
   priv->mouse.selection_basepoint.x = -1;
   priv->mouse.selection_basepoint.y = -1;
 
-  g_static_mutex_init(&(priv->lock));
+  g_mutex_init(&(priv->lock));
 
   /* we want mouse events */
   gtk_widget_add_events(GTK_WIDGET(widget),
@@ -195,8 +195,6 @@ zathura_page_widget_finalize(GObject* object)
     girara_list_free(priv->links.list);
   }
 
-  g_static_mutex_free(&(priv->lock));
-
   G_OBJECT_CLASS(zathura_page_widget_parent_class)->finalize(object);
 }
 
@@ -325,7 +323,7 @@ static gboolean
 zathura_page_widget_draw(GtkWidget* widget, cairo_t* cairo)
 {
   zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget);
-  g_static_mutex_lock(&(priv->lock));
+  g_mutex_lock(&(priv->lock));
 
   zathura_document_t* document = zathura_page_get_document(priv->page);
 
@@ -466,7 +464,7 @@ zathura_page_widget_draw(GtkWidget* widget, cairo_t* cairo)
     /* render real page */
     render_page(priv->zathura->sync.render_thread, priv->page);
   }
-  g_static_mutex_unlock(&(priv->lock));
+  g_mutex_unlock(&(priv->lock));
   return FALSE;
 }
 
@@ -481,13 +479,13 @@ void
 zathura_page_widget_update_surface(ZathuraPage* widget, cairo_surface_t* surface)
 {
   zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget);
-  g_static_mutex_lock(&(priv->lock));
+  g_mutex_lock(&(priv->lock));
   if (priv->surface != NULL) {
     cairo_surface_finish(priv->surface);
     cairo_surface_destroy(priv->surface);
   }
   priv->surface = surface;
-  g_static_mutex_unlock(&(priv->lock));
+  g_mutex_unlock(&(priv->lock));
   /* force a redraw here */
   zathura_page_widget_redraw_canvas(widget);
 }

From c839e3fcedead25954a2e77f2c9a39503301046d Mon Sep 17 00:00:00 2001
From: "Ignas Anikevicius (gns_ank)" <anikevicius@gmail.com>
Date: Fri, 8 Feb 2013 14:27:48 +0000
Subject: [PATCH 11/74] Add Ignas to AUTHORS

Signed-off-by: Ignas Anikevicius (gns_ank) <anikevicius@gmail.com>
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 AUTHORS | 1 +
 1 file changed, 1 insertion(+)

diff --git a/AUTHORS b/AUTHORS
index 295c248..456b172 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -22,3 +22,4 @@ Benoît Knecht <benoit.knecht@gmail.com>
 Rob Cornish <jrmcornish@gmail.com>
 Marwan Tanager <marwan.tngr@gmail.com>
 Diego Joss <djego.joss@gmail.com>
+Ignas Anikevicius <anikevicius@gmail.com>

From b0d5cdd7c050721cf9310ce69177ca10d338147f Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Fri, 8 Feb 2013 19:05:36 +0100
Subject: [PATCH 12/74] Don't call g_threads_init with glib 2.31 and newer

---
 main.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/main.c b/main.c
index 0920adb..7284faa 100644
--- a/main.c
+++ b/main.c
@@ -21,7 +21,9 @@ main(int argc, char* argv[])
   textdomain(GETTEXT_PACKAGE);
 
   /* init gtk */
+#if !GLIB_CHECK_VERSION(2, 31, 0)
   g_thread_init(NULL);
+#endif
   gdk_threads_init();
   gtk_init(&argc, &argv);
 

From edde1bf00f48d35a2b4fa435e20ccdb960320a32 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Sat, 9 Feb 2013 14:50:43 +0100
Subject: [PATCH 13/74] Restore compatibility with earlier versions of glib

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 glib-compat.h | 23 +++++++++++++++++++++++
 page-widget.c | 15 +++++++++------
 render.c      | 10 ++++++----
 3 files changed, 38 insertions(+), 10 deletions(-)
 create mode 100644 glib-compat.h

diff --git a/glib-compat.h b/glib-compat.h
new file mode 100644
index 0000000..c76ccca
--- /dev/null
+++ b/glib-compat.h
@@ -0,0 +1,23 @@
+/* See LICENSE file for license and copyright information */
+
+#ifndef GLIB_COMPAT_H
+#define GLIB_COMPAT_H
+
+#include <glib.h>
+
+/* GStaticMutex is deprecated starting with glib 2.32 */
+#if !GLIB_CHECK_VERSION(2, 31, 0)
+#define mutex GStaticMutex
+#define mutex_init(m) g_static_mutex_init((m))
+#define mutex_lock(m) g_static_mutex_lock((m))
+#define mutex_unlock(m) g_static_mutex_unlock((m))
+#define mutex_free(m) g_static_mutex_free((m))
+#else
+#define mutex GMutex
+#define mutex_init(m) g_mutex_init((m))
+#define mutex_lock(m) g_mutex_lock((m))
+#define mutex_unlock(m) g_mutex_unlock((m))
+#define mutex_free(m) g_mutex_clear((m))
+#endif
+
+#endif
diff --git a/page-widget.c b/page-widget.c
index d3c34e7..529f3f0 100644
--- a/page-widget.c
+++ b/page-widget.c
@@ -7,6 +7,7 @@
 #include <string.h>
 #include <glib/gi18n.h>
 
+#include "glib-compat.h"
 #include "links.h"
 #include "page-widget.h"
 #include "page.h"
@@ -22,7 +23,7 @@ typedef struct zathura_page_widget_private_s {
   zathura_t* zathura; /**< Zathura object */
   cairo_surface_t* surface; /**< Cairo surface */
   gint64 last_view; /**< Last time the page has been viewed */
-  GMutex lock; /**< Lock */
+  mutex lock; /**< Lock */
 
   struct {
     girara_list_t* list; /**< List of links on the page */
@@ -162,7 +163,7 @@ zathura_page_widget_init(ZathuraPage* widget)
   priv->mouse.selection_basepoint.x = -1;
   priv->mouse.selection_basepoint.y = -1;
 
-  g_mutex_init(&(priv->lock));
+  mutex_init(&(priv->lock));
 
   /* we want mouse events */
   gtk_widget_add_events(GTK_WIDGET(widget),
@@ -195,6 +196,8 @@ zathura_page_widget_finalize(GObject* object)
     girara_list_free(priv->links.list);
   }
 
+  mutex_free(&(priv->lock));
+
   G_OBJECT_CLASS(zathura_page_widget_parent_class)->finalize(object);
 }
 
@@ -323,7 +326,7 @@ static gboolean
 zathura_page_widget_draw(GtkWidget* widget, cairo_t* cairo)
 {
   zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget);
-  g_mutex_lock(&(priv->lock));
+  mutex_lock(&(priv->lock));
 
   zathura_document_t* document = zathura_page_get_document(priv->page);
 
@@ -464,7 +467,7 @@ zathura_page_widget_draw(GtkWidget* widget, cairo_t* cairo)
     /* render real page */
     render_page(priv->zathura->sync.render_thread, priv->page);
   }
-  g_mutex_unlock(&(priv->lock));
+  mutex_unlock(&(priv->lock));
   return FALSE;
 }
 
@@ -479,13 +482,13 @@ void
 zathura_page_widget_update_surface(ZathuraPage* widget, cairo_surface_t* surface)
 {
   zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget);
-  g_mutex_lock(&(priv->lock));
+  mutex_lock(&(priv->lock));
   if (priv->surface != NULL) {
     cairo_surface_finish(priv->surface);
     cairo_surface_destroy(priv->surface);
   }
   priv->surface = surface;
-  g_mutex_unlock(&(priv->lock));
+  mutex_unlock(&(priv->lock));
   /* force a redraw here */
   zathura_page_widget_redraw_canvas(widget);
 }
diff --git a/render.c b/render.c
index c410e66..502577b 100644
--- a/render.c
+++ b/render.c
@@ -6,6 +6,7 @@
 #include <girara/session.h>
 #include <girara/settings.h>
 
+#include "glib-compat.h"
 #include "render.h"
 #include "zathura.h"
 #include "document.h"
@@ -19,7 +20,7 @@ static gint render_thread_sort(gconstpointer a, gconstpointer b, gpointer data);
 
 struct render_thread_s {
   GThreadPool* pool; /**< Pool of threads */
-  GMutex mutex; /**< Render lock */
+  mutex mutex; /**< Render lock */
   bool about_to_close; /**< Render thread is to be freed */
 };
 
@@ -51,7 +52,7 @@ render_init(zathura_t* zathura)
 
   render_thread->about_to_close = false;
   g_thread_pool_set_sort_function(render_thread->pool, render_thread_sort, zathura);
-  g_mutex_init(&render_thread->mutex);
+  mutex_init(&render_thread->mutex);
 
   return render_thread;
 
@@ -73,6 +74,7 @@ render_free(render_thread_t* render_thread)
     g_thread_pool_free(render_thread->pool, TRUE, TRUE);
   }
 
+  mutex_free(&(render_thread->mutex));
   g_free(render_thread);
 }
 
@@ -328,7 +330,7 @@ render_lock(render_thread_t* render_thread)
     return;
   }
 
-  g_mutex_lock(&render_thread->mutex);
+  mutex_lock(&render_thread->mutex);
 }
 
 void
@@ -338,5 +340,5 @@ render_unlock(render_thread_t* render_thread)
     return;
   }
 
-  g_mutex_unlock(&render_thread->mutex);
+  mutex_unlock(&render_thread->mutex);
 }

From 519c6069234311a16929dd9a63570e15605c0379 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Sat, 9 Feb 2013 15:18:35 +0100
Subject: [PATCH 14/74] g_get_real_time appeard in 2.28

---
 glib-compat.h | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/glib-compat.h b/glib-compat.h
index c76ccca..d13e59f 100644
--- a/glib-compat.h
+++ b/glib-compat.h
@@ -20,4 +20,14 @@
 #define mutex_free(m) g_mutex_clear((m))
 #endif
 
+/* g_get_real_time appeared in 2.28 */
+#if !GLIB_CHECK_VERSION(2, 27, 0)
+inline static gint64 g_get_real_time(void)
+{
+  GTimeVal tv;
+  g_get_current_time(&tv);
+  return (((gint64) tv.tv_sec) * 1000000) + tv.tv_usec;
+}
+#endif
+
 #endif

From 376aea65a07dddd5d98a6cab9d4f7a889b0ae69d Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Sat, 9 Feb 2013 15:42:52 +0100
Subject: [PATCH 15/74] Remove the note that glib >= 2.32 is required

---
 README | 1 -
 1 file changed, 1 deletion(-)

diff --git a/README b/README
index d5bc8c9..289bacc 100644
--- a/README
+++ b/README
@@ -6,7 +6,6 @@ girara user interface library and several document libraries.
 Requirements
 ------------
 gtk2 (>= 2.28)
-glib (>= 2.32)
 girara
 sqlite3 (>= 3.5.9)
 check (for tests)

From 4b1edf1a415b1e1aa1f9712ff325f85bb7a5f62d Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Wed, 13 Feb 2013 15:25:52 +0100
Subject: [PATCH 16/74] Be a bit more verbose in the README

There is another software called magic out there, so let's call it libmagic from
file(1).
---
 README | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/README b/README
index 289bacc..f922c8d 100644
--- a/README
+++ b/README
@@ -7,11 +7,11 @@ Requirements
 ------------
 gtk2 (>= 2.28)
 girara
-sqlite3 (>= 3.5.9)
+sqlite3 (optional, >= 3.5.9)
 check (for tests)
 intltool
-python-docutils (for man pages)
-magic (optional)
+python-docutils (optional, for man pages)
+libmagic from file(1) (optional, for mime-type detection)
 
 Please note that you need to have a working pkg-config installation and that the
 Makefile is only compatible with GNU make. If you don't have a working

From 1d23f466a28be3ffc998fc3c1742df4119461f7f Mon Sep 17 00:00:00 2001
From: Diego Joss <djego.joss@gmail.com>
Date: Mon, 11 Feb 2013 14:11:15 +0100
Subject: [PATCH 17/74] replace g_content_type_guess with libmagic

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 Makefile   |  6 ++++++
 config.mk  |  8 ++++++++
 document.c | 37 +++++++++++++++++++++++++++++++++++++
 3 files changed, 51 insertions(+)

diff --git a/Makefile b/Makefile
index 99628a7..a72be8d 100644
--- a/Makefile
+++ b/Makefile
@@ -17,6 +17,12 @@ else
 SOURCE = $(filter-out database-sqlite.c,$(OSOURCE))
 endif
 
+ifneq (${WITH_MAGIC},)
+INCS += $(MAGIC_INC)
+LIBS += $(MAGIC_LIB)
+CPPFLAGS += -DWITH_MAGIC
+endif
+
 ifneq ($(wildcard ${VALGRIND_SUPPRESSION_FILE}),)
 VALGRIND_ARGUMENTS += --suppressions=${VALGRIND_SUPPRESSION_FILE}
 endif
diff --git a/config.mk b/config.mk
index bd20747..e1b13a9 100644
--- a/config.mk
+++ b/config.mk
@@ -23,6 +23,9 @@ GIRARA_VERSION_CHECK ?= $(shell pkg-config --atleast-version=$(GIRARA_MIN_VERSIO
 # To disable support for the sqlite backend set WITH_SQLITE to 0.
 WITH_SQLITE ?= $(shell (pkg-config --atleast-version=3.5.9 sqlite3 && echo 1) || echo 0)
 
+# to disable use of libmagic for filetype detection comment the following line
+WITH_MAGIC ?= 1
+
 # paths
 PREFIX ?= /usr
 MANPREFIX ?= ${PREFIX}/share/man
@@ -56,6 +59,11 @@ SQLITE_INC ?= $(shell pkg-config --cflags sqlite3)
 SQLITE_LIB ?= $(shell pkg-config --libs sqlite3)
 endif
 
+ifneq (${WITH_MAGIC},)
+MAGIC_INC ?=
+MAGIC_LIB ?= -lmagic
+endif
+
 INCS = ${GIRARA_INC} ${GTK_INC} ${GTHREAD_INC} ${GMODULE_INC}
 LIBS = ${GIRARA_LIB} ${GTK_LIB} ${GTHREAD_LIB} ${GMODULE_LIB} -lpthread -lm
 
diff --git a/document.c b/document.c
index ae85aa9..a8699e4 100644
--- a/document.c
+++ b/document.c
@@ -12,6 +12,9 @@
 #include <errno.h>
 #include <glib.h>
 #include <glib/gi18n.h>
+#ifdef WITH_MAGIC
+# include <magic.h>
+#endif /*WITH_MAGIC*/
 
 #include <girara/datastructures.h>
 #include <girara/utils.h>
@@ -518,6 +521,40 @@ zathura_document_get_information(zathura_document_t* document, zathura_error_t*
 static const gchar*
 guess_type(const char* path)
 {
+#ifdef WITH_MAGIC
+  {
+    const char *mime_type = NULL;
+    const gchar *content_type = NULL;
+    int flags =
+      MAGIC_MIME_TYPE |
+      MAGIC_SYMLINK |
+      MAGIC_NO_CHECK_APPTYPE |
+      MAGIC_NO_CHECK_CDF |
+      MAGIC_NO_CHECK_ELF |
+      MAGIC_NO_CHECK_ENCODING;
+    magic_t magic = magic_open(flags);
+    if (magic == NULL) {
+      girara_warning("failed creating the magic cookie\n");
+      return NULL;
+    }
+    if (magic_load(magic, NULL) < 0) {
+      girara_warning("failed loading the magic database: %s\n", magic_error(magic));
+      goto cleanup;
+    }
+    mime_type = (const gchar *)magic_file(magic, path);
+    if (mime_type == NULL) {
+      girara_warning("failed guessing filetype: %s\n", magic_error(magic));
+      goto cleanup;
+    }
+    content_type = g_strdup((const gchar *)mime_type);
+cleanup:
+    magic_close(magic);
+    if (content_type != NULL) {
+      return content_type;
+    }
+    /* else fallback to g_content_type_guess method */
+  }
+#endif /*WITH_MAGIC*/
   gboolean uncertain;
   const gchar* content_type = g_content_type_guess(path, NULL, 0, &uncertain);
   if (content_type == NULL) {

From 444645615910db89516b8f2f529739fb42a7a425 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Wed, 13 Feb 2013 15:43:02 +0100
Subject: [PATCH 18/74] add some comments

---
 document.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/document.c b/document.c
index 897b4a9..11dd046 100644
--- a/document.c
+++ b/document.c
@@ -522,6 +522,8 @@ guess_type(const char* path)
 {
 #ifdef WITH_MAGIC
   const char* mime_type = NULL;
+
+  /* creat magic cookie */
   const int flags =
     MAGIC_MIME_TYPE |
     MAGIC_SYMLINK |
@@ -534,14 +536,19 @@ guess_type(const char* path)
     girara_debug("failed creating the magic cookie\n");
     goto cleanup;
   }
+
+  /* ... and load mime database */
   if (magic_load(magic, NULL) < 0) {
     girara_debug("failed loading the magic database: %s\n", magic_error(magic));
     goto cleanup;
   }
+
+  /* get the mime type */
   mime_type = magic_file(magic, path);
   if (mime_type == NULL) {
     girara_debug("failed guessing filetype: %s\n", magic_error(magic));
   }
+
 cleanup:
   if (magic != NULL) {
     magic_close(magic);

From 1899011a6c2bc0e639799f51351f601a61178e7e Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Tue, 19 Feb 2013 15:19:10 +0100
Subject: [PATCH 19/74] add some debug output

---
 document.c | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/document.c b/document.c
index 11dd046..f8357e5 100644
--- a/document.c
+++ b/document.c
@@ -554,6 +554,7 @@ cleanup:
     magic_close(magic);
   }
   if (mime_type != NULL) {
+    girara_debug("magic detected filetype: %s\n", mime_type);
     return g_strdup(mime_type);
   }
   /* else fallback to g_content_type_guess method */
@@ -561,15 +562,15 @@ cleanup:
   gboolean uncertain = FALSE;
   const gchar* content_type = g_content_type_guess(path, NULL, 0, &uncertain);
   if (content_type == NULL) {
-    return NULL;
+    girara_debug("g_content_type failed\n");
+  } else {
+    if (uncertain == FALSE) {
+      girara_debug("g_content_type detected filetype: %s\n", content_type);
+      return content_type;
+    }
+    girara_debug("g_content_type is uncertain, guess: %s\n", content_type);
   }
 
-  if (uncertain == FALSE) {
-    return content_type;
-  }
-
-  girara_debug("g_content_type is uncertain, guess: %s\n", content_type);
-
   FILE* f = fopen(path, "rb");
   if (f == NULL) {
     return NULL;

From 0a92abe720a7275580b62cfa789fa515b6ea3bb9 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Tue, 19 Feb 2013 15:27:23 +0100
Subject: [PATCH 20/74] Fix the logic in guess_type

---
 document.c | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/document.c b/document.c
index f8357e5..6b8d52b 100644
--- a/document.c
+++ b/document.c
@@ -520,6 +520,7 @@ zathura_document_get_information(zathura_document_t* document, zathura_error_t*
 static const gchar*
 guess_type(const char* path)
 {
+  const gchar* content_type = NULL;
 #ifdef WITH_MAGIC
   const char* mime_type = NULL;
 
@@ -547,20 +548,24 @@ guess_type(const char* path)
   mime_type = magic_file(magic, path);
   if (mime_type == NULL) {
     girara_debug("failed guessing filetype: %s\n", magic_error(magic));
+    goto cleanup;
   }
 
+  girara_debug("magic detected filetype: %s\n", mime_type);
+  content_type = g_strdup(mime_type);
+
 cleanup:
   if (magic != NULL) {
     magic_close(magic);
   }
-  if (mime_type != NULL) {
-    girara_debug("magic detected filetype: %s\n", mime_type);
-    return g_strdup(mime_type);
+
+  if (content_type != NULL) {
+    return content_type;
   }
   /* else fallback to g_content_type_guess method */
 #endif /*WITH_MAGIC*/
   gboolean uncertain = FALSE;
-  const gchar* content_type = g_content_type_guess(path, NULL, 0, &uncertain);
+  content_type = g_content_type_guess(path, NULL, 0, &uncertain);
   if (content_type == NULL) {
     girara_debug("g_content_type failed\n");
   } else {

From 91340403002ed8362cfe10f51fd2194c7735d05d Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Fri, 22 Feb 2013 15:58:13 +0100
Subject: [PATCH 21/74] Build tests with magic if WITH_MAGIC != 0

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 tests/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/Makefile b/tests/Makefile
index 990156b..75a198b 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -21,6 +21,12 @@ else
 ZSOURCE = $(filter-out ../database-sqlite.c,$(ZOSOURCE))
 endif
 
+ifneq ($(WITH_MAGIC),0)
+INCS += $(MAGIC_INC)
+LIBS += $(MAGIC_LIB)
+CPPFLAGS += -DWITH_MAGIC
+endif
+
 ZOBJECTS = ${ZSOURCE:.c=.o}
 
 all: ${PROJECT}

From a079b05ddd8e74084f7bbdc20ccecdccb345c3d9 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Sat, 23 Feb 2013 13:54:50 +0100
Subject: [PATCH 22/74] Handle ZATHURA_LINK_NONE

Thanks to oblique for the patch.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 links.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/links.c b/links.c
index 0e2c400..8ea913a 100644
--- a/links.c
+++ b/links.c
@@ -30,6 +30,7 @@ zathura_link_new(zathura_link_type_t type, zathura_rectangle_t position,
   link->position = position;
 
   switch (type) {
+    case ZATHURA_LINK_NONE:
     case ZATHURA_LINK_GOTO_DEST:
       link->target = target;
 
@@ -64,6 +65,7 @@ zathura_link_free(zathura_link_t* link)
   }
 
   switch (link->type) {
+    case ZATHURA_LINK_NONE:
     case ZATHURA_LINK_GOTO_DEST:
     case ZATHURA_LINK_GOTO_REMOTE:
     case ZATHURA_LINK_URI:

From cad4b1176431b9599c3965a0df5f62e672026ae2 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Sat, 23 Feb 2013 14:12:33 +0100
Subject: [PATCH 23/74] Talk a bit more about flags.

Closes: #292
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 README | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/README b/README
index f922c8d..0c6b181 100644
--- a/README
+++ b/README
@@ -29,6 +29,10 @@ SQLITE_ENABLE_COLUMN_METADATA defined.
 The use of magic to detect mimetypes is optional and can be disabled by setting
 WITH_MAGIC=0.
 
+If pass these flags add command line argument to make, you have to ensure that
+you pass the same flags when executing the install target. Setting flags in
+config.mk directly or via environment variables is not affected by this issue.
+
 Installation
 ------------
 To build and install zathura:

From 1fd5ca3ebb8b17bf6d782fe8833628988270c40b Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Sat, 23 Feb 2013 16:48:19 +0100
Subject: [PATCH 24/74] Remove some duplicated code

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 utils.c | 35 +++++++----------------------------
 utils.h |  2 +-
 2 files changed, 8 insertions(+), 29 deletions(-)

diff --git a/utils.c b/utils.c
index e5a6eb0..b775778 100644
--- a/utils.c
+++ b/utils.c
@@ -185,7 +185,8 @@ page_calculate_offset(zathura_t* zathura, zathura_page_t* page, page_offset_t* o
                    zathura->ui.page_widget, 0, 0, &(offset->x), &(offset->y)) == true);
 }
 
-zathura_rectangle_t rotate_rectangle(zathura_rectangle_t rectangle, unsigned int degree, int height, int width)
+zathura_rectangle_t
+rotate_rectangle(zathura_rectangle_t rectangle, unsigned int degree, double height, double width)
 {
   zathura_rectangle_t tmp;
   switch (degree) {
@@ -234,33 +235,11 @@ recalc_rectangle(zathura_page_t* page, zathura_rectangle_t rectangle)
   double page_width  = zathura_page_get_width(page);
   double scale       = zathura_document_get_scale(document);
 
-  zathura_rectangle_t tmp;
-
-  switch (zathura_document_get_rotation(document)) {
-    case 90:
-      tmp.x1 = (page_height - rectangle.y2) * scale;
-      tmp.x2 = (page_height - rectangle.y1) * scale;
-      tmp.y1 = rectangle.x1 * scale;
-      tmp.y2 = rectangle.x2 * scale;
-      break;
-    case 180:
-      tmp.x1 = (page_width  - rectangle.x2) * scale;
-      tmp.x2 = (page_width  - rectangle.x1) * scale;
-      tmp.y1 = (page_height - rectangle.y2) * scale;
-      tmp.y2 = (page_height - rectangle.y1) * scale;
-      break;
-    case 270:
-      tmp.x1 = rectangle.y1 * scale;
-      tmp.x2 = rectangle.y2 * scale;
-      tmp.y1 = (page_width - rectangle.x2) * scale;
-      tmp.y2 = (page_width - rectangle.x1) * scale;
-      break;
-    default:
-      tmp.x1 = rectangle.x1 * scale;
-      tmp.x2 = rectangle.x2 * scale;
-      tmp.y1 = rectangle.y1 * scale;
-      tmp.y2 = rectangle.y2 * scale;
-  }
+  zathura_rectangle_t tmp = rotate_rectangle(rectangle, zathura_document_get_rotation(document), page_height, page_width);
+  tmp.x1 *= scale;
+  tmp.x2 *= scale;
+  tmp.y1 *= scale;
+  tmp.y2 *= scale;
 
   return tmp;
 
diff --git a/utils.h b/utils.h
index 45990d0..d5d8b48 100644
--- a/utils.h
+++ b/utils.h
@@ -74,7 +74,7 @@ void page_calculate_offset(zathura_t* zathura, zathura_page_t* page, page_offset
  * @param width the width of the enclosing rectangle
  * @return the rotated rectangle
  */
-zathura_rectangle_t rotate_rectangle(zathura_rectangle_t rectangle, unsigned int degree, int height, int width);
+zathura_rectangle_t rotate_rectangle(zathura_rectangle_t rectangle, unsigned int degree, double height, double width);
 
 /**
  * Calculates the new coordinates based on the rotation and scale level of the

From f2ed53aa72e31522a31ec859c930cecd4631c6d0 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Sat, 23 Feb 2013 17:18:02 +0100
Subject: [PATCH 25/74] Fix the off-by-one with the poppler plugin

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 render.c | 7 +++----
 utils.c  | 7 ++++++-
 utils.h  | 3 ++-
 3 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/render.c b/render.c
index 502577b..05b12eb 100644
--- a/render.c
+++ b/render.c
@@ -152,7 +152,7 @@ render(zathura_t* zathura, zathura_page_t* page)
   /* create cairo surface */
   unsigned int page_width  = 0;
   unsigned int page_height = 0;
-  page_calc_height_width(page, &page_height, &page_width, false);
+  const double real_scale = page_calc_height_width(page, &page_height, &page_width, false);
 
   cairo_surface_t* surface = cairo_image_surface_create(CAIRO_FORMAT_RGB24, page_width, page_height);
 
@@ -174,9 +174,8 @@ render(zathura_t* zathura, zathura_page_t* page)
   cairo_restore(cairo);
   cairo_save(cairo);
 
-  double scale = zathura_document_get_scale(zathura->document);
-  if (fabs(scale - 1.0f) > FLT_EPSILON) {
-    cairo_scale(cairo, scale, scale);
+  if (fabs(real_scale - 1.0f) > FLT_EPSILON) {
+    cairo_scale(cairo, real_scale, real_scale);
   }
 
   render_lock(zathura->sync.render_thread);
diff --git a/utils.c b/utils.c
index b775778..52a5b26 100644
--- a/utils.c
+++ b/utils.c
@@ -255,7 +255,7 @@ set_adjustment(GtkAdjustment* adjustment, gdouble value)
                            MIN(gtk_adjustment_get_upper(adjustment) - gtk_adjustment_get_page_size(adjustment), value)));
 }
 
-void
+double
 page_calc_height_width(zathura_page_t* page, unsigned int* page_height, unsigned int* page_width, bool rotate)
 {
   g_return_if_fail(page != NULL && page_height != NULL && page_width != NULL);
@@ -268,14 +268,19 @@ page_calc_height_width(zathura_page_t* page, unsigned int* page_height, unsigned
   double height = zathura_page_get_height(page);
   double width  = zathura_page_get_width(page);
   double scale  = zathura_document_get_scale(document);
+  double real_scale;
 
   if (rotate && zathura_document_get_rotation(document) % 180) {
     *page_width  = ceil(height * scale);
     *page_height = ceil(width  * scale);
+    real_scale = MAX(*page_width / height, *page_height / width);
   } else {
     *page_width  = ceil(width  * scale);
     *page_height = ceil(height * scale);
+    real_scale = MAX(*page_width / width, *page_height / height);
   }
+
+  return real_scale;
 }
 
 void
diff --git a/utils.h b/utils.h
index d5d8b48..b480ab8 100644
--- a/utils.h
+++ b/utils.h
@@ -100,8 +100,9 @@ void set_adjustment(GtkAdjustment* adjust, gdouble value);
  * @param page_height the resulting page height
  * @param page_width the resultung page width
  * @param rotate honor page's rotation
+ * @return real scale after rounding
  */
-void
+double
 page_calc_height_width(zathura_page_t* page, unsigned int* page_height, unsigned int* page_width, bool rotate);
 
 /**

From 0e3efe05044493f758a988dc5d15aa35f1760be6 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Sat, 23 Feb 2013 17:32:30 +0100
Subject: [PATCH 26/74] Fix compiler warnings

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 utils.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/utils.c b/utils.c
index 52a5b26..fd052e5 100644
--- a/utils.c
+++ b/utils.c
@@ -258,11 +258,11 @@ set_adjustment(GtkAdjustment* adjustment, gdouble value)
 double
 page_calc_height_width(zathura_page_t* page, unsigned int* page_height, unsigned int* page_width, bool rotate)
 {
-  g_return_if_fail(page != NULL && page_height != NULL && page_width != NULL);
+  g_return_val_if_fail(page != NULL && page_height != NULL && page_width != NULL, 0.0);
 
   zathura_document_t* document = zathura_page_get_document(page);
   if (document == NULL) {
-    return;
+    return 0.0;
   }
 
   double height = zathura_page_get_height(page);

From 35adeacbf5d06536d8052861258f1b8f20d89c16 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Sat, 23 Feb 2013 17:33:03 +0100
Subject: [PATCH 27/74] Implement colors for 'Loading ...'.

Thanks to oblique for the patch.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 config.c        |  8 ++++++++
 page-widget.c   |  6 ++++--
 zathura.h       |  2 ++
 zathurarc.5.rst | 14 ++++++++++++++
 4 files changed, 28 insertions(+), 2 deletions(-)

diff --git a/config.c b/config.c
index 8eaf8c7..2a3ca9c 100644
--- a/config.c
+++ b/config.c
@@ -52,6 +52,10 @@ cb_color_change(girara_session_t* session, const char* name,
     gdk_color_parse(string_value, &(zathura->ui.colors.recolor_dark_color));
   } else if (g_strcmp0(name, "recolor-lightcolor") == 0) {
     gdk_color_parse(string_value, &(zathura->ui.colors.recolor_light_color));
+  } else if (g_strcmp0(name, "render-loading-bg") == 0) {
+    gdk_color_parse(string_value, &(zathura->ui.colors.render_loading_bg));
+  } else if (g_strcmp0(name, "render-loading-fg") == 0) {
+    gdk_color_parse(string_value, &(zathura->ui.colors.render_loading_fg));
   }
 
   render_all(zathura);
@@ -165,6 +169,10 @@ config_load_default(zathura_t* zathura)
   girara_setting_set(gsession, "highlight-color",        "#9FBC00");
   girara_setting_add(gsession, "highlight-active-color", NULL, STRING, false, _("Color for highlighting (active)"), cb_color_change, NULL);
   girara_setting_set(gsession, "highlight-active-color", "#00BC00");
+  girara_setting_add(gsession, "render-loading-bg",      NULL, STRING, false, _("'Loading ...' background color"), cb_color_change, NULL);
+  girara_setting_set(gsession, "render-loading-bg",      "#FFFFFF");
+  girara_setting_add(gsession, "render-loading-fg",      NULL, STRING, false, _("'Loading ...' foreground color"), cb_color_change, NULL);
+  girara_setting_set(gsession, "render-loading-fg",      "#000000");
 
   bool_value = false;
   girara_setting_add(gsession, "recolor",                &bool_value,  BOOLEAN, false, _("Recolor pages"), cb_setting_recolor_change, NULL);
diff --git a/page-widget.c b/page-widget.c
index 529f3f0..58ccd71 100644
--- a/page-widget.c
+++ b/page-widget.c
@@ -436,7 +436,8 @@ zathura_page_widget_draw(GtkWidget* widget, cairo_t* cairo)
       GdkColor color = priv->zathura->ui.colors.recolor_light_color;
       cairo_set_source_rgb(cairo, color.red/65535.0, color.green/65535.0, color.blue/65535.0);
     } else {
-      cairo_set_source_rgb(cairo, 1, 1, 1);
+      GdkColor color = priv->zathura->ui.colors.render_loading_bg;
+      cairo_set_source_rgb(cairo, color.red/65535.0, color.green/65535.0, color.blue/65535.0);
     }
     cairo_rectangle(cairo, 0, 0, page_width, page_height);
     cairo_fill(cairo);
@@ -450,7 +451,8 @@ zathura_page_widget_draw(GtkWidget* widget, cairo_t* cairo)
         GdkColor color = priv->zathura->ui.colors.recolor_dark_color;
         cairo_set_source_rgb(cairo, color.red/65535.0, color.green/65535.0, color.blue/65535.0);
       } else {
-        cairo_set_source_rgb(cairo, 0, 0, 0);
+        GdkColor color = priv->zathura->ui.colors.render_loading_fg;
+        cairo_set_source_rgb(cairo, color.red/65535.0, color.green/65535.0, color.blue/65535.0);
       }
 
       const char* text = _("Loading...");
diff --git a/zathura.h b/zathura.h
index 6970063..26753f7 100644
--- a/zathura.h
+++ b/zathura.h
@@ -57,6 +57,8 @@ struct zathura_s
       GdkColor recolor_light_color; /**< Light color for recoloring */
       GdkColor highlight_color; /**< Color for highlighting */
       GdkColor highlight_color_active; /** Color for highlighting */
+      GdkColor render_loading_bg; /**< Background color for render "Loading..." */
+      GdkColor render_loading_fg; /**< Foreground color for render "Loading..." */
     } colors;
 
     GtkWidget *page_widget_alignment;
diff --git a/zathurarc.5.rst b/zathurarc.5.rst
index ae58bc7..6630331 100644
--- a/zathurarc.5.rst
+++ b/zathurarc.5.rst
@@ -594,6 +594,20 @@ Defines if the "Loading..." text should be displayed if a page is rendered.
 * Value type: Boolean
 * Default value: true
 
+render-loading-bg
+^^^^^^^^^^^^^^^^^
+Defines the background color that is used for the "Loading..." text.
+
+* Value type: String
+* Default value: #FFFFFF
+
+render-loading-fg
+^^^^^^^^^^^^^^^^^
+Defines the foreground color that is used for the "Loading..." text.
+
+* Value type: String
+* Default value: #000000
+
 scroll-hstep
 ^^^^^^^^^^^^
 Defines the horizontal step size of scrolling by calling the scroll command once

From 7ad6c2f42296533858db3de0749bd4f0f9c5dddf Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian@ramacher.at>
Date: Sun, 24 Feb 2013 03:26:29 +0100
Subject: [PATCH 28/74] Don't render same page multiple times

If we have already requested a page to be rendered, we don't have to request it
once again.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 page-widget.c | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/page-widget.c b/page-widget.c
index 58ccd71..bf94ba3 100644
--- a/page-widget.c
+++ b/page-widget.c
@@ -22,6 +22,7 @@ typedef struct zathura_page_widget_private_s {
   zathura_page_t* page; /**< Page object */
   zathura_t* zathura; /**< Zathura object */
   cairo_surface_t* surface; /**< Cairo surface */
+  bool render_requested; /**< No surface and rendering has been requested */
   gint64 last_view; /**< Last time the page has been viewed */
   mutex lock; /**< Lock */
 
@@ -140,9 +141,10 @@ static void
 zathura_page_widget_init(ZathuraPage* widget)
 {
   zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget);
-  priv->page      = NULL;
-  priv->surface   = NULL;
-  priv->last_view = g_get_real_time();
+  priv->page             = NULL;
+  priv->surface          = NULL;
+  priv->render_requested = false;
+  priv->last_view        = g_get_real_time();
 
   priv->links.list      = NULL;
   priv->links.retrieved = false;
@@ -467,7 +469,10 @@ zathura_page_widget_draw(GtkWidget* widget, cairo_t* cairo)
     }
 
     /* render real page */
-    render_page(priv->zathura->sync.render_thread, priv->page);
+    if (priv->render_requested == false) {
+      priv->render_requested = true;
+      render_page(priv->zathura->sync.render_thread, priv->page);
+    }
   }
   mutex_unlock(&(priv->lock));
   return FALSE;
@@ -489,6 +494,7 @@ zathura_page_widget_update_surface(ZathuraPage* widget, cairo_surface_t* surface
     cairo_surface_finish(priv->surface);
     cairo_surface_destroy(priv->surface);
   }
+  priv->render_requested = false;
   priv->surface = surface;
   mutex_unlock(&(priv->lock));
   /* force a redraw here */

From af0d5ccd2c539c7778450f0bfddc7b3b3150e0fd Mon Sep 17 00:00:00 2001
From: Moritz Lipp <mlq@pwmt.org>
Date: Sun, 24 Feb 2013 12:29:01 +0100
Subject: [PATCH 29/74] Update README

---
 README | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/README b/README
index 0c6b181..38ddc8d 100644
--- a/README
+++ b/README
@@ -23,15 +23,14 @@ If it is not installed, the man pages won't be built.
 
 If you don't want to build with support for sqlite databases, you can set
 WITH_SQLITE=0 and sqlite support won't be available. Please note that sqlite3
-with metadata support is required, i.e. sqlite3 has to be built with
+with meta data support is required, i.e. sqlite3 has to be built with
 SQLITE_ENABLE_COLUMN_METADATA defined.
 
-The use of magic to detect mimetypes is optional and can be disabled by setting
+The use of magic to detect mime types is optional and can be disabled by setting
 WITH_MAGIC=0.
 
-If pass these flags add command line argument to make, you have to ensure that
-you pass the same flags when executing the install target. Setting flags in
-config.mk directly or via environment variables is not affected by this issue.
+If you pass these flags as a command line argument to make, you have to ensure
+to pass the same flags when executing the install target.
 
 Installation
 ------------

From 1c70185171924d1955181472c7813448768d9515 Mon Sep 17 00:00:00 2001
From: Moritz Lipp <mlq@pwmt.org>
Date: Thu, 28 Feb 2013 12:10:50 +0100
Subject: [PATCH 30/74] Update man page

---
 zathura.1.rst | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/zathura.1.rst b/zathura.1.rst
index cd980b4..7ab265c 100644
--- a/zathura.1.rst
+++ b/zathura.1.rst
@@ -94,6 +94,8 @@ R
   Reload document
 Tab
   Show index and switch to **Index mode**
+d
+  Toggle dual page view
 F5
   Switch to fullscreen mode
 ^m

From 438c9cdc9fe226414ed0aad08fee12b9da20d78a Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Thu, 28 Feb 2013 16:20:54 +0100
Subject: [PATCH 31/74] Add statusbar-basename option

Thanks to oblique for the patch.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 config.c        |  2 ++
 zathura.c       | 12 ++++++++++--
 zathurarc.5.rst |  7 +++++++
 3 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/config.c b/config.c
index 2a3ca9c..5eafc0d 100644
--- a/config.c
+++ b/config.c
@@ -208,6 +208,8 @@ config_load_default(zathura_t* zathura)
   bool_value = false;
   girara_setting_add(gsession, "window-title-basename",  &bool_value,  BOOLEAN, false, _("Use basename of the file in the window title"), NULL, NULL);
   bool_value = false;
+  girara_setting_add(gsession, "statusbar-basename",     &bool_value,  BOOLEAN, false, _("Use basename of the file in the statusbar"), NULL, NULL);
+  bool_value = false;
   girara_setting_add(gsession, "synctex",                &bool_value,  BOOLEAN, false, _("Enable synctex support"), NULL, NULL);
 
   /* define default shortcuts */
diff --git a/zathura.c b/zathura.c
index b499801..80bf2fb 100644
--- a/zathura.c
+++ b/zathura.c
@@ -581,7 +581,15 @@ document_open(zathura_t* zathura, const char* path, const char* password)
   }
 
   /* update statusbar */
-  girara_statusbar_item_set_text(zathura->ui.session, zathura->ui.statusbar.file, file_path);
+  bool basename_only = false;
+  girara_setting_get(zathura->ui.session, "statusbar-basename", &basename_only);
+  if (basename_only == false) {
+    girara_statusbar_item_set_text(zathura->ui.session, zathura->ui.statusbar.file, file_path);
+  } else {
+    char* tmp = g_path_get_basename(file_path);
+    girara_statusbar_item_set_text(zathura->ui.session, zathura->ui.statusbar.file, tmp);
+    g_free(tmp);
+  }
 
   /* install file monitor */
   gchar* file_uri = g_filename_to_uri(file_path, NULL, NULL);
@@ -690,7 +698,7 @@ document_open(zathura_t* zathura, const char* path, const char* password)
   zathura_bookmarks_load(zathura, file_path);
 
   /* update title */
-  bool basename_only = false;
+  basename_only = false;
   girara_setting_get(zathura->ui.session, "window-title-basename", &basename_only);
   if (basename_only == false) {
     girara_set_window_title(zathura->ui.session, file_path);
diff --git a/zathurarc.5.rst b/zathurarc.5.rst
index 6630331..f317aa6 100644
--- a/zathurarc.5.rst
+++ b/zathurarc.5.rst
@@ -658,6 +658,13 @@ Use basename of the file in the window title.
 * Value type: Boolean
 * Default value: false
 
+statusbar-basename
+^^^^^^^^^^^^^^^^^^
+Use basename of the file in the statusbar.
+
+* Value type: Boolean
+* Default value: false
+
 zoom-center
 ^^^^^^^^^^^
 En/Disables horizontally centered zooming

From 7841eea2ebd37756c3e0f09e0ba584d566e9862d Mon Sep 17 00:00:00 2001
From: Marwan Tanager <marwan.tngr@gmail.com>
Date: Sun, 3 Mar 2013 03:11:48 +0200
Subject: [PATCH 32/74] Scale vertical/horizontal scrolling by the contents of
 the numeric buffer.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 shortcuts.c | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/shortcuts.c b/shortcuts.c
index 44b790f..4821895 100644
--- a/shortcuts.c
+++ b/shortcuts.c
@@ -551,7 +551,7 @@ sc_rotate(girara_session_t* session, girara_argument_t* argument,
 
 bool
 sc_scroll(girara_session_t* session, girara_argument_t* argument,
-          girara_event_t* UNUSED(event), unsigned int UNUSED(t))
+	  girara_event_t* UNUSED(event), unsigned int t)
 {
   g_return_val_if_fail(session != NULL, false);
   g_return_val_if_fail(session->global.data != NULL, false);
@@ -561,6 +561,10 @@ sc_scroll(girara_session_t* session, girara_argument_t* argument,
     return false;
   }
 
+  if (!t){
+    t = 1;
+  }
+
   GtkAdjustment* adjustment = NULL;
   if ( (argument->n == LEFT) || (argument->n == FULL_LEFT) || (argument->n == HALF_LEFT) ||
        (argument->n == RIGHT) || (argument->n == FULL_RIGHT) || (argument->n == HALF_RIGHT)) {
@@ -612,16 +616,16 @@ sc_scroll(girara_session_t* session, girara_argument_t* argument,
       new_value = value + ((view_size + padding) / 2);
       break;
     case LEFT:
-      new_value = value - scroll_hstep;
+      new_value = value - scroll_hstep * t;
       break;
     case UP:
-      new_value = value - scroll_step;
+      new_value = value - scroll_step * t;
       break;
     case RIGHT:
-      new_value = value + scroll_hstep;
+      new_value = value + scroll_hstep * t;
       break;
     case DOWN:
-      new_value = value + scroll_step;
+      new_value = value + scroll_step * t;
       break;
     case TOP:
       new_value = 0;

From 99a03faed1e9bba11e96c87d7803a2c69fefeffd Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Sun, 3 Mar 2013 02:26:08 +0100
Subject: [PATCH 33/74] CS

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 shortcuts.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/shortcuts.c b/shortcuts.c
index 4821895..80a1a37 100644
--- a/shortcuts.c
+++ b/shortcuts.c
@@ -551,7 +551,7 @@ sc_rotate(girara_session_t* session, girara_argument_t* argument,
 
 bool
 sc_scroll(girara_session_t* session, girara_argument_t* argument,
-	  girara_event_t* UNUSED(event), unsigned int t)
+          girara_event_t* UNUSED(event), unsigned int t)
 {
   g_return_val_if_fail(session != NULL, false);
   g_return_val_if_fail(session->global.data != NULL, false);
@@ -561,7 +561,7 @@ sc_scroll(girara_session_t* session, girara_argument_t* argument,
     return false;
   }
 
-  if (!t){
+  if (t == 0) {
     t = 1;
   }
 

From c0802434e6e99eeea1ddb62fbd6869348807ea23 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Sat, 9 Mar 2013 18:53:52 +0100
Subject: [PATCH 34/74] Update AUTHORS

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 AUTHORS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/AUTHORS b/AUTHORS
index 456b172..fbc6541 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -1,7 +1,7 @@
 zathura is written by:
 
 Moritz Lipp <mlq@pwmt.org>
-Sebastian Ramacher <s.ramacher@gmx.at>
+Sebastian Ramacher <sebastian+dev@ramacher.at>
 
 Other contributors are (in no particular order):
 

From b895759e7206b03b2e951c1f7d67bc9818070da3 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Sat, 9 Mar 2013 18:54:42 +0100
Subject: [PATCH 35/74] Add oblique

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 AUTHORS | 1 +
 1 file changed, 1 insertion(+)

diff --git a/AUTHORS b/AUTHORS
index fbc6541..81d1071 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -23,3 +23,4 @@ Rob Cornish <jrmcornish@gmail.com>
 Marwan Tanager <marwan.tngr@gmail.com>
 Diego Joss <djego.joss@gmail.com>
 Ignas Anikevicius <anikevicius@gmail.com>
+oblique

From 42cae85f8014de80cd0af3fa3baa94f6cd627dc0 Mon Sep 17 00:00:00 2001
From: Moritz Lipp <mlq@pwmt.org>
Date: Mon, 11 Mar 2013 23:26:14 +0100
Subject: [PATCH 36/74] Show warning if document does not contain any pages

---
 zathura.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/zathura.c b/zathura.c
index 80bf2fb..4aa5d71 100644
--- a/zathura.c
+++ b/zathura.c
@@ -501,6 +501,7 @@ document_open(zathura_t* zathura, const char* path, const char* password)
     goto error_out;
   }
 
+  gchar* file_uri = NULL;
   zathura_error_t error = ZATHURA_ERROR_OK;
   zathura_document_t* document = zathura_document_open(zathura->plugins.manager, path, password, &error);
 
@@ -527,6 +528,12 @@ document_open(zathura_t* zathura, const char* path, const char* password)
   const char* file_path        = zathura_document_get_path(document);
   unsigned int number_of_pages = zathura_document_get_number_of_pages(document);
 
+  if (number_of_pages == 0) {
+    girara_notify(zathura->ui.session, GIRARA_WARNING,
+        _("Document does not contain any pages"));
+    goto error_free;
+  }
+
   /* read history file */
   zathura_fileinfo_t file_info = { 0, 0, 1, 0, 0, 0, 0, 0 };
   bool known_file = zathura_db_get_fileinfo(zathura->database, file_path, &file_info);
@@ -592,7 +599,7 @@ document_open(zathura_t* zathura, const char* path, const char* password)
   }
 
   /* install file monitor */
-  gchar* file_uri = g_filename_to_uri(file_path, NULL, NULL);
+  file_uri = g_filename_to_uri(file_path, NULL, NULL);
   if (file_uri == NULL) {
     goto error_free;
   }

From b5dbe9ff6d5b7dc958f7ee11fb25e2b193a82f3c Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Thu, 14 Mar 2013 21:30:01 +0100
Subject: [PATCH 37/74] Drop zathura_db_free

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 database-sqlite.c |  2 +-
 database.c        | 10 ----------
 database.h        |  7 -------
 zathura.c         |  4 +++-
 4 files changed, 4 insertions(+), 19 deletions(-)

diff --git a/database-sqlite.c b/database-sqlite.c
index a9f0a6d..8e7600f 100644
--- a/database-sqlite.c
+++ b/database-sqlite.c
@@ -79,7 +79,7 @@ zathura_sqldatabase_new(const char* path)
   zathura_database_t* db = g_object_new(ZATHURA_TYPE_SQLDATABASE, "path", path, NULL);
   zathura_sqldatabase_private_t* priv = ZATHURA_SQLDATABASE_GET_PRIVATE(db);
   if (priv->session == NULL) {
-    g_object_unref(db);
+    g_object_unref(G_OBJECT(db));
     return NULL;
   }
 
diff --git a/database.c b/database.c
index d042747..81e3a27 100644
--- a/database.c
+++ b/database.c
@@ -9,16 +9,6 @@ zathura_database_default_init(ZathuraDatabaseInterface* GIRARA_UNUSED(iface))
 {
 }
 
-void
-zathura_db_free(zathura_database_t* db)
-{
-  if (db == NULL) {
-    return;
-  }
-
-  g_object_unref(db);
-}
-
 bool
 zathura_db_add_bookmark(zathura_database_t* db, const char* file,
                         zathura_bookmark_t* bookmark)
diff --git a/database.h b/database.h
index 5161b35..0c8dd44 100644
--- a/database.h
+++ b/database.h
@@ -50,13 +50,6 @@ struct _ZathuraDatabaseInterface
 
 GType zathura_database_get_type(void);
 
-/**
- * Free database instance.
- *
- * @param db The database instance to free.
- */
-void zathura_db_free(zathura_database_t* db);
-
 /**
  * Add or update bookmark in the database.
  *
diff --git a/zathura.c b/zathura.c
index 80bf2fb..4762e8f 100644
--- a/zathura.c
+++ b/zathura.c
@@ -287,7 +287,9 @@ zathura_free(zathura_t* zathura)
   girara_list_free(zathura->bookmarks.bookmarks);
 
   /* database */
-  zathura_db_free(zathura->database);
+  if (zathura->database != NULL) {
+    g_object_unref(G_OBJECT(zathura->database));
+  }
 
   /* free print settings */
   if (zathura->print.settings != NULL) {

From 47eddd0e8689ab70d6346140cc37e61797aa9513 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Thu, 14 Mar 2013 22:13:39 +0100
Subject: [PATCH 38/74] Implement sqlite backend for input history

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 database-sqlite.c | 75 ++++++++++++++++++++++++++++++++++++++++++++++-
 zathura.c         |  3 ++
 2 files changed, 77 insertions(+), 1 deletion(-)

diff --git a/database-sqlite.c b/database-sqlite.c
index 8e7600f..2cd7ba4 100644
--- a/database-sqlite.c
+++ b/database-sqlite.c
@@ -3,14 +3,17 @@
 #include <sqlite3.h>
 #include <girara/utils.h>
 #include <girara/datastructures.h>
+#include <girara/input-history.h>
 #include <string.h>
 
 #include "database-sqlite.h"
 
 static void zathura_database_interface_init(ZathuraDatabaseInterface* iface);
+static void io_interface_init(GiraraInputHistoryIOInterface* iface);
 
 G_DEFINE_TYPE_WITH_CODE(ZathuraSQLDatabase, zathura_sqldatabase, G_TYPE_OBJECT,
-                        G_IMPLEMENT_INTERFACE(ZATHURA_TYPE_DATABASE, zathura_database_interface_init))
+                        G_IMPLEMENT_INTERFACE(ZATHURA_TYPE_DATABASE, zathura_database_interface_init)
+                        G_IMPLEMENT_INTERFACE(GIRARA_TYPE_INPUT_HISTORY_IO, io_interface_init))
 
 static void sqlite_finalize(GObject* object);
 static bool sqlite_add_bookmark(zathura_database_t* db, const char* file,
@@ -25,6 +28,8 @@ static bool sqlite_get_fileinfo(zathura_database_t* db, const char* file,
                                 zathura_fileinfo_t* file_info);
 static void sqlite_set_property(GObject* object, guint prop_id,
                                 const GValue* value, GParamSpec* pspec);
+static void sqlite_io_append(GiraraInputHistoryIO* db, const char*);
+static girara_list_t* sqlite_io_read(GiraraInputHistoryIO* db);
 
 typedef struct zathura_sqldatabase_private_s {
   sqlite3* session;
@@ -49,6 +54,14 @@ zathura_database_interface_init(ZathuraDatabaseInterface* iface)
   iface->get_fileinfo    = sqlite_get_fileinfo;
 }
 
+static void
+io_interface_init(GiraraInputHistoryIOInterface* iface)
+{
+  /* initialize interface */
+  iface->append = sqlite_io_append;
+  iface->read = sqlite_io_read;
+}
+
 static void
 zathura_sqldatabase_class_init(ZathuraSQLDatabaseClass* class)
 {
@@ -132,6 +145,12 @@ sqlite_db_init(ZathuraSQLDatabase* db, const char* path)
   static const char SQL_FILEINFO_ALTER2[] =
     "ALTER TABLE fileinfo ADD COLUMN first_page_column INTEGER;";
 
+  static const char SQL_HISTORY_INIT[] =
+    "CREATE TABLE IF NOT EXISTS history ("
+    "time TIMESTAMP,"
+    "line TEXT,"
+    "PRIMARY KEY(line));";
+
   sqlite3* session = NULL;
   if (sqlite3_open(path, &session) != SQLITE_OK) {
     girara_error("Could not open database: %s\n", path);
@@ -150,6 +169,12 @@ sqlite_db_init(ZathuraSQLDatabase* db, const char* path)
     return;
   }
 
+  if (sqlite3_exec(session, SQL_HISTORY_INIT, NULL, 0, NULL) != SQLITE_OK) {
+    girara_error("Failed to initialize database: %s\n", path);
+    sqlite3_close(session);
+    return;
+  }
+
   const char* data_type = NULL;
   if (sqlite3_table_column_metadata(session, NULL, "fileinfo", "pages_per_row", &data_type, NULL, NULL, NULL, NULL) != SQLITE_OK) {
     girara_debug("old database table layout detected; updating ...");
@@ -380,3 +405,51 @@ sqlite_get_fileinfo(zathura_database_t* db, const char* file,
 
   return true;
 }
+
+static void
+sqlite_io_append(GiraraInputHistoryIO* db, const char* input)
+{
+  static const char SQL_HISTORY_SET[] =
+    "REPLACE INTO history (line, time) VALUES (?, DATETIME('now'));";
+
+  zathura_sqldatabase_private_t* priv = ZATHURA_SQLDATABASE_GET_PRIVATE(db);
+  sqlite3_stmt* stmt = prepare_statement(priv->session, SQL_HISTORY_SET);
+  if (stmt == NULL) {
+    return;
+  }
+
+  if (sqlite3_bind_text(stmt, 1, input, -1, NULL) != SQLITE_OK) {
+    sqlite3_finalize(stmt);
+    girara_error("Failed to bind arguments.");
+    return;
+  }
+
+  sqlite3_step(stmt);
+  sqlite3_finalize(stmt);
+}
+
+static girara_list_t*
+sqlite_io_read(GiraraInputHistoryIO* db)
+{
+  static const char SQL_HISTORY_GET[] =
+    "SELECT line FROM history ORDER BY time";
+
+  zathura_sqldatabase_private_t* priv = ZATHURA_SQLDATABASE_GET_PRIVATE(db);
+  sqlite3_stmt* stmt = prepare_statement(priv->session, SQL_HISTORY_GET);
+  if (stmt == NULL) {
+    return NULL;
+  }
+
+  girara_list_t* list = girara_list_new2((girara_free_function_t) g_free);
+  if (list == NULL) {
+    sqlite3_finalize(stmt);
+    return NULL;
+  }
+
+  while (sqlite3_step(stmt) == SQLITE_ROW) {
+    girara_list_append(list, g_strdup((const char*) sqlite3_column_text(stmt, 0)));
+  }
+
+  sqlite3_finalize(stmt);
+  return list;
+}
diff --git a/zathura.c b/zathura.c
index 4762e8f..5af318a 100644
--- a/zathura.c
+++ b/zathura.c
@@ -219,6 +219,9 @@ zathura_init(zathura_t* zathura)
     girara_debug("Using sqlite database backend.");
     char* tmp = g_build_filename(zathura->config.data_dir, "bookmarks.sqlite", NULL);
     zathura->database = zathura_sqldatabase_new(tmp);
+    if (zathura->database != NULL) {
+      g_object_set(zathura->ui.session->global.command_history, "io", zathura->database, NULL);
+    }
     g_free(tmp);
 #endif
   } else {

From 27c291758ea4108db5d9b3a925639de06e8b7498 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Beno=C3=AEt=20Knecht?= <benoit.knecht@fsfe.org>
Date: Sun, 17 Mar 2013 10:56:43 +0100
Subject: [PATCH 39/74] Add a '--page' option to open at the specified page

If '--page [number]' (or '-P [number]') is given on the command-line,
the document is opened at the specified page number. Negative numbers
are allowed, and denote a page number starting from the end of the
document.

See issue 275 <http://bugs.pwmt.org/issue275>.

Reported-by: bob <sean258@gmail.com>
---
 callbacks.c   |  3 ++-
 commands.c    |  4 +++-
 main.c        |  6 +++++-
 shortcuts.c   |  4 +++-
 zathura.1.rst |  5 +++++
 zathura.c     | 26 ++++++++++++++++++--------
 zathura.h     | 11 +++++++++--
 7 files changed, 45 insertions(+), 14 deletions(-)

diff --git a/callbacks.c b/callbacks.c
index 72fc348..b72ebad 100644
--- a/callbacks.c
+++ b/callbacks.c
@@ -340,7 +340,8 @@ cb_password_dialog(GtkEntry* entry, zathura_password_dialog_info_t* dialog)
   }
 
   /* try to open document again */
-  if (document_open(dialog->zathura, dialog->path, input) == false) {
+  if (document_open(dialog->zathura, dialog->path, input,
+                    ZATHURA_PAGE_NUMBER_UNSPECIFIED) == false) {
     gdk_threads_add_idle(password_dialog, dialog);
   } else {
     g_free(dialog->path);
diff --git a/commands.c b/commands.c
index b6ad942..9551b51 100644
--- a/commands.c
+++ b/commands.c
@@ -225,7 +225,9 @@ cmd_open(girara_session_t* session, girara_list_t* argument_list)
       document_close(zathura, false);
     }
 
-    document_open(zathura, girara_list_nth(argument_list, 0), (argc == 2) ? girara_list_nth(argument_list, 1) :  NULL);
+    document_open(zathura, girara_list_nth(argument_list, 0),
+                  (argc == 2) ?  girara_list_nth(argument_list, 1) :  NULL,
+                  ZATHURA_PAGE_NUMBER_UNSPECIFIED);
   } else {
     girara_notify(session, GIRARA_ERROR, _("No arguments given."));
     return false;
diff --git a/main.c b/main.c
index 7284faa..69562a4 100644
--- a/main.c
+++ b/main.c
@@ -43,6 +43,7 @@ main(int argc, char* argv[])
   bool forkback         = false;
   bool print_version    = false;
   bool synctex          = false;
+  int page_number       = ZATHURA_PAGE_NUMBER_UNSPECIFIED;
 
 #if (GTK_MAJOR_VERSION == 3)
   Window embed = 0;
@@ -57,6 +58,7 @@ main(int argc, char* argv[])
     { "plugins-dir",            'p', 0, G_OPTION_ARG_STRING,   &plugin_path,    _("Path to the directories containing plugins"),        "path" },
     { "fork",                   '\0',0, G_OPTION_ARG_NONE,     &forkback,       _("Fork into the background"),                          NULL },
     { "password",               'w', 0, G_OPTION_ARG_STRING,   &password,       _("Document password"),                                 "password" },
+    { "page",                   'P', 0, G_OPTION_ARG_INT,      &page_number,    _("Page number to go to"),                              "number" },
     { "debug",                  'l', 0, G_OPTION_ARG_STRING,   &loglevel,       _("Log level (debug, info, warning, error)"),           "level" },
     { "version",                'v', 0, G_OPTION_ARG_NONE,     &print_version,  _("Print version information"),                         NULL },
     { "synctex",                's', 0, G_OPTION_ARG_NONE,     &synctex,        _("Enable synctex support"),                            NULL },
@@ -128,7 +130,9 @@ main(int argc, char* argv[])
 
   /* open document if passed */
   if (argc > 1) {
-    document_open_idle(zathura, argv[1], password);
+    if (page_number > 0)
+      --page_number;
+    document_open_idle(zathura, argv[1], password, page_number);
 
     /* open additional files */
     for (int i = 2; i < argc; i++) {
diff --git a/shortcuts.c b/shortcuts.c
index 80a1a37..a3348af 100644
--- a/shortcuts.c
+++ b/shortcuts.c
@@ -511,7 +511,9 @@ sc_reload(girara_session_t* session, girara_argument_t* UNUSED(argument),
   document_close(zathura, true);
 
   /* reopen document */
-  document_open(zathura, zathura->file_monitor.file_path, zathura->file_monitor.password);
+  document_open(zathura, zathura->file_monitor.file_path,
+                zathura->file_monitor.password,
+                ZATHURA_PAGE_NUMBER_UNSPECIFIED);
 
   return false;
 }
diff --git a/zathura.1.rst b/zathura.1.rst
index 7ab265c..bba12e6 100644
--- a/zathura.1.rst
+++ b/zathura.1.rst
@@ -41,6 +41,11 @@ OPTIONS
   will be used for the first one and zathura will ask for the passwords of the
   remaining files if needed.
 
+-P [number], --page [number]
+  Open the document at the given page number. Pages are numbered starting with
+  1, and negative numbers indicate page numbers starting from the end of the
+  document, -1 being the last page.
+
 --fork
   Fork into the background
 
diff --git a/zathura.c b/zathura.c
index f353840..807211a 100644
--- a/zathura.c
+++ b/zathura.c
@@ -37,6 +37,7 @@ typedef struct zathura_document_info_s {
   zathura_t* zathura;
   const char* path;
   const char* password;
+  int page_number;
 } zathura_document_info_t;
 
 typedef struct page_set_delayed_s {
@@ -487,7 +488,8 @@ document_info_open(gpointer data)
     }
 
     if (file != NULL) {
-      document_open(document_info->zathura, file, document_info->password);
+      document_open(document_info->zathura, file, document_info->password,
+                    document_info->page_number);
       g_free(file);
     }
   }
@@ -497,7 +499,8 @@ document_info_open(gpointer data)
 }
 
 bool
-document_open(zathura_t* zathura, const char* path, const char* password)
+document_open(zathura_t* zathura, const char* path, const char* password,
+              int page_number)
 {
   if (zathura == NULL || zathura->plugins.manager == NULL || path == NULL) {
     goto error_out;
@@ -552,11 +555,16 @@ document_open(zathura_t* zathura, const char* path, const char* password)
   }
 
   /* check current page number */
-  if (file_info.current_page > number_of_pages) {
+  /* if it wasn't specified on the command-line, get it from file_info */
+  if (page_number == ZATHURA_PAGE_NUMBER_UNSPECIFIED)
+    page_number = file_info.current_page;
+  if (page_number < 0)
+    page_number += number_of_pages;
+  if ((unsigned)page_number > number_of_pages) {
     girara_warning("document info: '%s' has an invalid page number", file_path);
     zathura_document_set_current_page_number(document, 0);
   } else {
-    zathura_document_set_current_page_number(document, file_info.current_page);
+    zathura_document_set_current_page_number(document, page_number);
   }
 
   /* check for valid rotation */
@@ -747,7 +755,8 @@ error_out:
 }
 
 void
-document_open_idle(zathura_t* zathura, const char* path, const char* password)
+document_open_idle(zathura_t* zathura, const char* path, const char* password,
+                   int page_number)
 {
   if (zathura == NULL || path == NULL) {
     return;
@@ -755,9 +764,10 @@ document_open_idle(zathura_t* zathura, const char* path, const char* password)
 
   zathura_document_info_t* document_info = g_malloc0(sizeof(zathura_document_info_t));
 
-  document_info->zathura  = zathura;
-  document_info->path     = path;
-  document_info->password = password;
+  document_info->zathura     = zathura;
+  document_info->path        = path;
+  document_info->password    = password;
+  document_info->page_number = page_number;
 
   gdk_threads_add_idle(document_info_open, document_info);
 }
diff --git a/zathura.h b/zathura.h
index 26753f7..96d9610 100644
--- a/zathura.h
+++ b/zathura.h
@@ -21,6 +21,11 @@ enum { NEXT, PREVIOUS, LEFT, RIGHT, UP, DOWN, BOTTOM, TOP, HIDE, HIGHLIGHT,
   FULL_DOWN, HALF_LEFT, HALF_RIGHT, FULL_LEFT, FULL_RIGHT, NEXT_CHAR,
   PREVIOUS_CHAR, DELETE_TO_LINE_START, APPEND_FILEPATH, ROTATE_CW, ROTATE_CCW };
 
+/* unspecified page number */
+enum {
+  ZATHURA_PAGE_NUMBER_UNSPECIFIED = INT_MIN
+};
+
 /* forward declaration for types form database.h */
 typedef struct _ZathuraDatabase zathura_database_t;
 
@@ -237,7 +242,8 @@ void zathura_set_argv(zathura_t* zathura, char** argv);
  *
  * @return If no error occured true, otherwise false, is returned.
  */
-bool document_open(zathura_t* zathura, const char* path, const char* password);
+bool document_open(zathura_t* zathura, const char* path, const char* password,
+                   int page_number);
 
 /**
  * Opens a file (idle)
@@ -246,7 +252,8 @@ bool document_open(zathura_t* zathura, const char* path, const char* password);
  * @param path The path to the file
  * @param password The password of the file
  */
-void document_open_idle(zathura_t* zathura, const char* path, const char* password);
+void document_open_idle(zathura_t* zathura, const char* path,
+                        const char* password, int page_number);
 
 /**
  * Save a open file

From ea6fa950748ca47d7887c350f56f2d126d9601a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Beno=C3=AEt=20Knecht?= <benoit.knecht@fsfe.org>
Date: Sun, 17 Mar 2013 10:33:00 +0000
Subject: [PATCH 40/74] Update translations

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 po/ca.po    | 212 ++++++++++++++++++++++++++++-----------------------
 po/cs.po    | 211 +++++++++++++++++++++++++++-----------------------
 po/de.po    | 200 ++++++++++++++++++++++++++----------------------
 po/el.po    | 200 ++++++++++++++++++++++++++----------------------
 po/eo.po    | 211 +++++++++++++++++++++++++++-----------------------
 po/es.po    | 200 ++++++++++++++++++++++++++----------------------
 po/es_CL.po | 211 +++++++++++++++++++++++++++-----------------------
 po/et.po    | 216 ++++++++++++++++++++++++++++------------------------
 po/fr.po    | 200 ++++++++++++++++++++++++++----------------------
 po/he.po    | 216 ++++++++++++++++++++++++++++------------------------
 po/hr.po    | 216 ++++++++++++++++++++++++++++------------------------
 po/it.po    | 213 ++++++++++++++++++++++++++++-----------------------
 po/pl.po    | 211 +++++++++++++++++++++++++++-----------------------
 po/pt_BR.po | 200 ++++++++++++++++++++++++++----------------------
 po/ru.po    | 211 +++++++++++++++++++++++++++-----------------------
 po/ta_IN.po | 209 +++++++++++++++++++++++++++-----------------------
 po/tr.po    | 212 ++++++++++++++++++++++++++++-----------------------
 po/uk_UA.po | 211 +++++++++++++++++++++++++++-----------------------
 18 files changed, 2071 insertions(+), 1689 deletions(-)

diff --git a/po/ca.po b/po/ca.po
index ee75723..d43fd05 100644
--- a/po/ca.po
+++ b/po/ca.po
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-01-22 21:33+0100\n"
+"POT-Creation-Date: 2013-03-17 10:22+0000\n"
 "PO-Revision-Date: 2013-01-13 14:12+0000\n"
 "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
 "Language-Team: Catalan (http://www.transifex.com/projects/p/zathura/language/"
@@ -30,13 +30,13 @@ msgid "Invalid index '%s' given."
 msgstr "Índex invàlid '%s'."
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
-#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:408
-#: ../commands.c:529 ../shortcuts.c:475 ../shortcuts.c:1053
-#: ../shortcuts.c:1082
+#: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
+#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
+#: ../shortcuts.c:1088
 msgid "No document opened."
 msgstr "No s'ha obert cap document."
 
-#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:413
+#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:415
 msgid "Invalid number of arguments given."
 msgstr "Nombre d'arguments invàlids."
 
@@ -78,53 +78,53 @@ msgstr "Cap informació disponible."
 msgid "Too many arguments."
 msgstr "Massa arguments."
 
-#: ../commands.c:230
+#: ../commands.c:232
 msgid "No arguments given."
 msgstr "Cap argument subministrat."
 
-#: ../commands.c:289 ../commands.c:315
+#: ../commands.c:291 ../commands.c:317
 msgid "Document saved."
 msgstr "Document desat."
 
-#: ../commands.c:291 ../commands.c:317
+#: ../commands.c:293 ../commands.c:319
 msgid "Failed to save document."
 msgstr "No s'ha pogut desar el document."
 
-#: ../commands.c:294 ../commands.c:320
+#: ../commands.c:296 ../commands.c:322
 msgid "Invalid number of arguments."
 msgstr "Nombre d'arguments invàlids."
 
-#: ../commands.c:432
+#: ../commands.c:434
 #, c-format
 msgid "Couldn't write attachment '%s' to '%s'."
 msgstr "No s'ha pogut escriure el fitxer adjunt '%s' a '%s'."
 
-#: ../commands.c:434
+#: ../commands.c:436
 #, c-format
 msgid "Wrote attachment '%s' to '%s'."
 msgstr "S'ha escrit el fitxer adjunt '%s' a '%s'."
 
-#: ../commands.c:478
+#: ../commands.c:480
 #, c-format
 msgid "Wrote image '%s' to '%s'."
 msgstr "S'ha escrit la imatge '%s' a '%s'."
 
-#: ../commands.c:480
+#: ../commands.c:482
 #, c-format
 msgid "Couldn't write image '%s' to '%s'."
 msgstr "No s'ha pogut escriure la imatge '%s' a '%s'."
 
-#: ../commands.c:487
+#: ../commands.c:489
 #, c-format
 msgid "Unknown image '%s'."
 msgstr "Imatge desconeguda '%s'."
 
-#: ../commands.c:491
+#: ../commands.c:493
 #, c-format
 msgid "Unknown attachment or image '%s'."
 msgstr "Imatge o fitxer adjunt desconegut '%s'."
 
-#: ../commands.c:542
+#: ../commands.c:544
 msgid "Argument must be a number."
 msgstr "L'argument ha de ser un nombre."
 
@@ -143,298 +143,320 @@ msgid "Images"
 msgstr "Imatges"
 
 #. zathura settings
-#: ../config.c:135
+#: ../config.c:139
 msgid "Database backend"
 msgstr "Base de dades de rerefons"
 
-#: ../config.c:137
+#: ../config.c:141
 msgid "Zoom step"
 msgstr "Pas d'ampliació"
 
-#: ../config.c:139
+#: ../config.c:143
 msgid "Padding between pages"
 msgstr "Separació entre pàgines"
 
-#: ../config.c:141
+#: ../config.c:145
 msgid "Number of pages per row"
 msgstr "Nombre de pàgines per fila"
 
-#: ../config.c:143
+#: ../config.c:147
 msgid "Column of the first page"
 msgstr "Columna de la primera pàgina"
 
-#: ../config.c:145
+#: ../config.c:149
 msgid "Scroll step"
 msgstr "Pas de desplaçament"
 
-#: ../config.c:147
+#: ../config.c:151
 msgid "Horizontal scroll step"
 msgstr "Pas de desplaçament horitzontal"
 
-#: ../config.c:149
+#: ../config.c:153
 msgid "Full page scroll overlap"
 msgstr ""
 
-#: ../config.c:151
+#: ../config.c:155
 msgid "Zoom minimum"
 msgstr "Zoom mínim"
 
-#: ../config.c:153
+#: ../config.c:157
 msgid "Zoom maximum"
 msgstr "Zoom màxim"
 
-#: ../config.c:155
+#: ../config.c:159
 msgid "Life time (in seconds) of a hidden page"
 msgstr "Temps de vida (en segons) de la pàgina oculta"
 
-#: ../config.c:156
+#: ../config.c:160
 msgid "Amount of seconds between each cache purge"
 msgstr "Quantitat de segons entre cada purga de memòria cau"
 
-#: ../config.c:158
+#: ../config.c:162
 msgid "Number of positions to remember in the jumplist"
 msgstr ""
 
-#: ../config.c:160
+#: ../config.c:164
 msgid "Recoloring (dark color)"
 msgstr "Recolorejant (color fosc)"
 
-#: ../config.c:162
+#: ../config.c:166
 msgid "Recoloring (light color)"
 msgstr "Recolorejant (color clar)"
 
-#: ../config.c:164
+#: ../config.c:168
 msgid "Color for highlighting"
 msgstr "Color de realçament"
 
-#: ../config.c:166
+#: ../config.c:170
 msgid "Color for highlighting (active)"
 msgstr "Color de realçament (activat)"
 
-#: ../config.c:170
-msgid "Recolor pages"
-msgstr "Recolorejant les pàgines"
-
 #: ../config.c:172
-msgid "When recoloring keep original hue and adjust lightness only"
-msgstr "Quan recoloregis manté el to original i ajusta només la lluminositat"
+msgid "'Loading ...' background color"
+msgstr ""
 
 #: ../config.c:174
-msgid "Wrap scrolling"
-msgstr "Desplaçament recollit"
-
-#: ../config.c:176
-msgid "Page aware scrolling"
+msgid "'Loading ...' foreground color"
 msgstr ""
 
 #: ../config.c:178
+msgid "Recolor pages"
+msgstr "Recolorejant les pàgines"
+
+#: ../config.c:180
+msgid "When recoloring keep original hue and adjust lightness only"
+msgstr "Quan recoloregis manté el to original i ajusta només la lluminositat"
+
+#: ../config.c:182
+msgid "Wrap scrolling"
+msgstr "Desplaçament recollit"
+
+#: ../config.c:184
+msgid "Page aware scrolling"
+msgstr ""
+
+#: ../config.c:186
 msgid "Advance number of pages per row"
 msgstr "Avançar nombre de pàgines per fila"
 
-#: ../config.c:180
+#: ../config.c:188
 msgid "Horizontally centered zoom"
 msgstr "Zoom centrat horitzontalment"
 
-#: ../config.c:182
+#: ../config.c:190
 msgid "Center result horizontally"
 msgstr "Centra el resultat horitzontalment"
 
-#: ../config.c:184
+#: ../config.c:192
 msgid "Transparency for highlighting"
 msgstr "Transparència del realçat"
 
-#: ../config.c:186
+#: ../config.c:194
 msgid "Render 'Loading ...'"
 msgstr "Renderitza 'Carregant ...'"
 
-#: ../config.c:187
+#: ../config.c:195
 msgid "Adjust to when opening file"
 msgstr "Ajustar al fitxer quan s'obri"
 
-#: ../config.c:189
+#: ../config.c:197
 msgid "Show hidden files and directories"
 msgstr "Mostra els directoris i fitxers ocults"
 
-#: ../config.c:191
+#: ../config.c:199
 msgid "Show directories"
 msgstr "Mostra els directoris"
 
-#: ../config.c:193
+#: ../config.c:201
 msgid "Always open on first page"
 msgstr "Obrir sempre la primera pàgina"
 
-#: ../config.c:195
+#: ../config.c:203
 msgid "Highlight search results"
 msgstr "Realça els resultats de recerca"
 
-#: ../config.c:197
+#: ../config.c:205
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:199
+#: ../config.c:207
 msgid "Clear search results on abort"
 msgstr "Esborra els resultats de recerca a l'interrompre"
 
-#: ../config.c:201
+#: ../config.c:209
 msgid "Use basename of the file in the window title"
 msgstr "Utilitza el nom base del fitxer en el títol de la finestra"
 
-#: ../config.c:203 ../main.c:60
+#: ../config.c:211
+#, fuzzy
+msgid "Use basename of the file in the statusbar"
+msgstr "Utilitza el nom base del fitxer en el títol de la finestra"
+
+#: ../config.c:213 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:359
+#: ../config.c:369
 msgid "Add a bookmark"
 msgstr "Afegir un marcador"
 
-#: ../config.c:360
+#: ../config.c:370
 msgid "Delete a bookmark"
 msgstr "Esborrar un marcador"
 
-#: ../config.c:361
+#: ../config.c:371
 msgid "List all bookmarks"
 msgstr "Llista tots els marcadors"
 
-#: ../config.c:362
+#: ../config.c:372
 msgid "Close current file"
 msgstr "Tancar el fitxer actual"
 
-#: ../config.c:363
+#: ../config.c:373
 msgid "Show file information"
 msgstr "Mostra informació sobre el fitxer"
 
-#: ../config.c:364
+#: ../config.c:374
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:365
+#: ../config.c:375
 msgid "Show help"
 msgstr "Mostrar l'ajuda"
 
-#: ../config.c:366
+#: ../config.c:376
 msgid "Open document"
 msgstr "Obrir document"
 
-#: ../config.c:367
+#: ../config.c:377
 msgid "Close zathura"
 msgstr "Tancar Zathura"
 
-#: ../config.c:368
+#: ../config.c:378
 msgid "Print document"
 msgstr "Imprimir document"
 
-#: ../config.c:369
+#: ../config.c:379
 msgid "Save document"
 msgstr "Desar document"
 
-#: ../config.c:370
+#: ../config.c:380
 msgid "Save document (and force overwriting)"
 msgstr "Desar document (i forçar la sobreescritura)"
 
-#: ../config.c:371
+#: ../config.c:381
 msgid "Save attachments"
 msgstr "Desa els fitxers adjunts"
 
-#: ../config.c:372
+#: ../config.c:382
 msgid "Set page offset"
 msgstr "Assigna el desplaçament de pàgina"
 
-#: ../config.c:373
+#: ../config.c:383
 msgid "Mark current location within the document"
 msgstr "Marca la posició actual dins el document"
 
-#: ../config.c:374
+#: ../config.c:384
 msgid "Delete the specified marks"
 msgstr "Esborrar les marques especificades"
 
-#: ../config.c:375
+#: ../config.c:385
 msgid "Don't highlight current search results"
 msgstr "No realcis els resultats de la recerca actual"
 
-#: ../config.c:376
+#: ../config.c:386
 msgid "Highlight current search results"
 msgstr "Realça els resultats de recerca actual"
 
-#: ../config.c:377
+#: ../config.c:387
 msgid "Show version information"
 msgstr "Mostra informació sobre la versió"
 
-#: ../links.c:161 ../links.c:240
+#: ../links.c:163 ../links.c:242
 msgid "Failed to run xdg-open."
 msgstr "No s'ha pogut executar xdg-open."
 
-#: ../links.c:179
+#: ../links.c:181
 #, c-format
 msgid "Link: page %d"
 msgstr ""
 
-#: ../links.c:186
+#: ../links.c:188
 #, c-format
 msgid "Link: %s"
 msgstr ""
 
-#: ../links.c:190
+#: ../links.c:192
 msgid "Link: Invalid"
 msgstr ""
 
-#: ../main.c:52
+#: ../main.c:55
 msgid "Reparents to window specified by xid"
 msgstr "Reassigna a la finestra especificada per xid"
 
-#: ../main.c:53
+#: ../main.c:56
 msgid "Path to the config directory"
 msgstr "Ruta al directori de configuració"
 
-#: ../main.c:54
+#: ../main.c:57
 msgid "Path to the data directory"
 msgstr "Camí al directori de dades"
 
-#: ../main.c:55
+#: ../main.c:58
 msgid "Path to the directories containing plugins"
 msgstr "Camí al directori que conté els plugins"
 
-#: ../main.c:56
+#: ../main.c:59
 msgid "Fork into the background"
 msgstr "Bifurca en segon pla"
 
-#: ../main.c:57
+#: ../main.c:60
 msgid "Document password"
 msgstr "Contrasenya del document"
 
-#: ../main.c:58
+#: ../main.c:61
+msgid "Page number to go to"
+msgstr ""
+
+#: ../main.c:62
 msgid "Log level (debug, info, warning, error)"
 msgstr "Nivell de registre (depuració, informació, advertiments, errors)"
 
-#: ../main.c:59
+#: ../main.c:63
 msgid "Print version information"
 msgstr "Imprimeix informació sobre la versió"
 
-#: ../main.c:61
+#: ../main.c:65
 msgid "Synctex editor (forwarded to the synctex command)"
 msgstr "Editor synctex (reenviat a l'ordre synctex)"
 
-#: ../page-widget.c:455
+#: ../page-widget.c:460
 msgid "Loading..."
 msgstr "Carregant..."
 
-#: ../page-widget.c:646
+#: ../page-widget.c:655
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr "Copiat el text seleccionat al porta-retalls: %s"
 
-#: ../page-widget.c:744
+#: ../page-widget.c:753
 msgid "Copy image"
 msgstr "Copia la imatge"
 
-#: ../page-widget.c:745
+#: ../page-widget.c:754
 msgid "Save image as"
 msgstr "Desa imatge com a"
 
-#: ../shortcuts.c:956
+#: ../shortcuts.c:962
 msgid "This document does not contain any index"
 msgstr "Aquest document no conté cap índex"
 
-#: ../zathura.c:193 ../zathura.c:865
+#: ../zathura.c:194 ../zathura.c:901
 msgid "[No name]"
 msgstr "[Sense nom]"
+
+#: ../zathura.c:538
+#, fuzzy
+msgid "Document does not contain any pages"
+msgstr "Aquest document no conté cap índex"
diff --git a/po/cs.po b/po/cs.po
index 5e7c319..57953cb 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -5,7 +5,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-01-22 21:33+0100\n"
+"POT-Creation-Date: 2013-03-17 10:22+0000\n"
 "PO-Revision-Date: 2012-06-19 23:59+0200\n"
 "Last-Translator: Martin Pelikan <pelikan@storkhole.cz>\n"
 "Language-Team: pwmt.org <mail@pwmt.org>\n"
@@ -25,13 +25,13 @@ msgid "Invalid index '%s' given."
 msgstr "Neplatný index: %s"
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
-#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:408
-#: ../commands.c:529 ../shortcuts.c:475 ../shortcuts.c:1053
-#: ../shortcuts.c:1082
+#: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
+#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
+#: ../shortcuts.c:1088
 msgid "No document opened."
 msgstr "Není otevřený žádný dokument."
 
-#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:413
+#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:415
 msgid "Invalid number of arguments given."
 msgstr "Špatný počet argumentů."
 
@@ -73,53 +73,53 @@ msgstr "Nejsou dostupné žádné informace."
 msgid "Too many arguments."
 msgstr "Příliš mnoho argumentů."
 
-#: ../commands.c:230
+#: ../commands.c:232
 msgid "No arguments given."
 msgstr "Nezadali jste argumenty."
 
-#: ../commands.c:289 ../commands.c:315
+#: ../commands.c:291 ../commands.c:317
 msgid "Document saved."
 msgstr "Dokument uložen."
 
-#: ../commands.c:291 ../commands.c:317
+#: ../commands.c:293 ../commands.c:319
 msgid "Failed to save document."
 msgstr "Nepovedlo se uložit dokument."
 
-#: ../commands.c:294 ../commands.c:320
+#: ../commands.c:296 ../commands.c:322
 msgid "Invalid number of arguments."
 msgstr "Špatný počet argumentů."
 
-#: ../commands.c:432
+#: ../commands.c:434
 #, c-format
 msgid "Couldn't write attachment '%s' to '%s'."
 msgstr "Nepovedlo se zapsat přílohu '%s' do '%s'."
 
-#: ../commands.c:434
+#: ../commands.c:436
 #, c-format
 msgid "Wrote attachment '%s' to '%s'."
 msgstr "Příloha '%s' zapsána do '%s'."
 
-#: ../commands.c:478
+#: ../commands.c:480
 #, c-format
 msgid "Wrote image '%s' to '%s'."
 msgstr "Obrázek '%s' zapsán do '%s'."
 
-#: ../commands.c:480
+#: ../commands.c:482
 #, c-format
 msgid "Couldn't write image '%s' to '%s'."
 msgstr "Nepovedlo se zapsat obrázek '%s' do '%s'."
 
-#: ../commands.c:487
+#: ../commands.c:489
 #, c-format
 msgid "Unknown image '%s'."
 msgstr "Neznámý obrázek '%s'."
 
-#: ../commands.c:491
+#: ../commands.c:493
 #, c-format
 msgid "Unknown attachment or image '%s'."
 msgstr "Neznámá příloha nebo obrázek '%s'."
 
-#: ../commands.c:542
+#: ../commands.c:544
 msgid "Argument must be a number."
 msgstr "Argumentem musí být číslo."
 
@@ -138,298 +138,319 @@ msgid "Images"
 msgstr "Obrázky"
 
 #. zathura settings
-#: ../config.c:135
+#: ../config.c:139
 msgid "Database backend"
 msgstr "Databázový backend"
 
-#: ../config.c:137
+#: ../config.c:141
 msgid "Zoom step"
 msgstr "Zoom step"
 
-#: ../config.c:139
+#: ../config.c:143
 msgid "Padding between pages"
 msgstr "Mezery mezi stránkami"
 
-#: ../config.c:141
+#: ../config.c:145
 msgid "Number of pages per row"
 msgstr "Počet stránek na řádek"
 
-#: ../config.c:143
+#: ../config.c:147
 msgid "Column of the first page"
 msgstr ""
 
-#: ../config.c:145
+#: ../config.c:149
 msgid "Scroll step"
 msgstr "Scroll step"
 
-#: ../config.c:147
+#: ../config.c:151
 msgid "Horizontal scroll step"
 msgstr ""
 
-#: ../config.c:149
+#: ../config.c:153
 msgid "Full page scroll overlap"
 msgstr ""
 
-#: ../config.c:151
+#: ../config.c:155
 msgid "Zoom minimum"
 msgstr "Oddálit"
 
-#: ../config.c:153
+#: ../config.c:157
 msgid "Zoom maximum"
 msgstr "Přiblížit"
 
-#: ../config.c:155
+#: ../config.c:159
 msgid "Life time (in seconds) of a hidden page"
 msgstr "Délka života skryté stránky v sekundách"
 
-#: ../config.c:156
+#: ../config.c:160
 msgid "Amount of seconds between each cache purge"
 msgstr "Počet sekund mezi čištěními cache"
 
-#: ../config.c:158
+#: ../config.c:162
 msgid "Number of positions to remember in the jumplist"
 msgstr ""
 
-#: ../config.c:160
+#: ../config.c:164
 msgid "Recoloring (dark color)"
 msgstr "Přebarvuji do tmava"
 
-#: ../config.c:162
+#: ../config.c:166
 msgid "Recoloring (light color)"
 msgstr "Přebarvuji do světla"
 
-#: ../config.c:164
+#: ../config.c:168
 msgid "Color for highlighting"
 msgstr "Barva zvýrazňovače"
 
-#: ../config.c:166
+#: ../config.c:170
 msgid "Color for highlighting (active)"
 msgstr "Barva zvýrazňovače (aktivní)"
 
-#: ../config.c:170
-msgid "Recolor pages"
-msgstr "Přebarvit stránky"
-
 #: ../config.c:172
-msgid "When recoloring keep original hue and adjust lightness only"
+msgid "'Loading ...' background color"
 msgstr ""
 
 #: ../config.c:174
-msgid "Wrap scrolling"
-msgstr "Scrollovat přes konce"
-
-#: ../config.c:176
-msgid "Page aware scrolling"
+msgid "'Loading ...' foreground color"
 msgstr ""
 
 #: ../config.c:178
-msgid "Advance number of pages per row"
-msgstr ""
+msgid "Recolor pages"
+msgstr "Přebarvit stránky"
 
 #: ../config.c:180
-msgid "Horizontally centered zoom"
+msgid "When recoloring keep original hue and adjust lightness only"
 msgstr ""
 
 #: ../config.c:182
+msgid "Wrap scrolling"
+msgstr "Scrollovat přes konce"
+
+#: ../config.c:184
+msgid "Page aware scrolling"
+msgstr ""
+
+#: ../config.c:186
+msgid "Advance number of pages per row"
+msgstr ""
+
+#: ../config.c:188
+msgid "Horizontally centered zoom"
+msgstr ""
+
+#: ../config.c:190
 msgid "Center result horizontally"
 msgstr ""
 
-#: ../config.c:184
+#: ../config.c:192
 msgid "Transparency for highlighting"
 msgstr "Průhlednost při zvýrazňování"
 
-#: ../config.c:186
+#: ../config.c:194
 msgid "Render 'Loading ...'"
 msgstr "Vypisovat 'Načítám ...'"
 
-#: ../config.c:187
+#: ../config.c:195
 msgid "Adjust to when opening file"
 msgstr "Přiblížení po otevření souboru"
 
-#: ../config.c:189
+#: ../config.c:197
 msgid "Show hidden files and directories"
 msgstr "Zobrazovat skryté soubory"
 
-#: ../config.c:191
+#: ../config.c:199
 msgid "Show directories"
 msgstr "Zobrazovat adresáře"
 
-#: ../config.c:193
+#: ../config.c:201
 msgid "Always open on first page"
 msgstr "Vždy otevírat na první straně"
 
-#: ../config.c:195
+#: ../config.c:203
 msgid "Highlight search results"
 msgstr "Zvýrazňovat výsledky hledání"
 
-#: ../config.c:197
+#: ../config.c:205
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:199
+#: ../config.c:207
 msgid "Clear search results on abort"
 msgstr "Při abortu smazat výsledky hledání"
 
-#: ../config.c:201
+#: ../config.c:209
 msgid "Use basename of the file in the window title"
 msgstr ""
 
-#: ../config.c:203 ../main.c:60
+#: ../config.c:211
+msgid "Use basename of the file in the statusbar"
+msgstr ""
+
+#: ../config.c:213 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:359
+#: ../config.c:369
 msgid "Add a bookmark"
 msgstr "Přidat záložku"
 
-#: ../config.c:360
+#: ../config.c:370
 msgid "Delete a bookmark"
 msgstr "Smazat záložku"
 
-#: ../config.c:361
+#: ../config.c:371
 msgid "List all bookmarks"
 msgstr "Vypsat záložky"
 
-#: ../config.c:362
+#: ../config.c:372
 msgid "Close current file"
 msgstr "Zavřít tenhle soubor"
 
-#: ../config.c:363
+#: ../config.c:373
 msgid "Show file information"
 msgstr "Zobrazit informace o souboru"
 
-#: ../config.c:364
+#: ../config.c:374
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:365
+#: ../config.c:375
 msgid "Show help"
 msgstr "Zobrazit nápovědu"
 
-#: ../config.c:366
+#: ../config.c:376
 msgid "Open document"
 msgstr "Otevřít dokument"
 
-#: ../config.c:367
+#: ../config.c:377
 msgid "Close zathura"
 msgstr "Zavřít zathuru"
 
-#: ../config.c:368
+#: ../config.c:378
 msgid "Print document"
 msgstr "Tisknout dokument"
 
-#: ../config.c:369
+#: ../config.c:379
 msgid "Save document"
 msgstr "Uložit dokument"
 
-#: ../config.c:370
+#: ../config.c:380
 msgid "Save document (and force overwriting)"
 msgstr "Uložit a přepsat dokument"
 
-#: ../config.c:371
+#: ../config.c:381
 msgid "Save attachments"
 msgstr "Uložit přílohy"
 
-#: ../config.c:372
+#: ../config.c:382
 msgid "Set page offset"
 msgstr ""
 
-#: ../config.c:373
+#: ../config.c:383
 msgid "Mark current location within the document"
 msgstr "Označit současnou pozici v dokumentu"
 
-#: ../config.c:374
+#: ../config.c:384
 msgid "Delete the specified marks"
 msgstr "Smazat vybrané značky"
 
-#: ../config.c:375
+#: ../config.c:385
 msgid "Don't highlight current search results"
 msgstr "Nezvýrazňovat výsledky tohoto hledání"
 
-#: ../config.c:376
+#: ../config.c:386
 msgid "Highlight current search results"
 msgstr "Zvýrazňovat výsledky tohoto hledání"
 
-#: ../config.c:377
+#: ../config.c:387
 msgid "Show version information"
 msgstr ""
 
-#: ../links.c:161 ../links.c:240
+#: ../links.c:163 ../links.c:242
 msgid "Failed to run xdg-open."
 msgstr "Nepovedlo se spustit xdg-open."
 
-#: ../links.c:179
+#: ../links.c:181
 #, c-format
 msgid "Link: page %d"
 msgstr ""
 
-#: ../links.c:186
+#: ../links.c:188
 #, c-format
 msgid "Link: %s"
 msgstr ""
 
-#: ../links.c:190
+#: ../links.c:192
 msgid "Link: Invalid"
 msgstr ""
 
-#: ../main.c:52
+#: ../main.c:55
 msgid "Reparents to window specified by xid"
 msgstr ""
 
-#: ../main.c:53
+#: ../main.c:56
 msgid "Path to the config directory"
 msgstr "Cesta k souboru s nastavením"
 
-#: ../main.c:54
+#: ../main.c:57
 msgid "Path to the data directory"
 msgstr "Cesta k adresáři s daty"
 
-#: ../main.c:55
+#: ../main.c:58
 msgid "Path to the directories containing plugins"
 msgstr "Cesta k adresářům s pluginy"
 
-#: ../main.c:56
+#: ../main.c:59
 msgid "Fork into the background"
 msgstr "Forknout se na pozadí"
 
-#: ../main.c:57
+#: ../main.c:60
 msgid "Document password"
 msgstr "Heslo"
 
-#: ../main.c:58
+#: ../main.c:61
+msgid "Page number to go to"
+msgstr ""
+
+#: ../main.c:62
 msgid "Log level (debug, info, warning, error)"
 msgstr "Úroveň logování (debug, info, warning, error)"
 
-#: ../main.c:59
+#: ../main.c:63
 msgid "Print version information"
 msgstr "Zobrazit informace o souboru"
 
-#: ../main.c:61
+#: ../main.c:65
 msgid "Synctex editor (forwarded to the synctex command)"
 msgstr ""
 
-#: ../page-widget.c:455
+#: ../page-widget.c:460
 msgid "Loading..."
 msgstr "Načítám ..."
 
-#: ../page-widget.c:646
+#: ../page-widget.c:655
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr "Vybraný text zkopírován do schránky: %s"
 
-#: ../page-widget.c:744
+#: ../page-widget.c:753
 msgid "Copy image"
 msgstr "Zkopíruj obrázek"
 
-#: ../page-widget.c:745
+#: ../page-widget.c:754
 msgid "Save image as"
 msgstr "Ulož obrázek jako"
 
-#: ../shortcuts.c:956
+#: ../shortcuts.c:962
 msgid "This document does not contain any index"
 msgstr "Tenhle dokument neobsahuje žádné indexy"
 
-#: ../zathura.c:193 ../zathura.c:865
+#: ../zathura.c:194 ../zathura.c:901
 msgid "[No name]"
 msgstr "[Nepojmenovaný]"
+
+#: ../zathura.c:538
+#, fuzzy
+msgid "Document does not contain any pages"
+msgstr "Tenhle dokument neobsahuje žádné indexy"
diff --git a/po/de.po b/po/de.po
index 8c621ac..9e58b04 100644
--- a/po/de.po
+++ b/po/de.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-01-22 21:33+0100\n"
+"POT-Creation-Date: 2013-03-17 10:22+0000\n"
 "PO-Revision-Date: 2013-01-13 14:13+0000\n"
 "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
 "Language-Team: German (http://www.transifex.com/projects/p/zathura/language/"
@@ -29,13 +29,13 @@ msgid "Invalid index '%s' given."
 msgstr "Ungültiger Index '%s' angegeben."
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
-#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:408
-#: ../commands.c:529 ../shortcuts.c:475 ../shortcuts.c:1053
-#: ../shortcuts.c:1082
+#: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
+#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
+#: ../shortcuts.c:1088
 msgid "No document opened."
 msgstr "Kein Dokument geöffnet."
 
-#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:413
+#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:415
 msgid "Invalid number of arguments given."
 msgstr "Ungültige Anzahl an Argumenten angegeben."
 
@@ -77,53 +77,53 @@ msgstr "Keine Information verfügbar."
 msgid "Too many arguments."
 msgstr "Zu viele Argumente angegeben."
 
-#: ../commands.c:230
+#: ../commands.c:232
 msgid "No arguments given."
 msgstr "Keine Argumente angegeben."
 
-#: ../commands.c:289 ../commands.c:315
+#: ../commands.c:291 ../commands.c:317
 msgid "Document saved."
 msgstr "Dokument gespeichert."
 
-#: ../commands.c:291 ../commands.c:317
+#: ../commands.c:293 ../commands.c:319
 msgid "Failed to save document."
 msgstr "Konnte Dokument nicht speichern."
 
-#: ../commands.c:294 ../commands.c:320
+#: ../commands.c:296 ../commands.c:322
 msgid "Invalid number of arguments."
 msgstr "Ungültige Anzahl an Argumenten."
 
-#: ../commands.c:432
+#: ../commands.c:434
 #, c-format
 msgid "Couldn't write attachment '%s' to '%s'."
 msgstr "Konnte Anhang '%s' nicht nach '%s' schreiben."
 
-#: ../commands.c:434
+#: ../commands.c:436
 #, c-format
 msgid "Wrote attachment '%s' to '%s'."
 msgstr "Anhang '%s' nach '%s' geschrieben."
 
-#: ../commands.c:478
+#: ../commands.c:480
 #, c-format
 msgid "Wrote image '%s' to '%s'."
 msgstr "Anhang '%s' nach '%s' geschrieben."
 
-#: ../commands.c:480
+#: ../commands.c:482
 #, c-format
 msgid "Couldn't write image '%s' to '%s'."
 msgstr "Konnte Anhang '%s' nicht nach '%s' schreiben."
 
-#: ../commands.c:487
+#: ../commands.c:489
 #, c-format
 msgid "Unknown image '%s'."
 msgstr "Unbekanntes Bild '%s'."
 
-#: ../commands.c:491
+#: ../commands.c:493
 #, c-format
 msgid "Unknown attachment or image '%s'."
 msgstr "Unbekannter Anhanng oder Bild '%s'."
 
-#: ../commands.c:542
+#: ../commands.c:544
 msgid "Argument must be a number."
 msgstr "Das Argument ist keine Zahl."
 
@@ -142,301 +142,323 @@ msgid "Images"
 msgstr "Bilder"
 
 #. zathura settings
-#: ../config.c:135
+#: ../config.c:139
 msgid "Database backend"
 msgstr "Datenbank Backend"
 
-#: ../config.c:137
+#: ../config.c:141
 msgid "Zoom step"
 msgstr "Vergrößerungsstufe"
 
-#: ../config.c:139
+#: ../config.c:143
 msgid "Padding between pages"
 msgstr "Abstand zwischen den Seiten"
 
-#: ../config.c:141
+#: ../config.c:145
 msgid "Number of pages per row"
 msgstr "Anzahl der Seiten in einer Reihe"
 
-#: ../config.c:143
+#: ../config.c:147
 msgid "Column of the first page"
 msgstr "Spalte der ersten Seite"
 
-#: ../config.c:145
+#: ../config.c:149
 msgid "Scroll step"
 msgstr "Schrittgröße beim Scrollen"
 
-#: ../config.c:147
+#: ../config.c:151
 msgid "Horizontal scroll step"
 msgstr "Horizontale Schrittgröße beim Scrollen"
 
-#: ../config.c:149
+#: ../config.c:153
 msgid "Full page scroll overlap"
 msgstr ""
 
-#: ../config.c:151
+#: ../config.c:155
 msgid "Zoom minimum"
 msgstr "Minimale Vergrößerungsstufe"
 
-#: ../config.c:153
+#: ../config.c:157
 msgid "Zoom maximum"
 msgstr "Maximale Vergrößerungsstufe"
 
-#: ../config.c:155
+#: ../config.c:159
 msgid "Life time (in seconds) of a hidden page"
 msgstr "Zeit (in Sekunden) bevor nicht sichtbare Seiten gelöscht werden"
 
-#: ../config.c:156
+#: ../config.c:160
 msgid "Amount of seconds between each cache purge"
 msgstr ""
 "Anzahl der Sekunden zwischen jeder Prüfung von nicht angezeigten Seiten"
 
-#: ../config.c:158
+#: ../config.c:162
 msgid "Number of positions to remember in the jumplist"
 msgstr ""
 
-#: ../config.c:160
+#: ../config.c:164
 msgid "Recoloring (dark color)"
 msgstr "Neufärben (Dunkle Farbe)"
 
-#: ../config.c:162
+#: ../config.c:166
 msgid "Recoloring (light color)"
 msgstr "Neufärben (Helle Farbe)"
 
-#: ../config.c:164
+#: ../config.c:168
 msgid "Color for highlighting"
 msgstr "Farbe für eine Markierung"
 
-#: ../config.c:166
+#: ../config.c:170
 msgid "Color for highlighting (active)"
 msgstr "Farbe für die aktuelle Markierung"
 
-#: ../config.c:170
+#: ../config.c:172
+msgid "'Loading ...' background color"
+msgstr ""
+
+#: ../config.c:174
+msgid "'Loading ...' foreground color"
+msgstr ""
+
+#: ../config.c:178
 msgid "Recolor pages"
 msgstr "Färbe die Seiten ein"
 
-#: ../config.c:172
+#: ../config.c:180
 msgid "When recoloring keep original hue and adjust lightness only"
 msgstr ""
 "Behalte beim Neuzeichnen den ursprünglichen Hue-Wert bei und stimme nur die "
 "Helligkeit ab"
 
-#: ../config.c:174
+#: ../config.c:182
 msgid "Wrap scrolling"
 msgstr "Scroll-Umbruch"
 
-#: ../config.c:176
+#: ../config.c:184
 msgid "Page aware scrolling"
 msgstr ""
 
-#: ../config.c:178
+#: ../config.c:186
 msgid "Advance number of pages per row"
 msgstr "Gehe Anzahl der Seiten in einer Reihe weiter"
 
-#: ../config.c:180
+#: ../config.c:188
 msgid "Horizontally centered zoom"
 msgstr "Horizontal zentrierter Zoom"
 
-#: ../config.c:182
+#: ../config.c:190
 msgid "Center result horizontally"
 msgstr "Zentriere Ergebnis horizontal"
 
-#: ../config.c:184
+#: ../config.c:192
 msgid "Transparency for highlighting"
 msgstr "Transparenz einer Markierung"
 
-#: ../config.c:186
+#: ../config.c:194
 msgid "Render 'Loading ...'"
 msgstr "Zeige 'Lädt...'-Text beim Zeichnen einer Seite"
 
-#: ../config.c:187
+#: ../config.c:195
 msgid "Adjust to when opening file"
 msgstr "Seite einpassen"
 
-#: ../config.c:189
+#: ../config.c:197
 msgid "Show hidden files and directories"
 msgstr "Zeige versteckte Dateien und Ordner an"
 
-#: ../config.c:191
+#: ../config.c:199
 msgid "Show directories"
 msgstr "Zeige Ordner an"
 
-#: ../config.c:193
+#: ../config.c:201
 msgid "Always open on first page"
 msgstr "Öffne Dokument immer auf der ersten Seite"
 
-#: ../config.c:195
+#: ../config.c:203
 msgid "Highlight search results"
 msgstr "Hebe Suchergebnisse hervor"
 
-#: ../config.c:197
+#: ../config.c:205
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:199
+#: ../config.c:207
 msgid "Clear search results on abort"
 msgstr "Lösche Suchergebnisse bei Abbruch"
 
-#: ../config.c:201
+#: ../config.c:209
 msgid "Use basename of the file in the window title"
 msgstr "Verwende den Dateinamen der Datei im Fenstertitel"
 
-#: ../config.c:203 ../main.c:60
+#: ../config.c:211
+#, fuzzy
+msgid "Use basename of the file in the statusbar"
+msgstr "Verwende den Dateinamen der Datei im Fenstertitel"
+
+#: ../config.c:213 ../main.c:64
 msgid "Enable synctex support"
 msgstr "Aktiviere SyncTeX-Unterstützung"
 
 #. define default inputbar commands
-#: ../config.c:359
+#: ../config.c:369
 msgid "Add a bookmark"
 msgstr "Füge Lesezeichen hinzu"
 
-#: ../config.c:360
+#: ../config.c:370
 msgid "Delete a bookmark"
 msgstr "Lösche ein Lesezeichen"
 
-#: ../config.c:361
+#: ../config.c:371
 msgid "List all bookmarks"
 msgstr "Liste all Lesezeichen auf"
 
-#: ../config.c:362
+#: ../config.c:372
 msgid "Close current file"
 msgstr "Schließe das aktuelle Dokument"
 
-#: ../config.c:363
+#: ../config.c:373
 msgid "Show file information"
 msgstr "Zeige Dokumentinformationen an"
 
-#: ../config.c:364
+#: ../config.c:374
 msgid "Execute a command"
 msgstr "Führe einen Befehl aus"
 
-#: ../config.c:365
+#: ../config.c:375
 msgid "Show help"
 msgstr "Zeige Hilfe an"
 
-#: ../config.c:366
+#: ../config.c:376
 msgid "Open document"
 msgstr "Öffne Dokument"
 
-#: ../config.c:367
+#: ../config.c:377
 msgid "Close zathura"
 msgstr "Beende zathura"
 
-#: ../config.c:368
+#: ../config.c:378
 msgid "Print document"
 msgstr "Drucke Dokument"
 
-#: ../config.c:369
+#: ../config.c:379
 msgid "Save document"
 msgstr "Speichere Dokument"
 
-#: ../config.c:370
+#: ../config.c:380
 msgid "Save document (and force overwriting)"
 msgstr "Speichere Dokument (und überschreibe bestehende)"
 
-#: ../config.c:371
+#: ../config.c:381
 msgid "Save attachments"
 msgstr "Speichere Anhänge"
 
-#: ../config.c:372
+#: ../config.c:382
 msgid "Set page offset"
 msgstr "Setze den Seitenabstand"
 
-#: ../config.c:373
+#: ../config.c:383
 msgid "Mark current location within the document"
 msgstr "Markiere aktuelle Position im Doukument"
 
-#: ../config.c:374
+#: ../config.c:384
 msgid "Delete the specified marks"
 msgstr "Lösche angegebene Markierung"
 
-#: ../config.c:375
+#: ../config.c:385
 msgid "Don't highlight current search results"
 msgstr "Hebe aktuelle Suchergebnisse nicht hervor"
 
-#: ../config.c:376
+#: ../config.c:386
 msgid "Highlight current search results"
 msgstr "Hebe aktuelle Suchergebnisse hervor"
 
-#: ../config.c:377
+#: ../config.c:387
 msgid "Show version information"
 msgstr "Zeige Versionsinformationen an"
 
-#: ../links.c:161 ../links.c:240
+#: ../links.c:163 ../links.c:242
 msgid "Failed to run xdg-open."
 msgstr "Konnte xdg-open nicht ausführen."
 
-#: ../links.c:179
+#: ../links.c:181
 #, c-format
 msgid "Link: page %d"
 msgstr "Verknüpfung: Seite %d"
 
-#: ../links.c:186
+#: ../links.c:188
 #, c-format
 msgid "Link: %s"
 msgstr "Verknüpfung: %s"
 
-#: ../links.c:190
+#: ../links.c:192
 msgid "Link: Invalid"
 msgstr "Verknüpfung: ungültig"
 
-#: ../main.c:52
+#: ../main.c:55
 msgid "Reparents to window specified by xid"
 msgstr "Reparentiert zathura an das Fenster mit der xid"
 
-#: ../main.c:53
+#: ../main.c:56
 msgid "Path to the config directory"
 msgstr "Pfad zum Konfigurationsverzeichnis"
 
-#: ../main.c:54
+#: ../main.c:57
 msgid "Path to the data directory"
 msgstr "Pfad zum Datenverzeichnis"
 
-#: ../main.c:55
+#: ../main.c:58
 msgid "Path to the directories containing plugins"
 msgstr "Pfad zum Pluginverzeichnis"
 
-#: ../main.c:56
+#: ../main.c:59
 msgid "Fork into the background"
 msgstr "Forkt den Prozess in den Hintergrund"
 
-#: ../main.c:57
+#: ../main.c:60
 msgid "Document password"
 msgstr "Dokument Passwort"
 
-#: ../main.c:58
+#: ../main.c:61
+msgid "Page number to go to"
+msgstr ""
+
+#: ../main.c:62
 msgid "Log level (debug, info, warning, error)"
 msgstr "Log-Stufe (debug, info, warning, error)"
 
-#: ../main.c:59
+#: ../main.c:63
 msgid "Print version information"
 msgstr "Zeige Versionsinformationen an"
 
-#: ../main.c:61
+#: ../main.c:65
 msgid "Synctex editor (forwarded to the synctex command)"
 msgstr "Synctex Editor (wird an synctex weitergeleitet)"
 
-#: ../page-widget.c:455
+#: ../page-widget.c:460
 msgid "Loading..."
 msgstr "Lädt..."
 
-#: ../page-widget.c:646
+#: ../page-widget.c:655
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr "Der gewählte Text wurde in die Zwischenablage kopiert: %s"
 
-#: ../page-widget.c:744
+#: ../page-widget.c:753
 msgid "Copy image"
 msgstr "Bild kopieren"
 
-#: ../page-widget.c:745
+#: ../page-widget.c:754
 msgid "Save image as"
 msgstr "Bild speichern als"
 
-#: ../shortcuts.c:956
+#: ../shortcuts.c:962
 msgid "This document does not contain any index"
 msgstr "Dieses Dokument beinhaltet kein Inhaltsverzeichnis."
 
-#: ../zathura.c:193 ../zathura.c:865
+#: ../zathura.c:194 ../zathura.c:901
 msgid "[No name]"
 msgstr "[Kein Name]"
+
+#: ../zathura.c:538
+#, fuzzy
+msgid "Document does not contain any pages"
+msgstr "Dieses Dokument beinhaltet kein Inhaltsverzeichnis."
diff --git a/po/el.po b/po/el.po
index d81271e..1341b54 100644
--- a/po/el.po
+++ b/po/el.po
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-01-22 21:33+0100\n"
+"POT-Creation-Date: 2013-03-17 10:22+0000\n"
 "PO-Revision-Date: 2013-01-13 14:12+0000\n"
 "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
 "Language-Team: Greek (http://www.transifex.com/projects/p/zathura/language/"
@@ -30,13 +30,13 @@ msgid "Invalid index '%s' given."
 msgstr "Ο δείκτης '%s' είναι άκυρος."
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
-#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:408
-#: ../commands.c:529 ../shortcuts.c:475 ../shortcuts.c:1053
-#: ../shortcuts.c:1082
+#: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
+#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
+#: ../shortcuts.c:1088
 msgid "No document opened."
 msgstr "Δεν άνοιξε κανένα αρχείο. "
 
-#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:413
+#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:415
 msgid "Invalid number of arguments given."
 msgstr "Μη έγκυρος αριθμός παραμέτρων."
 
@@ -78,53 +78,53 @@ msgstr "Δεν υπάρχουν διαθέσιμες πληροφορίες."
 msgid "Too many arguments."
 msgstr "Εισήχθησαν πολλές παράμετροι. "
 
-#: ../commands.c:230
+#: ../commands.c:232
 msgid "No arguments given."
 msgstr "Δεν εισήχθησαν παράμετροι. "
 
-#: ../commands.c:289 ../commands.c:315
+#: ../commands.c:291 ../commands.c:317
 msgid "Document saved."
 msgstr "Το αρχείο αποθηκεύτηκε."
 
-#: ../commands.c:291 ../commands.c:317
+#: ../commands.c:293 ../commands.c:319
 msgid "Failed to save document."
 msgstr "Η αποθήκευση του αρχείου απέτυχε. "
 
-#: ../commands.c:294 ../commands.c:320
+#: ../commands.c:296 ../commands.c:322
 msgid "Invalid number of arguments."
 msgstr "Μη έγκυρος ο αριθμός των παραμέτρων. "
 
-#: ../commands.c:432
+#: ../commands.c:434
 #, c-format
 msgid "Couldn't write attachment '%s' to '%s'."
 msgstr "Μη επιτυχής η εγγραγή της προσάρτησης '%s' στην '%s'."
 
-#: ../commands.c:434
+#: ../commands.c:436
 #, c-format
 msgid "Wrote attachment '%s' to '%s'."
 msgstr "Επιτυχής η εγγραφή της προσάρτησης '%s' στην '%s'."
 
-#: ../commands.c:478
+#: ../commands.c:480
 #, c-format
 msgid "Wrote image '%s' to '%s'."
 msgstr "Ενεγράφει η εικόνα '%s' στην '%s'"
 
-#: ../commands.c:480
+#: ../commands.c:482
 #, c-format
 msgid "Couldn't write image '%s' to '%s'."
 msgstr "Δεν ενεγράφει η εικόνα '%s' στην '%s'."
 
-#: ../commands.c:487
+#: ../commands.c:489
 #, c-format
 msgid "Unknown image '%s'."
 msgstr "Άγνωστη εικόνα '%s'. "
 
-#: ../commands.c:491
+#: ../commands.c:493
 #, c-format
 msgid "Unknown attachment or image '%s'."
 msgstr "Άγνωστο προσάρτημα είτε εικόνα '%s'. "
 
-#: ../commands.c:542
+#: ../commands.c:544
 msgid "Argument must be a number."
 msgstr "Η παράμετρος πρέπει να είναι αριθμός."
 
@@ -143,300 +143,322 @@ msgid "Images"
 msgstr "Εικόνες"
 
 #. zathura settings
-#: ../config.c:135
+#: ../config.c:139
 msgid "Database backend"
 msgstr "Το βασικό εργαλείο της βάσης δεδομένων"
 
-#: ../config.c:137
+#: ../config.c:141
 msgid "Zoom step"
 msgstr "Βήμα μεγέθυνσης"
 
-#: ../config.c:139
+#: ../config.c:143
 msgid "Padding between pages"
 msgstr "Διάκενο μεταξύ σελίδων"
 
-#: ../config.c:141
+#: ../config.c:145
 msgid "Number of pages per row"
 msgstr "Αριθμός σελίδων ανά γραμμή"
 
-#: ../config.c:143
+#: ../config.c:147
 msgid "Column of the first page"
 msgstr "Στήλη της πρώτης σελίδας"
 
-#: ../config.c:145
+#: ../config.c:149
 msgid "Scroll step"
 msgstr "Βήμα κύλισης"
 
-#: ../config.c:147
+#: ../config.c:151
 msgid "Horizontal scroll step"
 msgstr "Βήμα οριζόντιας κύλησης"
 
-#: ../config.c:149
+#: ../config.c:153
 msgid "Full page scroll overlap"
 msgstr ""
 
-#: ../config.c:151
+#: ../config.c:155
 msgid "Zoom minimum"
 msgstr "Ελάχιστη μεγέθυνση"
 
-#: ../config.c:153
+#: ../config.c:157
 msgid "Zoom maximum"
 msgstr "Μέγιστη μεγέθυνση"
 
-#: ../config.c:155
+#: ../config.c:159
 msgid "Life time (in seconds) of a hidden page"
 msgstr "Διάρκεια ζωής (σε δευτερόλεπτα) μίας κρυφής σελίδας"
 
-#: ../config.c:156
+#: ../config.c:160
 msgid "Amount of seconds between each cache purge"
 msgstr "Αριθμός δευτερολέπτων μεταξύ εκκαθαρίσεων της μνήμης"
 
-#: ../config.c:158
+#: ../config.c:162
 msgid "Number of positions to remember in the jumplist"
 msgstr ""
 
-#: ../config.c:160
+#: ../config.c:164
 msgid "Recoloring (dark color)"
 msgstr "Επαναχρωματισμός (σκούρο χρώμα)"
 
-#: ../config.c:162
+#: ../config.c:166
 msgid "Recoloring (light color)"
 msgstr "Επαναχρωματισμός (ανοικτό χρώμα)"
 
-#: ../config.c:164
+#: ../config.c:168
 msgid "Color for highlighting"
 msgstr "Χρώμα τονισμού"
 
-#: ../config.c:166
+#: ../config.c:170
 msgid "Color for highlighting (active)"
 msgstr "Χρώμα τονισμού (ενεργό)"
 
-#: ../config.c:170
+#: ../config.c:172
+msgid "'Loading ...' background color"
+msgstr ""
+
+#: ../config.c:174
+msgid "'Loading ...' foreground color"
+msgstr ""
+
+#: ../config.c:178
 msgid "Recolor pages"
 msgstr "Επαναχρωματισμός σελίδων"
 
-#: ../config.c:172
+#: ../config.c:180
 msgid "When recoloring keep original hue and adjust lightness only"
 msgstr ""
 "Κατά τον επαναχρωματισμό της σελιδάς διατήρηση της αρχικής απόχρωσης και "
 "αλλαγή μόνο της φωτεινότητας"
 
-#: ../config.c:174
+#: ../config.c:182
 msgid "Wrap scrolling"
 msgstr "Κυκλική κύληση"
 
-#: ../config.c:176
+#: ../config.c:184
 msgid "Page aware scrolling"
 msgstr ""
 
-#: ../config.c:178
+#: ../config.c:186
 msgid "Advance number of pages per row"
 msgstr "Προώθηση σε αριθμό σελίδων ανά γραμμή"
 
-#: ../config.c:180
+#: ../config.c:188
 msgid "Horizontally centered zoom"
 msgstr "Μεγένθηση οριζοντίως κεντραρισμένη"
 
-#: ../config.c:182
+#: ../config.c:190
 msgid "Center result horizontally"
 msgstr "Οριζόντιο κεντράρισμα αποτελεσμάτων"
 
-#: ../config.c:184
+#: ../config.c:192
 msgid "Transparency for highlighting"
 msgstr "Διαφάνεια για τονισμό"
 
-#: ../config.c:186
+#: ../config.c:194
 msgid "Render 'Loading ...'"
 msgstr "Εμφάνιση της ένδειξης 'Φορτώνει ...'"
 
-#: ../config.c:187
+#: ../config.c:195
 msgid "Adjust to when opening file"
 msgstr "Προσαρμογή κατά το άνοιγμα του αρχείου"
 
-#: ../config.c:189
+#: ../config.c:197
 msgid "Show hidden files and directories"
 msgstr "Εμφάνιση κρυφών αρχείων και φακέλων"
 
-#: ../config.c:191
+#: ../config.c:199
 msgid "Show directories"
 msgstr "Εμφάνιση καταλόγων"
 
-#: ../config.c:193
+#: ../config.c:201
 msgid "Always open on first page"
 msgstr "Άνοιγμα πάντα στην πρώτη σελίδα"
 
-#: ../config.c:195
+#: ../config.c:203
 msgid "Highlight search results"
 msgstr "Τονισμός αποτελεσμάτων αναζήτησης"
 
-#: ../config.c:197
+#: ../config.c:205
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:199
+#: ../config.c:207
 msgid "Clear search results on abort"
 msgstr "Εκκαθάριση των απολεσμάτων αναζήτησης κατά την διακοπή"
 
-#: ../config.c:201
+#: ../config.c:209
 msgid "Use basename of the file in the window title"
 msgstr "Χρήση του ονόματος του αρχείο στο τίτλο του παραθύρου"
 
-#: ../config.c:203 ../main.c:60
+#: ../config.c:211
+#, fuzzy
+msgid "Use basename of the file in the statusbar"
+msgstr "Χρήση του ονόματος του αρχείο στο τίτλο του παραθύρου"
+
+#: ../config.c:213 ../main.c:64
 msgid "Enable synctex support"
 msgstr "Ενεργοποίηση υποστήριξης synctex"
 
 #. define default inputbar commands
-#: ../config.c:359
+#: ../config.c:369
 msgid "Add a bookmark"
 msgstr "Προσθήκη σελιδοδείκτη"
 
-#: ../config.c:360
+#: ../config.c:370
 msgid "Delete a bookmark"
 msgstr "Διαγραφή σελιδοδείκτη"
 
-#: ../config.c:361
+#: ../config.c:371
 msgid "List all bookmarks"
 msgstr "Εμφάνιση όλων των σελιδοδεικτών"
 
-#: ../config.c:362
+#: ../config.c:372
 msgid "Close current file"
 msgstr "Κλείσιμο αρχείου"
 
-#: ../config.c:363
+#: ../config.c:373
 msgid "Show file information"
 msgstr "Προβολή πληροφοριών αρχείου"
 
-#: ../config.c:364
+#: ../config.c:374
 msgid "Execute a command"
 msgstr "Εκτέλεση εντολής"
 
-#: ../config.c:365
+#: ../config.c:375
 msgid "Show help"
 msgstr "Εμφάνιση βοήθειας"
 
-#: ../config.c:366
+#: ../config.c:376
 msgid "Open document"
 msgstr "Άνοιγμα αρχείου"
 
-#: ../config.c:367
+#: ../config.c:377
 msgid "Close zathura"
 msgstr "Κλείσιμο"
 
-#: ../config.c:368
+#: ../config.c:378
 msgid "Print document"
 msgstr "Εκτύπωση αρχείου"
 
-#: ../config.c:369
+#: ../config.c:379
 msgid "Save document"
 msgstr "Αποθήκευση αρχείου"
 
-#: ../config.c:370
+#: ../config.c:380
 msgid "Save document (and force overwriting)"
 msgstr "Αποθήκευση αρχείου (και αντικατάσταση)"
 
-#: ../config.c:371
+#: ../config.c:381
 msgid "Save attachments"
 msgstr "Αποθήκευση προσαρτήσεων. "
 
-#: ../config.c:372
+#: ../config.c:382
 msgid "Set page offset"
 msgstr "Ρύθμιση αντιστάθμισης σελίδας"
 
-#: ../config.c:373
+#: ../config.c:383
 msgid "Mark current location within the document"
 msgstr "Επισήμανση τρέχουσας θέσης στο κείμενο"
 
-#: ../config.c:374
+#: ../config.c:384
 msgid "Delete the specified marks"
 msgstr "Διαγραφή επιλεγμένων σημείων"
 
-#: ../config.c:375
+#: ../config.c:385
 msgid "Don't highlight current search results"
 msgstr "Χωρίς τονισμό τα τρέχοντα αποτελέσματα της αναζήτησης"
 
-#: ../config.c:376
+#: ../config.c:386
 msgid "Highlight current search results"
 msgstr "Τονισμός στα τρέχοντα αποτελέσματα της αναζήτησης"
 
-#: ../config.c:377
+#: ../config.c:387
 msgid "Show version information"
 msgstr "Εμφάνιση πληροφοριών έκδοσης"
 
-#: ../links.c:161 ../links.c:240
+#: ../links.c:163 ../links.c:242
 msgid "Failed to run xdg-open."
 msgstr "Απέτυχε η εκτέλεση του xdg-open. "
 
-#: ../links.c:179
+#: ../links.c:181
 #, c-format
 msgid "Link: page %d"
 msgstr ""
 
-#: ../links.c:186
+#: ../links.c:188
 #, c-format
 msgid "Link: %s"
 msgstr ""
 
-#: ../links.c:190
+#: ../links.c:192
 msgid "Link: Invalid"
 msgstr ""
 
-#: ../main.c:52
+#: ../main.c:55
 msgid "Reparents to window specified by xid"
 msgstr "Reparents to window specified by xid"
 
-#: ../main.c:53
+#: ../main.c:56
 msgid "Path to the config directory"
 msgstr "Διαδρομή του αρχείου ρυθμίσεων"
 
-#: ../main.c:54
+#: ../main.c:57
 msgid "Path to the data directory"
 msgstr "Διαδρομή του φακέλου δεδομένων"
 
-#: ../main.c:55
+#: ../main.c:58
 msgid "Path to the directories containing plugins"
 msgstr "Διαδρομή φακέλου που περιέχει τα πρόσθετα"
 
-#: ../main.c:56
+#: ../main.c:59
 msgid "Fork into the background"
 msgstr "Διακλάδωση στο παρασκήνιο"
 
-#: ../main.c:57
+#: ../main.c:60
 msgid "Document password"
 msgstr "Κωδικός αρχείου"
 
-#: ../main.c:58
+#: ../main.c:61
+msgid "Page number to go to"
+msgstr ""
+
+#: ../main.c:62
 msgid "Log level (debug, info, warning, error)"
 msgstr "Επίπεδο καταγραφής (debug, info, warning, error)"
 
-#: ../main.c:59
+#: ../main.c:63
 msgid "Print version information"
 msgstr "Εκτύπωση πληροφοριών έκδοσης"
 
-#: ../main.c:61
+#: ../main.c:65
 msgid "Synctex editor (forwarded to the synctex command)"
 msgstr "Synctex editor (Προώθηση στην εντολή synctex)"
 
-#: ../page-widget.c:455
+#: ../page-widget.c:460
 msgid "Loading..."
 msgstr "Φορτώνει ..."
 
-#: ../page-widget.c:646
+#: ../page-widget.c:655
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr "Το επιλεγμένο κείμενο αποθηκεύτηκε στην μνήμη: %s"
 
-#: ../page-widget.c:744
+#: ../page-widget.c:753
 msgid "Copy image"
 msgstr "Αντιγραφή εικόνας"
 
-#: ../page-widget.c:745
+#: ../page-widget.c:754
 msgid "Save image as"
 msgstr "Αποθήκευση εικόνας ως..."
 
-#: ../shortcuts.c:956
+#: ../shortcuts.c:962
 msgid "This document does not contain any index"
 msgstr "Το αρχείο δεν περιέχει κανένα δείκτη"
 
-#: ../zathura.c:193 ../zathura.c:865
+#: ../zathura.c:194 ../zathura.c:901
 msgid "[No name]"
 msgstr "[Χωρίς όνομα]"
+
+#: ../zathura.c:538
+#, fuzzy
+msgid "Document does not contain any pages"
+msgstr "Το αρχείο δεν περιέχει κανένα δείκτη"
diff --git a/po/eo.po b/po/eo.po
index 991d236..67a8640 100644
--- a/po/eo.po
+++ b/po/eo.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-01-22 21:33+0100\n"
+"POT-Creation-Date: 2013-03-17 10:22+0000\n"
 "PO-Revision-Date: 2012-08-09 13:21+0000\n"
 "Last-Translator: norbux <manelsales@ono.com>\n"
 "Language-Team: Esperanto (http://www.transifex.com/projects/p/zathura/"
@@ -29,13 +29,13 @@ msgid "Invalid index '%s' given."
 msgstr "Nevalida indekso '%s' uzata."
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
-#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:408
-#: ../commands.c:529 ../shortcuts.c:475 ../shortcuts.c:1053
-#: ../shortcuts.c:1082
+#: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
+#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
+#: ../shortcuts.c:1088
 msgid "No document opened."
 msgstr "Neniu dokumento malfermita."
 
-#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:413
+#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:415
 msgid "Invalid number of arguments given."
 msgstr "Nevalida nombro da argumentoj uzata."
 
@@ -77,53 +77,53 @@ msgstr "Neniu informacio disponebla."
 msgid "Too many arguments."
 msgstr "Tro multe da argumentoj."
 
-#: ../commands.c:230
+#: ../commands.c:232
 msgid "No arguments given."
 msgstr "Neniuj argumentoj uzata."
 
-#: ../commands.c:289 ../commands.c:315
+#: ../commands.c:291 ../commands.c:317
 msgid "Document saved."
 msgstr "Dokumento konservita."
 
-#: ../commands.c:291 ../commands.c:317
+#: ../commands.c:293 ../commands.c:319
 msgid "Failed to save document."
 msgstr "Neeble konservi dokumenton."
 
-#: ../commands.c:294 ../commands.c:320
+#: ../commands.c:296 ../commands.c:322
 msgid "Invalid number of arguments."
 msgstr "Nevalida nombro da argumentoj."
 
-#: ../commands.c:432
+#: ../commands.c:434
 #, c-format
 msgid "Couldn't write attachment '%s' to '%s'."
 msgstr "Neeble skribi kunsendaĵon '%s' en '%s'."
 
-#: ../commands.c:434
+#: ../commands.c:436
 #, c-format
 msgid "Wrote attachment '%s' to '%s'."
 msgstr "Skribis kunsendaĵon '%s' en '%s'."
 
-#: ../commands.c:478
+#: ../commands.c:480
 #, c-format
 msgid "Wrote image '%s' to '%s'."
 msgstr "Skribis kunsendaĵon '%s' en '%s'."
 
-#: ../commands.c:480
+#: ../commands.c:482
 #, c-format
 msgid "Couldn't write image '%s' to '%s'."
 msgstr "Neeble skribi kunsendaĵon '%s' en '%s'."
 
-#: ../commands.c:487
+#: ../commands.c:489
 #, c-format
 msgid "Unknown image '%s'."
 msgstr "Nekonata bildo '%s'."
 
-#: ../commands.c:491
+#: ../commands.c:493
 #, c-format
 msgid "Unknown attachment or image '%s'."
 msgstr ""
 
-#: ../commands.c:542
+#: ../commands.c:544
 msgid "Argument must be a number."
 msgstr "Argumento devas esti nombro."
 
@@ -142,298 +142,319 @@ msgid "Images"
 msgstr "Bildoj"
 
 #. zathura settings
-#: ../config.c:135
+#: ../config.c:139
 msgid "Database backend"
 msgstr ""
 
-#: ../config.c:137
+#: ../config.c:141
 msgid "Zoom step"
 msgstr "Zompaŝo"
 
-#: ../config.c:139
+#: ../config.c:143
 msgid "Padding between pages"
 msgstr "Interpaĝa plenigo"
 
-#: ../config.c:141
+#: ../config.c:145
 msgid "Number of pages per row"
 msgstr "Nombro da paĝoj po vico"
 
-#: ../config.c:143
+#: ../config.c:147
 msgid "Column of the first page"
 msgstr ""
 
-#: ../config.c:145
+#: ../config.c:149
 msgid "Scroll step"
 msgstr "Rulumpaŝo"
 
-#: ../config.c:147
+#: ../config.c:151
 msgid "Horizontal scroll step"
 msgstr ""
 
-#: ../config.c:149
+#: ../config.c:153
 msgid "Full page scroll overlap"
 msgstr ""
 
-#: ../config.c:151
+#: ../config.c:155
 msgid "Zoom minimum"
 msgstr "Mimimuma zomo"
 
-#: ../config.c:153
+#: ../config.c:157
 msgid "Zoom maximum"
 msgstr "Maksimuma zomo"
 
-#: ../config.c:155
+#: ../config.c:159
 msgid "Life time (in seconds) of a hidden page"
 msgstr "Vivdaŭro (sekunda) de kaŝita paĝo"
 
-#: ../config.c:156
+#: ../config.c:160
 msgid "Amount of seconds between each cache purge"
 msgstr "Nombro da sekundoj inter repurigo de kaŝmemoro"
 
-#: ../config.c:158
+#: ../config.c:162
 msgid "Number of positions to remember in the jumplist"
 msgstr ""
 
-#: ../config.c:160
+#: ../config.c:164
 msgid "Recoloring (dark color)"
 msgstr "Rekolorigo (malhela koloro)"
 
-#: ../config.c:162
+#: ../config.c:166
 msgid "Recoloring (light color)"
 msgstr "Rekolorigo (hela koloro)"
 
-#: ../config.c:164
+#: ../config.c:168
 msgid "Color for highlighting"
 msgstr "Koloro por fonlumo"
 
-#: ../config.c:166
+#: ../config.c:170
 msgid "Color for highlighting (active)"
 msgstr "Koloro por fonlumo (aktiva)"
 
-#: ../config.c:170
-msgid "Recolor pages"
-msgstr "Rekoloru paĝojn"
-
 #: ../config.c:172
-msgid "When recoloring keep original hue and adjust lightness only"
+msgid "'Loading ...' background color"
 msgstr ""
 
 #: ../config.c:174
-msgid "Wrap scrolling"
-msgstr "Ĉirkaŭflua rulumado"
-
-#: ../config.c:176
-msgid "Page aware scrolling"
+msgid "'Loading ...' foreground color"
 msgstr ""
 
 #: ../config.c:178
-msgid "Advance number of pages per row"
-msgstr ""
+msgid "Recolor pages"
+msgstr "Rekoloru paĝojn"
 
 #: ../config.c:180
-msgid "Horizontally centered zoom"
+msgid "When recoloring keep original hue and adjust lightness only"
 msgstr ""
 
 #: ../config.c:182
+msgid "Wrap scrolling"
+msgstr "Ĉirkaŭflua rulumado"
+
+#: ../config.c:184
+msgid "Page aware scrolling"
+msgstr ""
+
+#: ../config.c:186
+msgid "Advance number of pages per row"
+msgstr ""
+
+#: ../config.c:188
+msgid "Horizontally centered zoom"
+msgstr ""
+
+#: ../config.c:190
 msgid "Center result horizontally"
 msgstr ""
 
-#: ../config.c:184
+#: ../config.c:192
 msgid "Transparency for highlighting"
 msgstr "Travidebleco por fonlumo"
 
-#: ../config.c:186
+#: ../config.c:194
 msgid "Render 'Loading ...'"
 msgstr "Bildigu 'Ŝargado ...'"
 
-#: ../config.c:187
+#: ../config.c:195
 msgid "Adjust to when opening file"
 msgstr "Adaptaĵo ĉe malfermo de dosiero"
 
-#: ../config.c:189
+#: ../config.c:197
 msgid "Show hidden files and directories"
 msgstr "Montru kaŝitajn dosierojn kaj -ujojn"
 
-#: ../config.c:191
+#: ../config.c:199
 msgid "Show directories"
 msgstr "Montru dosierujojn"
 
-#: ../config.c:193
+#: ../config.c:201
 msgid "Always open on first page"
 msgstr "Ĉiam malfermu ĉe unua paĝo"
 
-#: ../config.c:195
+#: ../config.c:203
 msgid "Highlight search results"
 msgstr ""
 
-#: ../config.c:197
+#: ../config.c:205
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:199
+#: ../config.c:207
 msgid "Clear search results on abort"
 msgstr ""
 
-#: ../config.c:201
+#: ../config.c:209
 msgid "Use basename of the file in the window title"
 msgstr ""
 
-#: ../config.c:203 ../main.c:60
+#: ../config.c:211
+msgid "Use basename of the file in the statusbar"
+msgstr ""
+
+#: ../config.c:213 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:359
+#: ../config.c:369
 msgid "Add a bookmark"
 msgstr "Aldonu paĝosignon"
 
-#: ../config.c:360
+#: ../config.c:370
 msgid "Delete a bookmark"
 msgstr "Forigu paĝosignon"
 
-#: ../config.c:361
+#: ../config.c:371
 msgid "List all bookmarks"
 msgstr "Listigu ĉiujn paĝosignojn"
 
-#: ../config.c:362
+#: ../config.c:372
 msgid "Close current file"
 msgstr "Fermu nunan dosieron"
 
-#: ../config.c:363
+#: ../config.c:373
 msgid "Show file information"
 msgstr "Montru dosiera informacio"
 
-#: ../config.c:364
+#: ../config.c:374
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:365
+#: ../config.c:375
 msgid "Show help"
 msgstr "Montru helpon"
 
-#: ../config.c:366
+#: ../config.c:376
 msgid "Open document"
 msgstr "Malfermu dokumenton"
 
-#: ../config.c:367
+#: ../config.c:377
 msgid "Close zathura"
 msgstr "Fermu zathura"
 
-#: ../config.c:368
+#: ../config.c:378
 msgid "Print document"
 msgstr "Presu dokumenton"
 
-#: ../config.c:369
+#: ../config.c:379
 msgid "Save document"
 msgstr "Konservu dokumenton"
 
-#: ../config.c:370
+#: ../config.c:380
 msgid "Save document (and force overwriting)"
 msgstr "Konservu dokumenton (deviga anstataŭo)"
 
-#: ../config.c:371
+#: ../config.c:381
 msgid "Save attachments"
 msgstr "Konservu kunsendaĵojn"
 
-#: ../config.c:372
+#: ../config.c:382
 msgid "Set page offset"
 msgstr "Agordu paĝdelokado"
 
-#: ../config.c:373
+#: ../config.c:383
 msgid "Mark current location within the document"
 msgstr ""
 
-#: ../config.c:374
+#: ../config.c:384
 msgid "Delete the specified marks"
 msgstr ""
 
-#: ../config.c:375
+#: ../config.c:385
 msgid "Don't highlight current search results"
 msgstr ""
 
-#: ../config.c:376
+#: ../config.c:386
 msgid "Highlight current search results"
 msgstr ""
 
-#: ../config.c:377
+#: ../config.c:387
 msgid "Show version information"
 msgstr ""
 
-#: ../links.c:161 ../links.c:240
+#: ../links.c:163 ../links.c:242
 msgid "Failed to run xdg-open."
 msgstr "Fiaskis iro de xdg-open"
 
-#: ../links.c:179
+#: ../links.c:181
 #, c-format
 msgid "Link: page %d"
 msgstr ""
 
-#: ../links.c:186
+#: ../links.c:188
 #, c-format
 msgid "Link: %s"
 msgstr ""
 
-#: ../links.c:190
+#: ../links.c:192
 msgid "Link: Invalid"
 msgstr ""
 
-#: ../main.c:52
+#: ../main.c:55
 msgid "Reparents to window specified by xid"
 msgstr ""
 
-#: ../main.c:53
+#: ../main.c:56
 msgid "Path to the config directory"
 msgstr "Vojo al la agorda dosierujo"
 
-#: ../main.c:54
+#: ../main.c:57
 msgid "Path to the data directory"
 msgstr "Vojo al la datuma dosierujo"
 
-#: ../main.c:55
+#: ../main.c:58
 msgid "Path to the directories containing plugins"
 msgstr "Vojoj al dosierujoj enhavantaj kromaĵojn"
 
-#: ../main.c:56
+#: ../main.c:59
 msgid "Fork into the background"
 msgstr ""
 
-#: ../main.c:57
+#: ../main.c:60
 msgid "Document password"
 msgstr ""
 
-#: ../main.c:58
+#: ../main.c:61
+msgid "Page number to go to"
+msgstr ""
+
+#: ../main.c:62
 msgid "Log level (debug, info, warning, error)"
 msgstr "Nivelo de ĵurnalo (debug, info, warning, error)"
 
-#: ../main.c:59
+#: ../main.c:63
 msgid "Print version information"
 msgstr "Montru dosiera informacio"
 
-#: ../main.c:61
+#: ../main.c:65
 msgid "Synctex editor (forwarded to the synctex command)"
 msgstr ""
 
-#: ../page-widget.c:455
+#: ../page-widget.c:460
 msgid "Loading..."
 msgstr "Ŝargado ..."
 
-#: ../page-widget.c:646
+#: ../page-widget.c:655
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr "Selektita teksto estas kopiita en la poŝo: %s"
 
-#: ../page-widget.c:744
+#: ../page-widget.c:753
 msgid "Copy image"
 msgstr "Kopiu bildon"
 
-#: ../page-widget.c:745
+#: ../page-widget.c:754
 msgid "Save image as"
 msgstr "Savi bildojn kiel"
 
-#: ../shortcuts.c:956
+#: ../shortcuts.c:962
 msgid "This document does not contain any index"
 msgstr "Ĉi-tiu dokumento enhavas neniam indekson."
 
-#: ../zathura.c:193 ../zathura.c:865
+#: ../zathura.c:194 ../zathura.c:901
 msgid "[No name]"
 msgstr "[Neniu nomo]"
+
+#: ../zathura.c:538
+#, fuzzy
+msgid "Document does not contain any pages"
+msgstr "Ĉi-tiu dokumento enhavas neniam indekson."
diff --git a/po/es.po b/po/es.po
index 3e7afb9..99bfae2 100644
--- a/po/es.po
+++ b/po/es.po
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-01-22 21:33+0100\n"
+"POT-Creation-Date: 2013-03-17 10:22+0000\n"
 "PO-Revision-Date: 2012-04-03 15:25+0000\n"
 "Last-Translator: Moritz Lipp <mlq@pwmt.org>\n"
 "Language-Team: Spanish (Castilian) (http://www.transifex.net/projects/p/"
@@ -28,13 +28,13 @@ msgid "Invalid index '%s' given."
 msgstr "Índice invalido: '%s'."
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
-#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:408
-#: ../commands.c:529 ../shortcuts.c:475 ../shortcuts.c:1053
-#: ../shortcuts.c:1082
+#: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
+#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
+#: ../shortcuts.c:1088
 msgid "No document opened."
 msgstr "Ningún documento abierto."
 
-#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:413
+#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:415
 msgid "Invalid number of arguments given."
 msgstr "Número de argumentos inválido."
 
@@ -76,53 +76,53 @@ msgstr "No hay información disponible."
 msgid "Too many arguments."
 msgstr "Demasiados argumentos."
 
-#: ../commands.c:230
+#: ../commands.c:232
 msgid "No arguments given."
 msgstr "Ningún argumento recibido."
 
-#: ../commands.c:289 ../commands.c:315
+#: ../commands.c:291 ../commands.c:317
 msgid "Document saved."
 msgstr "Documento guardado."
 
-#: ../commands.c:291 ../commands.c:317
+#: ../commands.c:293 ../commands.c:319
 msgid "Failed to save document."
 msgstr "Error al guardar el documento."
 
-#: ../commands.c:294 ../commands.c:320
+#: ../commands.c:296 ../commands.c:322
 msgid "Invalid number of arguments."
 msgstr "Número de argumentos inválido."
 
-#: ../commands.c:432
+#: ../commands.c:434
 #, c-format
 msgid "Couldn't write attachment '%s' to '%s'."
 msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'."
 
-#: ../commands.c:434
+#: ../commands.c:436
 #, c-format
 msgid "Wrote attachment '%s' to '%s'."
 msgstr "Escrito fichero adjunto '%s' a '%s'."
 
-#: ../commands.c:478
+#: ../commands.c:480
 #, c-format
 msgid "Wrote image '%s' to '%s'."
 msgstr "Escrito fichero adjunto '%s' a '%s'."
 
-#: ../commands.c:480
+#: ../commands.c:482
 #, c-format
 msgid "Couldn't write image '%s' to '%s'."
 msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'."
 
-#: ../commands.c:487
+#: ../commands.c:489
 #, c-format
 msgid "Unknown image '%s'."
 msgstr "Imagen desconocida '%s'."
 
-#: ../commands.c:491
+#: ../commands.c:493
 #, c-format
 msgid "Unknown attachment or image '%s'."
 msgstr "Adjunto o imagen desconocidos '%s'."
 
-#: ../commands.c:542
+#: ../commands.c:544
 msgid "Argument must be a number."
 msgstr "El argumento ha de ser un número."
 
@@ -141,300 +141,322 @@ msgid "Images"
 msgstr "Imágenes"
 
 #. zathura settings
-#: ../config.c:135
+#: ../config.c:139
 msgid "Database backend"
 msgstr "Base de datos"
 
-#: ../config.c:137
+#: ../config.c:141
 msgid "Zoom step"
 msgstr "Unidad de zoom"
 
-#: ../config.c:139
+#: ../config.c:143
 msgid "Padding between pages"
 msgstr "Separación entre páginas"
 
-#: ../config.c:141
+#: ../config.c:145
 msgid "Number of pages per row"
 msgstr "Número de páginas por fila"
 
-#: ../config.c:143
+#: ../config.c:147
 msgid "Column of the first page"
 msgstr "Columna de la primera página"
 
-#: ../config.c:145
+#: ../config.c:149
 msgid "Scroll step"
 msgstr "Paso de desplazamiento"
 
-#: ../config.c:147
+#: ../config.c:151
 msgid "Horizontal scroll step"
 msgstr "Paso de desplazamiento horizontal"
 
-#: ../config.c:149
+#: ../config.c:153
 msgid "Full page scroll overlap"
 msgstr "Solapamiento del desplazamiento de página"
 
-#: ../config.c:151
+#: ../config.c:155
 msgid "Zoom minimum"
 msgstr "Zoom mínimo"
 
-#: ../config.c:153
+#: ../config.c:157
 msgid "Zoom maximum"
 msgstr "Zoom máximo"
 
-#: ../config.c:155
+#: ../config.c:159
 msgid "Life time (in seconds) of a hidden page"
 msgstr "Tiempo de vida (en segundos) de una página oculta"
 
-#: ../config.c:156
+#: ../config.c:160
 msgid "Amount of seconds between each cache purge"
 msgstr "Cantidad de segundos entre limpieza de caché"
 
-#: ../config.c:158
+#: ../config.c:162
 msgid "Number of positions to remember in the jumplist"
 msgstr "Número de posiciones a recordar en la lista de saltos"
 
-#: ../config.c:160
+#: ../config.c:164
 msgid "Recoloring (dark color)"
 msgstr "Recoloreado (color oscuro)"
 
-#: ../config.c:162
+#: ../config.c:166
 msgid "Recoloring (light color)"
 msgstr "Recoloreado (color claro)"
 
-#: ../config.c:164
+#: ../config.c:168
 msgid "Color for highlighting"
 msgstr "Color para destacar"
 
-#: ../config.c:166
+#: ../config.c:170
 msgid "Color for highlighting (active)"
 msgstr "Color para destacar (activo)"
 
-#: ../config.c:170
+#: ../config.c:172
+msgid "'Loading ...' background color"
+msgstr ""
+
+#: ../config.c:174
+msgid "'Loading ...' foreground color"
+msgstr ""
+
+#: ../config.c:178
 msgid "Recolor pages"
 msgstr "Recolorear páginas"
 
-#: ../config.c:172
+#: ../config.c:180
 msgid "When recoloring keep original hue and adjust lightness only"
 msgstr ""
 "Cuando se recoloree, mantener el tono original y ajustar únicamente la "
 "luminosidad"
 
-#: ../config.c:174
+#: ../config.c:182
 msgid "Wrap scrolling"
 msgstr "Navegación/Scroll cíclica/o"
 
-#: ../config.c:176
+#: ../config.c:184
 msgid "Page aware scrolling"
 msgstr ""
 
-#: ../config.c:178
+#: ../config.c:186
 msgid "Advance number of pages per row"
 msgstr ""
 
-#: ../config.c:180
+#: ../config.c:188
 msgid "Horizontally centered zoom"
 msgstr "Zoom centrado horizontalmente"
 
-#: ../config.c:182
+#: ../config.c:190
 msgid "Center result horizontally"
 msgstr "Centrar el resultado horizontalmente"
 
-#: ../config.c:184
+#: ../config.c:192
 msgid "Transparency for highlighting"
 msgstr "Transparencia para el destacado"
 
-#: ../config.c:186
+#: ../config.c:194
 msgid "Render 'Loading ...'"
 msgstr "Renderizado 'Cargando ...'"
 
-#: ../config.c:187
+#: ../config.c:195
 msgid "Adjust to when opening file"
 msgstr "Ajustarse al abrir un fichero"
 
-#: ../config.c:189
+#: ../config.c:197
 msgid "Show hidden files and directories"
 msgstr "Mostrar directorios y ficheros ocultos"
 
-#: ../config.c:191
+#: ../config.c:199
 msgid "Show directories"
 msgstr "Mostrar directorios"
 
-#: ../config.c:193
+#: ../config.c:201
 msgid "Always open on first page"
 msgstr "Abrir siempre la primera página"
 
-#: ../config.c:195
+#: ../config.c:203
 msgid "Highlight search results"
 msgstr "Destacar los resultados de búsqueda"
 
-#: ../config.c:197
+#: ../config.c:205
 msgid "Enable incremental search"
 msgstr "Habilitar la búsqueda incremental"
 
-#: ../config.c:199
+#: ../config.c:207
 msgid "Clear search results on abort"
 msgstr "Borrar resultados de búsqueda al abortar"
 
-#: ../config.c:201
+#: ../config.c:209
 msgid "Use basename of the file in the window title"
 msgstr "Usar el nombre del archivo en el título de la ventana"
 
-#: ../config.c:203 ../main.c:60
+#: ../config.c:211
+#, fuzzy
+msgid "Use basename of the file in the statusbar"
+msgstr "Usar el nombre del archivo en el título de la ventana"
+
+#: ../config.c:213 ../main.c:64
 msgid "Enable synctex support"
 msgstr "Habilitar soporte synctex"
 
 #. define default inputbar commands
-#: ../config.c:359
+#: ../config.c:369
 msgid "Add a bookmark"
 msgstr "Añadir Favorito"
 
-#: ../config.c:360
+#: ../config.c:370
 msgid "Delete a bookmark"
 msgstr "Eliminar Favorito"
 
-#: ../config.c:361
+#: ../config.c:371
 msgid "List all bookmarks"
 msgstr "Listar favoritos"
 
-#: ../config.c:362
+#: ../config.c:372
 msgid "Close current file"
 msgstr "Cerrar fichero actual"
 
-#: ../config.c:363
+#: ../config.c:373
 msgid "Show file information"
 msgstr "Mostrar información del fichero"
 
-#: ../config.c:364
+#: ../config.c:374
 msgid "Execute a command"
 msgstr "Ejecutar un comando"
 
-#: ../config.c:365
+#: ../config.c:375
 msgid "Show help"
 msgstr "Mostrar ayuda"
 
-#: ../config.c:366
+#: ../config.c:376
 msgid "Open document"
 msgstr "Abrir documento"
 
-#: ../config.c:367
+#: ../config.c:377
 msgid "Close zathura"
 msgstr "Salir de zathura"
 
-#: ../config.c:368
+#: ../config.c:378
 msgid "Print document"
 msgstr "Imprimir documento"
 
-#: ../config.c:369
+#: ../config.c:379
 msgid "Save document"
 msgstr "Guardar documento"
 
-#: ../config.c:370
+#: ../config.c:380
 msgid "Save document (and force overwriting)"
 msgstr "Guardar documento (y sobreescribir)"
 
-#: ../config.c:371
+#: ../config.c:381
 msgid "Save attachments"
 msgstr "Guardar ficheros adjuntos"
 
-#: ../config.c:372
+#: ../config.c:382
 msgid "Set page offset"
 msgstr "Asignar el desplazamiento de página"
 
-#: ../config.c:373
+#: ../config.c:383
 msgid "Mark current location within the document"
 msgstr "Marcar la posición actual en el documento"
 
-#: ../config.c:374
+#: ../config.c:384
 msgid "Delete the specified marks"
 msgstr "Borrar las marcas especificadas"
 
-#: ../config.c:375
+#: ../config.c:385
 msgid "Don't highlight current search results"
 msgstr "No destacar los resultados de la búsqueda actual"
 
-#: ../config.c:376
+#: ../config.c:386
 msgid "Highlight current search results"
 msgstr "Destacar los resultados de la búsqueda actual"
 
-#: ../config.c:377
+#: ../config.c:387
 msgid "Show version information"
 msgstr "Mostrar versión"
 
-#: ../links.c:161 ../links.c:240
+#: ../links.c:163 ../links.c:242
 msgid "Failed to run xdg-open."
 msgstr "Error al tratar de ejecutar xdg-open"
 
-#: ../links.c:179
+#: ../links.c:181
 #, c-format
 msgid "Link: page %d"
 msgstr ""
 
-#: ../links.c:186
+#: ../links.c:188
 #, c-format
 msgid "Link: %s"
 msgstr ""
 
-#: ../links.c:190
+#: ../links.c:192
 msgid "Link: Invalid"
 msgstr ""
 
-#: ../main.c:52
+#: ../main.c:55
 msgid "Reparents to window specified by xid"
 msgstr "Reasignar a la ventana especificada por xid"
 
-#: ../main.c:53
+#: ../main.c:56
 msgid "Path to the config directory"
 msgstr "Ruta al directorio de configuración"
 
-#: ../main.c:54
+#: ../main.c:57
 msgid "Path to the data directory"
 msgstr "Ruta para el directorio de datos"
 
-#: ../main.c:55
+#: ../main.c:58
 msgid "Path to the directories containing plugins"
 msgstr "Ruta a los directorios que contienen los plugins"
 
-#: ../main.c:56
+#: ../main.c:59
 msgid "Fork into the background"
 msgstr "Fork, ejecutándose en background"
 
-#: ../main.c:57
+#: ../main.c:60
 msgid "Document password"
 msgstr "Contraseña del documento"
 
-#: ../main.c:58
+#: ../main.c:61
+msgid "Page number to go to"
+msgstr ""
+
+#: ../main.c:62
 msgid "Log level (debug, info, warning, error)"
 msgstr "Nivel de log (debug, info, warning, error)"
 
-#: ../main.c:59
+#: ../main.c:63
 msgid "Print version information"
 msgstr "Mostrar información del fichero"
 
-#: ../main.c:61
+#: ../main.c:65
 msgid "Synctex editor (forwarded to the synctex command)"
 msgstr "Editor de Synctex (reenvíado al commando synctex)"
 
-#: ../page-widget.c:455
+#: ../page-widget.c:460
 msgid "Loading..."
 msgstr "Cargando ..."
 
-#: ../page-widget.c:646
+#: ../page-widget.c:655
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr "Se ha copiado el texto seleccionado al portapapeles: %s"
 
-#: ../page-widget.c:744
+#: ../page-widget.c:753
 msgid "Copy image"
 msgstr "Copiar imagen"
 
-#: ../page-widget.c:745
+#: ../page-widget.c:754
 msgid "Save image as"
 msgstr "Salvar imagen como"
 
-#: ../shortcuts.c:956
+#: ../shortcuts.c:962
 msgid "This document does not contain any index"
 msgstr "Este documento no contiene ningún índice"
 
-#: ../zathura.c:193 ../zathura.c:865
+#: ../zathura.c:194 ../zathura.c:901
 msgid "[No name]"
 msgstr "[Sin nombre]"
+
+#: ../zathura.c:538
+#, fuzzy
+msgid "Document does not contain any pages"
+msgstr "Este documento no contiene ningún índice"
diff --git a/po/es_CL.po b/po/es_CL.po
index 9adfe02..9e640e8 100644
--- a/po/es_CL.po
+++ b/po/es_CL.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-01-13 15:08+0100\n"
+"POT-Creation-Date: 2013-03-17 10:22+0000\n"
 "PO-Revision-Date: 2012-04-03 15:26+0000\n"
 "Last-Translator: watsh1ken <wat.sh1ken@gmail.com>\n"
 "Language-Team: Spanish (Chile) (http://www.transifex.net/projects/p/zathura/"
@@ -29,13 +29,13 @@ msgid "Invalid index '%s' given."
 msgstr "Índice invalido: '%s'."
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
-#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:408
-#: ../commands.c:529 ../shortcuts.c:475 ../shortcuts.c:1053
-#: ../shortcuts.c:1082
+#: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
+#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
+#: ../shortcuts.c:1088
 msgid "No document opened."
 msgstr "Ningún documento abierto."
 
-#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:413
+#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:415
 msgid "Invalid number of arguments given."
 msgstr "Número de argumentos inválido."
 
@@ -77,53 +77,53 @@ msgstr "No hay información disponible."
 msgid "Too many arguments."
 msgstr "Demasiados argumentos."
 
-#: ../commands.c:230
+#: ../commands.c:232
 msgid "No arguments given."
 msgstr "Ningún argumento recibido."
 
-#: ../commands.c:289 ../commands.c:315
+#: ../commands.c:291 ../commands.c:317
 msgid "Document saved."
 msgstr "Documento guardado."
 
-#: ../commands.c:291 ../commands.c:317
+#: ../commands.c:293 ../commands.c:319
 msgid "Failed to save document."
 msgstr "Error al guardar el documento."
 
-#: ../commands.c:294 ../commands.c:320
+#: ../commands.c:296 ../commands.c:322
 msgid "Invalid number of arguments."
 msgstr "Número de argumentos inválido."
 
-#: ../commands.c:432
+#: ../commands.c:434
 #, c-format
 msgid "Couldn't write attachment '%s' to '%s'."
 msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'."
 
-#: ../commands.c:434
+#: ../commands.c:436
 #, c-format
 msgid "Wrote attachment '%s' to '%s'."
 msgstr "Fichero adjunto escrito '%s' a '%s'."
 
-#: ../commands.c:478
+#: ../commands.c:480
 #, c-format
 msgid "Wrote image '%s' to '%s'."
 msgstr "Fichero adjunto escrito '%s' a '%s'."
 
-#: ../commands.c:480
+#: ../commands.c:482
 #, c-format
 msgid "Couldn't write image '%s' to '%s'."
 msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'."
 
-#: ../commands.c:487
+#: ../commands.c:489
 #, c-format
 msgid "Unknown image '%s'."
 msgstr ""
 
-#: ../commands.c:491
+#: ../commands.c:493
 #, c-format
 msgid "Unknown attachment or image '%s'."
 msgstr ""
 
-#: ../commands.c:542
+#: ../commands.c:544
 msgid "Argument must be a number."
 msgstr "El argumento debe ser un número."
 
@@ -142,299 +142,320 @@ msgid "Images"
 msgstr ""
 
 #. zathura settings
-#: ../config.c:135
+#: ../config.c:139
 msgid "Database backend"
 msgstr "Fin de la base de datos."
 
-#: ../config.c:137
+#: ../config.c:141
 msgid "Zoom step"
 msgstr "Unidad de zoom"
 
-#: ../config.c:139
+#: ../config.c:143
 msgid "Padding between pages"
 msgstr "Separación entre páginas"
 
-#: ../config.c:141
+#: ../config.c:145
 msgid "Number of pages per row"
 msgstr "Numero de páginas por fila"
 
-#: ../config.c:143
+#: ../config.c:147
 msgid "Column of the first page"
 msgstr ""
 
-#: ../config.c:145
+#: ../config.c:149
 msgid "Scroll step"
 msgstr "Unidad de desplazamiento"
 
-#: ../config.c:147
+#: ../config.c:151
 msgid "Horizontal scroll step"
 msgstr ""
 
-#: ../config.c:149
+#: ../config.c:153
 msgid "Full page scroll overlap"
 msgstr ""
 
-#: ../config.c:151
+#: ../config.c:155
 msgid "Zoom minimum"
 msgstr "Zoom mínimo"
 
-#: ../config.c:153
+#: ../config.c:157
 msgid "Zoom maximum"
 msgstr "Zoom máximo"
 
-#: ../config.c:155
+#: ../config.c:159
 msgid "Life time (in seconds) of a hidden page"
 msgstr ""
 
-#: ../config.c:156
+#: ../config.c:160
 msgid "Amount of seconds between each cache purge"
 msgstr ""
 "Cantidad de segundos entre las comprobaciones de las páginas invisibles"
 
-#: ../config.c:158
+#: ../config.c:162
 msgid "Number of positions to remember in the jumplist"
 msgstr ""
 
-#: ../config.c:160
+#: ../config.c:164
 msgid "Recoloring (dark color)"
 msgstr "Recolorando (color oscuro)"
 
-#: ../config.c:162
+#: ../config.c:166
 msgid "Recoloring (light color)"
 msgstr "Recolorando (color claro)"
 
-#: ../config.c:164
+#: ../config.c:168
 msgid "Color for highlighting"
 msgstr "Color para destacar"
 
-#: ../config.c:166
+#: ../config.c:170
 msgid "Color for highlighting (active)"
 msgstr "Color para destacar (activo)"
 
-#: ../config.c:170
-msgid "Recolor pages"
-msgstr "Recolorar páginas"
-
 #: ../config.c:172
-msgid "When recoloring keep original hue and adjust lightness only"
+msgid "'Loading ...' background color"
 msgstr ""
 
 #: ../config.c:174
-msgid "Wrap scrolling"
-msgstr "Scroll cíclico"
-
-#: ../config.c:176
-msgid "Page aware scrolling"
+msgid "'Loading ...' foreground color"
 msgstr ""
 
 #: ../config.c:178
-msgid "Advance number of pages per row"
-msgstr ""
+msgid "Recolor pages"
+msgstr "Recolorar páginas"
 
 #: ../config.c:180
-msgid "Horizontally centered zoom"
+msgid "When recoloring keep original hue and adjust lightness only"
 msgstr ""
 
 #: ../config.c:182
+msgid "Wrap scrolling"
+msgstr "Scroll cíclico"
+
+#: ../config.c:184
+msgid "Page aware scrolling"
+msgstr ""
+
+#: ../config.c:186
+msgid "Advance number of pages per row"
+msgstr ""
+
+#: ../config.c:188
+msgid "Horizontally centered zoom"
+msgstr ""
+
+#: ../config.c:190
 msgid "Center result horizontally"
 msgstr ""
 
-#: ../config.c:184
+#: ../config.c:192
 msgid "Transparency for highlighting"
 msgstr "Transparencia para lo destacado"
 
-#: ../config.c:186
+#: ../config.c:194
 msgid "Render 'Loading ...'"
 msgstr "Renderizando 'Cargando...'"
 
-#: ../config.c:187
+#: ../config.c:195
 msgid "Adjust to when opening file"
 msgstr "Ajustar al abrirse un archivo"
 
-#: ../config.c:189
+#: ../config.c:197
 msgid "Show hidden files and directories"
 msgstr "Mostrar archivos ocultos y directorios"
 
-#: ../config.c:191
+#: ../config.c:199
 msgid "Show directories"
 msgstr "Mostrar directorios"
 
-#: ../config.c:193
+#: ../config.c:201
 msgid "Always open on first page"
 msgstr "Siempre abrir en primera página"
 
-#: ../config.c:195
+#: ../config.c:203
 msgid "Highlight search results"
 msgstr ""
 
-#: ../config.c:197
+#: ../config.c:205
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:199
+#: ../config.c:207
 msgid "Clear search results on abort"
 msgstr ""
 
-#: ../config.c:201
+#: ../config.c:209
 msgid "Use basename of the file in the window title"
 msgstr ""
 
-#: ../config.c:203 ../main.c:60
+#: ../config.c:211
+msgid "Use basename of the file in the statusbar"
+msgstr ""
+
+#: ../config.c:213 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:359
+#: ../config.c:369
 msgid "Add a bookmark"
 msgstr "Agregar un marcador"
 
-#: ../config.c:360
+#: ../config.c:370
 msgid "Delete a bookmark"
 msgstr "Eliminar un marcador"
 
-#: ../config.c:361
+#: ../config.c:371
 msgid "List all bookmarks"
 msgstr "Listar todos los marcadores"
 
-#: ../config.c:362
+#: ../config.c:372
 msgid "Close current file"
 msgstr "Cerrar archivo actual"
 
-#: ../config.c:363
+#: ../config.c:373
 msgid "Show file information"
 msgstr "Mostrar información del archivo"
 
-#: ../config.c:364
+#: ../config.c:374
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:365
+#: ../config.c:375
 msgid "Show help"
 msgstr "Mostrar ayuda"
 
-#: ../config.c:366
+#: ../config.c:376
 msgid "Open document"
 msgstr "Abrir documento"
 
-#: ../config.c:367
+#: ../config.c:377
 msgid "Close zathura"
 msgstr "Cerrar zathura"
 
-#: ../config.c:368
+#: ../config.c:378
 msgid "Print document"
 msgstr "Imprimir documento"
 
-#: ../config.c:369
+#: ../config.c:379
 msgid "Save document"
 msgstr "Guardar documento"
 
-#: ../config.c:370
+#: ../config.c:380
 msgid "Save document (and force overwriting)"
 msgstr "Guardar documento (y forzar sobreescritura)"
 
-#: ../config.c:371
+#: ../config.c:381
 msgid "Save attachments"
 msgstr "Guardar archivos adjuntos"
 
-#: ../config.c:372
+#: ../config.c:382
 msgid "Set page offset"
 msgstr "Asignar desplazamiento de la página"
 
-#: ../config.c:373
+#: ../config.c:383
 msgid "Mark current location within the document"
 msgstr ""
 
-#: ../config.c:374
+#: ../config.c:384
 msgid "Delete the specified marks"
 msgstr ""
 
-#: ../config.c:375
+#: ../config.c:385
 msgid "Don't highlight current search results"
 msgstr ""
 
-#: ../config.c:376
+#: ../config.c:386
 msgid "Highlight current search results"
 msgstr ""
 
-#: ../config.c:377
+#: ../config.c:387
 msgid "Show version information"
 msgstr ""
 
-#: ../links.c:161 ../links.c:240
+#: ../links.c:163 ../links.c:242
 msgid "Failed to run xdg-open."
 msgstr "Error al ejecutar xdg-open."
 
-#: ../links.c:179
+#: ../links.c:181
 #, c-format
 msgid "Link: page %d"
 msgstr ""
 
-#: ../links.c:186
+#: ../links.c:188
 #, c-format
 msgid "Link: %s"
 msgstr ""
 
-#: ../links.c:190
+#: ../links.c:192
 msgid "Link: Invalid"
 msgstr ""
 
-#: ../main.c:52
+#: ../main.c:55
 msgid "Reparents to window specified by xid"
 msgstr "Reasignar a la ventana especificada por xid"
 
-#: ../main.c:53
+#: ../main.c:56
 msgid "Path to the config directory"
 msgstr "Ruta al directorio de configuración"
 
-#: ../main.c:54
+#: ../main.c:57
 msgid "Path to the data directory"
 msgstr "Ruta al directorio de datos"
 
-#: ../main.c:55
+#: ../main.c:58
 msgid "Path to the directories containing plugins"
 msgstr "Ruta al directorio que contiene plugins"
 
-#: ../main.c:56
+#: ../main.c:59
 msgid "Fork into the background"
 msgstr "Ejecución en background"
 
-#: ../main.c:57
+#: ../main.c:60
 msgid "Document password"
 msgstr ""
 
-#: ../main.c:58
+#: ../main.c:61
+msgid "Page number to go to"
+msgstr ""
+
+#: ../main.c:62
 msgid "Log level (debug, info, warning, error)"
 msgstr "Nivel de log (debug, info, warning, error)"
 
-#: ../main.c:59
+#: ../main.c:63
 msgid "Print version information"
 msgstr "Mostrar información del archivo"
 
-#: ../main.c:61
+#: ../main.c:65
 msgid "Synctex editor (forwarded to the synctex command)"
 msgstr ""
 
-#: ../page-widget.c:455
+#: ../page-widget.c:460
 msgid "Loading..."
 msgstr "Cargando..."
 
-#: ../page-widget.c:646
+#: ../page-widget.c:655
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr "Texto seleccionado copiado al portapapeles: %s"
 
-#: ../page-widget.c:744
+#: ../page-widget.c:753
 msgid "Copy image"
 msgstr "Copiar imagen"
 
-#: ../page-widget.c:745
+#: ../page-widget.c:754
 msgid "Save image as"
 msgstr ""
 
-#: ../shortcuts.c:956
+#: ../shortcuts.c:962
 msgid "This document does not contain any index"
 msgstr "Este document no contiene índice"
 
-#: ../zathura.c:193 ../zathura.c:865
+#: ../zathura.c:194 ../zathura.c:901
 msgid "[No name]"
 msgstr "[Sin nombre]"
+
+#: ../zathura.c:538
+#, fuzzy
+msgid "Document does not contain any pages"
+msgstr "Este document no contiene índice"
diff --git a/po/et.po b/po/et.po
index 46e67ea..ea2816c 100644
--- a/po/et.po
+++ b/po/et.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-01-13 15:08+0100\n"
+"POT-Creation-Date: 2013-03-17 10:22+0000\n"
 "PO-Revision-Date: 2012-04-03 15:25+0000\n"
 "Last-Translator: Rivo Zängov <eraser@eraser.ee>\n"
 "Language-Team: Estonian (http://www.transifex.net/projects/p/zathura/"
@@ -29,13 +29,13 @@ msgid "Invalid index '%s' given."
 msgstr ""
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
-#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:408
-#: ../commands.c:529 ../shortcuts.c:475 ../shortcuts.c:1053
-#: ../shortcuts.c:1082
+#: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
+#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
+#: ../shortcuts.c:1088
 msgid "No document opened."
 msgstr ""
 
-#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:413
+#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:415
 msgid "Invalid number of arguments given."
 msgstr ""
 
@@ -77,53 +77,53 @@ msgstr ""
 msgid "Too many arguments."
 msgstr ""
 
-#: ../commands.c:230
+#: ../commands.c:232
 msgid "No arguments given."
 msgstr ""
 
-#: ../commands.c:289 ../commands.c:315
+#: ../commands.c:291 ../commands.c:317
 msgid "Document saved."
 msgstr ""
 
-#: ../commands.c:291 ../commands.c:317
+#: ../commands.c:293 ../commands.c:319
 msgid "Failed to save document."
 msgstr ""
 
-#: ../commands.c:294 ../commands.c:320
+#: ../commands.c:296 ../commands.c:322
 msgid "Invalid number of arguments."
 msgstr ""
 
-#: ../commands.c:432
-#, c-format
-msgid "Couldn't write attachment '%s' to '%s'."
-msgstr ""
-
 #: ../commands.c:434
 #, c-format
-msgid "Wrote attachment '%s' to '%s'."
+msgid "Couldn't write attachment '%s' to '%s'."
 msgstr ""
 
-#: ../commands.c:478
+#: ../commands.c:436
 #, c-format
-msgid "Wrote image '%s' to '%s'."
+msgid "Wrote attachment '%s' to '%s'."
 msgstr ""
 
 #: ../commands.c:480
 #, c-format
+msgid "Wrote image '%s' to '%s'."
+msgstr ""
+
+#: ../commands.c:482
+#, c-format
 msgid "Couldn't write image '%s' to '%s'."
 msgstr ""
 
-#: ../commands.c:487
+#: ../commands.c:489
 #, c-format
 msgid "Unknown image '%s'."
 msgstr ""
 
-#: ../commands.c:491
+#: ../commands.c:493
 #, c-format
 msgid "Unknown attachment or image '%s'."
 msgstr ""
 
-#: ../commands.c:542
+#: ../commands.c:544
 msgid "Argument must be a number."
 msgstr ""
 
@@ -142,298 +142,318 @@ msgid "Images"
 msgstr ""
 
 #. zathura settings
-#: ../config.c:135
+#: ../config.c:139
 msgid "Database backend"
 msgstr ""
 
-#: ../config.c:137
+#: ../config.c:141
 msgid "Zoom step"
 msgstr ""
 
-#: ../config.c:139
+#: ../config.c:143
 msgid "Padding between pages"
 msgstr ""
 
-#: ../config.c:141
+#: ../config.c:145
 msgid "Number of pages per row"
 msgstr ""
 
-#: ../config.c:143
+#: ../config.c:147
 msgid "Column of the first page"
 msgstr ""
 
-#: ../config.c:145
+#: ../config.c:149
 msgid "Scroll step"
 msgstr ""
 
-#: ../config.c:147
+#: ../config.c:151
 msgid "Horizontal scroll step"
 msgstr ""
 
-#: ../config.c:149
+#: ../config.c:153
 msgid "Full page scroll overlap"
 msgstr ""
 
-#: ../config.c:151
+#: ../config.c:155
 msgid "Zoom minimum"
 msgstr ""
 
-#: ../config.c:153
+#: ../config.c:157
 msgid "Zoom maximum"
 msgstr ""
 
-#: ../config.c:155
+#: ../config.c:159
 msgid "Life time (in seconds) of a hidden page"
 msgstr ""
 
-#: ../config.c:156
+#: ../config.c:160
 msgid "Amount of seconds between each cache purge"
 msgstr ""
 
-#: ../config.c:158
+#: ../config.c:162
 msgid "Number of positions to remember in the jumplist"
 msgstr ""
 
-#: ../config.c:160
+#: ../config.c:164
 msgid "Recoloring (dark color)"
 msgstr ""
 
-#: ../config.c:162
+#: ../config.c:166
 msgid "Recoloring (light color)"
 msgstr ""
 
-#: ../config.c:164
+#: ../config.c:168
 msgid "Color for highlighting"
 msgstr "Esiletõstmise värv"
 
-#: ../config.c:166
+#: ../config.c:170
 msgid "Color for highlighting (active)"
 msgstr "Esiletõstmise värv (aktiivne)"
 
-#: ../config.c:170
-msgid "Recolor pages"
-msgstr ""
-
 #: ../config.c:172
-msgid "When recoloring keep original hue and adjust lightness only"
+msgid "'Loading ...' background color"
 msgstr ""
 
 #: ../config.c:174
-msgid "Wrap scrolling"
-msgstr ""
-
-#: ../config.c:176
-msgid "Page aware scrolling"
+msgid "'Loading ...' foreground color"
 msgstr ""
 
 #: ../config.c:178
-msgid "Advance number of pages per row"
+msgid "Recolor pages"
 msgstr ""
 
 #: ../config.c:180
-msgid "Horizontally centered zoom"
+msgid "When recoloring keep original hue and adjust lightness only"
 msgstr ""
 
 #: ../config.c:182
-msgid "Center result horizontally"
+msgid "Wrap scrolling"
 msgstr ""
 
 #: ../config.c:184
-msgid "Transparency for highlighting"
+msgid "Page aware scrolling"
 msgstr ""
 
 #: ../config.c:186
+msgid "Advance number of pages per row"
+msgstr ""
+
+#: ../config.c:188
+msgid "Horizontally centered zoom"
+msgstr ""
+
+#: ../config.c:190
+msgid "Center result horizontally"
+msgstr ""
+
+#: ../config.c:192
+msgid "Transparency for highlighting"
+msgstr ""
+
+#: ../config.c:194
 msgid "Render 'Loading ...'"
 msgstr ""
 
-#: ../config.c:187
+#: ../config.c:195
 msgid "Adjust to when opening file"
 msgstr ""
 
-#: ../config.c:189
+#: ../config.c:197
 msgid "Show hidden files and directories"
 msgstr ""
 
-#: ../config.c:191
+#: ../config.c:199
 msgid "Show directories"
 msgstr "Näita kaustasid"
 
-#: ../config.c:193
+#: ../config.c:201
 msgid "Always open on first page"
 msgstr "Ava alati esimene leht"
 
-#: ../config.c:195
+#: ../config.c:203
 msgid "Highlight search results"
 msgstr ""
 
-#: ../config.c:197
+#: ../config.c:205
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:199
+#: ../config.c:207
 msgid "Clear search results on abort"
 msgstr ""
 
-#: ../config.c:201
+#: ../config.c:209
 msgid "Use basename of the file in the window title"
 msgstr ""
 
-#: ../config.c:203 ../main.c:60
+#: ../config.c:211
+msgid "Use basename of the file in the statusbar"
+msgstr ""
+
+#: ../config.c:213 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:359
+#: ../config.c:369
 msgid "Add a bookmark"
 msgstr "Lisa järjehoidja"
 
-#: ../config.c:360
+#: ../config.c:370
 msgid "Delete a bookmark"
 msgstr "Kustuta järjehoidja"
 
-#: ../config.c:361
+#: ../config.c:371
 msgid "List all bookmarks"
 msgstr "Näita kõiki järjehoidjaid"
 
-#: ../config.c:362
+#: ../config.c:372
 msgid "Close current file"
 msgstr "Sulge praegune fail"
 
-#: ../config.c:363
+#: ../config.c:373
 msgid "Show file information"
 msgstr "Näita faili infot"
 
-#: ../config.c:364
+#: ../config.c:374
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:365
+#: ../config.c:375
 msgid "Show help"
 msgstr "Näita abiinfot"
 
-#: ../config.c:366
+#: ../config.c:376
 msgid "Open document"
 msgstr "Ava dokument"
 
-#: ../config.c:367
+#: ../config.c:377
 msgid "Close zathura"
 msgstr "Sule zathura"
 
-#: ../config.c:368
+#: ../config.c:378
 msgid "Print document"
 msgstr "Prindi dokument"
 
-#: ../config.c:369
+#: ../config.c:379
 msgid "Save document"
 msgstr "Salvesta dokument"
 
-#: ../config.c:370
+#: ../config.c:380
 msgid "Save document (and force overwriting)"
 msgstr ""
 
-#: ../config.c:371
+#: ../config.c:381
 msgid "Save attachments"
 msgstr "Salvesta manused"
 
-#: ../config.c:372
+#: ../config.c:382
 msgid "Set page offset"
 msgstr ""
 
-#: ../config.c:373
+#: ../config.c:383
 msgid "Mark current location within the document"
 msgstr ""
 
-#: ../config.c:374
+#: ../config.c:384
 msgid "Delete the specified marks"
 msgstr ""
 
-#: ../config.c:375
+#: ../config.c:385
 msgid "Don't highlight current search results"
 msgstr ""
 
-#: ../config.c:376
+#: ../config.c:386
 msgid "Highlight current search results"
 msgstr ""
 
-#: ../config.c:377
+#: ../config.c:387
 msgid "Show version information"
 msgstr ""
 
-#: ../links.c:161 ../links.c:240
+#: ../links.c:163 ../links.c:242
 msgid "Failed to run xdg-open."
 msgstr ""
 
-#: ../links.c:179
+#: ../links.c:181
 #, c-format
 msgid "Link: page %d"
 msgstr ""
 
-#: ../links.c:186
+#: ../links.c:188
 #, c-format
 msgid "Link: %s"
 msgstr ""
 
-#: ../links.c:190
+#: ../links.c:192
 msgid "Link: Invalid"
 msgstr ""
 
-#: ../main.c:52
+#: ../main.c:55
 msgid "Reparents to window specified by xid"
 msgstr ""
 
-#: ../main.c:53
+#: ../main.c:56
 msgid "Path to the config directory"
 msgstr ""
 
-#: ../main.c:54
+#: ../main.c:57
 msgid "Path to the data directory"
 msgstr ""
 
-#: ../main.c:55
+#: ../main.c:58
 msgid "Path to the directories containing plugins"
 msgstr ""
 
-#: ../main.c:56
+#: ../main.c:59
 msgid "Fork into the background"
 msgstr ""
 
-#: ../main.c:57
+#: ../main.c:60
 msgid "Document password"
 msgstr ""
 
-#: ../main.c:58
+#: ../main.c:61
+msgid "Page number to go to"
+msgstr ""
+
+#: ../main.c:62
 msgid "Log level (debug, info, warning, error)"
 msgstr ""
 
-#: ../main.c:59
+#: ../main.c:63
 msgid "Print version information"
 msgstr "Näita faili infot"
 
-#: ../main.c:61
+#: ../main.c:65
 msgid "Synctex editor (forwarded to the synctex command)"
 msgstr ""
 
-#: ../page-widget.c:455
+#: ../page-widget.c:460
 msgid "Loading..."
 msgstr ""
 
-#: ../page-widget.c:646
+#: ../page-widget.c:655
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr ""
 
-#: ../page-widget.c:744
+#: ../page-widget.c:753
 msgid "Copy image"
 msgstr "Kopeeri pilt"
 
-#: ../page-widget.c:745
+#: ../page-widget.c:754
 msgid "Save image as"
 msgstr ""
 
-#: ../shortcuts.c:956
+#: ../shortcuts.c:962
 msgid "This document does not contain any index"
 msgstr ""
 
-#: ../zathura.c:193 ../zathura.c:865
+#: ../zathura.c:194 ../zathura.c:901
 msgid "[No name]"
 msgstr "[Nime pole]"
+
+#: ../zathura.c:538
+msgid "Document does not contain any pages"
+msgstr ""
diff --git a/po/fr.po b/po/fr.po
index 1903755..a2fd1b1 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -10,7 +10,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-01-22 21:33+0100\n"
+"POT-Creation-Date: 2013-03-17 10:22+0000\n"
 "PO-Revision-Date: 2013-01-13 14:13+0000\n"
 "Last-Translator: Benoît Knecht <benoit.knecht@gmail.com>\n"
 "Language-Team: French (http://www.transifex.com/projects/p/zathura/language/"
@@ -32,13 +32,13 @@ msgid "Invalid index '%s' given."
 msgstr "Index invalide : '%s'"
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
-#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:408
-#: ../commands.c:529 ../shortcuts.c:475 ../shortcuts.c:1053
-#: ../shortcuts.c:1082
+#: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
+#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
+#: ../shortcuts.c:1088
 msgid "No document opened."
 msgstr "Aucun document ouvert."
 
-#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:413
+#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:415
 msgid "Invalid number of arguments given."
 msgstr "Nombre d'arguments invalide."
 
@@ -80,53 +80,53 @@ msgstr "Aucune information disponible."
 msgid "Too many arguments."
 msgstr "Trop d'arguments."
 
-#: ../commands.c:230
+#: ../commands.c:232
 msgid "No arguments given."
 msgstr "Aucun argument passé."
 
-#: ../commands.c:289 ../commands.c:315
+#: ../commands.c:291 ../commands.c:317
 msgid "Document saved."
 msgstr "Document enregistré."
 
-#: ../commands.c:291 ../commands.c:317
+#: ../commands.c:293 ../commands.c:319
 msgid "Failed to save document."
 msgstr "Échec lors de l'enregistrement du document."
 
-#: ../commands.c:294 ../commands.c:320
+#: ../commands.c:296 ../commands.c:322
 msgid "Invalid number of arguments."
 msgstr "Nombre d'arguments invalide."
 
-#: ../commands.c:432
+#: ../commands.c:434
 #, c-format
 msgid "Couldn't write attachment '%s' to '%s'."
 msgstr "Impossible d'écrire la pièce jointe '%s' dans '%s'."
 
-#: ../commands.c:434
+#: ../commands.c:436
 #, c-format
 msgid "Wrote attachment '%s' to '%s'."
 msgstr "Pièce jointe '%s' écrite dans '%s'."
 
-#: ../commands.c:478
+#: ../commands.c:480
 #, c-format
 msgid "Wrote image '%s' to '%s'."
 msgstr "Image '%s' écrite dans '%s'."
 
-#: ../commands.c:480
+#: ../commands.c:482
 #, c-format
 msgid "Couldn't write image '%s' to '%s'."
 msgstr "Impossible d'écrire l'image '%s' dans '%s'."
 
-#: ../commands.c:487
+#: ../commands.c:489
 #, c-format
 msgid "Unknown image '%s'."
 msgstr "Image '%s' inconnue."
 
-#: ../commands.c:491
+#: ../commands.c:493
 #, c-format
 msgid "Unknown attachment or image '%s'."
 msgstr "Pièce jointe ou image '%s' inconnue."
 
-#: ../commands.c:542
+#: ../commands.c:544
 msgid "Argument must be a number."
 msgstr "L'argument doit être un nombre."
 
@@ -145,300 +145,322 @@ msgid "Images"
 msgstr "Images"
 
 #. zathura settings
-#: ../config.c:135
+#: ../config.c:139
 msgid "Database backend"
 msgstr "Gestionnaire de base de données"
 
-#: ../config.c:137
+#: ../config.c:141
 msgid "Zoom step"
 msgstr "Incrément de zoom"
 
-#: ../config.c:139
+#: ../config.c:143
 msgid "Padding between pages"
 msgstr "Espacement entre les pages"
 
-#: ../config.c:141
+#: ../config.c:145
 msgid "Number of pages per row"
 msgstr "Nombre de page par rangée"
 
-#: ../config.c:143
+#: ../config.c:147
 msgid "Column of the first page"
 msgstr "Colonne de la première page"
 
-#: ../config.c:145
+#: ../config.c:149
 msgid "Scroll step"
 msgstr "Incrément de défilement"
 
-#: ../config.c:147
+#: ../config.c:151
 msgid "Horizontal scroll step"
 msgstr "Incrément de défilement horizontal"
 
-#: ../config.c:149
+#: ../config.c:153
 msgid "Full page scroll overlap"
 msgstr "Recouvrement lors du défilement par page entière"
 
-#: ../config.c:151
+#: ../config.c:155
 msgid "Zoom minimum"
 msgstr "Zoom minimum"
 
-#: ../config.c:153
+#: ../config.c:157
 msgid "Zoom maximum"
 msgstr "Zoom maximum"
 
-#: ../config.c:155
+#: ../config.c:159
 msgid "Life time (in seconds) of a hidden page"
 msgstr "Durée de vie (en secondes) d'une page cachée"
 
-#: ../config.c:156
+#: ../config.c:160
 msgid "Amount of seconds between each cache purge"
 msgstr "Délai en secondes entre chaque purge du cache"
 
-#: ../config.c:158
+#: ../config.c:162
 msgid "Number of positions to remember in the jumplist"
 msgstr "Nombre de positions à mémoriser dans la liste de sauts"
 
-#: ../config.c:160
+#: ../config.c:164
 msgid "Recoloring (dark color)"
 msgstr "Recoloration (couleur sombre)"
 
-#: ../config.c:162
+#: ../config.c:166
 msgid "Recoloring (light color)"
 msgstr "Recoloration (couleur claire)"
 
-#: ../config.c:164
+#: ../config.c:168
 msgid "Color for highlighting"
 msgstr "Couleur de surbrillance"
 
-#: ../config.c:166
+#: ../config.c:170
 msgid "Color for highlighting (active)"
 msgstr "Couleur de surbrillance (active)"
 
-#: ../config.c:170
+#: ../config.c:172
+msgid "'Loading ...' background color"
+msgstr ""
+
+#: ../config.c:174
+msgid "'Loading ...' foreground color"
+msgstr ""
+
+#: ../config.c:178
 msgid "Recolor pages"
 msgstr "Recoloriser les pages"
 
-#: ../config.c:172
+#: ../config.c:180
 msgid "When recoloring keep original hue and adjust lightness only"
 msgstr ""
 "Lors de la recoloration garder la teinte d'origine et ajuster seulement la "
 "luminosité"
 
-#: ../config.c:174
+#: ../config.c:182
 msgid "Wrap scrolling"
 msgstr "Défiler en boucle"
 
-#: ../config.c:176
+#: ../config.c:184
 msgid "Page aware scrolling"
 msgstr "Défilement tenant compte des limites de page"
 
-#: ../config.c:178
+#: ../config.c:186
 msgid "Advance number of pages per row"
 msgstr "Augmenter le nombre de pages par rangée"
 
-#: ../config.c:180
+#: ../config.c:188
 msgid "Horizontally centered zoom"
 msgstr "Zoom centré horizontalement"
 
-#: ../config.c:182
+#: ../config.c:190
 msgid "Center result horizontally"
 msgstr "Centrer le résultat horizontalement"
 
-#: ../config.c:184
+#: ../config.c:192
 msgid "Transparency for highlighting"
 msgstr "Transparence de la surbrillance"
 
-#: ../config.c:186
+#: ../config.c:194
 msgid "Render 'Loading ...'"
 msgstr "Afficher 'Chargement...'"
 
-#: ../config.c:187
+#: ../config.c:195
 msgid "Adjust to when opening file"
 msgstr "Ajuster à l'ouverture du fichier"
 
-#: ../config.c:189
+#: ../config.c:197
 msgid "Show hidden files and directories"
 msgstr "Montrer les fichiers et dossiers cachés"
 
-#: ../config.c:191
+#: ../config.c:199
 msgid "Show directories"
 msgstr "Montrer les dossiers"
 
-#: ../config.c:193
+#: ../config.c:201
 msgid "Always open on first page"
 msgstr "Toujours ouvrir à la première page"
 
-#: ../config.c:195
+#: ../config.c:203
 msgid "Highlight search results"
 msgstr "Surligner les résultats de la recherche"
 
-#: ../config.c:197
+#: ../config.c:205
 msgid "Enable incremental search"
 msgstr "Activer la recherche incrémentale"
 
-#: ../config.c:199
+#: ../config.c:207
 msgid "Clear search results on abort"
 msgstr "Effacer les résultats de recherche en cas d'annulation"
 
-#: ../config.c:201
+#: ../config.c:209
 msgid "Use basename of the file in the window title"
 msgstr "Utiliser le nom de base du fichier dans le titre de la fenêtre"
 
-#: ../config.c:203 ../main.c:60
+#: ../config.c:211
+#, fuzzy
+msgid "Use basename of the file in the statusbar"
+msgstr "Utiliser le nom de base du fichier dans le titre de la fenêtre"
+
+#: ../config.c:213 ../main.c:64
 msgid "Enable synctex support"
 msgstr "Activer la prise en charge de synctex"
 
 #. define default inputbar commands
-#: ../config.c:359
+#: ../config.c:369
 msgid "Add a bookmark"
 msgstr "Ajouter un marque-page"
 
-#: ../config.c:360
+#: ../config.c:370
 msgid "Delete a bookmark"
 msgstr "Supprimer un marque-page"
 
-#: ../config.c:361
+#: ../config.c:371
 msgid "List all bookmarks"
 msgstr "Lister tous les marque-pages"
 
-#: ../config.c:362
+#: ../config.c:372
 msgid "Close current file"
 msgstr "Fermer le fichier actuel"
 
-#: ../config.c:363
+#: ../config.c:373
 msgid "Show file information"
 msgstr "Montrer les informations sur le fichier"
 
-#: ../config.c:364
+#: ../config.c:374
 msgid "Execute a command"
 msgstr "Exécuter une commande"
 
-#: ../config.c:365
+#: ../config.c:375
 msgid "Show help"
 msgstr "Afficher l'aide"
 
-#: ../config.c:366
+#: ../config.c:376
 msgid "Open document"
 msgstr "Ouvrir un document"
 
-#: ../config.c:367
+#: ../config.c:377
 msgid "Close zathura"
 msgstr "Quitter zathura"
 
-#: ../config.c:368
+#: ../config.c:378
 msgid "Print document"
 msgstr "Imprimer le document"
 
-#: ../config.c:369
+#: ../config.c:379
 msgid "Save document"
 msgstr "Sauver le document"
 
-#: ../config.c:370
+#: ../config.c:380
 msgid "Save document (and force overwriting)"
 msgstr "Sauver le document (et forcer l'écrasement)"
 
-#: ../config.c:371
+#: ../config.c:381
 msgid "Save attachments"
 msgstr "Enregistrer les pièces jointes"
 
-#: ../config.c:372
+#: ../config.c:382
 msgid "Set page offset"
 msgstr "Définir le décalage de page"
 
-#: ../config.c:373
+#: ../config.c:383
 msgid "Mark current location within the document"
 msgstr "Marquer l'emplacement actuel dans le document"
 
-#: ../config.c:374
+#: ../config.c:384
 msgid "Delete the specified marks"
 msgstr "Supprimer les marques indiquées"
 
-#: ../config.c:375
+#: ../config.c:385
 msgid "Don't highlight current search results"
 msgstr "Ne pas surligner les résultats de la recherche en cours"
 
-#: ../config.c:376
+#: ../config.c:386
 msgid "Highlight current search results"
 msgstr "Surligner les résultats de la recherche en cours"
 
-#: ../config.c:377
+#: ../config.c:387
 msgid "Show version information"
 msgstr "Afficher les informations de version"
 
-#: ../links.c:161 ../links.c:240
+#: ../links.c:163 ../links.c:242
 msgid "Failed to run xdg-open."
 msgstr "Échec lors du lancement de xdg-open."
 
-#: ../links.c:179
+#: ../links.c:181
 #, c-format
 msgid "Link: page %d"
 msgstr "Lien : page %d"
 
-#: ../links.c:186
+#: ../links.c:188
 #, c-format
 msgid "Link: %s"
 msgstr "Lien : %s"
 
-#: ../links.c:190
+#: ../links.c:192
 msgid "Link: Invalid"
 msgstr "Lien : Invalide"
 
-#: ../main.c:52
+#: ../main.c:55
 msgid "Reparents to window specified by xid"
 msgstr "Rattacher à la fenêtre spécifiée par xid"
 
-#: ../main.c:53
+#: ../main.c:56
 msgid "Path to the config directory"
 msgstr "Chemin vers le dossier de configuration"
 
-#: ../main.c:54
+#: ../main.c:57
 msgid "Path to the data directory"
 msgstr "Chemin vers le dossier de données"
 
-#: ../main.c:55
+#: ../main.c:58
 msgid "Path to the directories containing plugins"
 msgstr "Chemin vers le dossier de plugins"
 
-#: ../main.c:56
+#: ../main.c:59
 msgid "Fork into the background"
 msgstr "Détacher en arrière-plan"
 
-#: ../main.c:57
+#: ../main.c:60
 msgid "Document password"
 msgstr "Mot de passe du document"
 
-#: ../main.c:58
+#: ../main.c:61
+msgid "Page number to go to"
+msgstr ""
+
+#: ../main.c:62
 msgid "Log level (debug, info, warning, error)"
 msgstr "Niveau de journalisation (debug, info, warning, error)"
 
-#: ../main.c:59
+#: ../main.c:63
 msgid "Print version information"
 msgstr "Afficher les informations de version"
 
-#: ../main.c:61
+#: ../main.c:65
 msgid "Synctex editor (forwarded to the synctex command)"
 msgstr "Éditeur synctex (transféré à la commande synctex)"
 
-#: ../page-widget.c:455
+#: ../page-widget.c:460
 msgid "Loading..."
 msgstr "Chargement..."
 
-#: ../page-widget.c:646
+#: ../page-widget.c:655
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr "Texte sélectionné copié dans le presse-papiers : %s"
 
-#: ../page-widget.c:744
+#: ../page-widget.c:753
 msgid "Copy image"
 msgstr "Copier l'image"
 
-#: ../page-widget.c:745
+#: ../page-widget.c:754
 msgid "Save image as"
 msgstr "Enregistrer l'image sous"
 
-#: ../shortcuts.c:956
+#: ../shortcuts.c:962
 msgid "This document does not contain any index"
 msgstr "Ce document ne contient pas d'index"
 
-#: ../zathura.c:193 ../zathura.c:865
+#: ../zathura.c:194 ../zathura.c:901
 msgid "[No name]"
 msgstr "[Sans nom]"
+
+#: ../zathura.c:538
+#, fuzzy
+msgid "Document does not contain any pages"
+msgstr "Ce document ne contient pas d'index"
diff --git a/po/he.po b/po/he.po
index 5692429..fb94668 100644
--- a/po/he.po
+++ b/po/he.po
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-01-22 21:33+0100\n"
+"POT-Creation-Date: 2013-03-17 10:22+0000\n"
 "PO-Revision-Date: 2013-01-13 14:12+0000\n"
 "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
 "Language-Team: Hebrew (http://www.transifex.com/projects/p/zathura/language/"
@@ -28,13 +28,13 @@ msgid "Invalid index '%s' given."
 msgstr ""
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
-#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:408
-#: ../commands.c:529 ../shortcuts.c:475 ../shortcuts.c:1053
-#: ../shortcuts.c:1082
+#: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
+#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
+#: ../shortcuts.c:1088
 msgid "No document opened."
 msgstr ""
 
-#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:413
+#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:415
 msgid "Invalid number of arguments given."
 msgstr ""
 
@@ -76,53 +76,53 @@ msgstr ""
 msgid "Too many arguments."
 msgstr ""
 
-#: ../commands.c:230
+#: ../commands.c:232
 msgid "No arguments given."
 msgstr ""
 
-#: ../commands.c:289 ../commands.c:315
+#: ../commands.c:291 ../commands.c:317
 msgid "Document saved."
 msgstr ""
 
-#: ../commands.c:291 ../commands.c:317
+#: ../commands.c:293 ../commands.c:319
 msgid "Failed to save document."
 msgstr ""
 
-#: ../commands.c:294 ../commands.c:320
+#: ../commands.c:296 ../commands.c:322
 msgid "Invalid number of arguments."
 msgstr ""
 
-#: ../commands.c:432
-#, c-format
-msgid "Couldn't write attachment '%s' to '%s'."
-msgstr ""
-
 #: ../commands.c:434
 #, c-format
-msgid "Wrote attachment '%s' to '%s'."
+msgid "Couldn't write attachment '%s' to '%s'."
 msgstr ""
 
-#: ../commands.c:478
+#: ../commands.c:436
 #, c-format
-msgid "Wrote image '%s' to '%s'."
+msgid "Wrote attachment '%s' to '%s'."
 msgstr ""
 
 #: ../commands.c:480
 #, c-format
+msgid "Wrote image '%s' to '%s'."
+msgstr ""
+
+#: ../commands.c:482
+#, c-format
 msgid "Couldn't write image '%s' to '%s'."
 msgstr ""
 
-#: ../commands.c:487
+#: ../commands.c:489
 #, c-format
 msgid "Unknown image '%s'."
 msgstr ""
 
-#: ../commands.c:491
+#: ../commands.c:493
 #, c-format
 msgid "Unknown attachment or image '%s'."
 msgstr ""
 
-#: ../commands.c:542
+#: ../commands.c:544
 msgid "Argument must be a number."
 msgstr ""
 
@@ -141,298 +141,318 @@ msgid "Images"
 msgstr ""
 
 #. zathura settings
-#: ../config.c:135
+#: ../config.c:139
 msgid "Database backend"
 msgstr ""
 
-#: ../config.c:137
+#: ../config.c:141
 msgid "Zoom step"
 msgstr ""
 
-#: ../config.c:139
+#: ../config.c:143
 msgid "Padding between pages"
 msgstr ""
 
-#: ../config.c:141
+#: ../config.c:145
 msgid "Number of pages per row"
 msgstr ""
 
-#: ../config.c:143
+#: ../config.c:147
 msgid "Column of the first page"
 msgstr ""
 
-#: ../config.c:145
+#: ../config.c:149
 msgid "Scroll step"
 msgstr ""
 
-#: ../config.c:147
+#: ../config.c:151
 msgid "Horizontal scroll step"
 msgstr ""
 
-#: ../config.c:149
+#: ../config.c:153
 msgid "Full page scroll overlap"
 msgstr ""
 
-#: ../config.c:151
+#: ../config.c:155
 msgid "Zoom minimum"
 msgstr ""
 
-#: ../config.c:153
+#: ../config.c:157
 msgid "Zoom maximum"
 msgstr ""
 
-#: ../config.c:155
+#: ../config.c:159
 msgid "Life time (in seconds) of a hidden page"
 msgstr ""
 
-#: ../config.c:156
+#: ../config.c:160
 msgid "Amount of seconds between each cache purge"
 msgstr ""
 
-#: ../config.c:158
+#: ../config.c:162
 msgid "Number of positions to remember in the jumplist"
 msgstr ""
 
-#: ../config.c:160
+#: ../config.c:164
 msgid "Recoloring (dark color)"
 msgstr ""
 
-#: ../config.c:162
+#: ../config.c:166
 msgid "Recoloring (light color)"
 msgstr ""
 
-#: ../config.c:164
+#: ../config.c:168
 msgid "Color for highlighting"
 msgstr ""
 
-#: ../config.c:166
+#: ../config.c:170
 msgid "Color for highlighting (active)"
 msgstr ""
 
-#: ../config.c:170
-msgid "Recolor pages"
-msgstr ""
-
 #: ../config.c:172
-msgid "When recoloring keep original hue and adjust lightness only"
+msgid "'Loading ...' background color"
 msgstr ""
 
 #: ../config.c:174
-msgid "Wrap scrolling"
-msgstr ""
-
-#: ../config.c:176
-msgid "Page aware scrolling"
+msgid "'Loading ...' foreground color"
 msgstr ""
 
 #: ../config.c:178
-msgid "Advance number of pages per row"
+msgid "Recolor pages"
 msgstr ""
 
 #: ../config.c:180
-msgid "Horizontally centered zoom"
+msgid "When recoloring keep original hue and adjust lightness only"
 msgstr ""
 
 #: ../config.c:182
-msgid "Center result horizontally"
+msgid "Wrap scrolling"
 msgstr ""
 
 #: ../config.c:184
-msgid "Transparency for highlighting"
+msgid "Page aware scrolling"
 msgstr ""
 
 #: ../config.c:186
+msgid "Advance number of pages per row"
+msgstr ""
+
+#: ../config.c:188
+msgid "Horizontally centered zoom"
+msgstr ""
+
+#: ../config.c:190
+msgid "Center result horizontally"
+msgstr ""
+
+#: ../config.c:192
+msgid "Transparency for highlighting"
+msgstr ""
+
+#: ../config.c:194
 msgid "Render 'Loading ...'"
 msgstr ""
 
-#: ../config.c:187
+#: ../config.c:195
 msgid "Adjust to when opening file"
 msgstr ""
 
-#: ../config.c:189
+#: ../config.c:197
 msgid "Show hidden files and directories"
 msgstr ""
 
-#: ../config.c:191
+#: ../config.c:199
 msgid "Show directories"
 msgstr ""
 
-#: ../config.c:193
+#: ../config.c:201
 msgid "Always open on first page"
 msgstr ""
 
-#: ../config.c:195
+#: ../config.c:203
 msgid "Highlight search results"
 msgstr ""
 
-#: ../config.c:197
+#: ../config.c:205
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:199
+#: ../config.c:207
 msgid "Clear search results on abort"
 msgstr ""
 
-#: ../config.c:201
+#: ../config.c:209
 msgid "Use basename of the file in the window title"
 msgstr ""
 
-#: ../config.c:203 ../main.c:60
+#: ../config.c:211
+msgid "Use basename of the file in the statusbar"
+msgstr ""
+
+#: ../config.c:213 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:359
+#: ../config.c:369
 msgid "Add a bookmark"
 msgstr ""
 
-#: ../config.c:360
+#: ../config.c:370
 msgid "Delete a bookmark"
 msgstr ""
 
-#: ../config.c:361
+#: ../config.c:371
 msgid "List all bookmarks"
 msgstr ""
 
-#: ../config.c:362
+#: ../config.c:372
 msgid "Close current file"
 msgstr ""
 
-#: ../config.c:363
+#: ../config.c:373
 msgid "Show file information"
 msgstr ""
 
-#: ../config.c:364
+#: ../config.c:374
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:365
+#: ../config.c:375
 msgid "Show help"
 msgstr ""
 
-#: ../config.c:366
+#: ../config.c:376
 msgid "Open document"
 msgstr ""
 
-#: ../config.c:367
+#: ../config.c:377
 msgid "Close zathura"
 msgstr ""
 
-#: ../config.c:368
+#: ../config.c:378
 msgid "Print document"
 msgstr ""
 
-#: ../config.c:369
+#: ../config.c:379
 msgid "Save document"
 msgstr ""
 
-#: ../config.c:370
+#: ../config.c:380
 msgid "Save document (and force overwriting)"
 msgstr ""
 
-#: ../config.c:371
+#: ../config.c:381
 msgid "Save attachments"
 msgstr ""
 
-#: ../config.c:372
+#: ../config.c:382
 msgid "Set page offset"
 msgstr ""
 
-#: ../config.c:373
+#: ../config.c:383
 msgid "Mark current location within the document"
 msgstr ""
 
-#: ../config.c:374
+#: ../config.c:384
 msgid "Delete the specified marks"
 msgstr ""
 
-#: ../config.c:375
+#: ../config.c:385
 msgid "Don't highlight current search results"
 msgstr ""
 
-#: ../config.c:376
+#: ../config.c:386
 msgid "Highlight current search results"
 msgstr ""
 
-#: ../config.c:377
+#: ../config.c:387
 msgid "Show version information"
 msgstr ""
 
-#: ../links.c:161 ../links.c:240
+#: ../links.c:163 ../links.c:242
 msgid "Failed to run xdg-open."
 msgstr ""
 
-#: ../links.c:179
+#: ../links.c:181
 #, c-format
 msgid "Link: page %d"
 msgstr ""
 
-#: ../links.c:186
+#: ../links.c:188
 #, c-format
 msgid "Link: %s"
 msgstr ""
 
-#: ../links.c:190
+#: ../links.c:192
 msgid "Link: Invalid"
 msgstr ""
 
-#: ../main.c:52
+#: ../main.c:55
 msgid "Reparents to window specified by xid"
 msgstr ""
 
-#: ../main.c:53
+#: ../main.c:56
 msgid "Path to the config directory"
 msgstr ""
 
-#: ../main.c:54
+#: ../main.c:57
 msgid "Path to the data directory"
 msgstr ""
 
-#: ../main.c:55
+#: ../main.c:58
 msgid "Path to the directories containing plugins"
 msgstr ""
 
-#: ../main.c:56
+#: ../main.c:59
 msgid "Fork into the background"
 msgstr ""
 
-#: ../main.c:57
+#: ../main.c:60
 msgid "Document password"
 msgstr ""
 
-#: ../main.c:58
+#: ../main.c:61
+msgid "Page number to go to"
+msgstr ""
+
+#: ../main.c:62
 msgid "Log level (debug, info, warning, error)"
 msgstr ""
 
-#: ../main.c:59
+#: ../main.c:63
 msgid "Print version information"
 msgstr ""
 
-#: ../main.c:61
+#: ../main.c:65
 msgid "Synctex editor (forwarded to the synctex command)"
 msgstr ""
 
-#: ../page-widget.c:455
+#: ../page-widget.c:460
 msgid "Loading..."
 msgstr ""
 
-#: ../page-widget.c:646
+#: ../page-widget.c:655
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr ""
 
-#: ../page-widget.c:744
+#: ../page-widget.c:753
 msgid "Copy image"
 msgstr ""
 
-#: ../page-widget.c:745
+#: ../page-widget.c:754
 msgid "Save image as"
 msgstr ""
 
-#: ../shortcuts.c:956
+#: ../shortcuts.c:962
 msgid "This document does not contain any index"
 msgstr ""
 
-#: ../zathura.c:193 ../zathura.c:865
+#: ../zathura.c:194 ../zathura.c:901
 msgid "[No name]"
 msgstr ""
+
+#: ../zathura.c:538
+msgid "Document does not contain any pages"
+msgstr ""
diff --git a/po/hr.po b/po/hr.po
index b118108..3a0dd27 100644
--- a/po/hr.po
+++ b/po/hr.po
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-01-22 21:33+0100\n"
+"POT-Creation-Date: 2013-03-17 10:22+0000\n"
 "PO-Revision-Date: 2013-01-13 14:12+0000\n"
 "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
 "Language-Team: Croatian (http://www.transifex.com/projects/p/zathura/"
@@ -29,13 +29,13 @@ msgid "Invalid index '%s' given."
 msgstr ""
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
-#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:408
-#: ../commands.c:529 ../shortcuts.c:475 ../shortcuts.c:1053
-#: ../shortcuts.c:1082
+#: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
+#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
+#: ../shortcuts.c:1088
 msgid "No document opened."
 msgstr ""
 
-#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:413
+#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:415
 msgid "Invalid number of arguments given."
 msgstr ""
 
@@ -77,53 +77,53 @@ msgstr ""
 msgid "Too many arguments."
 msgstr ""
 
-#: ../commands.c:230
+#: ../commands.c:232
 msgid "No arguments given."
 msgstr ""
 
-#: ../commands.c:289 ../commands.c:315
+#: ../commands.c:291 ../commands.c:317
 msgid "Document saved."
 msgstr ""
 
-#: ../commands.c:291 ../commands.c:317
+#: ../commands.c:293 ../commands.c:319
 msgid "Failed to save document."
 msgstr ""
 
-#: ../commands.c:294 ../commands.c:320
+#: ../commands.c:296 ../commands.c:322
 msgid "Invalid number of arguments."
 msgstr ""
 
-#: ../commands.c:432
-#, c-format
-msgid "Couldn't write attachment '%s' to '%s'."
-msgstr ""
-
 #: ../commands.c:434
 #, c-format
-msgid "Wrote attachment '%s' to '%s'."
+msgid "Couldn't write attachment '%s' to '%s'."
 msgstr ""
 
-#: ../commands.c:478
+#: ../commands.c:436
 #, c-format
-msgid "Wrote image '%s' to '%s'."
+msgid "Wrote attachment '%s' to '%s'."
 msgstr ""
 
 #: ../commands.c:480
 #, c-format
+msgid "Wrote image '%s' to '%s'."
+msgstr ""
+
+#: ../commands.c:482
+#, c-format
 msgid "Couldn't write image '%s' to '%s'."
 msgstr ""
 
-#: ../commands.c:487
+#: ../commands.c:489
 #, c-format
 msgid "Unknown image '%s'."
 msgstr ""
 
-#: ../commands.c:491
+#: ../commands.c:493
 #, c-format
 msgid "Unknown attachment or image '%s'."
 msgstr ""
 
-#: ../commands.c:542
+#: ../commands.c:544
 msgid "Argument must be a number."
 msgstr ""
 
@@ -142,298 +142,318 @@ msgid "Images"
 msgstr ""
 
 #. zathura settings
-#: ../config.c:135
+#: ../config.c:139
 msgid "Database backend"
 msgstr ""
 
-#: ../config.c:137
+#: ../config.c:141
 msgid "Zoom step"
 msgstr ""
 
-#: ../config.c:139
+#: ../config.c:143
 msgid "Padding between pages"
 msgstr ""
 
-#: ../config.c:141
+#: ../config.c:145
 msgid "Number of pages per row"
 msgstr ""
 
-#: ../config.c:143
+#: ../config.c:147
 msgid "Column of the first page"
 msgstr ""
 
-#: ../config.c:145
+#: ../config.c:149
 msgid "Scroll step"
 msgstr ""
 
-#: ../config.c:147
+#: ../config.c:151
 msgid "Horizontal scroll step"
 msgstr ""
 
-#: ../config.c:149
+#: ../config.c:153
 msgid "Full page scroll overlap"
 msgstr ""
 
-#: ../config.c:151
+#: ../config.c:155
 msgid "Zoom minimum"
 msgstr ""
 
-#: ../config.c:153
+#: ../config.c:157
 msgid "Zoom maximum"
 msgstr ""
 
-#: ../config.c:155
+#: ../config.c:159
 msgid "Life time (in seconds) of a hidden page"
 msgstr ""
 
-#: ../config.c:156
+#: ../config.c:160
 msgid "Amount of seconds between each cache purge"
 msgstr ""
 
-#: ../config.c:158
+#: ../config.c:162
 msgid "Number of positions to remember in the jumplist"
 msgstr ""
 
-#: ../config.c:160
+#: ../config.c:164
 msgid "Recoloring (dark color)"
 msgstr ""
 
-#: ../config.c:162
+#: ../config.c:166
 msgid "Recoloring (light color)"
 msgstr ""
 
-#: ../config.c:164
+#: ../config.c:168
 msgid "Color for highlighting"
 msgstr ""
 
-#: ../config.c:166
+#: ../config.c:170
 msgid "Color for highlighting (active)"
 msgstr ""
 
-#: ../config.c:170
-msgid "Recolor pages"
-msgstr ""
-
 #: ../config.c:172
-msgid "When recoloring keep original hue and adjust lightness only"
+msgid "'Loading ...' background color"
 msgstr ""
 
 #: ../config.c:174
-msgid "Wrap scrolling"
-msgstr ""
-
-#: ../config.c:176
-msgid "Page aware scrolling"
+msgid "'Loading ...' foreground color"
 msgstr ""
 
 #: ../config.c:178
-msgid "Advance number of pages per row"
+msgid "Recolor pages"
 msgstr ""
 
 #: ../config.c:180
-msgid "Horizontally centered zoom"
+msgid "When recoloring keep original hue and adjust lightness only"
 msgstr ""
 
 #: ../config.c:182
-msgid "Center result horizontally"
+msgid "Wrap scrolling"
 msgstr ""
 
 #: ../config.c:184
-msgid "Transparency for highlighting"
+msgid "Page aware scrolling"
 msgstr ""
 
 #: ../config.c:186
+msgid "Advance number of pages per row"
+msgstr ""
+
+#: ../config.c:188
+msgid "Horizontally centered zoom"
+msgstr ""
+
+#: ../config.c:190
+msgid "Center result horizontally"
+msgstr ""
+
+#: ../config.c:192
+msgid "Transparency for highlighting"
+msgstr ""
+
+#: ../config.c:194
 msgid "Render 'Loading ...'"
 msgstr ""
 
-#: ../config.c:187
+#: ../config.c:195
 msgid "Adjust to when opening file"
 msgstr ""
 
-#: ../config.c:189
+#: ../config.c:197
 msgid "Show hidden files and directories"
 msgstr ""
 
-#: ../config.c:191
+#: ../config.c:199
 msgid "Show directories"
 msgstr ""
 
-#: ../config.c:193
+#: ../config.c:201
 msgid "Always open on first page"
 msgstr ""
 
-#: ../config.c:195
+#: ../config.c:203
 msgid "Highlight search results"
 msgstr ""
 
-#: ../config.c:197
+#: ../config.c:205
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:199
+#: ../config.c:207
 msgid "Clear search results on abort"
 msgstr ""
 
-#: ../config.c:201
+#: ../config.c:209
 msgid "Use basename of the file in the window title"
 msgstr ""
 
-#: ../config.c:203 ../main.c:60
+#: ../config.c:211
+msgid "Use basename of the file in the statusbar"
+msgstr ""
+
+#: ../config.c:213 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:359
+#: ../config.c:369
 msgid "Add a bookmark"
 msgstr ""
 
-#: ../config.c:360
+#: ../config.c:370
 msgid "Delete a bookmark"
 msgstr ""
 
-#: ../config.c:361
+#: ../config.c:371
 msgid "List all bookmarks"
 msgstr ""
 
-#: ../config.c:362
+#: ../config.c:372
 msgid "Close current file"
 msgstr ""
 
-#: ../config.c:363
+#: ../config.c:373
 msgid "Show file information"
 msgstr ""
 
-#: ../config.c:364
+#: ../config.c:374
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:365
+#: ../config.c:375
 msgid "Show help"
 msgstr ""
 
-#: ../config.c:366
+#: ../config.c:376
 msgid "Open document"
 msgstr ""
 
-#: ../config.c:367
+#: ../config.c:377
 msgid "Close zathura"
 msgstr ""
 
-#: ../config.c:368
+#: ../config.c:378
 msgid "Print document"
 msgstr ""
 
-#: ../config.c:369
+#: ../config.c:379
 msgid "Save document"
 msgstr ""
 
-#: ../config.c:370
+#: ../config.c:380
 msgid "Save document (and force overwriting)"
 msgstr ""
 
-#: ../config.c:371
+#: ../config.c:381
 msgid "Save attachments"
 msgstr ""
 
-#: ../config.c:372
+#: ../config.c:382
 msgid "Set page offset"
 msgstr ""
 
-#: ../config.c:373
+#: ../config.c:383
 msgid "Mark current location within the document"
 msgstr ""
 
-#: ../config.c:374
+#: ../config.c:384
 msgid "Delete the specified marks"
 msgstr ""
 
-#: ../config.c:375
+#: ../config.c:385
 msgid "Don't highlight current search results"
 msgstr ""
 
-#: ../config.c:376
+#: ../config.c:386
 msgid "Highlight current search results"
 msgstr ""
 
-#: ../config.c:377
+#: ../config.c:387
 msgid "Show version information"
 msgstr ""
 
-#: ../links.c:161 ../links.c:240
+#: ../links.c:163 ../links.c:242
 msgid "Failed to run xdg-open."
 msgstr ""
 
-#: ../links.c:179
+#: ../links.c:181
 #, c-format
 msgid "Link: page %d"
 msgstr ""
 
-#: ../links.c:186
+#: ../links.c:188
 #, c-format
 msgid "Link: %s"
 msgstr ""
 
-#: ../links.c:190
+#: ../links.c:192
 msgid "Link: Invalid"
 msgstr ""
 
-#: ../main.c:52
+#: ../main.c:55
 msgid "Reparents to window specified by xid"
 msgstr ""
 
-#: ../main.c:53
+#: ../main.c:56
 msgid "Path to the config directory"
 msgstr ""
 
-#: ../main.c:54
+#: ../main.c:57
 msgid "Path to the data directory"
 msgstr ""
 
-#: ../main.c:55
+#: ../main.c:58
 msgid "Path to the directories containing plugins"
 msgstr ""
 
-#: ../main.c:56
+#: ../main.c:59
 msgid "Fork into the background"
 msgstr ""
 
-#: ../main.c:57
+#: ../main.c:60
 msgid "Document password"
 msgstr ""
 
-#: ../main.c:58
+#: ../main.c:61
+msgid "Page number to go to"
+msgstr ""
+
+#: ../main.c:62
 msgid "Log level (debug, info, warning, error)"
 msgstr ""
 
-#: ../main.c:59
+#: ../main.c:63
 msgid "Print version information"
 msgstr ""
 
-#: ../main.c:61
+#: ../main.c:65
 msgid "Synctex editor (forwarded to the synctex command)"
 msgstr ""
 
-#: ../page-widget.c:455
+#: ../page-widget.c:460
 msgid "Loading..."
 msgstr ""
 
-#: ../page-widget.c:646
+#: ../page-widget.c:655
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr ""
 
-#: ../page-widget.c:744
+#: ../page-widget.c:753
 msgid "Copy image"
 msgstr ""
 
-#: ../page-widget.c:745
+#: ../page-widget.c:754
 msgid "Save image as"
 msgstr ""
 
-#: ../shortcuts.c:956
+#: ../shortcuts.c:962
 msgid "This document does not contain any index"
 msgstr ""
 
-#: ../zathura.c:193 ../zathura.c:865
+#: ../zathura.c:194 ../zathura.c:901
 msgid "[No name]"
 msgstr ""
+
+#: ../zathura.c:538
+msgid "Document does not contain any pages"
+msgstr ""
diff --git a/po/it.po b/po/it.po
index 49f5a58..395607f 100644
--- a/po/it.po
+++ b/po/it.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-01-22 21:33+0100\n"
+"POT-Creation-Date: 2013-03-17 10:22+0000\n"
 "PO-Revision-Date: 2013-01-13 14:12+0000\n"
 "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
 "Language-Team: Italian (http://www.transifex.com/projects/p/zathura/language/"
@@ -29,13 +29,13 @@ msgid "Invalid index '%s' given."
 msgstr "Indice inserito '%s' non valido."
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
-#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:408
-#: ../commands.c:529 ../shortcuts.c:475 ../shortcuts.c:1053
-#: ../shortcuts.c:1082
+#: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
+#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
+#: ../shortcuts.c:1088
 msgid "No document opened."
 msgstr "Nessun documento aperto."
 
-#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:413
+#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:415
 msgid "Invalid number of arguments given."
 msgstr "Numero di argomenti errato."
 
@@ -77,53 +77,53 @@ msgstr "Nessun' informazione disponibile."
 msgid "Too many arguments."
 msgstr "Numero di argomenti eccessivo."
 
-#: ../commands.c:230
+#: ../commands.c:232
 msgid "No arguments given."
 msgstr "Nessun argomento specificato."
 
-#: ../commands.c:289 ../commands.c:315
+#: ../commands.c:291 ../commands.c:317
 msgid "Document saved."
 msgstr "Documento salvato."
 
-#: ../commands.c:291 ../commands.c:317
+#: ../commands.c:293 ../commands.c:319
 msgid "Failed to save document."
 msgstr "Impossibile salvare il documento."
 
-#: ../commands.c:294 ../commands.c:320
+#: ../commands.c:296 ../commands.c:322
 msgid "Invalid number of arguments."
 msgstr "Numero di argomenti non valido."
 
-#: ../commands.c:432
+#: ../commands.c:434
 #, c-format
 msgid "Couldn't write attachment '%s' to '%s'."
 msgstr "Impossibile salvare l' allegato '%s' in '%s'"
 
-#: ../commands.c:434
+#: ../commands.c:436
 #, c-format
 msgid "Wrote attachment '%s' to '%s'."
 msgstr "Allegato '%s' salvato in '%s'"
 
-#: ../commands.c:478
+#: ../commands.c:480
 #, c-format
 msgid "Wrote image '%s' to '%s'."
 msgstr ""
 
-#: ../commands.c:480
+#: ../commands.c:482
 #, c-format
 msgid "Couldn't write image '%s' to '%s'."
 msgstr ""
 
-#: ../commands.c:487
+#: ../commands.c:489
 #, c-format
 msgid "Unknown image '%s'."
 msgstr ""
 
-#: ../commands.c:491
+#: ../commands.c:493
 #, c-format
 msgid "Unknown attachment or image '%s'."
 msgstr ""
 
-#: ../commands.c:542
+#: ../commands.c:544
 msgid "Argument must be a number."
 msgstr "L' argomento dev' essere un numero."
 
@@ -142,298 +142,319 @@ msgid "Images"
 msgstr ""
 
 #. zathura settings
-#: ../config.c:135
+#: ../config.c:139
 msgid "Database backend"
 msgstr "Backend del database"
 
-#: ../config.c:137
+#: ../config.c:141
 msgid "Zoom step"
 msgstr ""
 
-#: ../config.c:139
+#: ../config.c:143
 msgid "Padding between pages"
 msgstr "Spaziatura tra le pagine"
 
-#: ../config.c:141
+#: ../config.c:145
 msgid "Number of pages per row"
 msgstr "Numero di pagine per riga"
 
-#: ../config.c:143
+#: ../config.c:147
 msgid "Column of the first page"
 msgstr ""
 
-#: ../config.c:145
+#: ../config.c:149
 msgid "Scroll step"
 msgstr ""
 
-#: ../config.c:147
+#: ../config.c:151
 msgid "Horizontal scroll step"
 msgstr ""
 
-#: ../config.c:149
+#: ../config.c:153
 msgid "Full page scroll overlap"
 msgstr ""
 
-#: ../config.c:151
+#: ../config.c:155
 msgid "Zoom minimum"
 msgstr "Zoom minimo"
 
-#: ../config.c:153
+#: ../config.c:157
 msgid "Zoom maximum"
 msgstr "Zoom massimo"
 
-#: ../config.c:155
+#: ../config.c:159
 msgid "Life time (in seconds) of a hidden page"
 msgstr "Durata (in secondi) di una pagina nascosta"
 
-#: ../config.c:156
+#: ../config.c:160
 msgid "Amount of seconds between each cache purge"
 msgstr "Tempo in secondi tra le invalidazioni della cache"
 
-#: ../config.c:158
+#: ../config.c:162
 msgid "Number of positions to remember in the jumplist"
 msgstr ""
 
-#: ../config.c:160
+#: ../config.c:164
 msgid "Recoloring (dark color)"
 msgstr ""
 
-#: ../config.c:162
+#: ../config.c:166
 msgid "Recoloring (light color)"
 msgstr ""
 
-#: ../config.c:164
+#: ../config.c:168
 msgid "Color for highlighting"
 msgstr ""
 
-#: ../config.c:166
+#: ../config.c:170
 msgid "Color for highlighting (active)"
 msgstr ""
 
-#: ../config.c:170
-msgid "Recolor pages"
-msgstr "Ricolora le pagine"
-
 #: ../config.c:172
-msgid "When recoloring keep original hue and adjust lightness only"
+msgid "'Loading ...' background color"
 msgstr ""
 
 #: ../config.c:174
-msgid "Wrap scrolling"
-msgstr "Scrolling continuo"
-
-#: ../config.c:176
-msgid "Page aware scrolling"
+msgid "'Loading ...' foreground color"
 msgstr ""
 
 #: ../config.c:178
-msgid "Advance number of pages per row"
-msgstr ""
+msgid "Recolor pages"
+msgstr "Ricolora le pagine"
 
 #: ../config.c:180
-msgid "Horizontally centered zoom"
+msgid "When recoloring keep original hue and adjust lightness only"
 msgstr ""
 
 #: ../config.c:182
-msgid "Center result horizontally"
-msgstr ""
+msgid "Wrap scrolling"
+msgstr "Scrolling continuo"
 
 #: ../config.c:184
-msgid "Transparency for highlighting"
+msgid "Page aware scrolling"
 msgstr ""
 
 #: ../config.c:186
+msgid "Advance number of pages per row"
+msgstr ""
+
+#: ../config.c:188
+msgid "Horizontally centered zoom"
+msgstr ""
+
+#: ../config.c:190
+msgid "Center result horizontally"
+msgstr ""
+
+#: ../config.c:192
+msgid "Transparency for highlighting"
+msgstr ""
+
+#: ../config.c:194
 msgid "Render 'Loading ...'"
 msgstr ""
 
-#: ../config.c:187
+#: ../config.c:195
 msgid "Adjust to when opening file"
 msgstr ""
 
-#: ../config.c:189
+#: ../config.c:197
 msgid "Show hidden files and directories"
 msgstr "Mostra file e cartelle nascosti"
 
-#: ../config.c:191
+#: ../config.c:199
 msgid "Show directories"
 msgstr "Mostra cartelle"
 
-#: ../config.c:193
+#: ../config.c:201
 msgid "Always open on first page"
 msgstr "Apri sempre alla prima pagina"
 
-#: ../config.c:195
+#: ../config.c:203
 msgid "Highlight search results"
 msgstr ""
 
-#: ../config.c:197
+#: ../config.c:205
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:199
+#: ../config.c:207
 msgid "Clear search results on abort"
 msgstr ""
 
-#: ../config.c:201
+#: ../config.c:209
 msgid "Use basename of the file in the window title"
 msgstr ""
 
-#: ../config.c:203 ../main.c:60
+#: ../config.c:211
+msgid "Use basename of the file in the statusbar"
+msgstr ""
+
+#: ../config.c:213 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:359
+#: ../config.c:369
 msgid "Add a bookmark"
 msgstr "Aggiungi un segnalibro"
 
-#: ../config.c:360
+#: ../config.c:370
 msgid "Delete a bookmark"
 msgstr "Elimina un segnalibro"
 
-#: ../config.c:361
+#: ../config.c:371
 msgid "List all bookmarks"
 msgstr "Mostra i segnalibri"
 
-#: ../config.c:362
+#: ../config.c:372
 msgid "Close current file"
 msgstr "Chiudi il file corrente"
 
-#: ../config.c:363
+#: ../config.c:373
 msgid "Show file information"
 msgstr "Mostra le informazioni sul file"
 
-#: ../config.c:364
+#: ../config.c:374
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:365
+#: ../config.c:375
 msgid "Show help"
 msgstr "Mostra l' aiuto"
 
-#: ../config.c:366
+#: ../config.c:376
 msgid "Open document"
 msgstr "Apri un documento"
 
-#: ../config.c:367
+#: ../config.c:377
 msgid "Close zathura"
 msgstr "Chiudi zathura"
 
-#: ../config.c:368
+#: ../config.c:378
 msgid "Print document"
 msgstr "Stampa il documento"
 
-#: ../config.c:369
+#: ../config.c:379
 msgid "Save document"
 msgstr "Salva il documento"
 
-#: ../config.c:370
+#: ../config.c:380
 msgid "Save document (and force overwriting)"
 msgstr "Salva il documento (e sovrascrivi)"
 
-#: ../config.c:371
+#: ../config.c:381
 msgid "Save attachments"
 msgstr "Salva allegati"
 
-#: ../config.c:372
+#: ../config.c:382
 msgid "Set page offset"
 msgstr "Imposta l' offset della pagina"
 
-#: ../config.c:373
+#: ../config.c:383
 msgid "Mark current location within the document"
 msgstr ""
 
-#: ../config.c:374
+#: ../config.c:384
 msgid "Delete the specified marks"
 msgstr ""
 
-#: ../config.c:375
+#: ../config.c:385
 msgid "Don't highlight current search results"
 msgstr ""
 
-#: ../config.c:376
+#: ../config.c:386
 msgid "Highlight current search results"
 msgstr ""
 
-#: ../config.c:377
+#: ../config.c:387
 msgid "Show version information"
 msgstr ""
 
-#: ../links.c:161 ../links.c:240
+#: ../links.c:163 ../links.c:242
 msgid "Failed to run xdg-open."
 msgstr "Impossibile eseguire xdg-open."
 
-#: ../links.c:179
+#: ../links.c:181
 #, c-format
 msgid "Link: page %d"
 msgstr ""
 
-#: ../links.c:186
+#: ../links.c:188
 #, c-format
 msgid "Link: %s"
 msgstr ""
 
-#: ../links.c:190
+#: ../links.c:192
 msgid "Link: Invalid"
 msgstr ""
 
-#: ../main.c:52
+#: ../main.c:55
 msgid "Reparents to window specified by xid"
 msgstr ""
 
-#: ../main.c:53
+#: ../main.c:56
 msgid "Path to the config directory"
 msgstr "Percorso della directory della configurazione"
 
-#: ../main.c:54
+#: ../main.c:57
 msgid "Path to the data directory"
 msgstr "Percorso della directory dei dati"
 
-#: ../main.c:55
+#: ../main.c:58
 msgid "Path to the directories containing plugins"
 msgstr "Percorso della directory contenente i plugin"
 
-#: ../main.c:56
+#: ../main.c:59
 msgid "Fork into the background"
 msgstr "Crea un processo separato"
 
-#: ../main.c:57
+#: ../main.c:60
 msgid "Document password"
 msgstr ""
 
-#: ../main.c:58
+#: ../main.c:61
+msgid "Page number to go to"
+msgstr ""
+
+#: ../main.c:62
 msgid "Log level (debug, info, warning, error)"
 msgstr "Livello di log (debug, info, warning, error)"
 
-#: ../main.c:59
+#: ../main.c:63
 msgid "Print version information"
 msgstr "Mostra le informazioni sul file"
 
-#: ../main.c:61
+#: ../main.c:65
 msgid "Synctex editor (forwarded to the synctex command)"
 msgstr ""
 
-#: ../page-widget.c:455
+#: ../page-widget.c:460
 msgid "Loading..."
 msgstr ""
 
-#: ../page-widget.c:646
+#: ../page-widget.c:655
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr "La selezione è stato copiata negli appunti:%s"
 
-#: ../page-widget.c:744
+#: ../page-widget.c:753
 msgid "Copy image"
 msgstr "Copia immagine"
 
-#: ../page-widget.c:745
+#: ../page-widget.c:754
 msgid "Save image as"
 msgstr ""
 
-#: ../shortcuts.c:956
+#: ../shortcuts.c:962
 msgid "This document does not contain any index"
 msgstr "Questo documento non contiene l' indice"
 
-#: ../zathura.c:193 ../zathura.c:865
+#: ../zathura.c:194 ../zathura.c:901
 msgid "[No name]"
 msgstr "[Nessun nome]"
+
+#: ../zathura.c:538
+#, fuzzy
+msgid "Document does not contain any pages"
+msgstr "Questo documento non contiene l' indice"
diff --git a/po/pl.po b/po/pl.po
index 5759dd4..fc05b15 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-01-22 21:33+0100\n"
+"POT-Creation-Date: 2013-03-17 10:22+0000\n"
 "PO-Revision-Date: 2012-04-03 16:07+0000\n"
 "Last-Translator: p <poczciwiec@gmail.com>\n"
 "Language-Team: Polish (http://www.transifex.net/projects/p/zathura/language/"
@@ -30,13 +30,13 @@ msgid "Invalid index '%s' given."
 msgstr "Nieprawidłowy indeks: %s"
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
-#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:408
-#: ../commands.c:529 ../shortcuts.c:475 ../shortcuts.c:1053
-#: ../shortcuts.c:1082
+#: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
+#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
+#: ../shortcuts.c:1088
 msgid "No document opened."
 msgstr "Nie otwarto żadnego pliku"
 
-#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:413
+#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:415
 msgid "Invalid number of arguments given."
 msgstr "Nieprawidłowa liczba parametrów polecenia"
 
@@ -78,53 +78,53 @@ msgstr "Brak informacji o pliku"
 msgid "Too many arguments."
 msgstr "Za dużo parametrów polecenia"
 
-#: ../commands.c:230
+#: ../commands.c:232
 msgid "No arguments given."
 msgstr "Nie podano parametrów polecenia"
 
-#: ../commands.c:289 ../commands.c:315
+#: ../commands.c:291 ../commands.c:317
 msgid "Document saved."
 msgstr "Zapisano dokument"
 
-#: ../commands.c:291 ../commands.c:317
+#: ../commands.c:293 ../commands.c:319
 msgid "Failed to save document."
 msgstr "Błąd zapisu"
 
-#: ../commands.c:294 ../commands.c:320
+#: ../commands.c:296 ../commands.c:322
 msgid "Invalid number of arguments."
 msgstr "Niewłaściwa liczba parametrów polecenia"
 
-#: ../commands.c:432
+#: ../commands.c:434
 #, c-format
 msgid "Couldn't write attachment '%s' to '%s'."
 msgstr "Nie można dodać załącznika %s do pliku %s"
 
-#: ../commands.c:434
+#: ../commands.c:436
 #, c-format
 msgid "Wrote attachment '%s' to '%s'."
 msgstr "Zapisano załącznik %s do pliku %s"
 
-#: ../commands.c:478
+#: ../commands.c:480
 #, c-format
 msgid "Wrote image '%s' to '%s'."
 msgstr "Zapisano obrazek %s do pliku %s"
 
-#: ../commands.c:480
+#: ../commands.c:482
 #, c-format
 msgid "Couldn't write image '%s' to '%s'."
 msgstr "Nie można dodać obrazka %s do pliku %s"
 
-#: ../commands.c:487
+#: ../commands.c:489
 #, c-format
 msgid "Unknown image '%s'."
 msgstr "Nieznany obrazek '%s'."
 
-#: ../commands.c:491
+#: ../commands.c:493
 #, c-format
 msgid "Unknown attachment or image '%s'."
 msgstr "Nieznany załącznik lub obrazek '%s'."
 
-#: ../commands.c:542
+#: ../commands.c:544
 msgid "Argument must be a number."
 msgstr "Parametr polecenia musi być liczbą"
 
@@ -143,298 +143,319 @@ msgid "Images"
 msgstr "Obrazki"
 
 #. zathura settings
-#: ../config.c:135
+#: ../config.c:139
 msgid "Database backend"
 msgstr "Baza danych"
 
-#: ../config.c:137
+#: ../config.c:141
 msgid "Zoom step"
 msgstr "Skok powiększenia"
 
-#: ../config.c:139
+#: ../config.c:143
 msgid "Padding between pages"
 msgstr "Odstęp pomiędzy stronami"
 
-#: ../config.c:141
+#: ../config.c:145
 msgid "Number of pages per row"
 msgstr "Liczba stron w wierszu"
 
-#: ../config.c:143
+#: ../config.c:147
 msgid "Column of the first page"
 msgstr ""
 
-#: ../config.c:145
+#: ../config.c:149
 msgid "Scroll step"
 msgstr "Skok przewijania"
 
-#: ../config.c:147
+#: ../config.c:151
 msgid "Horizontal scroll step"
 msgstr ""
 
-#: ../config.c:149
+#: ../config.c:153
 msgid "Full page scroll overlap"
 msgstr ""
 
-#: ../config.c:151
+#: ../config.c:155
 msgid "Zoom minimum"
 msgstr "Minimalne powiększenie"
 
-#: ../config.c:153
+#: ../config.c:157
 msgid "Zoom maximum"
 msgstr "Maksymalne powiększenie"
 
-#: ../config.c:155
+#: ../config.c:159
 msgid "Life time (in seconds) of a hidden page"
 msgstr "Czas życia niewidocznej strony (w sekundach)"
 
-#: ../config.c:156
+#: ../config.c:160
 msgid "Amount of seconds between each cache purge"
 msgstr "Okres sprawdzania widoczności stron (w sekundach)"
 
-#: ../config.c:158
+#: ../config.c:162
 msgid "Number of positions to remember in the jumplist"
 msgstr ""
 
-#: ../config.c:160
+#: ../config.c:164
 msgid "Recoloring (dark color)"
 msgstr "Ciemny kolor negatywu"
 
-#: ../config.c:162
+#: ../config.c:166
 msgid "Recoloring (light color)"
 msgstr "Jasny kolor negatywu"
 
-#: ../config.c:164
+#: ../config.c:168
 msgid "Color for highlighting"
 msgstr "Kolor wyróżnienia"
 
-#: ../config.c:166
+#: ../config.c:170
 msgid "Color for highlighting (active)"
 msgstr "Kolor wyróżnienia bieżącego elementu"
 
-#: ../config.c:170
-msgid "Recolor pages"
-msgstr "Negatyw"
-
 #: ../config.c:172
-msgid "When recoloring keep original hue and adjust lightness only"
+msgid "'Loading ...' background color"
 msgstr ""
 
 #: ../config.c:174
-msgid "Wrap scrolling"
-msgstr "Zawijanie dokumentu"
-
-#: ../config.c:176
-msgid "Page aware scrolling"
+msgid "'Loading ...' foreground color"
 msgstr ""
 
 #: ../config.c:178
-msgid "Advance number of pages per row"
-msgstr "Liczba stron w wierszu"
+msgid "Recolor pages"
+msgstr "Negatyw"
 
 #: ../config.c:180
-msgid "Horizontally centered zoom"
+msgid "When recoloring keep original hue and adjust lightness only"
 msgstr ""
 
 #: ../config.c:182
+msgid "Wrap scrolling"
+msgstr "Zawijanie dokumentu"
+
+#: ../config.c:184
+msgid "Page aware scrolling"
+msgstr ""
+
+#: ../config.c:186
+msgid "Advance number of pages per row"
+msgstr "Liczba stron w wierszu"
+
+#: ../config.c:188
+msgid "Horizontally centered zoom"
+msgstr ""
+
+#: ../config.c:190
 msgid "Center result horizontally"
 msgstr ""
 
-#: ../config.c:184
+#: ../config.c:192
 msgid "Transparency for highlighting"
 msgstr "Przezroczystość wyróżnienia"
 
-#: ../config.c:186
+#: ../config.c:194
 msgid "Render 'Loading ...'"
 msgstr "Wyświetlaj: „Wczytywanie pliku...”"
 
-#: ../config.c:187
+#: ../config.c:195
 msgid "Adjust to when opening file"
 msgstr "Dopasowanie widoku pliku"
 
-#: ../config.c:189
+#: ../config.c:197
 msgid "Show hidden files and directories"
 msgstr "Wyświetl ukryte pliki i katalogi"
 
-#: ../config.c:191
+#: ../config.c:199
 msgid "Show directories"
 msgstr "Wyświetl katalogi"
 
-#: ../config.c:193
+#: ../config.c:201
 msgid "Always open on first page"
 msgstr "Zawsze otwieraj na pierwszej stronie"
 
-#: ../config.c:195
+#: ../config.c:203
 msgid "Highlight search results"
 msgstr "Podświetl wyniki wyszukiwania"
 
-#: ../config.c:197
+#: ../config.c:205
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:199
+#: ../config.c:207
 msgid "Clear search results on abort"
 msgstr "Wyczyść wyniki wyszukiwania po przerwaniu"
 
-#: ../config.c:201
+#: ../config.c:209
 msgid "Use basename of the file in the window title"
 msgstr ""
 
-#: ../config.c:203 ../main.c:60
+#: ../config.c:211
+msgid "Use basename of the file in the statusbar"
+msgstr ""
+
+#: ../config.c:213 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:359
+#: ../config.c:369
 msgid "Add a bookmark"
 msgstr "Dodaj zakładkę"
 
-#: ../config.c:360
+#: ../config.c:370
 msgid "Delete a bookmark"
 msgstr "Usuń zakładkę"
 
-#: ../config.c:361
+#: ../config.c:371
 msgid "List all bookmarks"
 msgstr "Wyświetl zakładki"
 
-#: ../config.c:362
+#: ../config.c:372
 msgid "Close current file"
 msgstr "Zamknij plik"
 
-#: ../config.c:363
+#: ../config.c:373
 msgid "Show file information"
 msgstr "Wyświetl informacje o pliku"
 
-#: ../config.c:364
+#: ../config.c:374
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:365
+#: ../config.c:375
 msgid "Show help"
 msgstr "Wyświetl pomoc"
 
-#: ../config.c:366
+#: ../config.c:376
 msgid "Open document"
 msgstr "Otwórz plik"
 
-#: ../config.c:367
+#: ../config.c:377
 msgid "Close zathura"
 msgstr "Zakończ"
 
-#: ../config.c:368
+#: ../config.c:378
 msgid "Print document"
 msgstr "Wydrukuj"
 
-#: ../config.c:369
+#: ../config.c:379
 msgid "Save document"
 msgstr "Zapisz"
 
-#: ../config.c:370
+#: ../config.c:380
 msgid "Save document (and force overwriting)"
 msgstr "Zapisz (nadpisując istniejący plik)"
 
-#: ../config.c:371
+#: ../config.c:381
 msgid "Save attachments"
 msgstr "Zapisz załączniki"
 
-#: ../config.c:372
+#: ../config.c:382
 msgid "Set page offset"
 msgstr "Ustaw przesunięcie numerów stron"
 
-#: ../config.c:373
+#: ../config.c:383
 msgid "Mark current location within the document"
 msgstr "Zaznacz aktualną pozycję w dokumencie"
 
-#: ../config.c:374
+#: ../config.c:384
 msgid "Delete the specified marks"
 msgstr "Skasuj określone zakładki"
 
-#: ../config.c:375
+#: ../config.c:385
 msgid "Don't highlight current search results"
 msgstr "Nie podświetlaj aktualnych wyników wyszukiwania "
 
-#: ../config.c:376
+#: ../config.c:386
 msgid "Highlight current search results"
 msgstr "Podświetl aktualne wyniki wyszukiwania"
 
-#: ../config.c:377
+#: ../config.c:387
 msgid "Show version information"
 msgstr "Wyświetl informacje o wersji"
 
-#: ../links.c:161 ../links.c:240
+#: ../links.c:163 ../links.c:242
 msgid "Failed to run xdg-open."
 msgstr "Wystąpił problem z uruchomieniem xdg-open"
 
-#: ../links.c:179
+#: ../links.c:181
 #, c-format
 msgid "Link: page %d"
 msgstr ""
 
-#: ../links.c:186
+#: ../links.c:188
 #, c-format
 msgid "Link: %s"
 msgstr ""
 
-#: ../links.c:190
+#: ../links.c:192
 msgid "Link: Invalid"
 msgstr ""
 
-#: ../main.c:52
+#: ../main.c:55
 msgid "Reparents to window specified by xid"
 msgstr "Przypisz proces do rodzica o danym xid"
 
-#: ../main.c:53
+#: ../main.c:56
 msgid "Path to the config directory"
 msgstr "Ścieżka do katalogu konfiguracyjnego"
 
-#: ../main.c:54
+#: ../main.c:57
 msgid "Path to the data directory"
 msgstr "Ścieżka do katalogu danych"
 
-#: ../main.c:55
+#: ../main.c:58
 msgid "Path to the directories containing plugins"
 msgstr "Ścieżka do katalogu wtyczek"
 
-#: ../main.c:56
+#: ../main.c:59
 msgid "Fork into the background"
 msgstr "Forkuj w tle"
 
-#: ../main.c:57
+#: ../main.c:60
 msgid "Document password"
 msgstr "Hasło dokumentu"
 
-#: ../main.c:58
+#: ../main.c:61
+msgid "Page number to go to"
+msgstr ""
+
+#: ../main.c:62
 msgid "Log level (debug, info, warning, error)"
 msgstr "Szczegółowość komunikatów (debug, info, warning, error)"
 
-#: ../main.c:59
+#: ../main.c:63
 msgid "Print version information"
 msgstr "Wyświetl informacje o wersji"
 
-#: ../main.c:61
+#: ../main.c:65
 msgid "Synctex editor (forwarded to the synctex command)"
 msgstr ""
 
-#: ../page-widget.c:455
+#: ../page-widget.c:460
 msgid "Loading..."
 msgstr "Wczytywanie pliku..."
 
-#: ../page-widget.c:646
+#: ../page-widget.c:655
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr "Zaznaczony tekst skopiowano do schowka: %s"
 
-#: ../page-widget.c:744
+#: ../page-widget.c:753
 msgid "Copy image"
 msgstr "Skopiuj obrazek"
 
-#: ../page-widget.c:745
+#: ../page-widget.c:754
 msgid "Save image as"
 msgstr "Zapisz obrazek jako"
 
-#: ../shortcuts.c:956
+#: ../shortcuts.c:962
 msgid "This document does not contain any index"
 msgstr "Dokument nie zawiera indeksu"
 
-#: ../zathura.c:193 ../zathura.c:865
+#: ../zathura.c:194 ../zathura.c:901
 msgid "[No name]"
 msgstr "[bez nazwy]"
+
+#: ../zathura.c:538
+#, fuzzy
+msgid "Document does not contain any pages"
+msgstr "Dokument nie zawiera indeksu"
diff --git a/po/pt_BR.po b/po/pt_BR.po
index 2c8e55a..a7f47fb 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-01-22 21:33+0100\n"
+"POT-Creation-Date: 2013-03-17 10:22+0000\n"
 "PO-Revision-Date: 2013-01-13 20:34+0000\n"
 "Last-Translator: salmora8 <shorterfire@gmail.com>\n"
 "Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/"
@@ -29,13 +29,13 @@ msgid "Invalid index '%s' given."
 msgstr "Dados de índice invalido '%s'."
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
-#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:408
-#: ../commands.c:529 ../shortcuts.c:475 ../shortcuts.c:1053
-#: ../shortcuts.c:1082
+#: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
+#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
+#: ../shortcuts.c:1088
 msgid "No document opened."
 msgstr "Nenhum documento aberto."
 
-#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:413
+#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:415
 msgid "Invalid number of arguments given."
 msgstr "Número de argumentos dados inválidos."
 
@@ -77,53 +77,53 @@ msgstr "Nenhuma informação disponível."
 msgid "Too many arguments."
 msgstr "Muitos argumentos."
 
-#: ../commands.c:230
+#: ../commands.c:232
 msgid "No arguments given."
 msgstr "Nenhum argumento dado."
 
-#: ../commands.c:289 ../commands.c:315
+#: ../commands.c:291 ../commands.c:317
 msgid "Document saved."
 msgstr "Documento salvo."
 
-#: ../commands.c:291 ../commands.c:317
+#: ../commands.c:293 ../commands.c:319
 msgid "Failed to save document."
 msgstr "Falha ao salvar o documento."
 
-#: ../commands.c:294 ../commands.c:320
+#: ../commands.c:296 ../commands.c:322
 msgid "Invalid number of arguments."
 msgstr "Número de argumento invalido."
 
-#: ../commands.c:432
+#: ../commands.c:434
 #, c-format
 msgid "Couldn't write attachment '%s' to '%s'."
 msgstr "Não foi possível gravar anexo '%s' para '%s'."
 
-#: ../commands.c:434
+#: ../commands.c:436
 #, c-format
 msgid "Wrote attachment '%s' to '%s'."
 msgstr "Escreveu anexo '%s' para '%s'."
 
-#: ../commands.c:478
+#: ../commands.c:480
 #, c-format
 msgid "Wrote image '%s' to '%s'."
 msgstr "Escreveu imagem '%s' para '%s'."
 
-#: ../commands.c:480
+#: ../commands.c:482
 #, c-format
 msgid "Couldn't write image '%s' to '%s'."
 msgstr "Não foi possível gravar imagem '%s' para '%s'."
 
-#: ../commands.c:487
+#: ../commands.c:489
 #, c-format
 msgid "Unknown image '%s'."
 msgstr "Imagem desconhecida '%s'."
 
-#: ../commands.c:491
+#: ../commands.c:493
 #, c-format
 msgid "Unknown attachment or image '%s'."
 msgstr "Anexo desconhecido ou imagem '%s'."
 
-#: ../commands.c:542
+#: ../commands.c:544
 msgid "Argument must be a number."
 msgstr "O argumento deve ser um número."
 
@@ -142,299 +142,321 @@ msgid "Images"
 msgstr "Imagens"
 
 #. zathura settings
-#: ../config.c:135
+#: ../config.c:139
 msgid "Database backend"
 msgstr "Fim da base de dados"
 
-#: ../config.c:137
+#: ../config.c:141
 msgid "Zoom step"
 msgstr "Grau de Zoom"
 
-#: ../config.c:139
+#: ../config.c:143
 msgid "Padding between pages"
 msgstr "Preenchimento entre páginas"
 
-#: ../config.c:141
+#: ../config.c:145
 msgid "Number of pages per row"
 msgstr "Número de paginas por linha"
 
-#: ../config.c:143
+#: ../config.c:147
 msgid "Column of the first page"
 msgstr "Coluna da primeira página"
 
-#: ../config.c:145
+#: ../config.c:149
 msgid "Scroll step"
 msgstr "Fase de Rolagem"
 
-#: ../config.c:147
+#: ../config.c:151
 msgid "Horizontal scroll step"
 msgstr "Etapa de rolagem horizontal"
 
-#: ../config.c:149
+#: ../config.c:153
 msgid "Full page scroll overlap"
 msgstr "Sobreposição de rolagem de página inteira"
 
-#: ../config.c:151
+#: ../config.c:155
 msgid "Zoom minimum"
 msgstr "Zoom minimo"
 
-#: ../config.c:153
+#: ../config.c:157
 msgid "Zoom maximum"
 msgstr "Zoom máximo"
 
-#: ../config.c:155
+#: ../config.c:159
 msgid "Life time (in seconds) of a hidden page"
 msgstr "Tempo de vida (em segundos) de uma página oculta"
 
-#: ../config.c:156
+#: ../config.c:160
 msgid "Amount of seconds between each cache purge"
 msgstr "Quantidade de segundos entre as páginas invisíveis"
 
-#: ../config.c:158
+#: ../config.c:162
 msgid "Number of positions to remember in the jumplist"
 msgstr "Numero de posições para lembrar na lista de salto"
 
-#: ../config.c:160
+#: ../config.c:164
 msgid "Recoloring (dark color)"
 msgstr "Recolorindo (cor escura)"
 
-#: ../config.c:162
+#: ../config.c:166
 msgid "Recoloring (light color)"
 msgstr "Recolorindo (cor clara)"
 
-#: ../config.c:164
+#: ../config.c:168
 msgid "Color for highlighting"
 msgstr "Cor para destacar"
 
-#: ../config.c:166
+#: ../config.c:170
 msgid "Color for highlighting (active)"
 msgstr "Cor para destacar (ativo)"
 
-#: ../config.c:170
+#: ../config.c:172
+msgid "'Loading ...' background color"
+msgstr ""
+
+#: ../config.c:174
+msgid "'Loading ...' foreground color"
+msgstr ""
+
+#: ../config.c:178
 msgid "Recolor pages"
 msgstr "Recolorir páginas"
 
-#: ../config.c:172
+#: ../config.c:180
 msgid "When recoloring keep original hue and adjust lightness only"
 msgstr ""
 "Quando recolorir, manter tonalidade original e ajustar somente a luminosidade"
 
-#: ../config.c:174
+#: ../config.c:182
 msgid "Wrap scrolling"
 msgstr "Rolagem envoltório"
 
-#: ../config.c:176
+#: ../config.c:184
 msgid "Page aware scrolling"
 msgstr "Rolagem de página consciente"
 
-#: ../config.c:178
+#: ../config.c:186
 msgid "Advance number of pages per row"
 msgstr "Numero de avanço de paginas por linha"
 
-#: ../config.c:180
+#: ../config.c:188
 msgid "Horizontally centered zoom"
 msgstr "Zoom centrado horizontalmente"
 
-#: ../config.c:182
+#: ../config.c:190
 msgid "Center result horizontally"
 msgstr "Resultado centrado horizontalmente"
 
-#: ../config.c:184
+#: ../config.c:192
 msgid "Transparency for highlighting"
 msgstr "Transparência para destacar"
 
-#: ../config.c:186
+#: ../config.c:194
 msgid "Render 'Loading ...'"
 msgstr "Renderizando 'Carregando...'"
 
-#: ../config.c:187
+#: ../config.c:195
 msgid "Adjust to when opening file"
 msgstr "Ajuste para quando abrir o arquivo"
 
-#: ../config.c:189
+#: ../config.c:197
 msgid "Show hidden files and directories"
 msgstr "Mostrar arquivos ocultos e diretórios"
 
-#: ../config.c:191
+#: ../config.c:199
 msgid "Show directories"
 msgstr "Mostrar diretórios"
 
-#: ../config.c:193
+#: ../config.c:201
 msgid "Always open on first page"
 msgstr "Sempre abrir na primeira página"
 
-#: ../config.c:195
+#: ../config.c:203
 msgid "Highlight search results"
 msgstr "Destaque resultados de busca"
 
-#: ../config.c:197
+#: ../config.c:205
 msgid "Enable incremental search"
 msgstr "Ativar pesquisa incremental"
 
-#: ../config.c:199
+#: ../config.c:207
 msgid "Clear search results on abort"
 msgstr "Limpar resultados de busca ou abortar"
 
-#: ../config.c:201
+#: ../config.c:209
 msgid "Use basename of the file in the window title"
 msgstr "Usar nome do arquivo na barra de titulo"
 
-#: ../config.c:203 ../main.c:60
+#: ../config.c:211
+#, fuzzy
+msgid "Use basename of the file in the statusbar"
+msgstr "Usar nome do arquivo na barra de titulo"
+
+#: ../config.c:213 ../main.c:64
 msgid "Enable synctex support"
 msgstr "Ativar suporte synctex"
 
 #. define default inputbar commands
-#: ../config.c:359
+#: ../config.c:369
 msgid "Add a bookmark"
 msgstr "Adicionar um favorito"
 
-#: ../config.c:360
+#: ../config.c:370
 msgid "Delete a bookmark"
 msgstr "Deletar um favorito"
 
-#: ../config.c:361
+#: ../config.c:371
 msgid "List all bookmarks"
 msgstr "Listar todos favoritos"
 
-#: ../config.c:362
+#: ../config.c:372
 msgid "Close current file"
 msgstr "Fechar arquivo atual"
 
-#: ../config.c:363
+#: ../config.c:373
 msgid "Show file information"
 msgstr "Mostrar informações do arquivo"
 
-#: ../config.c:364
+#: ../config.c:374
 msgid "Execute a command"
 msgstr "Executar um comando"
 
-#: ../config.c:365
+#: ../config.c:375
 msgid "Show help"
 msgstr "Mostrar ajuda"
 
-#: ../config.c:366
+#: ../config.c:376
 msgid "Open document"
 msgstr "Abrir documento"
 
-#: ../config.c:367
+#: ../config.c:377
 msgid "Close zathura"
 msgstr "Fechar zathura"
 
-#: ../config.c:368
+#: ../config.c:378
 msgid "Print document"
 msgstr "Imprimir documento"
 
-#: ../config.c:369
+#: ../config.c:379
 msgid "Save document"
 msgstr "Salvar documento"
 
-#: ../config.c:370
+#: ../config.c:380
 msgid "Save document (and force overwriting)"
 msgstr "Salvar documento (e forçar sobrescrever)"
 
-#: ../config.c:371
+#: ../config.c:381
 msgid "Save attachments"
 msgstr "Salvar anexos"
 
-#: ../config.c:372
+#: ../config.c:382
 msgid "Set page offset"
 msgstr "Definir deslocamento da página"
 
-#: ../config.c:373
+#: ../config.c:383
 msgid "Mark current location within the document"
 msgstr "Marcar localização atual no documento"
 
-#: ../config.c:374
+#: ../config.c:384
 msgid "Delete the specified marks"
 msgstr "Apagar as marcas especificadas"
 
-#: ../config.c:375
+#: ../config.c:385
 msgid "Don't highlight current search results"
 msgstr "Não destacar resultados de busca atual"
 
-#: ../config.c:376
+#: ../config.c:386
 msgid "Highlight current search results"
 msgstr "Destacar resultado de busca atual"
 
-#: ../config.c:377
+#: ../config.c:387
 msgid "Show version information"
 msgstr "Mostrar informações sobre a versão"
 
-#: ../links.c:161 ../links.c:240
+#: ../links.c:163 ../links.c:242
 msgid "Failed to run xdg-open."
 msgstr "Falha ao executar xdg-open."
 
-#: ../links.c:179
+#: ../links.c:181
 #, c-format
 msgid "Link: page %d"
 msgstr "Link: página %d"
 
-#: ../links.c:186
+#: ../links.c:188
 #, c-format
 msgid "Link: %s"
 msgstr "Link: %s"
 
-#: ../links.c:190
+#: ../links.c:192
 msgid "Link: Invalid"
 msgstr "Link: Inválido"
 
-#: ../main.c:52
+#: ../main.c:55
 msgid "Reparents to window specified by xid"
 msgstr "Reparar a janela especificada por xid"
 
-#: ../main.c:53
+#: ../main.c:56
 msgid "Path to the config directory"
 msgstr "Caminho de diretório para configuração"
 
-#: ../main.c:54
+#: ../main.c:57
 msgid "Path to the data directory"
 msgstr "Caminho para diretório de dados"
 
-#: ../main.c:55
+#: ../main.c:58
 msgid "Path to the directories containing plugins"
 msgstr "Caminho de diretório que contenham plugins"
 
-#: ../main.c:56
+#: ../main.c:59
 msgid "Fork into the background"
 msgstr "Deslocar no fundo"
 
-#: ../main.c:57
+#: ../main.c:60
 msgid "Document password"
 msgstr "Senha do documento"
 
-#: ../main.c:58
+#: ../main.c:61
+msgid "Page number to go to"
+msgstr ""
+
+#: ../main.c:62
 msgid "Log level (debug, info, warning, error)"
 msgstr "Nível de log (depurar, informação, aviso, erro)"
 
-#: ../main.c:59
+#: ../main.c:63
 msgid "Print version information"
 msgstr "Imprimir informações sobre a versão"
 
-#: ../main.c:61
+#: ../main.c:65
 msgid "Synctex editor (forwarded to the synctex command)"
 msgstr "Editor synctex (encaminhado para o comando synctex)"
 
-#: ../page-widget.c:455
+#: ../page-widget.c:460
 msgid "Loading..."
 msgstr "Carregando..."
 
-#: ../page-widget.c:646
+#: ../page-widget.c:655
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr "Texto selecionado copiado para área de transferência: %s "
 
-#: ../page-widget.c:744
+#: ../page-widget.c:753
 msgid "Copy image"
 msgstr "Copiar imagem"
 
-#: ../page-widget.c:745
+#: ../page-widget.c:754
 msgid "Save image as"
 msgstr "Salvar imagem para"
 
-#: ../shortcuts.c:956
+#: ../shortcuts.c:962
 msgid "This document does not contain any index"
 msgstr "Este documento não contem qualquer índice"
 
-#: ../zathura.c:193 ../zathura.c:865
+#: ../zathura.c:194 ../zathura.c:901
 msgid "[No name]"
 msgstr "[Sem nome]"
+
+#: ../zathura.c:538
+#, fuzzy
+msgid "Document does not contain any pages"
+msgstr "Este documento não contem qualquer índice"
diff --git a/po/ru.po b/po/ru.po
index 8e25657..50d6811 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-01-22 21:33+0100\n"
+"POT-Creation-Date: 2013-03-17 10:22+0000\n"
 "PO-Revision-Date: 2013-01-13 14:12+0000\n"
 "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
 "Language-Team: Russian (http://www.transifex.com/projects/p/zathura/language/"
@@ -30,13 +30,13 @@ msgid "Invalid index '%s' given."
 msgstr "Получен неверный индекс %s"
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
-#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:408
-#: ../commands.c:529 ../shortcuts.c:475 ../shortcuts.c:1053
-#: ../shortcuts.c:1082
+#: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
+#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
+#: ../shortcuts.c:1088
 msgid "No document opened."
 msgstr "Документ не открыт"
 
-#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:413
+#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:415
 msgid "Invalid number of arguments given."
 msgstr "Неверное число аргументов"
 
@@ -78,53 +78,53 @@ msgstr "Нет доступной информации"
 msgid "Too many arguments."
 msgstr "Слишком много аргументов"
 
-#: ../commands.c:230
+#: ../commands.c:232
 msgid "No arguments given."
 msgstr "Отсутствуют аргументы"
 
-#: ../commands.c:289 ../commands.c:315
+#: ../commands.c:291 ../commands.c:317
 msgid "Document saved."
 msgstr "Документ сохранён"
 
-#: ../commands.c:291 ../commands.c:317
+#: ../commands.c:293 ../commands.c:319
 msgid "Failed to save document."
 msgstr "Не удалось сохранить документ"
 
-#: ../commands.c:294 ../commands.c:320
+#: ../commands.c:296 ../commands.c:322
 msgid "Invalid number of arguments."
 msgstr "Неверное количество аргументов"
 
-#: ../commands.c:432
+#: ../commands.c:434
 #, c-format
 msgid "Couldn't write attachment '%s' to '%s'."
 msgstr "Не могу сохранить приложенный файл %s в %s"
 
-#: ../commands.c:434
+#: ../commands.c:436
 #, c-format
 msgid "Wrote attachment '%s' to '%s'."
 msgstr "Файл %s сохранён в %s"
 
-#: ../commands.c:478
+#: ../commands.c:480
 #, c-format
 msgid "Wrote image '%s' to '%s'."
 msgstr ""
 
-#: ../commands.c:480
+#: ../commands.c:482
 #, c-format
 msgid "Couldn't write image '%s' to '%s'."
 msgstr ""
 
-#: ../commands.c:487
+#: ../commands.c:489
 #, c-format
 msgid "Unknown image '%s'."
 msgstr ""
 
-#: ../commands.c:491
+#: ../commands.c:493
 #, c-format
 msgid "Unknown attachment or image '%s'."
 msgstr ""
 
-#: ../commands.c:542
+#: ../commands.c:544
 msgid "Argument must be a number."
 msgstr "Аргумент должен быть числом"
 
@@ -143,298 +143,319 @@ msgid "Images"
 msgstr ""
 
 #. zathura settings
-#: ../config.c:135
+#: ../config.c:139
 msgid "Database backend"
 msgstr "Бэкэнд базы данных"
 
-#: ../config.c:137
+#: ../config.c:141
 msgid "Zoom step"
 msgstr "Шаг увеличения"
 
-#: ../config.c:139
+#: ../config.c:143
 msgid "Padding between pages"
 msgstr "Разрыв между страницами"
 
-#: ../config.c:141
+#: ../config.c:145
 msgid "Number of pages per row"
 msgstr "Количество страниц в ряд"
 
-#: ../config.c:143
+#: ../config.c:147
 msgid "Column of the first page"
 msgstr ""
 
-#: ../config.c:145
+#: ../config.c:149
 msgid "Scroll step"
 msgstr "Шаг прокрутки"
 
-#: ../config.c:147
+#: ../config.c:151
 msgid "Horizontal scroll step"
 msgstr ""
 
-#: ../config.c:149
+#: ../config.c:153
 msgid "Full page scroll overlap"
 msgstr ""
 
-#: ../config.c:151
+#: ../config.c:155
 msgid "Zoom minimum"
 msgstr "Минимальное увеличение"
 
-#: ../config.c:153
+#: ../config.c:157
 msgid "Zoom maximum"
 msgstr "Максимальное увеличение"
 
-#: ../config.c:155
+#: ../config.c:159
 msgid "Life time (in seconds) of a hidden page"
 msgstr "Время жизни (секунды) скрытой страницы"
 
-#: ../config.c:156
+#: ../config.c:160
 msgid "Amount of seconds between each cache purge"
 msgstr "Время (в секундах) между очисткой кэшей"
 
-#: ../config.c:158
+#: ../config.c:162
 msgid "Number of positions to remember in the jumplist"
 msgstr ""
 
-#: ../config.c:160
+#: ../config.c:164
 msgid "Recoloring (dark color)"
 msgstr "Перекрашивание (тёмные тона)"
 
-#: ../config.c:162
+#: ../config.c:166
 msgid "Recoloring (light color)"
 msgstr "Перекрашивание (светлые тона)"
 
-#: ../config.c:164
+#: ../config.c:168
 msgid "Color for highlighting"
 msgstr "Цвет для подсветки"
 
-#: ../config.c:166
+#: ../config.c:170
 msgid "Color for highlighting (active)"
 msgstr "Цвет для подсветки (активной)"
 
-#: ../config.c:170
-msgid "Recolor pages"
-msgstr "Перекрасить страницы"
-
 #: ../config.c:172
-msgid "When recoloring keep original hue and adjust lightness only"
+msgid "'Loading ...' background color"
 msgstr ""
 
 #: ../config.c:174
-msgid "Wrap scrolling"
-msgstr "Плавная прокрутка"
-
-#: ../config.c:176
-msgid "Page aware scrolling"
+msgid "'Loading ...' foreground color"
 msgstr ""
 
 #: ../config.c:178
-msgid "Advance number of pages per row"
-msgstr "Увеличить количество страниц в ряду"
+msgid "Recolor pages"
+msgstr "Перекрасить страницы"
 
 #: ../config.c:180
-msgid "Horizontally centered zoom"
+msgid "When recoloring keep original hue and adjust lightness only"
 msgstr ""
 
 #: ../config.c:182
+msgid "Wrap scrolling"
+msgstr "Плавная прокрутка"
+
+#: ../config.c:184
+msgid "Page aware scrolling"
+msgstr ""
+
+#: ../config.c:186
+msgid "Advance number of pages per row"
+msgstr "Увеличить количество страниц в ряду"
+
+#: ../config.c:188
+msgid "Horizontally centered zoom"
+msgstr ""
+
+#: ../config.c:190
 msgid "Center result horizontally"
 msgstr ""
 
-#: ../config.c:184
+#: ../config.c:192
 msgid "Transparency for highlighting"
 msgstr "Прозрачность подсветки"
 
-#: ../config.c:186
+#: ../config.c:194
 msgid "Render 'Loading ...'"
 msgstr "Рендер 'Загружается ...'"
 
-#: ../config.c:187
+#: ../config.c:195
 msgid "Adjust to when opening file"
 msgstr ""
 
-#: ../config.c:189
+#: ../config.c:197
 msgid "Show hidden files and directories"
 msgstr "Показывать скрытые файлы и директории"
 
-#: ../config.c:191
+#: ../config.c:199
 msgid "Show directories"
 msgstr "Показывать директории"
 
-#: ../config.c:193
+#: ../config.c:201
 msgid "Always open on first page"
 msgstr "Всегда открывать на первой странице"
 
-#: ../config.c:195
+#: ../config.c:203
 msgid "Highlight search results"
 msgstr ""
 
-#: ../config.c:197
+#: ../config.c:205
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:199
+#: ../config.c:207
 msgid "Clear search results on abort"
 msgstr ""
 
-#: ../config.c:201
+#: ../config.c:209
 msgid "Use basename of the file in the window title"
 msgstr ""
 
-#: ../config.c:203 ../main.c:60
+#: ../config.c:211
+msgid "Use basename of the file in the statusbar"
+msgstr ""
+
+#: ../config.c:213 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:359
+#: ../config.c:369
 msgid "Add a bookmark"
 msgstr "Добавить закладку"
 
-#: ../config.c:360
+#: ../config.c:370
 msgid "Delete a bookmark"
 msgstr "Удалить закладку"
 
-#: ../config.c:361
+#: ../config.c:371
 msgid "List all bookmarks"
 msgstr "Показать все закладки"
 
-#: ../config.c:362
+#: ../config.c:372
 msgid "Close current file"
 msgstr "Закрыть текущий файл"
 
-#: ../config.c:363
+#: ../config.c:373
 msgid "Show file information"
 msgstr "Показать информацию о файле"
 
-#: ../config.c:364
+#: ../config.c:374
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:365
+#: ../config.c:375
 msgid "Show help"
 msgstr "Помощь"
 
-#: ../config.c:366
+#: ../config.c:376
 msgid "Open document"
 msgstr "Открыть документ"
 
-#: ../config.c:367
+#: ../config.c:377
 msgid "Close zathura"
 msgstr "Выход"
 
-#: ../config.c:368
+#: ../config.c:378
 msgid "Print document"
 msgstr "Печать"
 
-#: ../config.c:369
+#: ../config.c:379
 msgid "Save document"
 msgstr "Сохранить документ"
 
-#: ../config.c:370
+#: ../config.c:380
 msgid "Save document (and force overwriting)"
 msgstr "Сохранить документ (с перезапиьсю)"
 
-#: ../config.c:371
+#: ../config.c:381
 msgid "Save attachments"
 msgstr "Сохранить прикреплённые файлы"
 
-#: ../config.c:372
+#: ../config.c:382
 msgid "Set page offset"
 msgstr "Сохранить смещение страницы"
 
-#: ../config.c:373
+#: ../config.c:383
 msgid "Mark current location within the document"
 msgstr "Пометить текущую позицию в документе"
 
-#: ../config.c:374
+#: ../config.c:384
 msgid "Delete the specified marks"
 msgstr "Удалить указанные пометки"
 
-#: ../config.c:375
+#: ../config.c:385
 msgid "Don't highlight current search results"
 msgstr ""
 
-#: ../config.c:376
+#: ../config.c:386
 msgid "Highlight current search results"
 msgstr ""
 
-#: ../config.c:377
+#: ../config.c:387
 msgid "Show version information"
 msgstr ""
 
-#: ../links.c:161 ../links.c:240
+#: ../links.c:163 ../links.c:242
 msgid "Failed to run xdg-open."
 msgstr "Не удалось запустить xdg-open"
 
-#: ../links.c:179
+#: ../links.c:181
 #, c-format
 msgid "Link: page %d"
 msgstr ""
 
-#: ../links.c:186
+#: ../links.c:188
 #, c-format
 msgid "Link: %s"
 msgstr ""
 
-#: ../links.c:190
+#: ../links.c:192
 msgid "Link: Invalid"
 msgstr ""
 
-#: ../main.c:52
+#: ../main.c:55
 msgid "Reparents to window specified by xid"
 msgstr "Сменить материнское окно на окно, указанное в xid"
 
-#: ../main.c:53
+#: ../main.c:56
 msgid "Path to the config directory"
 msgstr "Путь к директории конфига"
 
-#: ../main.c:54
+#: ../main.c:57
 msgid "Path to the data directory"
 msgstr "Путь к директории с данными"
 
-#: ../main.c:55
+#: ../main.c:58
 msgid "Path to the directories containing plugins"
 msgstr "Путь к директории с плагинами"
 
-#: ../main.c:56
+#: ../main.c:59
 msgid "Fork into the background"
 msgstr "Уйти в бэкграунд"
 
-#: ../main.c:57
+#: ../main.c:60
 msgid "Document password"
 msgstr ""
 
-#: ../main.c:58
+#: ../main.c:61
+msgid "Page number to go to"
+msgstr ""
+
+#: ../main.c:62
 msgid "Log level (debug, info, warning, error)"
 msgstr "Уровень логирования (debug,info,warning,error)"
 
-#: ../main.c:59
+#: ../main.c:63
 msgid "Print version information"
 msgstr "Показать информацию о файле"
 
-#: ../main.c:61
+#: ../main.c:65
 msgid "Synctex editor (forwarded to the synctex command)"
 msgstr ""
 
-#: ../page-widget.c:455
+#: ../page-widget.c:460
 msgid "Loading..."
 msgstr ""
 
-#: ../page-widget.c:646
+#: ../page-widget.c:655
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr "Выделенный текст скопирован в буфер: %s"
 
-#: ../page-widget.c:744
+#: ../page-widget.c:753
 msgid "Copy image"
 msgstr "Скопировать изображение"
 
-#: ../page-widget.c:745
+#: ../page-widget.c:754
 msgid "Save image as"
 msgstr ""
 
-#: ../shortcuts.c:956
+#: ../shortcuts.c:962
 msgid "This document does not contain any index"
 msgstr "В документе нету индекса"
 
-#: ../zathura.c:193 ../zathura.c:865
+#: ../zathura.c:194 ../zathura.c:901
 msgid "[No name]"
 msgstr "[No name]"
+
+#: ../zathura.c:538
+#, fuzzy
+msgid "Document does not contain any pages"
+msgstr "В документе нету индекса"
diff --git a/po/ta_IN.po b/po/ta_IN.po
index 7656be1..c2ff7e4 100644
--- a/po/ta_IN.po
+++ b/po/ta_IN.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-01-22 21:33+0100\n"
+"POT-Creation-Date: 2013-03-17 10:22+0000\n"
 "PO-Revision-Date: 2013-01-13 14:12+0000\n"
 "Last-Translator: mankand007 <mankand007@gmail.com>\n"
 "Language-Team: Tamil (India) (http://www.transifex.net/projects/p/zathura/"
@@ -29,13 +29,13 @@ msgid "Invalid index '%s' given."
 msgstr "கொடுக்கப்பட்ட index '%s' தவறு"
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
-#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:408
-#: ../commands.c:529 ../shortcuts.c:475 ../shortcuts.c:1053
-#: ../shortcuts.c:1082
+#: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
+#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
+#: ../shortcuts.c:1088
 msgid "No document opened."
 msgstr "எந்தக் ஆவணமும் திறக்கப்படவில்லை"
 
-#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:413
+#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:415
 msgid "Invalid number of arguments given."
 msgstr "கொடுக்கப்பட்ட arguments-களின் எண்ணிக்கை தவறு"
 
@@ -77,53 +77,53 @@ msgstr "எந்தத் தகவலும் இல்லை"
 msgid "Too many arguments."
 msgstr "Argumentகளின் எண்ணிக்கை மிகவும் அதிகம்"
 
-#: ../commands.c:230
+#: ../commands.c:232
 msgid "No arguments given."
 msgstr "எந்த argument-ம் தரப்படவில்லை"
 
-#: ../commands.c:289 ../commands.c:315
+#: ../commands.c:291 ../commands.c:317
 msgid "Document saved."
 msgstr "கோப்பு சேமிக்கப்பட்டது"
 
-#: ../commands.c:291 ../commands.c:317
+#: ../commands.c:293 ../commands.c:319
 msgid "Failed to save document."
 msgstr "ஆவணத்தை சேமிக்க இயலவில்லை"
 
-#: ../commands.c:294 ../commands.c:320
+#: ../commands.c:296 ../commands.c:322
 msgid "Invalid number of arguments."
 msgstr "கொடுக்கப்பட்ட argument-களின் எண்ணிக்கை தவறு"
 
-#: ../commands.c:432
+#: ../commands.c:434
 #, c-format
 msgid "Couldn't write attachment '%s' to '%s'."
 msgstr ""
 
-#: ../commands.c:434
+#: ../commands.c:436
 #, c-format
 msgid "Wrote attachment '%s' to '%s'."
 msgstr ""
 
-#: ../commands.c:478
+#: ../commands.c:480
 #, c-format
 msgid "Wrote image '%s' to '%s'."
 msgstr ""
 
-#: ../commands.c:480
+#: ../commands.c:482
 #, c-format
 msgid "Couldn't write image '%s' to '%s'."
 msgstr ""
 
-#: ../commands.c:487
+#: ../commands.c:489
 #, c-format
 msgid "Unknown image '%s'."
 msgstr ""
 
-#: ../commands.c:491
+#: ../commands.c:493
 #, c-format
 msgid "Unknown attachment or image '%s'."
 msgstr ""
 
-#: ../commands.c:542
+#: ../commands.c:544
 msgid "Argument must be a number."
 msgstr "Argument ஒரு எண்ணாக இருக்க வேண்டும்"
 
@@ -142,298 +142,319 @@ msgid "Images"
 msgstr ""
 
 #. zathura settings
-#: ../config.c:135
+#: ../config.c:139
 msgid "Database backend"
 msgstr ""
 
-#: ../config.c:137
+#: ../config.c:141
 msgid "Zoom step"
 msgstr "Zoom அமைப்பு"
 
-#: ../config.c:139
+#: ../config.c:143
 msgid "Padding between pages"
 msgstr "இரு பக்கங்களுக்கிடையில் உள்ள நிரப்பல்(padding)"
 
-#: ../config.c:141
+#: ../config.c:145
 msgid "Number of pages per row"
 msgstr "ஒரு வரிசையில் எத்தனை பக்கங்களைக் காட்ட வேண்டும்"
 
-#: ../config.c:143
+#: ../config.c:147
 msgid "Column of the first page"
 msgstr ""
 
-#: ../config.c:145
+#: ../config.c:149
 msgid "Scroll step"
 msgstr "திரை உருளல்(scroll) அளவு"
 
-#: ../config.c:147
+#: ../config.c:151
 msgid "Horizontal scroll step"
 msgstr ""
 
-#: ../config.c:149
+#: ../config.c:153
 msgid "Full page scroll overlap"
 msgstr ""
 
-#: ../config.c:151
+#: ../config.c:155
 msgid "Zoom minimum"
 msgstr "முடிந்தவரை சிறியதாகக் காட்டு"
 
-#: ../config.c:153
+#: ../config.c:157
 msgid "Zoom maximum"
 msgstr "முடிந்தவரை பெரிதாகக் காட்டு"
 
-#: ../config.c:155
+#: ../config.c:159
 msgid "Life time (in seconds) of a hidden page"
 msgstr ""
 
-#: ../config.c:156
+#: ../config.c:160
 msgid "Amount of seconds between each cache purge"
 msgstr ""
 
-#: ../config.c:158
+#: ../config.c:162
 msgid "Number of positions to remember in the jumplist"
 msgstr ""
 
-#: ../config.c:160
+#: ../config.c:164
 msgid "Recoloring (dark color)"
 msgstr ""
 
-#: ../config.c:162
+#: ../config.c:166
 msgid "Recoloring (light color)"
 msgstr ""
 
-#: ../config.c:164
+#: ../config.c:168
 msgid "Color for highlighting"
 msgstr ""
 
-#: ../config.c:166
+#: ../config.c:170
 msgid "Color for highlighting (active)"
 msgstr ""
 
-#: ../config.c:170
-msgid "Recolor pages"
-msgstr ""
-
 #: ../config.c:172
-msgid "When recoloring keep original hue and adjust lightness only"
+msgid "'Loading ...' background color"
 msgstr ""
 
 #: ../config.c:174
-msgid "Wrap scrolling"
-msgstr ""
-
-#: ../config.c:176
-msgid "Page aware scrolling"
+msgid "'Loading ...' foreground color"
 msgstr ""
 
 #: ../config.c:178
-msgid "Advance number of pages per row"
+msgid "Recolor pages"
 msgstr ""
 
 #: ../config.c:180
-msgid "Horizontally centered zoom"
+msgid "When recoloring keep original hue and adjust lightness only"
 msgstr ""
 
 #: ../config.c:182
-msgid "Center result horizontally"
+msgid "Wrap scrolling"
 msgstr ""
 
 #: ../config.c:184
-msgid "Transparency for highlighting"
+msgid "Page aware scrolling"
 msgstr ""
 
 #: ../config.c:186
+msgid "Advance number of pages per row"
+msgstr ""
+
+#: ../config.c:188
+msgid "Horizontally centered zoom"
+msgstr ""
+
+#: ../config.c:190
+msgid "Center result horizontally"
+msgstr ""
+
+#: ../config.c:192
+msgid "Transparency for highlighting"
+msgstr ""
+
+#: ../config.c:194
 msgid "Render 'Loading ...'"
 msgstr ""
 
-#: ../config.c:187
+#: ../config.c:195
 msgid "Adjust to when opening file"
 msgstr ""
 
-#: ../config.c:189
+#: ../config.c:197
 msgid "Show hidden files and directories"
 msgstr ""
 
-#: ../config.c:191
+#: ../config.c:199
 msgid "Show directories"
 msgstr ""
 
-#: ../config.c:193
+#: ../config.c:201
 msgid "Always open on first page"
 msgstr ""
 
-#: ../config.c:195
+#: ../config.c:203
 msgid "Highlight search results"
 msgstr ""
 
-#: ../config.c:197
+#: ../config.c:205
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:199
+#: ../config.c:207
 msgid "Clear search results on abort"
 msgstr ""
 
-#: ../config.c:201
+#: ../config.c:209
 msgid "Use basename of the file in the window title"
 msgstr ""
 
-#: ../config.c:203 ../main.c:60
+#: ../config.c:211
+msgid "Use basename of the file in the statusbar"
+msgstr ""
+
+#: ../config.c:213 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:359
+#: ../config.c:369
 msgid "Add a bookmark"
 msgstr "புதிய bookmark உருவாக்கு"
 
-#: ../config.c:360
+#: ../config.c:370
 msgid "Delete a bookmark"
 msgstr "Bookmark-ஐ அழித்துவிடு"
 
-#: ../config.c:361
+#: ../config.c:371
 msgid "List all bookmarks"
 msgstr "அனைத்து bookmark-களையும் பட்டியலிடு"
 
-#: ../config.c:362
+#: ../config.c:372
 msgid "Close current file"
 msgstr ""
 
-#: ../config.c:363
+#: ../config.c:373
 msgid "Show file information"
 msgstr "ஆவணம் பற்றிய தகவல்களைக் காட்டு"
 
-#: ../config.c:364
+#: ../config.c:374
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:365
+#: ../config.c:375
 msgid "Show help"
 msgstr "உதவியைக் காட்டு"
 
-#: ../config.c:366
+#: ../config.c:376
 msgid "Open document"
 msgstr "ஒரு ஆவணத்தைத் திற"
 
-#: ../config.c:367
+#: ../config.c:377
 msgid "Close zathura"
 msgstr "zathura-வை விட்டு வெளியேறு"
 
-#: ../config.c:368
+#: ../config.c:378
 msgid "Print document"
 msgstr "ஆவணத்தை அச்சிடு"
 
-#: ../config.c:369
+#: ../config.c:379
 msgid "Save document"
 msgstr "ஆவணத்தை சேமிக்கவும்"
 
-#: ../config.c:370
+#: ../config.c:380
 msgid "Save document (and force overwriting)"
 msgstr ""
 
-#: ../config.c:371
+#: ../config.c:381
 msgid "Save attachments"
 msgstr "இணைப்புகளைச் சேமிக்கவும்"
 
-#: ../config.c:372
+#: ../config.c:382
 msgid "Set page offset"
 msgstr ""
 
-#: ../config.c:373
+#: ../config.c:383
 msgid "Mark current location within the document"
 msgstr ""
 
-#: ../config.c:374
+#: ../config.c:384
 msgid "Delete the specified marks"
 msgstr ""
 
-#: ../config.c:375
+#: ../config.c:385
 msgid "Don't highlight current search results"
 msgstr ""
 
-#: ../config.c:376
+#: ../config.c:386
 msgid "Highlight current search results"
 msgstr ""
 
-#: ../config.c:377
+#: ../config.c:387
 msgid "Show version information"
 msgstr ""
 
-#: ../links.c:161 ../links.c:240
+#: ../links.c:163 ../links.c:242
 msgid "Failed to run xdg-open."
 msgstr "xdg-open-ஐ இயக்க முடியவில்லை"
 
-#: ../links.c:179
+#: ../links.c:181
 #, c-format
 msgid "Link: page %d"
 msgstr ""
 
-#: ../links.c:186
+#: ../links.c:188
 #, c-format
 msgid "Link: %s"
 msgstr ""
 
-#: ../links.c:190
+#: ../links.c:192
 msgid "Link: Invalid"
 msgstr ""
 
-#: ../main.c:52
+#: ../main.c:55
 msgid "Reparents to window specified by xid"
 msgstr ""
 
-#: ../main.c:53
+#: ../main.c:56
 msgid "Path to the config directory"
 msgstr ""
 
-#: ../main.c:54
+#: ../main.c:57
 msgid "Path to the data directory"
 msgstr ""
 
-#: ../main.c:55
+#: ../main.c:58
 msgid "Path to the directories containing plugins"
 msgstr ""
 
-#: ../main.c:56
+#: ../main.c:59
 msgid "Fork into the background"
 msgstr ""
 
-#: ../main.c:57
+#: ../main.c:60
 msgid "Document password"
 msgstr ""
 
-#: ../main.c:58
+#: ../main.c:61
+msgid "Page number to go to"
+msgstr ""
+
+#: ../main.c:62
 msgid "Log level (debug, info, warning, error)"
 msgstr ""
 
-#: ../main.c:59
+#: ../main.c:63
 msgid "Print version information"
 msgstr "ஆவணம் பற்றிய தகவல்களைக் காட்டு"
 
-#: ../main.c:61
+#: ../main.c:65
 msgid "Synctex editor (forwarded to the synctex command)"
 msgstr ""
 
-#: ../page-widget.c:455
+#: ../page-widget.c:460
 msgid "Loading..."
 msgstr ""
 
-#: ../page-widget.c:646
+#: ../page-widget.c:655
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr ""
 
-#: ../page-widget.c:744
+#: ../page-widget.c:753
 msgid "Copy image"
 msgstr "படத்தை ஒரு பிரதியெடு"
 
-#: ../page-widget.c:745
+#: ../page-widget.c:754
 msgid "Save image as"
 msgstr ""
 
-#: ../shortcuts.c:956
+#: ../shortcuts.c:962
 msgid "This document does not contain any index"
 msgstr "இந்த ஆவணத்தில் எந்த index-ம் இல்லை"
 
-#: ../zathura.c:193 ../zathura.c:865
+#: ../zathura.c:194 ../zathura.c:901
 msgid "[No name]"
 msgstr "பெயரற்ற ஆவணம்"
+
+#: ../zathura.c:538
+#, fuzzy
+msgid "Document does not contain any pages"
+msgstr "இந்த ஆவணத்தில் எந்த index-ம் இல்லை"
diff --git a/po/tr.po b/po/tr.po
index 23d3149..e98d547 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-01-22 21:33+0100\n"
+"POT-Creation-Date: 2013-03-17 10:22+0000\n"
 "PO-Revision-Date: 2013-01-13 14:12+0000\n"
 "Last-Translator: hsngrms <dead-bodies-everywhere@hotmail.com>\n"
 "Language-Team: Turkish (http://www.transifex.net/projects/p/zathura/language/"
@@ -30,13 +30,13 @@ msgid "Invalid index '%s' given."
 msgstr "Hatalı dizin '%s'"
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
-#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:408
-#: ../commands.c:529 ../shortcuts.c:475 ../shortcuts.c:1053
-#: ../shortcuts.c:1082
+#: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
+#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
+#: ../shortcuts.c:1088
 msgid "No document opened."
 msgstr "Açık belge yok."
 
-#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:413
+#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:415
 msgid "Invalid number of arguments given."
 msgstr "Yanlış sayıda argüman"
 
@@ -78,53 +78,53 @@ msgstr "Bilgi mevcut değil."
 msgid "Too many arguments."
 msgstr "Çok fazla sayıda argüman."
 
-#: ../commands.c:230
+#: ../commands.c:232
 msgid "No arguments given."
 msgstr "Argüman verilmedi."
 
-#: ../commands.c:289 ../commands.c:315
+#: ../commands.c:291 ../commands.c:317
 msgid "Document saved."
 msgstr "Belge kaydedildi."
 
-#: ../commands.c:291 ../commands.c:317
+#: ../commands.c:293 ../commands.c:319
 msgid "Failed to save document."
 msgstr "Belge kaydedilemedi."
 
-#: ../commands.c:294 ../commands.c:320
+#: ../commands.c:296 ../commands.c:322
 msgid "Invalid number of arguments."
 msgstr "Yanlış sayıda argüman."
 
-#: ../commands.c:432
+#: ../commands.c:434
 #, c-format
 msgid "Couldn't write attachment '%s' to '%s'."
 msgstr "'%s' eki '%s' konumuna yazılamadı."
 
-#: ../commands.c:434
+#: ../commands.c:436
 #, c-format
 msgid "Wrote attachment '%s' to '%s'."
 msgstr "'%s' eki '%s' konumuna yazıldı."
 
-#: ../commands.c:478
+#: ../commands.c:480
 #, c-format
 msgid "Wrote image '%s' to '%s'."
 msgstr "'%s' eki '%s' konumuna yazıldı."
 
-#: ../commands.c:480
+#: ../commands.c:482
 #, c-format
 msgid "Couldn't write image '%s' to '%s'."
 msgstr "'%s' eki '%s' konumuna yazılamadı."
 
-#: ../commands.c:487
+#: ../commands.c:489
 #, c-format
 msgid "Unknown image '%s'."
 msgstr "Tanınmayan resim dosyası '%s'"
 
-#: ../commands.c:491
+#: ../commands.c:493
 #, c-format
 msgid "Unknown attachment or image '%s'."
 msgstr "Tanınmayan eklenti veya resim dosyası '%s'"
 
-#: ../commands.c:542
+#: ../commands.c:544
 msgid "Argument must be a number."
 msgstr "Argüman bir sayı olmalı."
 
@@ -143,298 +143,320 @@ msgid "Images"
 msgstr "Resimler"
 
 #. zathura settings
-#: ../config.c:135
+#: ../config.c:139
 msgid "Database backend"
 msgstr "Veritabanı arkayüzü"
 
-#: ../config.c:137
+#: ../config.c:141
 msgid "Zoom step"
 msgstr "Yakınlaşma/uzaklaşma aralığı"
 
-#: ../config.c:139
+#: ../config.c:143
 msgid "Padding between pages"
 msgstr "Sayfalar arasındaki boşluk"
 
-#: ../config.c:141
+#: ../config.c:145
 msgid "Number of pages per row"
 msgstr "Satır başına sayfa sayısı"
 
-#: ../config.c:143
+#: ../config.c:147
 msgid "Column of the first page"
 msgstr "İlk sayfanın sütunu"
 
-#: ../config.c:145
+#: ../config.c:149
 msgid "Scroll step"
 msgstr "Kaydırma aralığı"
 
-#: ../config.c:147
+#: ../config.c:151
 msgid "Horizontal scroll step"
 msgstr "Yatay kaydırma adımı"
 
-#: ../config.c:149
+#: ../config.c:153
 msgid "Full page scroll overlap"
 msgstr "Tam ekran kaydırma kaplaması"
 
-#: ../config.c:151
+#: ../config.c:155
 msgid "Zoom minimum"
 msgstr "En fazla uzaklaşma"
 
-#: ../config.c:153
+#: ../config.c:157
 msgid "Zoom maximum"
 msgstr "En fazla yakınlaşma"
 
-#: ../config.c:155
+#: ../config.c:159
 msgid "Life time (in seconds) of a hidden page"
 msgstr "Gizli pencerenin açık kalma süresi (saniye)"
 
-#: ../config.c:156
+#: ../config.c:160
 msgid "Amount of seconds between each cache purge"
 msgstr "Önbellek temizliği yapılma sıklığı, saniye cinsinden"
 
-#: ../config.c:158
+#: ../config.c:162
 msgid "Number of positions to remember in the jumplist"
 msgstr "Atlama listesinde hatırlanacak pozisyon sayısı"
 
-#: ../config.c:160
+#: ../config.c:164
 msgid "Recoloring (dark color)"
 msgstr "Renk değişimi (koyu renk)"
 
-#: ../config.c:162
+#: ../config.c:166
 msgid "Recoloring (light color)"
 msgstr "Renk değişimi (açık renk)"
 
-#: ../config.c:164
+#: ../config.c:168
 msgid "Color for highlighting"
 msgstr "İşaretleme rengi"
 
-#: ../config.c:166
+#: ../config.c:170
 msgid "Color for highlighting (active)"
 msgstr "İşaretleme rengi (etkin)"
 
-#: ../config.c:170
-msgid "Recolor pages"
-msgstr "Sayga rengini değiştir"
-
 #: ../config.c:172
-msgid "When recoloring keep original hue and adjust lightness only"
-msgstr "Yeniden renklendirirken renk değerini tut ve sadece parlaklığı ayarla"
+msgid "'Loading ...' background color"
+msgstr ""
 
 #: ../config.c:174
-msgid "Wrap scrolling"
-msgstr "Kaydırmayı sarmala"
-
-#: ../config.c:176
-msgid "Page aware scrolling"
+msgid "'Loading ...' foreground color"
 msgstr ""
 
 #: ../config.c:178
+msgid "Recolor pages"
+msgstr "Sayga rengini değiştir"
+
+#: ../config.c:180
+msgid "When recoloring keep original hue and adjust lightness only"
+msgstr "Yeniden renklendirirken renk değerini tut ve sadece parlaklığı ayarla"
+
+#: ../config.c:182
+msgid "Wrap scrolling"
+msgstr "Kaydırmayı sarmala"
+
+#: ../config.c:184
+msgid "Page aware scrolling"
+msgstr ""
+
+#: ../config.c:186
 msgid "Advance number of pages per row"
 msgstr "Satır başına sayfa sayısı"
 
-#: ../config.c:180
+#: ../config.c:188
 msgid "Horizontally centered zoom"
 msgstr "Yatay olarak ortalanmış büyütme"
 
-#: ../config.c:182
+#: ../config.c:190
 msgid "Center result horizontally"
 msgstr ""
 
-#: ../config.c:184
+#: ../config.c:192
 msgid "Transparency for highlighting"
 msgstr "Ön plana çıkarmak için saydamlaştır"
 
-#: ../config.c:186
+#: ../config.c:194
 msgid "Render 'Loading ...'"
 msgstr "'Yüklüyor ...' yazısını göster"
 
-#: ../config.c:187
+#: ../config.c:195
 msgid "Adjust to when opening file"
 msgstr "Dosya açarken ayarla"
 
-#: ../config.c:189
+#: ../config.c:197
 msgid "Show hidden files and directories"
 msgstr "Gizli dosyaları ve dizinleri göster"
 
-#: ../config.c:191
+#: ../config.c:199
 msgid "Show directories"
 msgstr "Dizinleri göster"
 
-#: ../config.c:193
+#: ../config.c:201
 msgid "Always open on first page"
 msgstr "Her zaman ilk sayfayı aç"
 
-#: ../config.c:195
+#: ../config.c:203
 msgid "Highlight search results"
 msgstr "Arama sonuçlarını vurgula"
 
-#: ../config.c:197
+#: ../config.c:205
 msgid "Enable incremental search"
 msgstr "Artımlı aramayı etkinleştir"
 
-#: ../config.c:199
+#: ../config.c:207
 msgid "Clear search results on abort"
 msgstr "Kapatınca arama sonuçlarını temizle"
 
-#: ../config.c:201
+#: ../config.c:209
 msgid "Use basename of the file in the window title"
 msgstr "Pencere başlığı olarak dosyanın adını kullan"
 
-#: ../config.c:203 ../main.c:60
+#: ../config.c:211
+#, fuzzy
+msgid "Use basename of the file in the statusbar"
+msgstr "Pencere başlığı olarak dosyanın adını kullan"
+
+#: ../config.c:213 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:359
+#: ../config.c:369
 msgid "Add a bookmark"
 msgstr "Yer imi ekle"
 
-#: ../config.c:360
+#: ../config.c:370
 msgid "Delete a bookmark"
 msgstr "Yer imi sil"
 
-#: ../config.c:361
+#: ../config.c:371
 msgid "List all bookmarks"
 msgstr "Yer imlerini listele"
 
-#: ../config.c:362
+#: ../config.c:372
 msgid "Close current file"
 msgstr "Geçerli dosyayı kapat"
 
-#: ../config.c:363
+#: ../config.c:373
 msgid "Show file information"
 msgstr "Dosya bilgisi göster"
 
-#: ../config.c:364
+#: ../config.c:374
 msgid "Execute a command"
 msgstr "Bir komut çalıştır"
 
-#: ../config.c:365
+#: ../config.c:375
 msgid "Show help"
 msgstr "Yardım bilgisi göster"
 
-#: ../config.c:366
+#: ../config.c:376
 msgid "Open document"
 msgstr "Belge aç"
 
-#: ../config.c:367
+#: ../config.c:377
 msgid "Close zathura"
 msgstr "Zathura'yı kapat"
 
-#: ../config.c:368
+#: ../config.c:378
 msgid "Print document"
 msgstr "Belge yazdır"
 
-#: ../config.c:369
+#: ../config.c:379
 msgid "Save document"
 msgstr "Belgeyi kaydet"
 
-#: ../config.c:370
+#: ../config.c:380
 msgid "Save document (and force overwriting)"
 msgstr "Belgeyi kaydet (ve sormadan üzerine yaz)"
 
-#: ../config.c:371
+#: ../config.c:381
 msgid "Save attachments"
 msgstr "Ekleri kaydet"
 
-#: ../config.c:372
+#: ../config.c:382
 msgid "Set page offset"
 msgstr "Sayfa derinliğini ayarla"
 
-#: ../config.c:373
+#: ../config.c:383
 msgid "Mark current location within the document"
 msgstr "Bu belgede bu konumu işaretle"
 
-#: ../config.c:374
+#: ../config.c:384
 msgid "Delete the specified marks"
 msgstr "Seçilen işaretlemeleri sil"
 
-#: ../config.c:375
+#: ../config.c:385
 msgid "Don't highlight current search results"
 msgstr "Şuanki arama sonuçlarını vurgulama"
 
-#: ../config.c:376
+#: ../config.c:386
 msgid "Highlight current search results"
 msgstr "Şuanki arama sonuçlarını vurgula"
 
-#: ../config.c:377
+#: ../config.c:387
 msgid "Show version information"
 msgstr "Versiyon bilgisi göster"
 
-#: ../links.c:161 ../links.c:240
+#: ../links.c:163 ../links.c:242
 msgid "Failed to run xdg-open."
 msgstr "xdg-open çalıştırılamadı"
 
-#: ../links.c:179
+#: ../links.c:181
 #, c-format
 msgid "Link: page %d"
 msgstr ""
 
-#: ../links.c:186
+#: ../links.c:188
 #, c-format
 msgid "Link: %s"
 msgstr ""
 
-#: ../links.c:190
+#: ../links.c:192
 msgid "Link: Invalid"
 msgstr ""
 
-#: ../main.c:52
+#: ../main.c:55
 msgid "Reparents to window specified by xid"
 msgstr "Xid tarafından belirlendiği gibi bir üst seviye pencereye bağlı"
 
-#: ../main.c:53
+#: ../main.c:56
 msgid "Path to the config directory"
 msgstr "Ayar dizini adresi"
 
-#: ../main.c:54
+#: ../main.c:57
 msgid "Path to the data directory"
 msgstr "Veri dizini adresi"
 
-#: ../main.c:55
+#: ../main.c:58
 msgid "Path to the directories containing plugins"
 msgstr "Eklentileri içeren dizinin adresi"
 
-#: ../main.c:56
+#: ../main.c:59
 msgid "Fork into the background"
 msgstr "Arka planda işlemden çocuk oluştur"
 
-#: ../main.c:57
+#: ../main.c:60
 msgid "Document password"
 msgstr "Belge şifresi"
 
-#: ../main.c:58
+#: ../main.c:61
+msgid "Page number to go to"
+msgstr ""
+
+#: ../main.c:62
 msgid "Log level (debug, info, warning, error)"
 msgstr "Kayıt seviyesi (hata ayıklama, bilgi, uyarı, hata)"
 
-#: ../main.c:59
+#: ../main.c:63
 msgid "Print version information"
 msgstr "Dosya bilgisi göster"
 
-#: ../main.c:61
+#: ../main.c:65
 msgid "Synctex editor (forwarded to the synctex command)"
 msgstr ""
 
-#: ../page-widget.c:455
+#: ../page-widget.c:460
 msgid "Loading..."
 msgstr "Yüklüyor ..."
 
-#: ../page-widget.c:646
+#: ../page-widget.c:655
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr "Seçili metin panoya kopyalandı: %s"
 
-#: ../page-widget.c:744
+#: ../page-widget.c:753
 msgid "Copy image"
 msgstr "Resim kopyala"
 
-#: ../page-widget.c:745
+#: ../page-widget.c:754
 msgid "Save image as"
 msgstr "Resmi farklı kaydet"
 
-#: ../shortcuts.c:956
+#: ../shortcuts.c:962
 msgid "This document does not contain any index"
 msgstr "Bu belge fihrist içermiyor"
 
-#: ../zathura.c:193 ../zathura.c:865
+#: ../zathura.c:194 ../zathura.c:901
 msgid "[No name]"
 msgstr "[İsimsiz]"
+
+#: ../zathura.c:538
+#, fuzzy
+msgid "Document does not contain any pages"
+msgstr "Bu belge fihrist içermiyor"
diff --git a/po/uk_UA.po b/po/uk_UA.po
index ec16704..de8f2db 100644
--- a/po/uk_UA.po
+++ b/po/uk_UA.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-01-22 21:33+0100\n"
+"POT-Creation-Date: 2013-03-17 10:22+0000\n"
 "PO-Revision-Date: 2013-01-13 14:12+0000\n"
 "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
 "Language-Team: Ukrainian (Ukraine) (http://www.transifex.com/projects/p/"
@@ -30,13 +30,13 @@ msgid "Invalid index '%s' given."
 msgstr "Вказано невірний індекс: %s"
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
-#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:408
-#: ../commands.c:529 ../shortcuts.c:475 ../shortcuts.c:1053
-#: ../shortcuts.c:1082
+#: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
+#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
+#: ../shortcuts.c:1088
 msgid "No document opened."
 msgstr "Документ не відкрито."
 
-#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:413
+#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:415
 msgid "Invalid number of arguments given."
 msgstr "Вказана невірна кількість аргументів."
 
@@ -78,53 +78,53 @@ msgstr "Інформація недоступна."
 msgid "Too many arguments."
 msgstr "Забагато аргументів."
 
-#: ../commands.c:230
+#: ../commands.c:232
 msgid "No arguments given."
 msgstr "Жодного аргументу не вказано."
 
-#: ../commands.c:289 ../commands.c:315
+#: ../commands.c:291 ../commands.c:317
 msgid "Document saved."
 msgstr "Документ збережено."
 
-#: ../commands.c:291 ../commands.c:317
+#: ../commands.c:293 ../commands.c:319
 msgid "Failed to save document."
 msgstr "Документ не вдалося зберегти."
 
-#: ../commands.c:294 ../commands.c:320
+#: ../commands.c:296 ../commands.c:322
 msgid "Invalid number of arguments."
 msgstr "Невірна кількість аргументів."
 
-#: ../commands.c:432
+#: ../commands.c:434
 #, c-format
 msgid "Couldn't write attachment '%s' to '%s'."
 msgstr "Неможливо записати прикріплення '%s' до '%s'."
 
-#: ../commands.c:434
+#: ../commands.c:436
 #, c-format
 msgid "Wrote attachment '%s' to '%s'."
 msgstr "Прикріплення записано %s до %s."
 
-#: ../commands.c:478
+#: ../commands.c:480
 #, c-format
 msgid "Wrote image '%s' to '%s'."
 msgstr ""
 
-#: ../commands.c:480
+#: ../commands.c:482
 #, c-format
 msgid "Couldn't write image '%s' to '%s'."
 msgstr ""
 
-#: ../commands.c:487
+#: ../commands.c:489
 #, c-format
 msgid "Unknown image '%s'."
 msgstr ""
 
-#: ../commands.c:491
+#: ../commands.c:493
 #, c-format
 msgid "Unknown attachment or image '%s'."
 msgstr ""
 
-#: ../commands.c:542
+#: ../commands.c:544
 msgid "Argument must be a number."
 msgstr "Аргумент повинен бути цифрою."
 
@@ -143,298 +143,319 @@ msgid "Images"
 msgstr ""
 
 #. zathura settings
-#: ../config.c:135
+#: ../config.c:139
 msgid "Database backend"
 msgstr "Буфер бази"
 
-#: ../config.c:137
+#: ../config.c:141
 msgid "Zoom step"
 msgstr "Збільшення"
 
-#: ../config.c:139
+#: ../config.c:143
 msgid "Padding between pages"
 msgstr "Заповнення між сторінками"
 
-#: ../config.c:141
+#: ../config.c:145
 msgid "Number of pages per row"
 msgstr "Кількість сторінок в одному рядку"
 
-#: ../config.c:143
+#: ../config.c:147
 msgid "Column of the first page"
 msgstr ""
 
-#: ../config.c:145
+#: ../config.c:149
 msgid "Scroll step"
 msgstr "Прокручування"
 
-#: ../config.c:147
+#: ../config.c:151
 msgid "Horizontal scroll step"
 msgstr ""
 
-#: ../config.c:149
+#: ../config.c:153
 msgid "Full page scroll overlap"
 msgstr ""
 
-#: ../config.c:151
+#: ../config.c:155
 msgid "Zoom minimum"
 msgstr "Максимальне зменшення"
 
-#: ../config.c:153
+#: ../config.c:157
 msgid "Zoom maximum"
 msgstr "Максимальне збільшення"
 
-#: ../config.c:155
+#: ../config.c:159
 msgid "Life time (in seconds) of a hidden page"
 msgstr "Час (у сек) схованої сторінки"
 
-#: ../config.c:156
+#: ../config.c:160
 msgid "Amount of seconds between each cache purge"
 msgstr "Кількість секунд між кожним очищенням кешу"
 
-#: ../config.c:158
+#: ../config.c:162
 msgid "Number of positions to remember in the jumplist"
 msgstr ""
 
-#: ../config.c:160
+#: ../config.c:164
 msgid "Recoloring (dark color)"
 msgstr "Перефарбування (темний колір)"
 
-#: ../config.c:162
+#: ../config.c:166
 msgid "Recoloring (light color)"
 msgstr "Перефарбування (світлий колір)"
 
-#: ../config.c:164
+#: ../config.c:168
 msgid "Color for highlighting"
 msgstr "Колір для виділення"
 
-#: ../config.c:166
+#: ../config.c:170
 msgid "Color for highlighting (active)"
 msgstr "Колір для виділення (активний)"
 
-#: ../config.c:170
-msgid "Recolor pages"
-msgstr "Змінити кольори"
-
 #: ../config.c:172
-msgid "When recoloring keep original hue and adjust lightness only"
+msgid "'Loading ...' background color"
 msgstr ""
 
 #: ../config.c:174
-msgid "Wrap scrolling"
-msgstr "Плавне прокручування"
-
-#: ../config.c:176
-msgid "Page aware scrolling"
+msgid "'Loading ...' foreground color"
 msgstr ""
 
 #: ../config.c:178
-msgid "Advance number of pages per row"
-msgstr ""
+msgid "Recolor pages"
+msgstr "Змінити кольори"
 
 #: ../config.c:180
-msgid "Horizontally centered zoom"
+msgid "When recoloring keep original hue and adjust lightness only"
 msgstr ""
 
 #: ../config.c:182
+msgid "Wrap scrolling"
+msgstr "Плавне прокручування"
+
+#: ../config.c:184
+msgid "Page aware scrolling"
+msgstr ""
+
+#: ../config.c:186
+msgid "Advance number of pages per row"
+msgstr ""
+
+#: ../config.c:188
+msgid "Horizontally centered zoom"
+msgstr ""
+
+#: ../config.c:190
 msgid "Center result horizontally"
 msgstr ""
 
-#: ../config.c:184
+#: ../config.c:192
 msgid "Transparency for highlighting"
 msgstr "Прозорість для виділення"
 
-#: ../config.c:186
+#: ../config.c:194
 msgid "Render 'Loading ...'"
 msgstr "Рендер 'Завантажується ...'"
 
-#: ../config.c:187
+#: ../config.c:195
 msgid "Adjust to when opening file"
 msgstr "Підлаштовутись при відкритті файлу"
 
-#: ../config.c:189
+#: ../config.c:197
 msgid "Show hidden files and directories"
 msgstr "Показати приховані файли та директорії"
 
-#: ../config.c:191
+#: ../config.c:199
 msgid "Show directories"
 msgstr "Показати диреторії"
 
-#: ../config.c:193
+#: ../config.c:201
 msgid "Always open on first page"
 msgstr "Завжди відкривати на першій сторінці"
 
-#: ../config.c:195
+#: ../config.c:203
 msgid "Highlight search results"
 msgstr ""
 
-#: ../config.c:197
+#: ../config.c:205
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:199
+#: ../config.c:207
 msgid "Clear search results on abort"
 msgstr ""
 
-#: ../config.c:201
+#: ../config.c:209
 msgid "Use basename of the file in the window title"
 msgstr ""
 
-#: ../config.c:203 ../main.c:60
+#: ../config.c:211
+msgid "Use basename of the file in the statusbar"
+msgstr ""
+
+#: ../config.c:213 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:359
+#: ../config.c:369
 msgid "Add a bookmark"
 msgstr "Додати закладку"
 
-#: ../config.c:360
+#: ../config.c:370
 msgid "Delete a bookmark"
 msgstr "Вилучити закладку"
 
-#: ../config.c:361
+#: ../config.c:371
 msgid "List all bookmarks"
 msgstr "Дивитись усі закладки"
 
-#: ../config.c:362
+#: ../config.c:372
 msgid "Close current file"
 msgstr "Закрити документ"
 
-#: ../config.c:363
+#: ../config.c:373
 msgid "Show file information"
 msgstr "Показати інформацію файлу"
 
-#: ../config.c:364
+#: ../config.c:374
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:365
+#: ../config.c:375
 msgid "Show help"
 msgstr "Показати довідку"
 
-#: ../config.c:366
+#: ../config.c:376
 msgid "Open document"
 msgstr "Відкрити документ"
 
-#: ../config.c:367
+#: ../config.c:377
 msgid "Close zathura"
 msgstr "Вийти із zathura"
 
-#: ../config.c:368
+#: ../config.c:378
 msgid "Print document"
 msgstr "Друкувати документ"
 
-#: ../config.c:369
+#: ../config.c:379
 msgid "Save document"
 msgstr "Зберегти документ"
 
-#: ../config.c:370
+#: ../config.c:380
 msgid "Save document (and force overwriting)"
 msgstr "Зберегти документ (форсувати перезапис)"
 
-#: ../config.c:371
+#: ../config.c:381
 msgid "Save attachments"
 msgstr "Зберегти прикріплення"
 
-#: ../config.c:372
+#: ../config.c:382
 msgid "Set page offset"
 msgstr "Встановити зміщення сторінки"
 
-#: ../config.c:373
+#: ../config.c:383
 msgid "Mark current location within the document"
 msgstr ""
 
-#: ../config.c:374
+#: ../config.c:384
 msgid "Delete the specified marks"
 msgstr ""
 
-#: ../config.c:375
+#: ../config.c:385
 msgid "Don't highlight current search results"
 msgstr ""
 
-#: ../config.c:376
+#: ../config.c:386
 msgid "Highlight current search results"
 msgstr ""
 
-#: ../config.c:377
+#: ../config.c:387
 msgid "Show version information"
 msgstr ""
 
-#: ../links.c:161 ../links.c:240
+#: ../links.c:163 ../links.c:242
 msgid "Failed to run xdg-open."
 msgstr "Запуск xdg-open не вдався."
 
-#: ../links.c:179
+#: ../links.c:181
 #, c-format
 msgid "Link: page %d"
 msgstr ""
 
-#: ../links.c:186
+#: ../links.c:188
 #, c-format
 msgid "Link: %s"
 msgstr ""
 
-#: ../links.c:190
+#: ../links.c:192
 msgid "Link: Invalid"
 msgstr ""
 
-#: ../main.c:52
+#: ../main.c:55
 msgid "Reparents to window specified by xid"
 msgstr "Вертатися до вікна, вказаного xid"
 
-#: ../main.c:53
+#: ../main.c:56
 msgid "Path to the config directory"
 msgstr "Шлях до теки конфігурації"
 
-#: ../main.c:54
+#: ../main.c:57
 msgid "Path to the data directory"
 msgstr "Шлях до теки з даними"
 
-#: ../main.c:55
+#: ../main.c:58
 msgid "Path to the directories containing plugins"
 msgstr "Шлях до теки з плаґінами"
 
-#: ../main.c:56
+#: ../main.c:59
 msgid "Fork into the background"
 msgstr "Працювати у фоні"
 
-#: ../main.c:57
+#: ../main.c:60
 msgid "Document password"
 msgstr ""
 
-#: ../main.c:58
+#: ../main.c:61
+msgid "Page number to go to"
+msgstr ""
+
+#: ../main.c:62
 msgid "Log level (debug, info, warning, error)"
 msgstr "Рівень логування (налагодження, інфо, застереження, помилка)"
 
-#: ../main.c:59
+#: ../main.c:63
 msgid "Print version information"
 msgstr "Показати інформацію файлу"
 
-#: ../main.c:61
+#: ../main.c:65
 msgid "Synctex editor (forwarded to the synctex command)"
 msgstr ""
 
-#: ../page-widget.c:455
+#: ../page-widget.c:460
 msgid "Loading..."
 msgstr ""
 
-#: ../page-widget.c:646
+#: ../page-widget.c:655
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr "Вибраний текст скопійовано до буферу: %s"
 
-#: ../page-widget.c:744
+#: ../page-widget.c:753
 msgid "Copy image"
 msgstr "Копіювати картинку"
 
-#: ../page-widget.c:745
+#: ../page-widget.c:754
 msgid "Save image as"
 msgstr ""
 
-#: ../shortcuts.c:956
+#: ../shortcuts.c:962
 msgid "This document does not contain any index"
 msgstr "Індекс відсутній в цьому документі"
 
-#: ../zathura.c:193 ../zathura.c:865
+#: ../zathura.c:194 ../zathura.c:901
 msgid "[No name]"
 msgstr "[Без назви]"
+
+#: ../zathura.c:538
+#, fuzzy
+msgid "Document does not contain any pages"
+msgstr "Індекс відсутній в цьому документі"

From e13ae4cfb76d00aa046d5dcb2411fab67baca94f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Beno=C3=AEt=20Knecht?= <benoit.knecht@fsfe.org>
Date: Sun, 17 Mar 2013 10:33:01 +0000
Subject: [PATCH 41/74] Update French translation

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 po/fr.po | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

diff --git a/po/fr.po b/po/fr.po
index a2fd1b1..b473354 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -11,8 +11,8 @@ msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
 "POT-Creation-Date: 2013-03-17 10:22+0000\n"
-"PO-Revision-Date: 2013-01-13 14:13+0000\n"
-"Last-Translator: Benoît Knecht <benoit.knecht@gmail.com>\n"
+"PO-Revision-Date: 2013-03-17 11:30+0100\n"
+"Last-Translator: Benoît Knecht <benoit.knecht@fsfe.org>\n"
 "Language-Team: French (http://www.transifex.com/projects/p/zathura/language/"
 "fr/)\n"
 "Language: fr\n"
@@ -215,11 +215,11 @@ msgstr "Couleur de surbrillance (active)"
 
 #: ../config.c:172
 msgid "'Loading ...' background color"
-msgstr ""
+msgstr "Couleur d'arrière-plan de 'Chargement...'"
 
 #: ../config.c:174
 msgid "'Loading ...' foreground color"
-msgstr ""
+msgstr "Couleur de 'Chargement...'"
 
 #: ../config.c:178
 msgid "Recolor pages"
@@ -292,9 +292,8 @@ msgid "Use basename of the file in the window title"
 msgstr "Utiliser le nom de base du fichier dans le titre de la fenêtre"
 
 #: ../config.c:211
-#, fuzzy
 msgid "Use basename of the file in the statusbar"
-msgstr "Utiliser le nom de base du fichier dans le titre de la fenêtre"
+msgstr "Utiliser le nom de base du fichier dans la barre d'état"
 
 #: ../config.c:213 ../main.c:64
 msgid "Enable synctex support"
@@ -421,7 +420,7 @@ msgstr "Mot de passe du document"
 
 #: ../main.c:61
 msgid "Page number to go to"
-msgstr ""
+msgstr "Numéro de page où aller"
 
 #: ../main.c:62
 msgid "Log level (debug, info, warning, error)"
@@ -461,6 +460,5 @@ msgid "[No name]"
 msgstr "[Sans nom]"
 
 #: ../zathura.c:538
-#, fuzzy
 msgid "Document does not contain any pages"
-msgstr "Ce document ne contient pas d'index"
+msgstr "Ce document ne contient aucune page"

From f4b17f3389f33513706ccc32db45b5baaa3d4fe1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Beno=C3=AEt=20Knecht?= <benoit.knecht@fsfe.org>
Date: Sun, 17 Mar 2013 12:26:34 +0000
Subject: [PATCH 42/74] Add 'q' and 'BackSpace' shortcuts in fullscreen mode

Now by default, 'q' quits zathura even in fullscreen mode, and
'BackSpace' does the reverse of 'space', i.e. go back one page.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 config.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/config.c b/config.c
index 5eafc0d..2dd64df 100644
--- a/config.c
+++ b/config.c
@@ -254,6 +254,7 @@ config_load_default(zathura_t* zathura)
   girara_shortcut_add(gsession, 0,                GDK_KEY_Up,         NULL, sc_navigate,                 FULLSCREEN, PREVIOUS,        NULL);
   girara_shortcut_add(gsession, 0,                GDK_KEY_Page_Up,    NULL, sc_navigate,                 FULLSCREEN, PREVIOUS,        NULL);
   girara_shortcut_add(gsession, GDK_SHIFT_MASK,   GDK_KEY_space,      NULL, sc_navigate,                 FULLSCREEN, PREVIOUS,        NULL);
+  girara_shortcut_add(gsession, 0,                GDK_KEY_BackSpace,  NULL, sc_navigate,                 FULLSCREEN, PREVIOUS,        NULL);
 
   girara_shortcut_add(gsession, 0,                GDK_KEY_k,          NULL, sc_navigate_index,           INDEX,      UP,              NULL);
   girara_shortcut_add(gsession, 0,                GDK_KEY_j,          NULL, sc_navigate_index,           INDEX,      DOWN,            NULL);
@@ -309,6 +310,7 @@ config_load_default(zathura_t* zathura)
   girara_shortcut_add(gsession, 0,                GDK_KEY_d,          NULL, sc_toggle_page_mode,         NORMAL,     0,               NULL);
 
   girara_shortcut_add(gsession, 0,                GDK_KEY_q,          NULL, sc_quit,                     NORMAL,     0,               NULL);
+  girara_shortcut_add(gsession, 0,                GDK_KEY_q,          NULL, sc_quit,                     FULLSCREEN, 0,               NULL);
 
   girara_shortcut_add(gsession, 0,                GDK_KEY_plus,       NULL, sc_zoom,                     NORMAL,     ZOOM_IN,         NULL);
   girara_shortcut_add(gsession, 0,                GDK_KEY_KP_Add,     NULL, sc_zoom,                     NORMAL,     ZOOM_IN,         NULL);

From 92f87846058b633a1ae453b6e21f704608f72fd7 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Sun, 17 Mar 2013 16:19:10 +0100
Subject: [PATCH 43/74] Implement input history IO in plain database

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 database-plain.c | 118 ++++++++++++++++++++++++++++++++++++++++++++---
 zathura.c        |   5 +-
 2 files changed, 113 insertions(+), 10 deletions(-)

diff --git a/database-plain.c b/database-plain.c
index fcc0558..90de64c 100644
--- a/database-plain.c
+++ b/database-plain.c
@@ -1,6 +1,7 @@
 /* See LICENSE file for license and copyright information */
 
 #define _POSIX_SOURCE
+#define _XOPEN_SOURCE 500
 
 #include <glib.h>
 #include <stdlib.h>
@@ -10,11 +11,13 @@
 #include <unistd.h>
 #include <girara/utils.h>
 #include <girara/datastructures.h>
+#include <girara/input-history.h>
 
 #include "database-plain.h"
 
 #define BOOKMARKS "bookmarks"
 #define HISTORY "history"
+#define INPUT_HISTORY "input-history"
 
 #define KEY_PAGE "page"
 #define KEY_OFFSET "offset"
@@ -37,9 +40,11 @@
 #endif
 
 static void zathura_database_interface_init(ZathuraDatabaseInterface* iface);
+static void io_interface_init(GiraraInputHistoryIOInterface* iface);
 
 G_DEFINE_TYPE_WITH_CODE(ZathuraPlainDatabase, zathura_plaindatabase, G_TYPE_OBJECT,
-                        G_IMPLEMENT_INTERFACE(ZATHURA_TYPE_DATABASE, zathura_database_interface_init))
+                        G_IMPLEMENT_INTERFACE(ZATHURA_TYPE_DATABASE, zathura_database_interface_init)
+                        G_IMPLEMENT_INTERFACE(GIRARA_TYPE_INPUT_HISTORY_IO, io_interface_init))
 
 static void plain_finalize(GObject* object);
 static bool plain_add_bookmark(zathura_database_t* db, const char* file,
@@ -54,6 +59,8 @@ static bool plain_get_fileinfo(zathura_database_t* db, const char* file,
                                zathura_fileinfo_t* file_info);
 static void plain_set_property(GObject* object, guint prop_id,
                                const GValue* value, GParamSpec* pspec);
+static void plain_io_append(GiraraInputHistoryIO* db, const char*);
+static girara_list_t* plain_io_read(GiraraInputHistoryIO* db);
 
 /* forward declaration */
 static bool zathura_db_check_file(const char* path);
@@ -70,6 +77,8 @@ typedef struct zathura_plaindatabase_private_s {
   char* history_path;
   GKeyFile* history;
   GFileMonitor* history_monitor;
+
+  char* input_history_path;
 } zathura_plaindatabase_private_t;
 
 #define ZATHURA_PLAINDATABASE_GET_PRIVATE(obj) \
@@ -105,6 +114,14 @@ zathura_database_interface_init(ZathuraDatabaseInterface* iface)
   iface->get_fileinfo    = plain_get_fileinfo;
 }
 
+static void
+io_interface_init(GiraraInputHistoryIOInterface* iface)
+{
+  /* initialize interface */
+  iface->append = plain_io_append;
+  iface->read = plain_io_read;
+}
+
 static void
 zathura_plaindatabase_class_init(ZathuraPlainDatabaseClass* class)
 {
@@ -126,12 +143,13 @@ zathura_plaindatabase_init(ZathuraPlainDatabase* db)
 {
   zathura_plaindatabase_private_t* priv = ZATHURA_PLAINDATABASE_GET_PRIVATE(db);
 
-  priv->bookmark_path    = NULL;
-  priv->bookmark_monitor = NULL;
-  priv->bookmarks        = NULL;
-  priv->history_path     = NULL;
-  priv->history_monitor  = NULL;
-  priv->history          = NULL;
+  priv->bookmark_path         = NULL;
+  priv->bookmark_monitor      = NULL;
+  priv->bookmarks             = NULL;
+  priv->history_path          = NULL;
+  priv->history_monitor       = NULL;
+  priv->history               = NULL;
+  priv->input_history_path    = NULL;
 }
 
 zathura_database_t*
@@ -208,6 +226,12 @@ plain_db_init(ZathuraPlainDatabase* db, const char* dir)
     goto error_free;
   }
 
+  /* input history */
+  priv->input_history_path = g_build_filename(dir, INPUT_HISTORY, NULL);
+  if (zathura_db_check_file(priv->input_history_path) == false) {
+    goto error_free;
+  }
+
   return;
 
 error_free:
@@ -239,6 +263,10 @@ error_free:
     g_key_file_free(priv->history);
     priv->history = NULL;
   }
+
+  /* input history */
+  g_free(priv->input_history_path);
+  priv->input_history_path = NULL;
 }
 
 static void
@@ -283,6 +311,9 @@ plain_finalize(GObject* object)
     g_key_file_free(priv->history);
   }
 
+  /* input history */
+  g_free(priv->input_history_path);
+
   G_OBJECT_CLASS(zathura_plaindatabase_parent_class)->finalize(object);
 }
 
@@ -595,3 +626,76 @@ cb_zathura_db_watch_file(GFileMonitor* UNUSED(monitor), GFile* file, GFile* UNUS
 
   g_free(path);
 }
+
+static girara_list_t*
+plain_io_read(GiraraInputHistoryIO* db)
+{
+  zathura_plaindatabase_private_t* priv = ZATHURA_PLAINDATABASE_GET_PRIVATE(db);
+
+  /* open file */
+  FILE* file = fopen(priv->input_history_path, "r");
+  if (file == NULL) {
+    return NULL;
+  }
+
+  /* read input history file */
+  file_lock_set(fileno(file), F_RDLCK);
+  char* content = girara_file_read2(file);
+  file_lock_set(fileno(file), F_UNLCK);
+  fclose(file);
+
+  girara_list_t* res = girara_list_new2(g_free);
+  char** tmp = g_strsplit(content, "\n", 0);
+  for (size_t i = 0; tmp[i] != NULL; ++i) {
+    if (strlen(tmp[i]) == 0 || strchr(":/", tmp[i][0]) == NULL) {
+      continue;
+    }
+    girara_list_append(res, g_strdup(tmp[i]));
+  }
+  g_strfreev(tmp);
+  free(content);
+
+  return res;
+}
+
+#include <errno.h>
+
+static void
+plain_io_append(GiraraInputHistoryIO* db, const char* input)
+{
+  zathura_plaindatabase_private_t* priv = ZATHURA_PLAINDATABASE_GET_PRIVATE(db);
+
+  /* open file */
+  FILE* file = fopen(priv->input_history_path, "r+");
+  if (file == NULL) {
+    return;
+  }
+
+  /* read input history file */
+  file_lock_set(fileno(file), F_WRLCK);
+  char* content = girara_file_read2(file);
+
+  rewind(file);
+  if (ftruncate(fileno(file), 0) != 0) {
+    free(content);
+    file_lock_set(fileno(file), F_UNLCK);
+    fclose(file);
+    return;
+  }
+
+  char** tmp = g_strsplit(content, "\n", 0);
+  free(content);
+
+  /* write input history file */
+  for (size_t i = 0; tmp[i] != NULL; ++i) {
+    if (strlen(tmp[i]) == 0 || strchr(":/", tmp[i][0]) == NULL || strcmp(tmp[i], input) == 0) {
+      continue;
+    }
+    fprintf(file, "%s\n", tmp[i]);
+  }
+  g_strfreev(tmp);
+  fprintf(file, "%s\n", input);
+
+  file_lock_set(fileno(file), F_UNLCK);
+  fclose(file);
+}
diff --git a/zathura.c b/zathura.c
index 5af318a..b110a6d 100644
--- a/zathura.c
+++ b/zathura.c
@@ -219,9 +219,6 @@ zathura_init(zathura_t* zathura)
     girara_debug("Using sqlite database backend.");
     char* tmp = g_build_filename(zathura->config.data_dir, "bookmarks.sqlite", NULL);
     zathura->database = zathura_sqldatabase_new(tmp);
-    if (zathura->database != NULL) {
-      g_object_set(zathura->ui.session->global.command_history, "io", zathura->database, NULL);
-    }
     g_free(tmp);
 #endif
   } else {
@@ -231,6 +228,8 @@ zathura_init(zathura_t* zathura)
 
   if (zathura->database == NULL) {
     girara_error("Unable to initialize database. Bookmarks won't be available.");
+  } else {
+    g_object_set(zathura->ui.session->global.command_history, "io", zathura->database, NULL);
   }
 
   /* bookmarks */

From c20b5e25c76782006565da5123ac179d809519e6 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Sun, 17 Mar 2013 16:25:02 +0100
Subject: [PATCH 44/74] Use the correct command history

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 zathura.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/zathura.c b/zathura.c
index b110a6d..8d2ed74 100644
--- a/zathura.c
+++ b/zathura.c
@@ -229,7 +229,7 @@ zathura_init(zathura_t* zathura)
   if (zathura->database == NULL) {
     girara_error("Unable to initialize database. Bookmarks won't be available.");
   } else {
-    g_object_set(zathura->ui.session->global.command_history, "io", zathura->database, NULL);
+    g_object_set(zathura->ui.session->command_history, "io", zathura->database, NULL);
   }
 
   /* bookmarks */

From f5b02a9751510b6133238cb6a79ee9a39298bcbc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Beno=C3=AEt=20Knecht?= <benoit.knecht@fsfe.org>
Date: Wed, 20 Mar 2013 23:03:54 +0000
Subject: [PATCH 45/74] Revert commit ce6e735

This wasn't correct. Padding is already accounted for:

  scale = (width - (pages_per_row - 1) * padding) /
          (pages_per_row * cell_width)

If you add padding on the denominator, you end up with black margins on
the sides of the window, which isn't what padding is for (i.e. insert a
gap between rendered pages), and defeats the purpose of a "best-fit".

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 shortcuts.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/shortcuts.c b/shortcuts.c
index a3348af..6974d48 100644
--- a/shortcuts.c
+++ b/shortcuts.c
@@ -144,7 +144,7 @@ sc_adjust_window(girara_session_t* session, girara_argument_t* argument,
   if (argument->n == ZATHURA_ADJUST_WIDTH ||
       (argument->n == ZATHURA_ADJUST_BESTFIT && page_ratio < window_ratio)) {
     scale = (double)(width - (pages_per_row - 1) * padding) /
-            (double)(pages_per_row * cell_width + (pages_per_row - 1) * padding);
+            (double)(pages_per_row * cell_width);
     zathura_document_set_scale(zathura->document, scale);
 
     bool show_scrollbars = false;
@@ -165,7 +165,7 @@ sc_adjust_window(girara_session_t* session, girara_argument_t* argument,
           if (0 < requisition.width && (unsigned)requisition.width < width) {
             width -= requisition.width;
             scale = (double)(width - (pages_per_row - 1) * padding) /
-                    (double)(pages_per_row * cell_width + (pages_per_row - 1) * padding);
+                    (double)(pages_per_row * cell_width);
             zathura_document_set_scale(zathura->document, scale);
           }
         }

From c9eef954920c996dc6c51b10517c8314fd0767fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Beno=C3=AEt=20Knecht?= <benoit.knecht@fsfe.org>
Date: Sat, 23 Mar 2013 14:59:27 +0000
Subject: [PATCH 46/74] Use signals to readjust_view_after_zooming()

Instead of guesstimating the values of the scrollbars adjustments after
a change in zoom level, connect callbacks to the "changed" GtkAdjustment
event (which is emitted when the bounds or page_size of the adjustment
change, e.g. when the zoom level changes), and compute the new values
from there.

The previous adjustment values are tracked in zathura->ui.hadjustment
and zathura->ui.vadjustment (and updated by signal handlers as well), so
that the view's position can be maintained while zooming.

cb_view_hadjustment_changed() centers the page horizontally if a
"best-fit" or "width" zoom is being performed, or if "zoom-center" is
true; otherwise, it keeps the view horizontally centered around the same
area of the page.

cb_view_vadjustment_changed() always keeps the view vertically centered
around the same area of the page.

Many thanks to Marwan Tanager for thoroughly reviewing the various
stages of this patch, and actually coming up with a working solution.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 adjustment.c | 55 +++++++++++++++++++++++++++++++++++++++
 adjustment.h | 49 +++++++++++++++++++++++++++++++++++
 callbacks.c  | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 callbacks.h  | 47 +++++++++++++++++++++++++++++++++
 marks.c      |  2 --
 shortcuts.c  | 20 ++++++--------
 utils.c      | 36 --------------------------
 utils.h      | 16 ------------
 zathura.c    | 52 ++++++++++++++++++++++++++++++-------
 zathura.h    |  3 +++
 10 files changed, 278 insertions(+), 75 deletions(-)
 create mode 100644 adjustment.c
 create mode 100644 adjustment.h

diff --git a/adjustment.c b/adjustment.c
new file mode 100644
index 0000000..f61ea8f
--- /dev/null
+++ b/adjustment.c
@@ -0,0 +1,55 @@
+/* See LICENSE file for license and copyright information */
+
+#include "adjustment.h"
+#include "utils.h"
+
+GtkAdjustment*
+zathura_adjustment_clone(GtkAdjustment* adjustment)
+{
+  gdouble value          = gtk_adjustment_get_value(adjustment);
+  gdouble lower          = gtk_adjustment_get_lower(adjustment);
+  gdouble upper          = gtk_adjustment_get_upper(adjustment);
+  gdouble step_increment = gtk_adjustment_get_step_increment(adjustment);
+  gdouble page_increment = gtk_adjustment_get_page_increment(adjustment);
+  gdouble page_size      = gtk_adjustment_get_page_size(adjustment);
+
+  return GTK_ADJUSTMENT(gtk_adjustment_new(value, lower, upper, step_increment,
+        page_increment, page_size));
+}
+
+void
+zathura_adjustment_set_value(GtkAdjustment* adjustment, gdouble value)
+{
+  gtk_adjustment_set_value(adjustment,
+                           MAX(gtk_adjustment_get_lower(adjustment),
+                               MIN(gtk_adjustment_get_upper(adjustment) -
+                                   gtk_adjustment_get_page_size(adjustment),
+                                   value)));
+}
+
+gdouble
+zathura_adjustment_get_ratio(GtkAdjustment* adjustment)
+{
+  gdouble lower     = gtk_adjustment_get_lower(adjustment);
+  gdouble upper     = gtk_adjustment_get_upper(adjustment);
+  gdouble page_size = gtk_adjustment_get_page_size(adjustment);
+  gdouble value     = gtk_adjustment_get_value(adjustment);
+
+  return (value - lower + page_size / 2.0) / (upper - lower);
+}
+
+void
+zathura_adjustment_set_value_from_ratio(GtkAdjustment* adjustment,
+                                        gdouble ratio)
+{
+  if (ratio == 0.0)
+    return;
+
+  gdouble lower = gtk_adjustment_get_lower(adjustment);
+  gdouble upper = gtk_adjustment_get_upper(adjustment);
+  gdouble page_size = gtk_adjustment_get_page_size(adjustment);
+
+  gdouble value = (upper - lower) * ratio + lower - page_size / 2.0;
+
+  zathura_adjustment_set_value(adjustment, value);
+}
diff --git a/adjustment.h b/adjustment.h
new file mode 100644
index 0000000..63b4f88
--- /dev/null
+++ b/adjustment.h
@@ -0,0 +1,49 @@
+/* See LICENSE file for license and copyright information */
+
+#ifndef ZATHURA_ADJUSTMENT_H
+#define ZATHURA_ADJUSTMENT_H
+
+#include <gtk/gtk.h>
+
+/* Clone a GtkAdjustment
+ *
+ * Creates a new adjustment with the same value, lower and upper bounds, step
+ * and page increments and page_size as the original adjustment.
+ *
+ * @param adjustment Adjustment instance to be cloned
+ * @return Pointer to the new adjustment
+ */
+GtkAdjustment* zathura_adjustment_clone(GtkAdjustment* adjustment);
+
+/**
+ * Set the adjustment value while enforcing its limits
+ *
+ * @param adjustment Adjustment instance
+ * @param value Adjustment value
+ */
+void zathura_adjustment_set_value(GtkAdjustment* adjustment, gdouble value);
+
+/**
+ * Compute the adjustment ratio
+ *
+ * That is, the ratio between the length from the lower bound to the middle of
+ * the slider, and the total length of the scrollbar.
+ *
+ * @param adjustment Scrollbar adjustment
+ * @return Adjustment ratio
+ */
+gdouble zathura_adjustment_get_ratio(GtkAdjustment* adjustment);
+
+/**
+ * Set the adjustment value from ratio
+ *
+ * The ratio is usually obtained from a previous call to
+ * zathura_adjustment_get_ratio().
+ *
+ * @param adjustment Adjustment instance
+ * @param ratio Ratio from which the adjustment value will be set
+ */
+void zathura_adjustment_set_value_from_ratio(GtkAdjustment* adjustment,
+                                             gdouble ratio);
+
+#endif /* ZATHURA_ADJUSTMENT_H */
diff --git a/callbacks.c b/callbacks.c
index b72ebad..9bd4806 100644
--- a/callbacks.c
+++ b/callbacks.c
@@ -18,6 +18,7 @@
 #include "shortcuts.h"
 #include "page-widget.h"
 #include "page.h"
+#include "adjustment.h"
 
 gboolean
 cb_destroy(GtkWidget* UNUSED(widget), zathura_t* zathura)
@@ -108,6 +109,78 @@ cb_view_vadjustment_value_changed(GtkAdjustment* GIRARA_UNUSED(adjustment), gpoi
   statusbar_page_number_update(zathura);
 }
 
+void
+cb_view_hadjustment_changed(GtkAdjustment* adjustment, gpointer data)
+{
+  zathura_t* zathura = data;
+  g_return_if_fail(zathura != NULL);
+
+  zathura_adjust_mode_t adjust_mode =
+    zathura_document_get_adjust_mode(zathura->document);
+
+  gdouble lower, upper, page_size, value, ratio;
+  bool zoom_center = false;
+
+  switch (adjust_mode) {
+    center:
+    case ZATHURA_ADJUST_BESTFIT:
+    case ZATHURA_ADJUST_WIDTH:
+      lower = gtk_adjustment_get_lower(adjustment);
+      upper = gtk_adjustment_get_upper(adjustment);
+      page_size = gtk_adjustment_get_page_size(adjustment);
+      value = ((upper - lower) - page_size) / 2.0;
+      zathura_adjustment_set_value(adjustment, value);
+      break;
+    default:
+      girara_setting_get(zathura->ui.session, "zoom-center", &zoom_center);
+      if (zoom_center)
+        goto center;
+
+      ratio = zathura_adjustment_get_ratio(zathura->ui.hadjustment);
+      zathura_adjustment_set_value_from_ratio(adjustment, ratio);
+      break;
+  }
+}
+
+void
+cb_view_vadjustment_changed(GtkAdjustment* adjustment, gpointer data)
+{
+  zathura_t* zathura = data;
+  g_return_if_fail(zathura != NULL);
+
+  double ratio = zathura_adjustment_get_ratio(zathura->ui.vadjustment);
+  zathura_adjustment_set_value_from_ratio(adjustment, ratio);
+}
+
+void
+cb_adjustment_track_value(GtkAdjustment* adjustment, gpointer data)
+{
+  GtkAdjustment* tracker = data;
+
+  gdouble lower = gtk_adjustment_get_lower(adjustment);
+  gdouble upper = gtk_adjustment_get_upper(adjustment);
+  if (lower != gtk_adjustment_get_lower(tracker) ||
+      upper != gtk_adjustment_get_upper(tracker))
+    return;
+
+  gdouble value = gtk_adjustment_get_value(adjustment);
+  gtk_adjustment_set_value(tracker, value);
+}
+
+void
+cb_adjustment_track_bounds(GtkAdjustment* adjustment, gpointer data)
+{
+  GtkAdjustment* tracker = data;
+  gdouble value = gtk_adjustment_get_value(adjustment);
+  gdouble lower = gtk_adjustment_get_lower(adjustment);
+  gdouble upper = gtk_adjustment_get_upper(adjustment);
+  gdouble page_size = gtk_adjustment_get_page_size(adjustment);
+  gtk_adjustment_set_value(tracker, value);
+  gtk_adjustment_set_lower(tracker, lower);
+  gtk_adjustment_set_upper(tracker, upper);
+  gtk_adjustment_set_page_size(tracker, page_size);
+}
+
 void
 cb_pages_per_row_value_changed(girara_session_t* session, const char* UNUSED(name), girara_setting_type_t UNUSED(type), void* value, void* UNUSED(data))
 {
diff --git a/callbacks.h b/callbacks.h
index 4ce2e2e..d879732 100644
--- a/callbacks.h
+++ b/callbacks.h
@@ -35,6 +35,53 @@ void cb_buffer_changed(girara_session_t* session);
  * @param data NULL
  */
 void cb_view_vadjustment_value_changed(GtkAdjustment *adjustment, gpointer data);
+
+/**
+ * This function gets called when the bounds or the page_size of the horizontal
+ * scrollbar change (e.g. when the zoom level is changed).
+ *
+ * It adjusts the value of the horizontal scrollbar, possibly based on its
+ * previous adjustment, stored in the tracking adjustment
+ * zathura->ui.hadjustment.
+ *
+ * @param adjustment The horizontal adjustment of a gtkScrolledWindow
+ * @param data The zathura instance
+ */
+void cb_view_hadjustment_changed(GtkAdjustment *adjustment, gpointer data);
+
+/**
+ * This function gets called when the bounds or the page_size of the vertical
+ * scrollbar change (e.g. when the zoom level is changed).
+ *
+ * It adjusts the value of the vertical scrollbar based on its previous
+ * adjustment, stored in the tracking adjustment zathura->ui.hadjustment.
+ *
+ * @param adjustment The vertical adjustment of a gtkScrolledWindow
+ * @param data The zathura instance
+ */
+void cb_view_vadjustment_changed(GtkAdjustment *adjustment, gpointer data);
+
+/* This function gets called when the value of the adjustment changes.
+ *
+ * It updates the value of the tracking adjustment, only if the bounds of the
+ * adjustment have not changed (if they did change,
+ * cb_adjustment_track_bounds() will take care of updating everything).
+ *
+ * @param adjustment The adjustment instance
+ * @param data The tracking adjustment instance
+ */
+void cb_adjustment_track_value(GtkAdjustment* adjustment, gpointer data);
+
+/* This function gets called when the bounds or the page_size of the adjustment
+ * change.
+ *
+ * It updates the value, bounds and page_size of the tracking adjustment.
+ *
+ * @param adjustment The adjustment instance
+ * @param data The tracking adjustment instance
+ */
+void cb_adjustment_track_bounds(GtkAdjustment* adjustment, gpointer data);
+
 /**
  * This function gets called when the value of the "pages-per-row"
  * variable changes
diff --git a/marks.c b/marks.c
index d5e4d47..0fac33d 100644
--- a/marks.c
+++ b/marks.c
@@ -235,9 +235,7 @@ mark_evaluate(zathura_t* zathura, int key)
   /* search for existing mark */
   GIRARA_LIST_FOREACH(zathura->global.marks, zathura_mark_t*, iter, mark)
   if (mark != NULL && mark->key == key) {
-    double old_scale = zathura_document_get_scale(zathura->document);
     zathura_document_set_scale(zathura->document, mark->scale);
-    readjust_view_after_zooming(zathura, old_scale, true);
     render_all(zathura);
 
     position_set_delayed(zathura, mark->position_x, mark->position_y);
diff --git a/shortcuts.c b/shortcuts.c
index 6974d48..2e4d138 100644
--- a/shortcuts.c
+++ b/shortcuts.c
@@ -17,6 +17,7 @@
 #include "page.h"
 #include "print.h"
 #include "page-widget.h"
+#include "adjustment.h"
 
 /* Helper function; see sc_display_link and sc_follow. */
 static bool
@@ -105,7 +106,6 @@ sc_adjust_window(girara_session_t* session, girara_argument_t* argument,
     goto error_ret;
   }
 
-  float old_zoom = zathura_document_get_scale(zathura->document);
   zathura_document_set_adjust_mode(zathura->document, argument->n);
   if (argument->n == ZATHURA_ADJUST_NONE) {
     /* there is nothing todo */
@@ -180,9 +180,6 @@ sc_adjust_window(girara_session_t* session, girara_argument_t* argument,
     goto error_ret;
   }
 
-  /* keep position */
-  readjust_view_after_zooming(zathura, old_zoom, false);
-
   /* re-render all pages */
   render_all(zathura);
 
@@ -375,8 +372,10 @@ sc_mouse_scroll(girara_session_t* session, girara_argument_t* argument, girara_e
         return false;
       }
 
-      set_adjustment(x_adj, gtk_adjustment_get_value(x_adj) - (event->x - x));
-      set_adjustment(y_adj, gtk_adjustment_get_value(y_adj) - (event->y - y));
+      zathura_adjustment_set_value(x_adj,
+          gtk_adjustment_get_value(x_adj) - (event->x - x));
+      zathura_adjustment_set_value(y_adj,
+          gtk_adjustment_get_value(y_adj) - (event->y - y));
       break;
 
       /* unhandled events */
@@ -698,7 +697,7 @@ sc_scroll(girara_session_t* session, girara_argument_t* argument,
     }
   }
 
-  set_adjustment(adjustment, new_value);
+  zathura_adjustment_set_value(adjustment, new_value);
 
   return false;
 }
@@ -818,14 +817,14 @@ sc_search(girara_session_t* session, girara_argument_t* argument,
 
     GtkAdjustment* view_vadjustment = gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view));
     int y = offset.y - gtk_adjustment_get_page_size(view_vadjustment) / 2 + rectangle.y1;
-    set_adjustment(view_vadjustment, y);
+    zathura_adjustment_set_value(view_vadjustment, y);
 
     bool search_hadjust = true;
     girara_setting_get(session, "search-hadjust", &search_hadjust);
     if (search_hadjust == true) {
       GtkAdjustment* view_hadjustment = gtk_scrolled_window_get_hadjustment(GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view));
       int x = offset.x - gtk_adjustment_get_page_size(view_hadjustment) / 2 + rectangle.x1;
-      set_adjustment(view_hadjustment, x);
+      zathura_adjustment_set_value(view_hadjustment, x);
     }
   }
 
@@ -1214,9 +1213,6 @@ sc_zoom(girara_session_t* session, girara_argument_t* argument, girara_event_t*
     zathura_document_set_scale(zathura->document, zoom_max);
   }
 
-  /* keep position */
-  readjust_view_after_zooming(zathura, old_zoom, true);
-
   render_all(zathura);
 
   return false;
diff --git a/utils.c b/utils.c
index fd052e5..26a07cd 100644
--- a/utils.c
+++ b/utils.c
@@ -248,13 +248,6 @@ error_ret:
   return rectangle;
 }
 
-void
-set_adjustment(GtkAdjustment* adjustment, gdouble value)
-{
-  gtk_adjustment_set_value(adjustment, MAX(gtk_adjustment_get_lower(adjustment),
-                           MIN(gtk_adjustment_get_upper(adjustment) - gtk_adjustment_get_page_size(adjustment), value)));
-}
-
 double
 page_calc_height_width(zathura_page_t* page, unsigned int* page_height, unsigned int* page_width, bool rotate)
 {
@@ -332,35 +325,6 @@ zathura_page_get_widget(zathura_t* zathura, zathura_page_t* page)
   return zathura->pages[page_number];
 }
 
-void
-readjust_view_after_zooming(zathura_t *zathura, float old_zoom, bool delay)
-{
-  if (zathura == NULL || zathura->document == NULL) {
-    return;
-  }
-
-  GtkScrolledWindow *window = GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view);
-  GtkAdjustment* vadjustment = gtk_scrolled_window_get_vadjustment(window);
-  GtkAdjustment* hadjustment = gtk_scrolled_window_get_hadjustment(window);
-
-  double scale = zathura_document_get_scale(zathura->document);
-  gdouble valx = gtk_adjustment_get_value(hadjustment) / old_zoom * scale;
-  gdouble valy = gtk_adjustment_get_value(vadjustment) / old_zoom * scale;
-
-  bool zoom_center = false;
-  girara_setting_get(zathura->ui.session, "zoom-center", &zoom_center);
-  if (zoom_center) {
-    valx += gtk_adjustment_get_page_size(hadjustment) * (scale / old_zoom - 1) / 2;
-  }
-
-  if (delay == true) {
-    position_set_delayed(zathura, valx, valy);
-  } else {
-    set_adjustment(hadjustment, valx);
-    set_adjustment(vadjustment, valy);
-  }
-}
-
 void
 document_draw_search_results(zathura_t* zathura, bool value)
 {
diff --git a/utils.h b/utils.h
index b480ab8..ce6baf6 100644
--- a/utils.h
+++ b/utils.h
@@ -86,13 +86,6 @@ zathura_rectangle_t rotate_rectangle(zathura_rectangle_t rectangle, unsigned int
  */
 zathura_rectangle_t recalc_rectangle(zathura_page_t* page, zathura_rectangle_t rectangle);
 
-/**
- * Set adjustment of a GtkAdjustment respecting its limits.
- * @param adjust the GtkAdkustment instance
- * @param value the new adjustment
- */
-void set_adjustment(GtkAdjustment* adjust, gdouble value);
-
 /**
  * Calculate the page size according to the corrent scaling and rotation if
  * desired.
@@ -132,15 +125,6 @@ void zathura_get_document_size(zathura_t* zathura,
  */
 GtkWidget* zathura_page_get_widget(zathura_t* zathura, zathura_page_t* page);
 
-/**
- * Re-adjust view
- *
- * @param zathura Zathura instance
- * @param old_zoom Old zoom value
- * @param delay true if action should be delayed
- */
-void readjust_view_after_zooming(zathura_t* zathura, float old_zoom, bool delay);
-
 /**
  * Set if the search results should be drawn or not
  *
diff --git a/zathura.c b/zathura.c
index 7485530..8e8c4da 100644
--- a/zathura.c
+++ b/zathura.c
@@ -32,6 +32,7 @@
 #include "page.h"
 #include "page-widget.h"
 #include "plugin.h"
+#include "adjustment.h"
 
 typedef struct zathura_document_info_s {
   zathura_t* zathura;
@@ -152,11 +153,37 @@ zathura_init(zathura_t* zathura)
 
   g_signal_connect(G_OBJECT(zathura->ui.session->gtk.window), "size-allocate", G_CALLBACK(cb_view_resized), zathura);
 
-  /* callbacks */
-  GtkAdjustment* view_vadjustment = gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view));
-  g_signal_connect(G_OBJECT(view_vadjustment), "value-changed", G_CALLBACK(cb_view_vadjustment_value_changed), zathura);
-  GtkAdjustment* view_hadjustment = gtk_scrolled_window_get_hadjustment(GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view));
-  g_signal_connect(G_OBJECT(view_hadjustment), "value-changed", G_CALLBACK(cb_view_vadjustment_value_changed), zathura);
+  /* Setup hadjustment tracker */
+  GtkAdjustment* hadjustment = gtk_scrolled_window_get_hadjustment(
+      GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view));
+  zathura->ui.hadjustment = zathura_adjustment_clone(hadjustment);
+  g_object_ref_sink(zathura->ui.hadjustment);
+
+  /* Connect hadjustment signals */
+  g_signal_connect(G_OBJECT(hadjustment), "value-changed",
+      G_CALLBACK(cb_view_vadjustment_value_changed), zathura);
+  g_signal_connect(G_OBJECT(hadjustment), "value-changed",
+      G_CALLBACK(cb_adjustment_track_value), zathura->ui.hadjustment);
+  g_signal_connect(G_OBJECT(hadjustment), "changed",
+      G_CALLBACK(cb_view_hadjustment_changed), zathura);
+  g_signal_connect(G_OBJECT(hadjustment), "changed",
+      G_CALLBACK(cb_adjustment_track_bounds), zathura->ui.hadjustment);
+
+  /* Setup vadjustment tracker */
+  GtkAdjustment* vadjustment = gtk_scrolled_window_get_vadjustment(
+      GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view));
+  zathura->ui.vadjustment = zathura_adjustment_clone(vadjustment);
+  g_object_ref_sink(zathura->ui.vadjustment);
+
+  /* Connect vadjustment signals */
+  g_signal_connect(G_OBJECT(vadjustment), "value-changed",
+      G_CALLBACK(cb_view_vadjustment_value_changed), zathura);
+  g_signal_connect(G_OBJECT(vadjustment), "value-changed",
+      G_CALLBACK(cb_adjustment_track_value), zathura->ui.vadjustment);
+  g_signal_connect(G_OBJECT(vadjustment), "changed",
+      G_CALLBACK(cb_view_vadjustment_changed), zathura);
+  g_signal_connect(G_OBJECT(vadjustment), "changed",
+      G_CALLBACK(cb_adjustment_track_bounds), zathura->ui.vadjustment);
 
   /* page view alignment */
   zathura->ui.page_widget_alignment = gtk_alignment_new(0.5, 0.5, 0, 0);
@@ -280,6 +307,13 @@ zathura_free(zathura_t* zathura)
     girara_session_destroy(zathura->ui.session);
   }
 
+  if (zathura->ui.hadjustment != NULL) {
+    g_object_unref(G_OBJECT(zathura->ui.hadjustment));
+  }
+  if (zathura->ui.vadjustment != NULL) {
+    g_object_unref(G_OBJECT(zathura->ui.vadjustment));
+  }
+
   /* stdin support */
   if (zathura->stdin_support.file != NULL) {
     g_unlink(zathura->stdin_support.file);
@@ -956,8 +990,8 @@ page_set(zathura_t* zathura, unsigned int page_id)
 
   GtkAdjustment* view_vadjustment = gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view));
   GtkAdjustment* view_hadjustment = gtk_scrolled_window_get_hadjustment(GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view));
-  set_adjustment(view_hadjustment, offset.x);
-  set_adjustment(view_vadjustment, offset.y);
+  zathura_adjustment_set_value(view_hadjustment, offset.x);
+  zathura_adjustment_set_value(view_vadjustment, offset.y);
 
   statusbar_page_number_update(zathura);
 
@@ -1065,8 +1099,8 @@ position_set_delayed_impl(gpointer data)
   GtkAdjustment* vadjustment = gtk_scrolled_window_get_vadjustment(window);
   GtkAdjustment* hadjustment = gtk_scrolled_window_get_hadjustment(window);
 
-  set_adjustment(hadjustment, p->position_x);
-  set_adjustment(vadjustment, p->position_y);
+  zathura_adjustment_set_value(hadjustment, p->position_x);
+  zathura_adjustment_set_value(vadjustment, p->position_y);
 
   g_free(p);
 
diff --git a/zathura.h b/zathura.h
index 96d9610..1520d78 100644
--- a/zathura.h
+++ b/zathura.h
@@ -69,6 +69,9 @@ struct zathura_s
     GtkWidget *page_widget_alignment;
     GtkWidget *page_widget; /**< Widget that contains all rendered pages */
     GtkWidget *index; /**< Widget to show the index of the document */
+
+    GtkAdjustment *hadjustment; /**< Tracking hadjustment */
+    GtkAdjustment *vadjustment; /**< Tracking vadjustment */
   } ui;
 
   struct

From 1702fb620a5a6436d4c083951c73a33658249f53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Beno=C3=AEt=20Knecht?= <benoit.knecht@fsfe.org>
Date: Sat, 23 Mar 2013 10:07:17 +0000
Subject: [PATCH 47/74] Don't scroll the document when focusing the inputbar

Add a new adjust mode that is set when focusing the inputbar and
disables adjusting the vertical scrollbar. As a result, focusing the
inputbar doesn't scroll the document, leading to better results when
changing pages from the inputbar (e.g. using bookmarks).

Reported-by: Marwan Tanager <marwan.tngr@gmail.com>

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 callbacks.c | 7 +++++++
 document.c  | 6 +-----
 shortcuts.c | 2 ++
 types.h     | 3 ++-
 4 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/callbacks.c b/callbacks.c
index 9bd4806..4ec2382 100644
--- a/callbacks.c
+++ b/callbacks.c
@@ -148,6 +148,13 @@ cb_view_vadjustment_changed(GtkAdjustment* adjustment, gpointer data)
   zathura_t* zathura = data;
   g_return_if_fail(zathura != NULL);
 
+  zathura_adjust_mode_t adjust_mode =
+    zathura_document_get_adjust_mode(zathura->document);
+
+  /* Don't scroll we're focusing the inputbar. */
+  if (adjust_mode == ZATHURA_ADJUST_INPUTBAR)
+    return;
+
   double ratio = zathura_adjustment_get_ratio(zathura->ui.vadjustment);
   zathura_adjustment_set_value_from_ratio(adjustment, ratio);
 }
diff --git a/document.c b/document.c
index 6b8d52b..370db98 100644
--- a/document.c
+++ b/document.c
@@ -362,11 +362,7 @@ zathura_document_set_adjust_mode(zathura_document_t* document, zathura_adjust_mo
     return;
   }
 
-  if (mode == ZATHURA_ADJUST_BESTFIT || mode == ZATHURA_ADJUST_WIDTH) {
-    document->adjust_mode = mode;
-  } else {
-    document->adjust_mode = ZATHURA_ADJUST_NONE;
-  }
+  document->adjust_mode = mode;
 }
 
 unsigned int
diff --git a/shortcuts.c b/shortcuts.c
index 2e4d138..1de5ee6 100644
--- a/shortcuts.c
+++ b/shortcuts.c
@@ -232,6 +232,8 @@ sc_focus_inputbar(girara_session_t* session, girara_argument_t* argument, girara
   zathura_t* zathura = session->global.data;
   g_return_val_if_fail(argument != NULL, false);
 
+  zathura_document_set_adjust_mode(zathura->document, ZATHURA_ADJUST_INPUTBAR);
+
   if (gtk_widget_get_visible(GTK_WIDGET(session->gtk.inputbar)) == false) {
     gtk_widget_show(GTK_WIDGET(session->gtk.inputbar));
   }
diff --git a/types.h b/types.h
index 8aade9a..50bacb6 100644
--- a/types.h
+++ b/types.h
@@ -85,7 +85,8 @@ typedef enum zathura_adjust_mode_e
 {
   ZATHURA_ADJUST_NONE, /**< No adjustment */
   ZATHURA_ADJUST_BESTFIT, /**< Adjust to best-fit */
-  ZATHURA_ADJUST_WIDTH /**< Adjust to width */
+  ZATHURA_ADJUST_WIDTH, /**< Adjust to width */
+  ZATHURA_ADJUST_INPUTBAR /**< Focusing the inputbar */
 } zathura_adjust_mode_t;
 
 /**

From 9c1503809a4faee3881a154fb7401d901653dc2f Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Sat, 23 Mar 2013 16:12:38 +0100
Subject: [PATCH 48/74] CS

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 adjustment.c | 3 ++-
 callbacks.c  | 9 ++++++---
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/adjustment.c b/adjustment.c
index f61ea8f..9452c54 100644
--- a/adjustment.c
+++ b/adjustment.c
@@ -42,8 +42,9 @@ void
 zathura_adjustment_set_value_from_ratio(GtkAdjustment* adjustment,
                                         gdouble ratio)
 {
-  if (ratio == 0.0)
+  if (ratio == 0.0) {
     return;
+  }
 
   gdouble lower = gtk_adjustment_get_lower(adjustment);
   gdouble upper = gtk_adjustment_get_upper(adjustment);
diff --git a/callbacks.c b/callbacks.c
index 4ec2382..2c63945 100644
--- a/callbacks.c
+++ b/callbacks.c
@@ -133,8 +133,9 @@ cb_view_hadjustment_changed(GtkAdjustment* adjustment, gpointer data)
       break;
     default:
       girara_setting_get(zathura->ui.session, "zoom-center", &zoom_center);
-      if (zoom_center)
+      if (zoom_center) {
         goto center;
+      }
 
       ratio = zathura_adjustment_get_ratio(zathura->ui.hadjustment);
       zathura_adjustment_set_value_from_ratio(adjustment, ratio);
@@ -152,8 +153,9 @@ cb_view_vadjustment_changed(GtkAdjustment* adjustment, gpointer data)
     zathura_document_get_adjust_mode(zathura->document);
 
   /* Don't scroll we're focusing the inputbar. */
-  if (adjust_mode == ZATHURA_ADJUST_INPUTBAR)
+  if (adjust_mode == ZATHURA_ADJUST_INPUTBAR) {
     return;
+  }
 
   double ratio = zathura_adjustment_get_ratio(zathura->ui.vadjustment);
   zathura_adjustment_set_value_from_ratio(adjustment, ratio);
@@ -167,8 +169,9 @@ cb_adjustment_track_value(GtkAdjustment* adjustment, gpointer data)
   gdouble lower = gtk_adjustment_get_lower(adjustment);
   gdouble upper = gtk_adjustment_get_upper(adjustment);
   if (lower != gtk_adjustment_get_lower(tracker) ||
-      upper != gtk_adjustment_get_upper(tracker))
+      upper != gtk_adjustment_get_upper(tracker)) {
     return;
+  }
 
   gdouble value = gtk_adjustment_get_value(adjustment);
   gtk_adjustment_set_value(tracker, value);

From e7cbd25be031a498834339f182d9587861092823 Mon Sep 17 00:00:00 2001
From: Marwan Tanager <marwan.tngr@gmail.com>
Date: Sun, 24 Mar 2013 07:47:10 +0200
Subject: [PATCH 49/74] Don't render if the new surface passed to
 zathura_page_widget_update_surface is NULL.

I don't see any reason for queueing a redraw if the new surface is NULL.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 page-widget.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/page-widget.c b/page-widget.c
index bf94ba3..3951f63 100644
--- a/page-widget.c
+++ b/page-widget.c
@@ -498,7 +498,9 @@ zathura_page_widget_update_surface(ZathuraPage* widget, cairo_surface_t* surface
   priv->surface = surface;
   mutex_unlock(&(priv->lock));
   /* force a redraw here */
-  zathura_page_widget_redraw_canvas(widget);
+  if (priv->surface != NULL) {
+    zathura_page_widget_redraw_canvas(widget);
+  }
 }
 
 static void

From cd3314b490e3ac365f09475fdd104dd78daeb01d Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Mon, 25 Mar 2013 02:58:37 +0100
Subject: [PATCH 50/74] Save some string copies

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 database-plain.c  |  4 ++--
 database-sqlite.c |  3 ++-
 page-widget.c     | 20 ++++++++++----------
 3 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/database-plain.c b/database-plain.c
index 90de64c..a8d6e6f 100644
--- a/database-plain.c
+++ b/database-plain.c
@@ -134,8 +134,8 @@ zathura_plaindatabase_class_init(ZathuraPlainDatabaseClass* class)
   object_class->set_property = plain_set_property;
 
   g_object_class_install_property(object_class, PROP_PATH,
-                                  g_param_spec_string("path", "path", "path to directory where the bookmarks and history are locates",
-                                      NULL, G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
+    g_param_spec_string("path", "path", "path to directory where the bookmarks and history are locates",
+      NULL, G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
 }
 
 static void
diff --git a/database-sqlite.c b/database-sqlite.c
index 2cd7ba4..44829ed 100644
--- a/database-sqlite.c
+++ b/database-sqlite.c
@@ -74,7 +74,8 @@ zathura_sqldatabase_class_init(ZathuraSQLDatabaseClass* class)
   object_class->set_property = sqlite_set_property;
 
   g_object_class_install_property(object_class, PROP_PATH,
-                                  g_param_spec_string("path", "path", "path to the database", NULL, G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
+    g_param_spec_string("path", "path", "path to the database", NULL,
+      G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
 }
 
 static void
diff --git a/page-widget.c b/page-widget.c
index 3951f63..8000ccb 100644
--- a/page-widget.c
+++ b/page-widget.c
@@ -116,25 +116,25 @@ zathura_page_widget_class_init(ZathuraPageClass* class)
 
   /* add properties */
   g_object_class_install_property(object_class, PROP_PAGE,
-                                  g_param_spec_pointer("page", "page", "the page to draw", G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
+                                  g_param_spec_pointer("page", "page", "the page to draw", G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property(object_class, PROP_ZATHURA,
-                                  g_param_spec_pointer("zathura", "zathura", "the zathura instance", G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
+                                  g_param_spec_pointer("zathura", "zathura", "the zathura instance", G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property(object_class, PROP_DRAW_LINKS,
-                                  g_param_spec_boolean("draw-links", "draw-links", "Set to true if links should be drawn", FALSE, G_PARAM_WRITABLE));
+                                  g_param_spec_boolean("draw-links", "draw-links", "Set to true if links should be drawn", FALSE, G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property(object_class, PROP_LINKS_OFFSET,
-                                  g_param_spec_int("offset-links", "offset-links", "Offset for the link numbers", 0, INT_MAX, 0, G_PARAM_WRITABLE));
+                                  g_param_spec_int("offset-links", "offset-links", "Offset for the link numbers", 0, INT_MAX, 0, G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property(object_class, PROP_LINKS_NUMBER,
-                                  g_param_spec_int("number-of-links", "number-of-links", "Number of links", 0, INT_MAX, 0, G_PARAM_READABLE));
+                                  g_param_spec_int("number-of-links", "number-of-links", "Number of links", 0, INT_MAX, 0, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property(object_class, PROP_SEARCH_RESULTS,
-                                  g_param_spec_pointer("search-results", "search-results", "Set to the list of search results", G_PARAM_WRITABLE | G_PARAM_READABLE));
+                                  g_param_spec_pointer("search-results", "search-results", "Set to the list of search results", G_PARAM_WRITABLE | G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property(object_class, PROP_SEARCH_RESULTS_CURRENT,
-                                  g_param_spec_int("search-current", "search-current", "The current search result", -1, INT_MAX, 0, G_PARAM_WRITABLE | G_PARAM_READABLE));
+                                  g_param_spec_int("search-current", "search-current", "The current search result", -1, INT_MAX, 0, G_PARAM_WRITABLE | G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property(object_class, PROP_SEARCH_RESULTS_LENGTH,
-                                  g_param_spec_int("search-length", "search-length", "The number of search results", -1, INT_MAX, 0, G_PARAM_READABLE));
+                                  g_param_spec_int("search-length", "search-length", "The number of search results", -1, INT_MAX, 0, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property(object_class, PROP_DRAW_SEACH_RESULTS,
-                                  g_param_spec_boolean("draw-search-results", "draw-search-results", "Set to true if search results should be drawn", FALSE, G_PARAM_WRITABLE));
+                                  g_param_spec_boolean("draw-search-results", "draw-search-results", "Set to true if search results should be drawn", FALSE, G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property(object_class, PROP_LAST_VIEW,
-                                  g_param_spec_int("last-view", "last-view", "Last time the page has been viewed", -1, INT_MAX, 0, G_PARAM_READABLE));
+                                  g_param_spec_int("last-view", "last-view", "Last time the page has been viewed", -1, INT_MAX, 0, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
 }
 
 static void

From cb18fe860305048012d840512914a12cda9f152c Mon Sep 17 00:00:00 2001
From: Marwan Tanager <marwan.tngr@gmail.com>
Date: Tue, 26 Mar 2013 05:50:22 +0200
Subject: [PATCH 51/74] Replace the periodic page reclaiming code with a LRU
 caching algorithm.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This patch implements a page cache that is invalidated in a LRU fashion.

Pages are added to the cache as soon as they become visible. When the cache is
full and a new page that isn't in the cache becomes visible, the least recently
viewed page in the cache is evicted from memory and the new one takes it's
place.

The cache size is configurable using the page-cache-size configuration
variable, with a default value of 15 pages. Very large values for the cache
size are not recommended, though, as it will stress the system memory out.

The old periodic page reclaiming code is no longer necessary with this patch,
so I removed it.

Special thanks to Ignas Anikevičius, and Sebastian Ramacher for the
inspirations.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 callbacks.c     |   3 +-
 config.c        |   5 +-
 page-widget.c   |  16 -----
 page-widget.h   |   8 ---
 render.c        |   4 +-
 zathura.c       | 161 +++++++++++++++++++++++++++++++++++++++---------
 zathura.h       |  18 ++++++
 zathurarc.5.rst |  20 +++---
 8 files changed, 163 insertions(+), 72 deletions(-)

diff --git a/callbacks.c b/callbacks.c
index 2c63945..b4242d6 100644
--- a/callbacks.c
+++ b/callbacks.c
@@ -95,6 +95,8 @@ cb_view_vadjustment_value_changed(GtkAdjustment* GIRARA_UNUSED(adjustment), gpoi
 
     if (gdk_rectangle_intersect(&view_rect, &page_rect, NULL) == TRUE) {
       zathura_page_set_visibility(page, true);
+      zathura_page_widget_update_view_time(ZATHURA_PAGE(page_widget));
+      zathura_page_cache_add(zathura, zathura_page_get_index(page));
       if (zathura->global.update_page_number == true && updated == false
           && gdk_rectangle_intersect(&center, &page_rect, NULL) == TRUE) {
         zathura_document_set_current_page_number(zathura->document, page_id);
@@ -103,7 +105,6 @@ cb_view_vadjustment_value_changed(GtkAdjustment* GIRARA_UNUSED(adjustment), gpoi
     } else {
       zathura_page_set_visibility(page, false);
     }
-    zathura_page_widget_update_view_time(ZATHURA_PAGE(page_widget));
   }
 
   statusbar_page_number_update(zathura);
diff --git a/config.c b/config.c
index 2dd64df..3f49034 100644
--- a/config.c
+++ b/config.c
@@ -155,9 +155,8 @@ config_load_default(zathura_t* zathura)
   girara_setting_add(gsession, "zoom-min",              &int_value,   INT,    false, _("Zoom minimum"), NULL, NULL);
   int_value = 1000;
   girara_setting_add(gsession, "zoom-max",              &int_value,   INT,    false, _("Zoom maximum"), NULL, NULL);
-  int_value = 20;
-  girara_setting_add(gsession, "page-store-threshold",  &int_value,   INT,    false, _("Life time (in seconds) of a hidden page"), NULL, NULL);
-  girara_setting_add(gsession, "page-store-interval",   &int_value,   INT,    true,  _("Amount of seconds between each cache purge"), NULL, NULL);
+  int_value = ZATHURA_PAGE_CACHE_DEFAULT_SIZE;
+  girara_setting_add(gsession, "page-cache-size",       &int_value,  INT,    true,  _("Maximum number of pages to keep in the cache"), NULL, NULL);
   int_value = 20;
   girara_setting_add(gsession, "jumplist-size",         &int_value,   INT,    false, _("Number of positions to remember in the jumplist"), cb_jumplist_change, NULL);
 
diff --git a/page-widget.c b/page-widget.c
index 8000ccb..e2b1542 100644
--- a/page-widget.c
+++ b/page-widget.c
@@ -860,19 +860,3 @@ zathura_page_widget_update_view_time(ZathuraPage* widget)
     priv->last_view = g_get_real_time();
   }
 }
-
-void
-zathura_page_widget_purge_unused(ZathuraPage* widget, gint64 threshold)
-{
-  g_return_if_fail(ZATHURA_IS_PAGE(widget) == TRUE);
-  zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget);
-  if (zathura_page_get_visibility(priv->page) == true || priv->surface == NULL || threshold <= 0) {
-    return;
-  }
-
-  const gint64 now =  g_get_real_time();
-  if (now - priv->last_view >= threshold * G_USEC_PER_SEC) {
-    girara_debug("purge page %d from cache (unseen for %f seconds)", zathura_page_get_index(priv->page), ((double)now - priv->last_view) / G_USEC_PER_SEC);
-    zathura_page_widget_update_surface(widget, NULL);
-  }
-}
diff --git a/page-widget.h b/page-widget.h
index fe0b67a..5609e78 100644
--- a/page-widget.h
+++ b/page-widget.h
@@ -88,12 +88,4 @@ zathura_link_t* zathura_page_widget_link_get(ZathuraPage* widget, unsigned int i
  */
 void zathura_page_widget_update_view_time(ZathuraPage* widget);
 
-/**
- * If the page has not been viewed for some time, purge the surface.
- *
- * @param widget the widget
- * @param threshold the threshold (in seconds)
- */
-void zathura_page_widget_purge_unused(ZathuraPage* widget, gint64 threshold);
-
 #endif
diff --git a/render.c b/render.c
index 05b12eb..faf5f79 100644
--- a/render.c
+++ b/render.c
@@ -33,9 +33,9 @@ render_job(void* data, void* user_data)
     return;
   }
 
-  girara_debug("rendering page %d ...", zathura_page_get_index(page));
+  girara_debug("rendering page %d ...", zathura_page_get_index(page) + 1);
   if (render(zathura, page) != true) {
-    girara_error("Rendering failed (page %d)\n", zathura_page_get_index(page));
+    girara_error("Rendering failed (page %d)\n", zathura_page_get_index(page) + 1);
   }
 }
 
diff --git a/zathura.c b/zathura.c
index 8e8c4da..5a97755 100644
--- a/zathura.c
+++ b/zathura.c
@@ -53,7 +53,10 @@ typedef struct position_set_delayed_s {
 } position_set_delayed_t;
 
 static gboolean document_info_open(gpointer data);
-static gboolean purge_pages(gpointer data);
+static bool zathura_page_cache_is_cached(zathura_t* zathura, unsigned int page_index);
+static ssize_t zathura_page_cache_lru_invalidate(zathura_t* zathura);
+static void zathura_page_cache_invalidate_all(zathura_t* zathura);
+static bool zathura_page_cache_is_full(zathura_t* zathura, bool* result);
 
 /* function implementation */
 zathura_t*
@@ -264,11 +267,6 @@ zathura_init(zathura_t* zathura)
   zathura->bookmarks.bookmarks = girara_sorted_list_new2((girara_compare_function_t) zathura_bookmarks_compare,
                                  (girara_free_function_t) zathura_bookmark_free);
 
-  /* add even to purge old pages */
-  int interval = 30;
-  girara_setting_get(zathura->ui.session, "page-store-interval", &interval);
-  g_timeout_add_seconds(interval, purge_pages, zathura);
-
   /* jumplist */
 
   zathura->jumplist.max_size = 20;
@@ -279,6 +277,14 @@ zathura_init(zathura_t* zathura)
   zathura->jumplist.cur = NULL;
   zathura_jumplist_append_jump(zathura);
   zathura->jumplist.cur = girara_list_iterator(zathura->jumplist.list);
+
+  /* page cache */
+
+  zathura->page_cache.size = ZATHURA_PAGE_CACHE_DEFAULT_SIZE;
+  girara_setting_get(zathura->ui.session, "page-cache-size", &zathura->page_cache.size);
+  zathura->page_cache.cache = g_malloc(zathura->page_cache.size * sizeof(int));
+  zathura_page_cache_invalidate_all(zathura);
+
   return true;
 
 error_free:
@@ -353,6 +359,8 @@ zathura_free(zathura_t* zathura)
     girara_list_iterator_free(zathura->jumplist.cur);
   }
 
+  g_free(zathura->page_cache.cache);
+
   g_free(zathura);
 }
 
@@ -775,6 +783,9 @@ document_open(zathura_t* zathura, const char* path, const char* password,
     cb_view_vadjustment_value_changed(NULL, zathura);
   }
 
+  /* Invalidate all current entries in the page cache */
+  zathura_page_cache_invalidate_all(zathura);
+
   return true;
 
 error_free:
@@ -1066,30 +1077,6 @@ page_widget_set_mode(zathura_t* zathura, unsigned int pages_per_row, unsigned in
   gtk_widget_show_all(zathura->ui.page_widget);
 }
 
-static
-gboolean purge_pages(gpointer data)
-{
-  zathura_t* zathura = data;
-  if (zathura == NULL || zathura->document == NULL) {
-    return TRUE;
-  }
-
-  int threshold = 0;
-  girara_setting_get(zathura->ui.session, "page-store-threshold", &threshold);
-  if (threshold <= 0) {
-    return TRUE;
-  }
-
-  girara_debug("purging pages ...");
-  unsigned int number_of_pages = zathura_document_get_number_of_pages(zathura->document);
-  for (unsigned int page_id = 0; page_id < number_of_pages; page_id++) {
-    zathura_page_t* page   = zathura_document_get_page(zathura->document, page_id);
-    GtkWidget* page_widget = zathura_page_get_widget(zathura, page);
-    zathura_page_widget_purge_unused(ZATHURA_PAGE(page_widget), threshold);
-  }
-  return TRUE;
-}
-
 static gboolean
 position_set_delayed_impl(gpointer data)
 {
@@ -1215,3 +1202,117 @@ zathura_jumplist_save(zathura_t* zathura)
     cur->y = gtk_adjustment_get_value(view_vadjustment) / zathura_document_get_scale(zathura->document);;
   }
 }
+
+static bool
+zathura_page_cache_is_cached(zathura_t* zathura, unsigned int page_index)
+{
+  g_return_val_if_fail(zathura != NULL, false);
+
+  unsigned int i;
+
+  if (zathura->page_cache.num_cached_pages != 0) {
+    for (i = 0; i < zathura->page_cache.size; ++i) {
+      if (zathura->page_cache.cache[i] >= 0 && page_index == (unsigned int)zathura->page_cache.cache[i]) {
+        girara_debug("Page %d is a cache hit", page_index + 1);
+        return true;
+      }
+    }
+  }
+
+  girara_debug("Page %d is a cache miss", page_index + 1);
+  return false;
+}
+
+static ssize_t
+zathura_page_cache_lru_invalidate(zathura_t* zathura)
+{
+   g_return_val_if_fail(zathura != NULL, -1);
+
+   ssize_t lru_index = 0;
+   guint64 view_time = 0;
+   guint64 lru_view_time = G_MAXUINT64;
+   GtkWidget* page_widget;
+
+   for (unsigned int i = 0; i < zathura->page_cache.size; ++i) {
+     page_widget = zathura_page_get_widget(zathura, zathura_document_get_page(zathura->document, zathura->page_cache.cache[i]));
+     g_return_val_if_fail(page_widget != NULL, -1);
+     g_object_get(G_OBJECT(page_widget), "last-view", &view_time, NULL);
+
+     if (view_time < lru_view_time) {
+       lru_view_time = view_time;
+       lru_index = i;
+     }
+   }
+
+   zathura_page_t* page = zathura_document_get_page(zathura->document, zathura->page_cache.cache[lru_index]);
+   g_return_val_if_fail(page != NULL, -1);
+
+   page_widget = zathura_page_get_widget(zathura, page);
+   g_return_val_if_fail(page_widget != NULL, -1);
+
+   zathura_page_widget_update_surface(ZATHURA_PAGE(page_widget), NULL);
+   girara_debug("Invalidated page %d at cache index %ld", zathura->page_cache.cache[lru_index] + 1, lru_index);
+   zathura->page_cache.cache[lru_index] = -1;
+   --zathura->page_cache.num_cached_pages;
+
+   return lru_index;
+}
+
+static bool
+zathura_page_cache_is_full(zathura_t* zathura, bool* result)
+{
+  g_return_val_if_fail(zathura != NULL, false);
+
+  *result = zathura->page_cache.num_cached_pages == zathura->page_cache.size;
+
+  return true;
+}
+
+void
+zathura_page_cache_invalidate_all(zathura_t* zathura)
+{
+  g_return_if_fail(zathura != NULL);
+  
+  unsigned int i;
+
+  for (i = 0; i < zathura->page_cache.size; ++i) {
+    zathura->page_cache.cache[i] = -1;
+  }
+
+  zathura->page_cache.num_cached_pages = 0;
+}
+
+void
+zathura_page_cache_add(zathura_t* zathura, unsigned int page_index)
+{
+  g_return_if_fail(zathura != NULL);
+
+  zathura_page_t* page = zathura_document_get_page(zathura->document, page_index);
+
+  g_return_if_fail(page != NULL);
+
+  if (zathura_page_cache_is_cached(zathura, page_index)) {
+    return;
+  }
+
+  bool full;
+
+  if (zathura_page_cache_is_full(zathura, &full) == false) {
+    return;
+  } else if (full == true) {
+    ssize_t idx = zathura_page_cache_lru_invalidate(zathura);
+
+    if (idx == -1) {
+      return;
+    }
+
+    zathura->page_cache.cache[idx] = page_index;
+    ++zathura->page_cache.num_cached_pages;
+    girara_debug("Page %d is cached at cache index %ld", page_index + 1, idx);
+    return;
+  }
+
+  zathura->page_cache.cache[zathura->page_cache.num_cached_pages++] = page_index;
+  girara_debug("Page %d is cached at cache index %d", page_index + 1, zathura->page_cache.num_cached_pages - 1);
+  return;
+}
diff --git a/zathura.h b/zathura.h
index 1520d78..e75a7e2 100644
--- a/zathura.h
+++ b/zathura.h
@@ -13,6 +13,8 @@
 #include <gtk/gtkx.h>
 #endif
 
+#define ZATHURA_PAGE_CACHE_DEFAULT_SIZE		15
+
 enum { NEXT, PREVIOUS, LEFT, RIGHT, UP, DOWN, BOTTOM, TOP, HIDE, HIGHLIGHT,
   DELETE_LAST_WORD, DELETE_LAST_CHAR, DEFAULT, ERROR, WARNING, NEXT_GROUP,
   PREVIOUS_GROUP, ZOOM_IN, ZOOM_OUT, ZOOM_ORIGINAL, ZOOM_SPECIFIC, FORWARD,
@@ -152,6 +154,15 @@ struct zathura_s
     gchar* file_path; /**< Save file path */
     gchar* password; /**< Save password */
   } file_monitor;
+
+  /**
+   * The page cache
+   */
+  struct {
+    int* cache;
+    unsigned int size;
+    unsigned int num_cached_pages;
+  } page_cache;
 };
 
 /**
@@ -366,5 +377,12 @@ void zathura_jumplist_add(zathura_t* zathura);
  */
 void zathura_jumplist_append_jump(zathura_t* zathura);
 
+/**
+ * Add a page to the page cache
+ *
+ * @param zathura The zathura session
+ * @param page_index The index of the page to be cached
+ */
+void zathura_page_cache_add(zathura_t* zathura, unsigned int page_index);
 
 #endif // ZATHURA_H
diff --git a/zathurarc.5.rst b/zathurarc.5.rst
index f317aa6..09854b6 100644
--- a/zathurarc.5.rst
+++ b/zathurarc.5.rst
@@ -530,20 +530,16 @@ The page padding defines the gap in pixels between each rendered page.
 * Value type: Integer
 * Default value: 1
 
-page-store-threshold
-^^^^^^^^^^^^^^^^^^^^
-Pages that are not visible get unloaded after some time. Every page that has not
-been visible for page-store-treshold seconds will be unloaded.
+page-cache-size
+^^^^^^^^^^^^^^^
+Defines the maximum number of pages that could be kept in the page cache. When
+the cache is full and a new page that isn't cached becomes visible, the least
+recently viewed page in the cache will be evicted to make room for the new one.
+Large values for this variable are NOT recommended, because this will lead to
+consuming a significant portion of the system memory.
 
 * Value type: Integer
-* Default value: 30
-
-page-store-interval
-^^^^^^^^^^^^^^^^^^^
-Defines the amount of seconds between the check to unload invisible pages.
-
-* Value type: Integer
-* Default value: 30
+* Default value: 15
 
 pages-per-row
 ^^^^^^^^^^^^^

From 1440b45299fcaf30f92cb4cd58c5e44fb6254155 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Tue, 26 Mar 2013 12:53:16 +0100
Subject: [PATCH 52/74] Make sure that the page size is positive

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 zathura.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/zathura.c b/zathura.c
index 5a97755..37923ab 100644
--- a/zathura.c
+++ b/zathura.c
@@ -282,6 +282,11 @@ zathura_init(zathura_t* zathura)
 
   zathura->page_cache.size = ZATHURA_PAGE_CACHE_DEFAULT_SIZE;
   girara_setting_get(zathura->ui.session, "page-cache-size", &zathura->page_cache.size);
+  if (zathura->page_cache.size <= 0) {
+    girara_warning("page-cache-size is not positive, using %d instead", ZATHURA_PAGE_CACHE_DEFAULT_SIZE);
+    zathura->page_cache.size = ZATHURA_PAGE_CACHE_DEFAULT_SIZE;
+  }
+
   zathura->page_cache.cache = g_malloc(zathura->page_cache.size * sizeof(int));
   zathura_page_cache_invalidate_all(zathura);
 
@@ -1261,7 +1266,7 @@ zathura_page_cache_lru_invalidate(zathura_t* zathura)
 static bool
 zathura_page_cache_is_full(zathura_t* zathura, bool* result)
 {
-  g_return_val_if_fail(zathura != NULL, false);
+  g_return_val_if_fail(zathura != NULL && result != NULL, false);
 
   *result = zathura->page_cache.num_cached_pages == zathura->page_cache.size;
 
@@ -1272,7 +1277,7 @@ void
 zathura_page_cache_invalidate_all(zathura_t* zathura)
 {
   g_return_if_fail(zathura != NULL);
-  
+
   unsigned int i;
 
   for (i = 0; i < zathura->page_cache.size; ++i) {

From ca2d279d10df23535ce5e6fe8c233b363b182668 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Tue, 26 Mar 2013 12:55:28 +0100
Subject: [PATCH 53/74] Update translations

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 config.c    |   2 +-
 po/ca.po    | 126 ++++++++++++++++++++++++++--------------------------
 po/cs.po    | 126 ++++++++++++++++++++++++++--------------------------
 po/de.po    | 126 ++++++++++++++++++++++++++--------------------------
 po/el.po    | 126 ++++++++++++++++++++++++++--------------------------
 po/eo.po    | 126 ++++++++++++++++++++++++++--------------------------
 po/es.po    | 126 ++++++++++++++++++++++++++--------------------------
 po/es_CL.po | 123 +++++++++++++++++++++++++-------------------------
 po/et.po    | 118 ++++++++++++++++++++++++------------------------
 po/fr.po    | 126 ++++++++++++++++++++++++++--------------------------
 po/he.po    | 118 ++++++++++++++++++++++++------------------------
 po/hr.po    | 118 ++++++++++++++++++++++++------------------------
 po/it.po    | 126 ++++++++++++++++++++++++++--------------------------
 po/pl.po    | 126 ++++++++++++++++++++++++++--------------------------
 po/pt_BR.po | 126 ++++++++++++++++++++++++++--------------------------
 po/ru.po    | 126 ++++++++++++++++++++++++++--------------------------
 po/ta_IN.po | 118 ++++++++++++++++++++++++------------------------
 po/tr.po    | 126 ++++++++++++++++++++++++++--------------------------
 po/uk_UA.po | 126 ++++++++++++++++++++++++++--------------------------
 19 files changed, 1122 insertions(+), 1113 deletions(-)

diff --git a/config.c b/config.c
index 3f49034..8c65cf8 100644
--- a/config.c
+++ b/config.c
@@ -156,7 +156,7 @@ config_load_default(zathura_t* zathura)
   int_value = 1000;
   girara_setting_add(gsession, "zoom-max",              &int_value,   INT,    false, _("Zoom maximum"), NULL, NULL);
   int_value = ZATHURA_PAGE_CACHE_DEFAULT_SIZE;
-  girara_setting_add(gsession, "page-cache-size",       &int_value,  INT,    true,  _("Maximum number of pages to keep in the cache"), NULL, NULL);
+  girara_setting_add(gsession, "page-cache-size",       &int_value,   INT,    true,  _("Maximum number of pages to keep in the cache"), NULL, NULL);
   int_value = 20;
   girara_setting_add(gsession, "jumplist-size",         &int_value,   INT,    false, _("Number of positions to remember in the jumplist"), cb_jumplist_change, NULL);
 
diff --git a/po/ca.po b/po/ca.po
index d43fd05..919542f 100644
--- a/po/ca.po
+++ b/po/ca.po
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-17 10:22+0000\n"
+"POT-Creation-Date: 2013-03-26 12:54+0100\n"
 "PO-Revision-Date: 2013-01-13 14:12+0000\n"
 "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
 "Language-Team: Catalan (http://www.transifex.com/projects/p/zathura/language/"
@@ -19,20 +19,20 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
-#: ../callbacks.c:218
+#: ../callbacks.c:302
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr "Entrada invàlida '%s'."
 
-#: ../callbacks.c:256
+#: ../callbacks.c:340
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr "Índex invàlid '%s'."
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
-#: ../shortcuts.c:1088
+#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
+#: ../shortcuts.c:1089
 msgid "No document opened."
 msgstr "No s'ha obert cap document."
 
@@ -184,192 +184,188 @@ msgid "Zoom maximum"
 msgstr "Zoom màxim"
 
 #: ../config.c:159
-msgid "Life time (in seconds) of a hidden page"
-msgstr "Temps de vida (en segons) de la pàgina oculta"
+msgid "Maximum number of pages to keep in the cache"
+msgstr ""
 
-#: ../config.c:160
-msgid "Amount of seconds between each cache purge"
-msgstr "Quantitat de segons entre cada purga de memòria cau"
-
-#: ../config.c:162
+#: ../config.c:161
 msgid "Number of positions to remember in the jumplist"
 msgstr ""
 
-#: ../config.c:164
+#: ../config.c:163
 msgid "Recoloring (dark color)"
 msgstr "Recolorejant (color fosc)"
 
-#: ../config.c:166
+#: ../config.c:165
 msgid "Recoloring (light color)"
 msgstr "Recolorejant (color clar)"
 
-#: ../config.c:168
+#: ../config.c:167
 msgid "Color for highlighting"
 msgstr "Color de realçament"
 
-#: ../config.c:170
+#: ../config.c:169
 msgid "Color for highlighting (active)"
 msgstr "Color de realçament (activat)"
 
-#: ../config.c:172
+#: ../config.c:171
 msgid "'Loading ...' background color"
 msgstr ""
 
-#: ../config.c:174
+#: ../config.c:173
 msgid "'Loading ...' foreground color"
 msgstr ""
 
-#: ../config.c:178
+#: ../config.c:177
 msgid "Recolor pages"
 msgstr "Recolorejant les pàgines"
 
-#: ../config.c:180
+#: ../config.c:179
 msgid "When recoloring keep original hue and adjust lightness only"
 msgstr "Quan recoloregis manté el to original i ajusta només la lluminositat"
 
-#: ../config.c:182
+#: ../config.c:181
 msgid "Wrap scrolling"
 msgstr "Desplaçament recollit"
 
-#: ../config.c:184
+#: ../config.c:183
 msgid "Page aware scrolling"
 msgstr ""
 
-#: ../config.c:186
+#: ../config.c:185
 msgid "Advance number of pages per row"
 msgstr "Avançar nombre de pàgines per fila"
 
-#: ../config.c:188
+#: ../config.c:187
 msgid "Horizontally centered zoom"
 msgstr "Zoom centrat horitzontalment"
 
-#: ../config.c:190
+#: ../config.c:189
 msgid "Center result horizontally"
 msgstr "Centra el resultat horitzontalment"
 
-#: ../config.c:192
+#: ../config.c:191
 msgid "Transparency for highlighting"
 msgstr "Transparència del realçat"
 
-#: ../config.c:194
+#: ../config.c:193
 msgid "Render 'Loading ...'"
 msgstr "Renderitza 'Carregant ...'"
 
-#: ../config.c:195
+#: ../config.c:194
 msgid "Adjust to when opening file"
 msgstr "Ajustar al fitxer quan s'obri"
 
-#: ../config.c:197
+#: ../config.c:196
 msgid "Show hidden files and directories"
 msgstr "Mostra els directoris i fitxers ocults"
 
-#: ../config.c:199
+#: ../config.c:198
 msgid "Show directories"
 msgstr "Mostra els directoris"
 
-#: ../config.c:201
+#: ../config.c:200
 msgid "Always open on first page"
 msgstr "Obrir sempre la primera pàgina"
 
-#: ../config.c:203
+#: ../config.c:202
 msgid "Highlight search results"
 msgstr "Realça els resultats de recerca"
 
-#: ../config.c:205
+#: ../config.c:204
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:207
+#: ../config.c:206
 msgid "Clear search results on abort"
 msgstr "Esborra els resultats de recerca a l'interrompre"
 
-#: ../config.c:209
+#: ../config.c:208
 msgid "Use basename of the file in the window title"
 msgstr "Utilitza el nom base del fitxer en el títol de la finestra"
 
-#: ../config.c:211
+#: ../config.c:210
 #, fuzzy
 msgid "Use basename of the file in the statusbar"
 msgstr "Utilitza el nom base del fitxer en el títol de la finestra"
 
-#: ../config.c:213 ../main.c:64
+#: ../config.c:212 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:369
+#: ../config.c:370
 msgid "Add a bookmark"
 msgstr "Afegir un marcador"
 
-#: ../config.c:370
+#: ../config.c:371
 msgid "Delete a bookmark"
 msgstr "Esborrar un marcador"
 
-#: ../config.c:371
+#: ../config.c:372
 msgid "List all bookmarks"
 msgstr "Llista tots els marcadors"
 
-#: ../config.c:372
+#: ../config.c:373
 msgid "Close current file"
 msgstr "Tancar el fitxer actual"
 
-#: ../config.c:373
+#: ../config.c:374
 msgid "Show file information"
 msgstr "Mostra informació sobre el fitxer"
 
-#: ../config.c:374
+#: ../config.c:375
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:375
+#: ../config.c:376
 msgid "Show help"
 msgstr "Mostrar l'ajuda"
 
-#: ../config.c:376
+#: ../config.c:377
 msgid "Open document"
 msgstr "Obrir document"
 
-#: ../config.c:377
+#: ../config.c:378
 msgid "Close zathura"
 msgstr "Tancar Zathura"
 
-#: ../config.c:378
+#: ../config.c:379
 msgid "Print document"
 msgstr "Imprimir document"
 
-#: ../config.c:379
+#: ../config.c:380
 msgid "Save document"
 msgstr "Desar document"
 
-#: ../config.c:380
+#: ../config.c:381
 msgid "Save document (and force overwriting)"
 msgstr "Desar document (i forçar la sobreescritura)"
 
-#: ../config.c:381
+#: ../config.c:382
 msgid "Save attachments"
 msgstr "Desa els fitxers adjunts"
 
-#: ../config.c:382
+#: ../config.c:383
 msgid "Set page offset"
 msgstr "Assigna el desplaçament de pàgina"
 
-#: ../config.c:383
+#: ../config.c:384
 msgid "Mark current location within the document"
 msgstr "Marca la posició actual dins el document"
 
-#: ../config.c:384
+#: ../config.c:385
 msgid "Delete the specified marks"
 msgstr "Esborrar les marques especificades"
 
-#: ../config.c:385
+#: ../config.c:386
 msgid "Don't highlight current search results"
 msgstr "No realcis els resultats de la recerca actual"
 
-#: ../config.c:386
+#: ../config.c:387
 msgid "Highlight current search results"
 msgstr "Realça els resultats de recerca actual"
 
-#: ../config.c:387
+#: ../config.c:388
 msgid "Show version information"
 msgstr "Mostra informació sobre la versió"
 
@@ -435,28 +431,34 @@ msgstr "Editor synctex (reenviat a l'ordre synctex)"
 msgid "Loading..."
 msgstr "Carregant..."
 
-#: ../page-widget.c:655
+#: ../page-widget.c:657
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr "Copiat el text seleccionat al porta-retalls: %s"
 
-#: ../page-widget.c:753
+#: ../page-widget.c:755
 msgid "Copy image"
 msgstr "Copia la imatge"
 
-#: ../page-widget.c:754
+#: ../page-widget.c:756
 msgid "Save image as"
 msgstr "Desa imatge com a"
 
-#: ../shortcuts.c:962
+#: ../shortcuts.c:963
 msgid "This document does not contain any index"
 msgstr "Aquest document no conté cap índex"
 
-#: ../zathura.c:194 ../zathura.c:901
+#: ../zathura.c:224 ../zathura.c:953
 msgid "[No name]"
 msgstr "[Sense nom]"
 
-#: ../zathura.c:538
+#: ../zathura.c:587
 #, fuzzy
 msgid "Document does not contain any pages"
 msgstr "Aquest document no conté cap índex"
+
+#~ msgid "Life time (in seconds) of a hidden page"
+#~ msgstr "Temps de vida (en segons) de la pàgina oculta"
+
+#~ msgid "Amount of seconds between each cache purge"
+#~ msgstr "Quantitat de segons entre cada purga de memòria cau"
diff --git a/po/cs.po b/po/cs.po
index 57953cb..b87446c 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -5,7 +5,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-17 10:22+0000\n"
+"POT-Creation-Date: 2013-03-26 12:54+0100\n"
 "PO-Revision-Date: 2012-06-19 23:59+0200\n"
 "Last-Translator: Martin Pelikan <pelikan@storkhole.cz>\n"
 "Language-Team: pwmt.org <mail@pwmt.org>\n"
@@ -14,20 +14,20 @@ msgstr ""
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 
-#: ../callbacks.c:218
+#: ../callbacks.c:302
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr "Neplatný vstup: %s"
 
-#: ../callbacks.c:256
+#: ../callbacks.c:340
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr "Neplatný index: %s"
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
-#: ../shortcuts.c:1088
+#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
+#: ../shortcuts.c:1089
 msgid "No document opened."
 msgstr "Není otevřený žádný dokument."
 
@@ -179,191 +179,187 @@ msgid "Zoom maximum"
 msgstr "Přiblížit"
 
 #: ../config.c:159
-msgid "Life time (in seconds) of a hidden page"
-msgstr "Délka života skryté stránky v sekundách"
+msgid "Maximum number of pages to keep in the cache"
+msgstr ""
 
-#: ../config.c:160
-msgid "Amount of seconds between each cache purge"
-msgstr "Počet sekund mezi čištěními cache"
-
-#: ../config.c:162
+#: ../config.c:161
 msgid "Number of positions to remember in the jumplist"
 msgstr ""
 
-#: ../config.c:164
+#: ../config.c:163
 msgid "Recoloring (dark color)"
 msgstr "Přebarvuji do tmava"
 
-#: ../config.c:166
+#: ../config.c:165
 msgid "Recoloring (light color)"
 msgstr "Přebarvuji do světla"
 
-#: ../config.c:168
+#: ../config.c:167
 msgid "Color for highlighting"
 msgstr "Barva zvýrazňovače"
 
-#: ../config.c:170
+#: ../config.c:169
 msgid "Color for highlighting (active)"
 msgstr "Barva zvýrazňovače (aktivní)"
 
-#: ../config.c:172
+#: ../config.c:171
 msgid "'Loading ...' background color"
 msgstr ""
 
-#: ../config.c:174
+#: ../config.c:173
 msgid "'Loading ...' foreground color"
 msgstr ""
 
-#: ../config.c:178
+#: ../config.c:177
 msgid "Recolor pages"
 msgstr "Přebarvit stránky"
 
-#: ../config.c:180
+#: ../config.c:179
 msgid "When recoloring keep original hue and adjust lightness only"
 msgstr ""
 
-#: ../config.c:182
+#: ../config.c:181
 msgid "Wrap scrolling"
 msgstr "Scrollovat přes konce"
 
-#: ../config.c:184
+#: ../config.c:183
 msgid "Page aware scrolling"
 msgstr ""
 
-#: ../config.c:186
+#: ../config.c:185
 msgid "Advance number of pages per row"
 msgstr ""
 
-#: ../config.c:188
+#: ../config.c:187
 msgid "Horizontally centered zoom"
 msgstr ""
 
-#: ../config.c:190
+#: ../config.c:189
 msgid "Center result horizontally"
 msgstr ""
 
-#: ../config.c:192
+#: ../config.c:191
 msgid "Transparency for highlighting"
 msgstr "Průhlednost při zvýrazňování"
 
-#: ../config.c:194
+#: ../config.c:193
 msgid "Render 'Loading ...'"
 msgstr "Vypisovat 'Načítám ...'"
 
-#: ../config.c:195
+#: ../config.c:194
 msgid "Adjust to when opening file"
 msgstr "Přiblížení po otevření souboru"
 
-#: ../config.c:197
+#: ../config.c:196
 msgid "Show hidden files and directories"
 msgstr "Zobrazovat skryté soubory"
 
-#: ../config.c:199
+#: ../config.c:198
 msgid "Show directories"
 msgstr "Zobrazovat adresáře"
 
-#: ../config.c:201
+#: ../config.c:200
 msgid "Always open on first page"
 msgstr "Vždy otevírat na první straně"
 
-#: ../config.c:203
+#: ../config.c:202
 msgid "Highlight search results"
 msgstr "Zvýrazňovat výsledky hledání"
 
-#: ../config.c:205
+#: ../config.c:204
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:207
+#: ../config.c:206
 msgid "Clear search results on abort"
 msgstr "Při abortu smazat výsledky hledání"
 
-#: ../config.c:209
+#: ../config.c:208
 msgid "Use basename of the file in the window title"
 msgstr ""
 
-#: ../config.c:211
+#: ../config.c:210
 msgid "Use basename of the file in the statusbar"
 msgstr ""
 
-#: ../config.c:213 ../main.c:64
+#: ../config.c:212 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:369
+#: ../config.c:370
 msgid "Add a bookmark"
 msgstr "Přidat záložku"
 
-#: ../config.c:370
+#: ../config.c:371
 msgid "Delete a bookmark"
 msgstr "Smazat záložku"
 
-#: ../config.c:371
+#: ../config.c:372
 msgid "List all bookmarks"
 msgstr "Vypsat záložky"
 
-#: ../config.c:372
+#: ../config.c:373
 msgid "Close current file"
 msgstr "Zavřít tenhle soubor"
 
-#: ../config.c:373
+#: ../config.c:374
 msgid "Show file information"
 msgstr "Zobrazit informace o souboru"
 
-#: ../config.c:374
+#: ../config.c:375
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:375
+#: ../config.c:376
 msgid "Show help"
 msgstr "Zobrazit nápovědu"
 
-#: ../config.c:376
+#: ../config.c:377
 msgid "Open document"
 msgstr "Otevřít dokument"
 
-#: ../config.c:377
+#: ../config.c:378
 msgid "Close zathura"
 msgstr "Zavřít zathuru"
 
-#: ../config.c:378
+#: ../config.c:379
 msgid "Print document"
 msgstr "Tisknout dokument"
 
-#: ../config.c:379
+#: ../config.c:380
 msgid "Save document"
 msgstr "Uložit dokument"
 
-#: ../config.c:380
+#: ../config.c:381
 msgid "Save document (and force overwriting)"
 msgstr "Uložit a přepsat dokument"
 
-#: ../config.c:381
+#: ../config.c:382
 msgid "Save attachments"
 msgstr "Uložit přílohy"
 
-#: ../config.c:382
+#: ../config.c:383
 msgid "Set page offset"
 msgstr ""
 
-#: ../config.c:383
+#: ../config.c:384
 msgid "Mark current location within the document"
 msgstr "Označit současnou pozici v dokumentu"
 
-#: ../config.c:384
+#: ../config.c:385
 msgid "Delete the specified marks"
 msgstr "Smazat vybrané značky"
 
-#: ../config.c:385
+#: ../config.c:386
 msgid "Don't highlight current search results"
 msgstr "Nezvýrazňovat výsledky tohoto hledání"
 
-#: ../config.c:386
+#: ../config.c:387
 msgid "Highlight current search results"
 msgstr "Zvýrazňovat výsledky tohoto hledání"
 
-#: ../config.c:387
+#: ../config.c:388
 msgid "Show version information"
 msgstr ""
 
@@ -429,28 +425,34 @@ msgstr ""
 msgid "Loading..."
 msgstr "Načítám ..."
 
-#: ../page-widget.c:655
+#: ../page-widget.c:657
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr "Vybraný text zkopírován do schránky: %s"
 
-#: ../page-widget.c:753
+#: ../page-widget.c:755
 msgid "Copy image"
 msgstr "Zkopíruj obrázek"
 
-#: ../page-widget.c:754
+#: ../page-widget.c:756
 msgid "Save image as"
 msgstr "Ulož obrázek jako"
 
-#: ../shortcuts.c:962
+#: ../shortcuts.c:963
 msgid "This document does not contain any index"
 msgstr "Tenhle dokument neobsahuje žádné indexy"
 
-#: ../zathura.c:194 ../zathura.c:901
+#: ../zathura.c:224 ../zathura.c:953
 msgid "[No name]"
 msgstr "[Nepojmenovaný]"
 
-#: ../zathura.c:538
+#: ../zathura.c:587
 #, fuzzy
 msgid "Document does not contain any pages"
 msgstr "Tenhle dokument neobsahuje žádné indexy"
+
+#~ msgid "Life time (in seconds) of a hidden page"
+#~ msgstr "Délka života skryté stránky v sekundách"
+
+#~ msgid "Amount of seconds between each cache purge"
+#~ msgstr "Počet sekund mezi čištěními cache"
diff --git a/po/de.po b/po/de.po
index 9e58b04..b526fc2 100644
--- a/po/de.po
+++ b/po/de.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-17 10:22+0000\n"
+"POT-Creation-Date: 2013-03-26 12:54+0100\n"
 "PO-Revision-Date: 2013-01-13 14:13+0000\n"
 "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
 "Language-Team: German (http://www.transifex.com/projects/p/zathura/language/"
@@ -18,20 +18,20 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
-#: ../callbacks.c:218
+#: ../callbacks.c:302
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr "Ungültige Eingabe '%s' angegeben."
 
-#: ../callbacks.c:256
+#: ../callbacks.c:340
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr "Ungültiger Index '%s' angegeben."
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
-#: ../shortcuts.c:1088
+#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
+#: ../shortcuts.c:1089
 msgid "No document opened."
 msgstr "Kein Dokument geöffnet."
 
@@ -183,195 +183,190 @@ msgid "Zoom maximum"
 msgstr "Maximale Vergrößerungsstufe"
 
 #: ../config.c:159
-msgid "Life time (in seconds) of a hidden page"
-msgstr "Zeit (in Sekunden) bevor nicht sichtbare Seiten gelöscht werden"
-
-#: ../config.c:160
-msgid "Amount of seconds between each cache purge"
+msgid "Maximum number of pages to keep in the cache"
 msgstr ""
-"Anzahl der Sekunden zwischen jeder Prüfung von nicht angezeigten Seiten"
 
-#: ../config.c:162
+#: ../config.c:161
 msgid "Number of positions to remember in the jumplist"
 msgstr ""
 
-#: ../config.c:164
+#: ../config.c:163
 msgid "Recoloring (dark color)"
 msgstr "Neufärben (Dunkle Farbe)"
 
-#: ../config.c:166
+#: ../config.c:165
 msgid "Recoloring (light color)"
 msgstr "Neufärben (Helle Farbe)"
 
-#: ../config.c:168
+#: ../config.c:167
 msgid "Color for highlighting"
 msgstr "Farbe für eine Markierung"
 
-#: ../config.c:170
+#: ../config.c:169
 msgid "Color for highlighting (active)"
 msgstr "Farbe für die aktuelle Markierung"
 
-#: ../config.c:172
+#: ../config.c:171
 msgid "'Loading ...' background color"
 msgstr ""
 
-#: ../config.c:174
+#: ../config.c:173
 msgid "'Loading ...' foreground color"
 msgstr ""
 
-#: ../config.c:178
+#: ../config.c:177
 msgid "Recolor pages"
 msgstr "Färbe die Seiten ein"
 
-#: ../config.c:180
+#: ../config.c:179
 msgid "When recoloring keep original hue and adjust lightness only"
 msgstr ""
 "Behalte beim Neuzeichnen den ursprünglichen Hue-Wert bei und stimme nur die "
 "Helligkeit ab"
 
-#: ../config.c:182
+#: ../config.c:181
 msgid "Wrap scrolling"
 msgstr "Scroll-Umbruch"
 
-#: ../config.c:184
+#: ../config.c:183
 msgid "Page aware scrolling"
 msgstr ""
 
-#: ../config.c:186
+#: ../config.c:185
 msgid "Advance number of pages per row"
 msgstr "Gehe Anzahl der Seiten in einer Reihe weiter"
 
-#: ../config.c:188
+#: ../config.c:187
 msgid "Horizontally centered zoom"
 msgstr "Horizontal zentrierter Zoom"
 
-#: ../config.c:190
+#: ../config.c:189
 msgid "Center result horizontally"
 msgstr "Zentriere Ergebnis horizontal"
 
-#: ../config.c:192
+#: ../config.c:191
 msgid "Transparency for highlighting"
 msgstr "Transparenz einer Markierung"
 
-#: ../config.c:194
+#: ../config.c:193
 msgid "Render 'Loading ...'"
 msgstr "Zeige 'Lädt...'-Text beim Zeichnen einer Seite"
 
-#: ../config.c:195
+#: ../config.c:194
 msgid "Adjust to when opening file"
 msgstr "Seite einpassen"
 
-#: ../config.c:197
+#: ../config.c:196
 msgid "Show hidden files and directories"
 msgstr "Zeige versteckte Dateien und Ordner an"
 
-#: ../config.c:199
+#: ../config.c:198
 msgid "Show directories"
 msgstr "Zeige Ordner an"
 
-#: ../config.c:201
+#: ../config.c:200
 msgid "Always open on first page"
 msgstr "Öffne Dokument immer auf der ersten Seite"
 
-#: ../config.c:203
+#: ../config.c:202
 msgid "Highlight search results"
 msgstr "Hebe Suchergebnisse hervor"
 
-#: ../config.c:205
+#: ../config.c:204
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:207
+#: ../config.c:206
 msgid "Clear search results on abort"
 msgstr "Lösche Suchergebnisse bei Abbruch"
 
-#: ../config.c:209
+#: ../config.c:208
 msgid "Use basename of the file in the window title"
 msgstr "Verwende den Dateinamen der Datei im Fenstertitel"
 
-#: ../config.c:211
+#: ../config.c:210
 #, fuzzy
 msgid "Use basename of the file in the statusbar"
 msgstr "Verwende den Dateinamen der Datei im Fenstertitel"
 
-#: ../config.c:213 ../main.c:64
+#: ../config.c:212 ../main.c:64
 msgid "Enable synctex support"
 msgstr "Aktiviere SyncTeX-Unterstützung"
 
 #. define default inputbar commands
-#: ../config.c:369
+#: ../config.c:370
 msgid "Add a bookmark"
 msgstr "Füge Lesezeichen hinzu"
 
-#: ../config.c:370
+#: ../config.c:371
 msgid "Delete a bookmark"
 msgstr "Lösche ein Lesezeichen"
 
-#: ../config.c:371
+#: ../config.c:372
 msgid "List all bookmarks"
 msgstr "Liste all Lesezeichen auf"
 
-#: ../config.c:372
+#: ../config.c:373
 msgid "Close current file"
 msgstr "Schließe das aktuelle Dokument"
 
-#: ../config.c:373
+#: ../config.c:374
 msgid "Show file information"
 msgstr "Zeige Dokumentinformationen an"
 
-#: ../config.c:374
+#: ../config.c:375
 msgid "Execute a command"
 msgstr "Führe einen Befehl aus"
 
-#: ../config.c:375
+#: ../config.c:376
 msgid "Show help"
 msgstr "Zeige Hilfe an"
 
-#: ../config.c:376
+#: ../config.c:377
 msgid "Open document"
 msgstr "Öffne Dokument"
 
-#: ../config.c:377
+#: ../config.c:378
 msgid "Close zathura"
 msgstr "Beende zathura"
 
-#: ../config.c:378
+#: ../config.c:379
 msgid "Print document"
 msgstr "Drucke Dokument"
 
-#: ../config.c:379
+#: ../config.c:380
 msgid "Save document"
 msgstr "Speichere Dokument"
 
-#: ../config.c:380
+#: ../config.c:381
 msgid "Save document (and force overwriting)"
 msgstr "Speichere Dokument (und überschreibe bestehende)"
 
-#: ../config.c:381
+#: ../config.c:382
 msgid "Save attachments"
 msgstr "Speichere Anhänge"
 
-#: ../config.c:382
+#: ../config.c:383
 msgid "Set page offset"
 msgstr "Setze den Seitenabstand"
 
-#: ../config.c:383
+#: ../config.c:384
 msgid "Mark current location within the document"
 msgstr "Markiere aktuelle Position im Doukument"
 
-#: ../config.c:384
+#: ../config.c:385
 msgid "Delete the specified marks"
 msgstr "Lösche angegebene Markierung"
 
-#: ../config.c:385
+#: ../config.c:386
 msgid "Don't highlight current search results"
 msgstr "Hebe aktuelle Suchergebnisse nicht hervor"
 
-#: ../config.c:386
+#: ../config.c:387
 msgid "Highlight current search results"
 msgstr "Hebe aktuelle Suchergebnisse hervor"
 
-#: ../config.c:387
+#: ../config.c:388
 msgid "Show version information"
 msgstr "Zeige Versionsinformationen an"
 
@@ -437,28 +432,35 @@ msgstr "Synctex Editor (wird an synctex weitergeleitet)"
 msgid "Loading..."
 msgstr "Lädt..."
 
-#: ../page-widget.c:655
+#: ../page-widget.c:657
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr "Der gewählte Text wurde in die Zwischenablage kopiert: %s"
 
-#: ../page-widget.c:753
+#: ../page-widget.c:755
 msgid "Copy image"
 msgstr "Bild kopieren"
 
-#: ../page-widget.c:754
+#: ../page-widget.c:756
 msgid "Save image as"
 msgstr "Bild speichern als"
 
-#: ../shortcuts.c:962
+#: ../shortcuts.c:963
 msgid "This document does not contain any index"
 msgstr "Dieses Dokument beinhaltet kein Inhaltsverzeichnis."
 
-#: ../zathura.c:194 ../zathura.c:901
+#: ../zathura.c:224 ../zathura.c:953
 msgid "[No name]"
 msgstr "[Kein Name]"
 
-#: ../zathura.c:538
+#: ../zathura.c:587
 #, fuzzy
 msgid "Document does not contain any pages"
 msgstr "Dieses Dokument beinhaltet kein Inhaltsverzeichnis."
+
+#~ msgid "Life time (in seconds) of a hidden page"
+#~ msgstr "Zeit (in Sekunden) bevor nicht sichtbare Seiten gelöscht werden"
+
+#~ msgid "Amount of seconds between each cache purge"
+#~ msgstr ""
+#~ "Anzahl der Sekunden zwischen jeder Prüfung von nicht angezeigten Seiten"
diff --git a/po/el.po b/po/el.po
index 1341b54..586c359 100644
--- a/po/el.po
+++ b/po/el.po
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-17 10:22+0000\n"
+"POT-Creation-Date: 2013-03-26 12:54+0100\n"
 "PO-Revision-Date: 2013-01-13 14:12+0000\n"
 "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
 "Language-Team: Greek (http://www.transifex.com/projects/p/zathura/language/"
@@ -19,20 +19,20 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
-#: ../callbacks.c:218
+#: ../callbacks.c:302
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr "Η είσοδος '%s' είναι άκυρη."
 
-#: ../callbacks.c:256
+#: ../callbacks.c:340
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr "Ο δείκτης '%s' είναι άκυρος."
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
-#: ../shortcuts.c:1088
+#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
+#: ../shortcuts.c:1089
 msgid "No document opened."
 msgstr "Δεν άνοιξε κανένα αρχείο. "
 
@@ -184,194 +184,190 @@ msgid "Zoom maximum"
 msgstr "Μέγιστη μεγέθυνση"
 
 #: ../config.c:159
-msgid "Life time (in seconds) of a hidden page"
-msgstr "Διάρκεια ζωής (σε δευτερόλεπτα) μίας κρυφής σελίδας"
+msgid "Maximum number of pages to keep in the cache"
+msgstr ""
 
-#: ../config.c:160
-msgid "Amount of seconds between each cache purge"
-msgstr "Αριθμός δευτερολέπτων μεταξύ εκκαθαρίσεων της μνήμης"
-
-#: ../config.c:162
+#: ../config.c:161
 msgid "Number of positions to remember in the jumplist"
 msgstr ""
 
-#: ../config.c:164
+#: ../config.c:163
 msgid "Recoloring (dark color)"
 msgstr "Επαναχρωματισμός (σκούρο χρώμα)"
 
-#: ../config.c:166
+#: ../config.c:165
 msgid "Recoloring (light color)"
 msgstr "Επαναχρωματισμός (ανοικτό χρώμα)"
 
-#: ../config.c:168
+#: ../config.c:167
 msgid "Color for highlighting"
 msgstr "Χρώμα τονισμού"
 
-#: ../config.c:170
+#: ../config.c:169
 msgid "Color for highlighting (active)"
 msgstr "Χρώμα τονισμού (ενεργό)"
 
-#: ../config.c:172
+#: ../config.c:171
 msgid "'Loading ...' background color"
 msgstr ""
 
-#: ../config.c:174
+#: ../config.c:173
 msgid "'Loading ...' foreground color"
 msgstr ""
 
-#: ../config.c:178
+#: ../config.c:177
 msgid "Recolor pages"
 msgstr "Επαναχρωματισμός σελίδων"
 
-#: ../config.c:180
+#: ../config.c:179
 msgid "When recoloring keep original hue and adjust lightness only"
 msgstr ""
 "Κατά τον επαναχρωματισμό της σελιδάς διατήρηση της αρχικής απόχρωσης και "
 "αλλαγή μόνο της φωτεινότητας"
 
-#: ../config.c:182
+#: ../config.c:181
 msgid "Wrap scrolling"
 msgstr "Κυκλική κύληση"
 
-#: ../config.c:184
+#: ../config.c:183
 msgid "Page aware scrolling"
 msgstr ""
 
-#: ../config.c:186
+#: ../config.c:185
 msgid "Advance number of pages per row"
 msgstr "Προώθηση σε αριθμό σελίδων ανά γραμμή"
 
-#: ../config.c:188
+#: ../config.c:187
 msgid "Horizontally centered zoom"
 msgstr "Μεγένθηση οριζοντίως κεντραρισμένη"
 
-#: ../config.c:190
+#: ../config.c:189
 msgid "Center result horizontally"
 msgstr "Οριζόντιο κεντράρισμα αποτελεσμάτων"
 
-#: ../config.c:192
+#: ../config.c:191
 msgid "Transparency for highlighting"
 msgstr "Διαφάνεια για τονισμό"
 
-#: ../config.c:194
+#: ../config.c:193
 msgid "Render 'Loading ...'"
 msgstr "Εμφάνιση της ένδειξης 'Φορτώνει ...'"
 
-#: ../config.c:195
+#: ../config.c:194
 msgid "Adjust to when opening file"
 msgstr "Προσαρμογή κατά το άνοιγμα του αρχείου"
 
-#: ../config.c:197
+#: ../config.c:196
 msgid "Show hidden files and directories"
 msgstr "Εμφάνιση κρυφών αρχείων και φακέλων"
 
-#: ../config.c:199
+#: ../config.c:198
 msgid "Show directories"
 msgstr "Εμφάνιση καταλόγων"
 
-#: ../config.c:201
+#: ../config.c:200
 msgid "Always open on first page"
 msgstr "Άνοιγμα πάντα στην πρώτη σελίδα"
 
-#: ../config.c:203
+#: ../config.c:202
 msgid "Highlight search results"
 msgstr "Τονισμός αποτελεσμάτων αναζήτησης"
 
-#: ../config.c:205
+#: ../config.c:204
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:207
+#: ../config.c:206
 msgid "Clear search results on abort"
 msgstr "Εκκαθάριση των απολεσμάτων αναζήτησης κατά την διακοπή"
 
-#: ../config.c:209
+#: ../config.c:208
 msgid "Use basename of the file in the window title"
 msgstr "Χρήση του ονόματος του αρχείο στο τίτλο του παραθύρου"
 
-#: ../config.c:211
+#: ../config.c:210
 #, fuzzy
 msgid "Use basename of the file in the statusbar"
 msgstr "Χρήση του ονόματος του αρχείο στο τίτλο του παραθύρου"
 
-#: ../config.c:213 ../main.c:64
+#: ../config.c:212 ../main.c:64
 msgid "Enable synctex support"
 msgstr "Ενεργοποίηση υποστήριξης synctex"
 
 #. define default inputbar commands
-#: ../config.c:369
+#: ../config.c:370
 msgid "Add a bookmark"
 msgstr "Προσθήκη σελιδοδείκτη"
 
-#: ../config.c:370
+#: ../config.c:371
 msgid "Delete a bookmark"
 msgstr "Διαγραφή σελιδοδείκτη"
 
-#: ../config.c:371
+#: ../config.c:372
 msgid "List all bookmarks"
 msgstr "Εμφάνιση όλων των σελιδοδεικτών"
 
-#: ../config.c:372
+#: ../config.c:373
 msgid "Close current file"
 msgstr "Κλείσιμο αρχείου"
 
-#: ../config.c:373
+#: ../config.c:374
 msgid "Show file information"
 msgstr "Προβολή πληροφοριών αρχείου"
 
-#: ../config.c:374
+#: ../config.c:375
 msgid "Execute a command"
 msgstr "Εκτέλεση εντολής"
 
-#: ../config.c:375
+#: ../config.c:376
 msgid "Show help"
 msgstr "Εμφάνιση βοήθειας"
 
-#: ../config.c:376
+#: ../config.c:377
 msgid "Open document"
 msgstr "Άνοιγμα αρχείου"
 
-#: ../config.c:377
+#: ../config.c:378
 msgid "Close zathura"
 msgstr "Κλείσιμο"
 
-#: ../config.c:378
+#: ../config.c:379
 msgid "Print document"
 msgstr "Εκτύπωση αρχείου"
 
-#: ../config.c:379
+#: ../config.c:380
 msgid "Save document"
 msgstr "Αποθήκευση αρχείου"
 
-#: ../config.c:380
+#: ../config.c:381
 msgid "Save document (and force overwriting)"
 msgstr "Αποθήκευση αρχείου (και αντικατάσταση)"
 
-#: ../config.c:381
+#: ../config.c:382
 msgid "Save attachments"
 msgstr "Αποθήκευση προσαρτήσεων. "
 
-#: ../config.c:382
+#: ../config.c:383
 msgid "Set page offset"
 msgstr "Ρύθμιση αντιστάθμισης σελίδας"
 
-#: ../config.c:383
+#: ../config.c:384
 msgid "Mark current location within the document"
 msgstr "Επισήμανση τρέχουσας θέσης στο κείμενο"
 
-#: ../config.c:384
+#: ../config.c:385
 msgid "Delete the specified marks"
 msgstr "Διαγραφή επιλεγμένων σημείων"
 
-#: ../config.c:385
+#: ../config.c:386
 msgid "Don't highlight current search results"
 msgstr "Χωρίς τονισμό τα τρέχοντα αποτελέσματα της αναζήτησης"
 
-#: ../config.c:386
+#: ../config.c:387
 msgid "Highlight current search results"
 msgstr "Τονισμός στα τρέχοντα αποτελέσματα της αναζήτησης"
 
-#: ../config.c:387
+#: ../config.c:388
 msgid "Show version information"
 msgstr "Εμφάνιση πληροφοριών έκδοσης"
 
@@ -437,28 +433,34 @@ msgstr "Synctex editor (Προώθηση στην εντολή synctex)"
 msgid "Loading..."
 msgstr "Φορτώνει ..."
 
-#: ../page-widget.c:655
+#: ../page-widget.c:657
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr "Το επιλεγμένο κείμενο αποθηκεύτηκε στην μνήμη: %s"
 
-#: ../page-widget.c:753
+#: ../page-widget.c:755
 msgid "Copy image"
 msgstr "Αντιγραφή εικόνας"
 
-#: ../page-widget.c:754
+#: ../page-widget.c:756
 msgid "Save image as"
 msgstr "Αποθήκευση εικόνας ως..."
 
-#: ../shortcuts.c:962
+#: ../shortcuts.c:963
 msgid "This document does not contain any index"
 msgstr "Το αρχείο δεν περιέχει κανένα δείκτη"
 
-#: ../zathura.c:194 ../zathura.c:901
+#: ../zathura.c:224 ../zathura.c:953
 msgid "[No name]"
 msgstr "[Χωρίς όνομα]"
 
-#: ../zathura.c:538
+#: ../zathura.c:587
 #, fuzzy
 msgid "Document does not contain any pages"
 msgstr "Το αρχείο δεν περιέχει κανένα δείκτη"
+
+#~ msgid "Life time (in seconds) of a hidden page"
+#~ msgstr "Διάρκεια ζωής (σε δευτερόλεπτα) μίας κρυφής σελίδας"
+
+#~ msgid "Amount of seconds between each cache purge"
+#~ msgstr "Αριθμός δευτερολέπτων μεταξύ εκκαθαρίσεων της μνήμης"
diff --git a/po/eo.po b/po/eo.po
index 67a8640..f993dc2 100644
--- a/po/eo.po
+++ b/po/eo.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-17 10:22+0000\n"
+"POT-Creation-Date: 2013-03-26 12:54+0100\n"
 "PO-Revision-Date: 2012-08-09 13:21+0000\n"
 "Last-Translator: norbux <manelsales@ono.com>\n"
 "Language-Team: Esperanto (http://www.transifex.com/projects/p/zathura/"
@@ -18,20 +18,20 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1)\n"
 
-#: ../callbacks.c:218
+#: ../callbacks.c:302
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr "Nevalida enigo '%s' uzata."
 
-#: ../callbacks.c:256
+#: ../callbacks.c:340
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr "Nevalida indekso '%s' uzata."
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
-#: ../shortcuts.c:1088
+#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
+#: ../shortcuts.c:1089
 msgid "No document opened."
 msgstr "Neniu dokumento malfermita."
 
@@ -183,191 +183,187 @@ msgid "Zoom maximum"
 msgstr "Maksimuma zomo"
 
 #: ../config.c:159
-msgid "Life time (in seconds) of a hidden page"
-msgstr "Vivdaŭro (sekunda) de kaŝita paĝo"
+msgid "Maximum number of pages to keep in the cache"
+msgstr ""
 
-#: ../config.c:160
-msgid "Amount of seconds between each cache purge"
-msgstr "Nombro da sekundoj inter repurigo de kaŝmemoro"
-
-#: ../config.c:162
+#: ../config.c:161
 msgid "Number of positions to remember in the jumplist"
 msgstr ""
 
-#: ../config.c:164
+#: ../config.c:163
 msgid "Recoloring (dark color)"
 msgstr "Rekolorigo (malhela koloro)"
 
-#: ../config.c:166
+#: ../config.c:165
 msgid "Recoloring (light color)"
 msgstr "Rekolorigo (hela koloro)"
 
-#: ../config.c:168
+#: ../config.c:167
 msgid "Color for highlighting"
 msgstr "Koloro por fonlumo"
 
-#: ../config.c:170
+#: ../config.c:169
 msgid "Color for highlighting (active)"
 msgstr "Koloro por fonlumo (aktiva)"
 
-#: ../config.c:172
+#: ../config.c:171
 msgid "'Loading ...' background color"
 msgstr ""
 
-#: ../config.c:174
+#: ../config.c:173
 msgid "'Loading ...' foreground color"
 msgstr ""
 
-#: ../config.c:178
+#: ../config.c:177
 msgid "Recolor pages"
 msgstr "Rekoloru paĝojn"
 
-#: ../config.c:180
+#: ../config.c:179
 msgid "When recoloring keep original hue and adjust lightness only"
 msgstr ""
 
-#: ../config.c:182
+#: ../config.c:181
 msgid "Wrap scrolling"
 msgstr "Ĉirkaŭflua rulumado"
 
-#: ../config.c:184
+#: ../config.c:183
 msgid "Page aware scrolling"
 msgstr ""
 
-#: ../config.c:186
+#: ../config.c:185
 msgid "Advance number of pages per row"
 msgstr ""
 
-#: ../config.c:188
+#: ../config.c:187
 msgid "Horizontally centered zoom"
 msgstr ""
 
-#: ../config.c:190
+#: ../config.c:189
 msgid "Center result horizontally"
 msgstr ""
 
-#: ../config.c:192
+#: ../config.c:191
 msgid "Transparency for highlighting"
 msgstr "Travidebleco por fonlumo"
 
-#: ../config.c:194
+#: ../config.c:193
 msgid "Render 'Loading ...'"
 msgstr "Bildigu 'Ŝargado ...'"
 
-#: ../config.c:195
+#: ../config.c:194
 msgid "Adjust to when opening file"
 msgstr "Adaptaĵo ĉe malfermo de dosiero"
 
-#: ../config.c:197
+#: ../config.c:196
 msgid "Show hidden files and directories"
 msgstr "Montru kaŝitajn dosierojn kaj -ujojn"
 
-#: ../config.c:199
+#: ../config.c:198
 msgid "Show directories"
 msgstr "Montru dosierujojn"
 
-#: ../config.c:201
+#: ../config.c:200
 msgid "Always open on first page"
 msgstr "Ĉiam malfermu ĉe unua paĝo"
 
-#: ../config.c:203
+#: ../config.c:202
 msgid "Highlight search results"
 msgstr ""
 
-#: ../config.c:205
+#: ../config.c:204
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:207
+#: ../config.c:206
 msgid "Clear search results on abort"
 msgstr ""
 
-#: ../config.c:209
+#: ../config.c:208
 msgid "Use basename of the file in the window title"
 msgstr ""
 
-#: ../config.c:211
+#: ../config.c:210
 msgid "Use basename of the file in the statusbar"
 msgstr ""
 
-#: ../config.c:213 ../main.c:64
+#: ../config.c:212 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:369
+#: ../config.c:370
 msgid "Add a bookmark"
 msgstr "Aldonu paĝosignon"
 
-#: ../config.c:370
+#: ../config.c:371
 msgid "Delete a bookmark"
 msgstr "Forigu paĝosignon"
 
-#: ../config.c:371
+#: ../config.c:372
 msgid "List all bookmarks"
 msgstr "Listigu ĉiujn paĝosignojn"
 
-#: ../config.c:372
+#: ../config.c:373
 msgid "Close current file"
 msgstr "Fermu nunan dosieron"
 
-#: ../config.c:373
+#: ../config.c:374
 msgid "Show file information"
 msgstr "Montru dosiera informacio"
 
-#: ../config.c:374
+#: ../config.c:375
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:375
+#: ../config.c:376
 msgid "Show help"
 msgstr "Montru helpon"
 
-#: ../config.c:376
+#: ../config.c:377
 msgid "Open document"
 msgstr "Malfermu dokumenton"
 
-#: ../config.c:377
+#: ../config.c:378
 msgid "Close zathura"
 msgstr "Fermu zathura"
 
-#: ../config.c:378
+#: ../config.c:379
 msgid "Print document"
 msgstr "Presu dokumenton"
 
-#: ../config.c:379
+#: ../config.c:380
 msgid "Save document"
 msgstr "Konservu dokumenton"
 
-#: ../config.c:380
+#: ../config.c:381
 msgid "Save document (and force overwriting)"
 msgstr "Konservu dokumenton (deviga anstataŭo)"
 
-#: ../config.c:381
+#: ../config.c:382
 msgid "Save attachments"
 msgstr "Konservu kunsendaĵojn"
 
-#: ../config.c:382
+#: ../config.c:383
 msgid "Set page offset"
 msgstr "Agordu paĝdelokado"
 
-#: ../config.c:383
+#: ../config.c:384
 msgid "Mark current location within the document"
 msgstr ""
 
-#: ../config.c:384
+#: ../config.c:385
 msgid "Delete the specified marks"
 msgstr ""
 
-#: ../config.c:385
+#: ../config.c:386
 msgid "Don't highlight current search results"
 msgstr ""
 
-#: ../config.c:386
+#: ../config.c:387
 msgid "Highlight current search results"
 msgstr ""
 
-#: ../config.c:387
+#: ../config.c:388
 msgid "Show version information"
 msgstr ""
 
@@ -433,28 +429,34 @@ msgstr ""
 msgid "Loading..."
 msgstr "Ŝargado ..."
 
-#: ../page-widget.c:655
+#: ../page-widget.c:657
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr "Selektita teksto estas kopiita en la poŝo: %s"
 
-#: ../page-widget.c:753
+#: ../page-widget.c:755
 msgid "Copy image"
 msgstr "Kopiu bildon"
 
-#: ../page-widget.c:754
+#: ../page-widget.c:756
 msgid "Save image as"
 msgstr "Savi bildojn kiel"
 
-#: ../shortcuts.c:962
+#: ../shortcuts.c:963
 msgid "This document does not contain any index"
 msgstr "Ĉi-tiu dokumento enhavas neniam indekson."
 
-#: ../zathura.c:194 ../zathura.c:901
+#: ../zathura.c:224 ../zathura.c:953
 msgid "[No name]"
 msgstr "[Neniu nomo]"
 
-#: ../zathura.c:538
+#: ../zathura.c:587
 #, fuzzy
 msgid "Document does not contain any pages"
 msgstr "Ĉi-tiu dokumento enhavas neniam indekson."
+
+#~ msgid "Life time (in seconds) of a hidden page"
+#~ msgstr "Vivdaŭro (sekunda) de kaŝita paĝo"
+
+#~ msgid "Amount of seconds between each cache purge"
+#~ msgstr "Nombro da sekundoj inter repurigo de kaŝmemoro"
diff --git a/po/es.po b/po/es.po
index 99bfae2..2bddfb8 100644
--- a/po/es.po
+++ b/po/es.po
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-17 10:22+0000\n"
+"POT-Creation-Date: 2013-03-26 12:54+0100\n"
 "PO-Revision-Date: 2012-04-03 15:25+0000\n"
 "Last-Translator: Moritz Lipp <mlq@pwmt.org>\n"
 "Language-Team: Spanish (Castilian) (http://www.transifex.net/projects/p/"
@@ -17,20 +17,20 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1)\n"
 
-#: ../callbacks.c:218
+#: ../callbacks.c:302
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr "Entrada inválida: '%s'."
 
-#: ../callbacks.c:256
+#: ../callbacks.c:340
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr "Índice invalido: '%s'."
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
-#: ../shortcuts.c:1088
+#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
+#: ../shortcuts.c:1089
 msgid "No document opened."
 msgstr "Ningún documento abierto."
 
@@ -182,194 +182,190 @@ msgid "Zoom maximum"
 msgstr "Zoom máximo"
 
 #: ../config.c:159
-msgid "Life time (in seconds) of a hidden page"
-msgstr "Tiempo de vida (en segundos) de una página oculta"
+msgid "Maximum number of pages to keep in the cache"
+msgstr ""
 
-#: ../config.c:160
-msgid "Amount of seconds between each cache purge"
-msgstr "Cantidad de segundos entre limpieza de caché"
-
-#: ../config.c:162
+#: ../config.c:161
 msgid "Number of positions to remember in the jumplist"
 msgstr "Número de posiciones a recordar en la lista de saltos"
 
-#: ../config.c:164
+#: ../config.c:163
 msgid "Recoloring (dark color)"
 msgstr "Recoloreado (color oscuro)"
 
-#: ../config.c:166
+#: ../config.c:165
 msgid "Recoloring (light color)"
 msgstr "Recoloreado (color claro)"
 
-#: ../config.c:168
+#: ../config.c:167
 msgid "Color for highlighting"
 msgstr "Color para destacar"
 
-#: ../config.c:170
+#: ../config.c:169
 msgid "Color for highlighting (active)"
 msgstr "Color para destacar (activo)"
 
-#: ../config.c:172
+#: ../config.c:171
 msgid "'Loading ...' background color"
 msgstr ""
 
-#: ../config.c:174
+#: ../config.c:173
 msgid "'Loading ...' foreground color"
 msgstr ""
 
-#: ../config.c:178
+#: ../config.c:177
 msgid "Recolor pages"
 msgstr "Recolorear páginas"
 
-#: ../config.c:180
+#: ../config.c:179
 msgid "When recoloring keep original hue and adjust lightness only"
 msgstr ""
 "Cuando se recoloree, mantener el tono original y ajustar únicamente la "
 "luminosidad"
 
-#: ../config.c:182
+#: ../config.c:181
 msgid "Wrap scrolling"
 msgstr "Navegación/Scroll cíclica/o"
 
-#: ../config.c:184
+#: ../config.c:183
 msgid "Page aware scrolling"
 msgstr ""
 
-#: ../config.c:186
+#: ../config.c:185
 msgid "Advance number of pages per row"
 msgstr ""
 
-#: ../config.c:188
+#: ../config.c:187
 msgid "Horizontally centered zoom"
 msgstr "Zoom centrado horizontalmente"
 
-#: ../config.c:190
+#: ../config.c:189
 msgid "Center result horizontally"
 msgstr "Centrar el resultado horizontalmente"
 
-#: ../config.c:192
+#: ../config.c:191
 msgid "Transparency for highlighting"
 msgstr "Transparencia para el destacado"
 
-#: ../config.c:194
+#: ../config.c:193
 msgid "Render 'Loading ...'"
 msgstr "Renderizado 'Cargando ...'"
 
-#: ../config.c:195
+#: ../config.c:194
 msgid "Adjust to when opening file"
 msgstr "Ajustarse al abrir un fichero"
 
-#: ../config.c:197
+#: ../config.c:196
 msgid "Show hidden files and directories"
 msgstr "Mostrar directorios y ficheros ocultos"
 
-#: ../config.c:199
+#: ../config.c:198
 msgid "Show directories"
 msgstr "Mostrar directorios"
 
-#: ../config.c:201
+#: ../config.c:200
 msgid "Always open on first page"
 msgstr "Abrir siempre la primera página"
 
-#: ../config.c:203
+#: ../config.c:202
 msgid "Highlight search results"
 msgstr "Destacar los resultados de búsqueda"
 
-#: ../config.c:205
+#: ../config.c:204
 msgid "Enable incremental search"
 msgstr "Habilitar la búsqueda incremental"
 
-#: ../config.c:207
+#: ../config.c:206
 msgid "Clear search results on abort"
 msgstr "Borrar resultados de búsqueda al abortar"
 
-#: ../config.c:209
+#: ../config.c:208
 msgid "Use basename of the file in the window title"
 msgstr "Usar el nombre del archivo en el título de la ventana"
 
-#: ../config.c:211
+#: ../config.c:210
 #, fuzzy
 msgid "Use basename of the file in the statusbar"
 msgstr "Usar el nombre del archivo en el título de la ventana"
 
-#: ../config.c:213 ../main.c:64
+#: ../config.c:212 ../main.c:64
 msgid "Enable synctex support"
 msgstr "Habilitar soporte synctex"
 
 #. define default inputbar commands
-#: ../config.c:369
+#: ../config.c:370
 msgid "Add a bookmark"
 msgstr "Añadir Favorito"
 
-#: ../config.c:370
+#: ../config.c:371
 msgid "Delete a bookmark"
 msgstr "Eliminar Favorito"
 
-#: ../config.c:371
+#: ../config.c:372
 msgid "List all bookmarks"
 msgstr "Listar favoritos"
 
-#: ../config.c:372
+#: ../config.c:373
 msgid "Close current file"
 msgstr "Cerrar fichero actual"
 
-#: ../config.c:373
+#: ../config.c:374
 msgid "Show file information"
 msgstr "Mostrar información del fichero"
 
-#: ../config.c:374
+#: ../config.c:375
 msgid "Execute a command"
 msgstr "Ejecutar un comando"
 
-#: ../config.c:375
+#: ../config.c:376
 msgid "Show help"
 msgstr "Mostrar ayuda"
 
-#: ../config.c:376
+#: ../config.c:377
 msgid "Open document"
 msgstr "Abrir documento"
 
-#: ../config.c:377
+#: ../config.c:378
 msgid "Close zathura"
 msgstr "Salir de zathura"
 
-#: ../config.c:378
+#: ../config.c:379
 msgid "Print document"
 msgstr "Imprimir documento"
 
-#: ../config.c:379
+#: ../config.c:380
 msgid "Save document"
 msgstr "Guardar documento"
 
-#: ../config.c:380
+#: ../config.c:381
 msgid "Save document (and force overwriting)"
 msgstr "Guardar documento (y sobreescribir)"
 
-#: ../config.c:381
+#: ../config.c:382
 msgid "Save attachments"
 msgstr "Guardar ficheros adjuntos"
 
-#: ../config.c:382
+#: ../config.c:383
 msgid "Set page offset"
 msgstr "Asignar el desplazamiento de página"
 
-#: ../config.c:383
+#: ../config.c:384
 msgid "Mark current location within the document"
 msgstr "Marcar la posición actual en el documento"
 
-#: ../config.c:384
+#: ../config.c:385
 msgid "Delete the specified marks"
 msgstr "Borrar las marcas especificadas"
 
-#: ../config.c:385
+#: ../config.c:386
 msgid "Don't highlight current search results"
 msgstr "No destacar los resultados de la búsqueda actual"
 
-#: ../config.c:386
+#: ../config.c:387
 msgid "Highlight current search results"
 msgstr "Destacar los resultados de la búsqueda actual"
 
-#: ../config.c:387
+#: ../config.c:388
 msgid "Show version information"
 msgstr "Mostrar versión"
 
@@ -435,28 +431,34 @@ msgstr "Editor de Synctex (reenvíado al commando synctex)"
 msgid "Loading..."
 msgstr "Cargando ..."
 
-#: ../page-widget.c:655
+#: ../page-widget.c:657
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr "Se ha copiado el texto seleccionado al portapapeles: %s"
 
-#: ../page-widget.c:753
+#: ../page-widget.c:755
 msgid "Copy image"
 msgstr "Copiar imagen"
 
-#: ../page-widget.c:754
+#: ../page-widget.c:756
 msgid "Save image as"
 msgstr "Salvar imagen como"
 
-#: ../shortcuts.c:962
+#: ../shortcuts.c:963
 msgid "This document does not contain any index"
 msgstr "Este documento no contiene ningún índice"
 
-#: ../zathura.c:194 ../zathura.c:901
+#: ../zathura.c:224 ../zathura.c:953
 msgid "[No name]"
 msgstr "[Sin nombre]"
 
-#: ../zathura.c:538
+#: ../zathura.c:587
 #, fuzzy
 msgid "Document does not contain any pages"
 msgstr "Este documento no contiene ningún índice"
+
+#~ msgid "Life time (in seconds) of a hidden page"
+#~ msgstr "Tiempo de vida (en segundos) de una página oculta"
+
+#~ msgid "Amount of seconds between each cache purge"
+#~ msgstr "Cantidad de segundos entre limpieza de caché"
diff --git a/po/es_CL.po b/po/es_CL.po
index 9e640e8..4411a29 100644
--- a/po/es_CL.po
+++ b/po/es_CL.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-17 10:22+0000\n"
+"POT-Creation-Date: 2013-03-26 12:54+0100\n"
 "PO-Revision-Date: 2012-04-03 15:26+0000\n"
 "Last-Translator: watsh1ken <wat.sh1ken@gmail.com>\n"
 "Language-Team: Spanish (Chile) (http://www.transifex.net/projects/p/zathura/"
@@ -18,20 +18,20 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1)\n"
 
-#: ../callbacks.c:218
+#: ../callbacks.c:302
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr "Entrada inválida: '%s'."
 
-#: ../callbacks.c:256
+#: ../callbacks.c:340
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr "Índice invalido: '%s'."
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
-#: ../shortcuts.c:1088
+#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
+#: ../shortcuts.c:1089
 msgid "No document opened."
 msgstr "Ningún documento abierto."
 
@@ -183,192 +183,187 @@ msgid "Zoom maximum"
 msgstr "Zoom máximo"
 
 #: ../config.c:159
-msgid "Life time (in seconds) of a hidden page"
+msgid "Maximum number of pages to keep in the cache"
 msgstr ""
 
-#: ../config.c:160
-msgid "Amount of seconds between each cache purge"
-msgstr ""
-"Cantidad de segundos entre las comprobaciones de las páginas invisibles"
-
-#: ../config.c:162
+#: ../config.c:161
 msgid "Number of positions to remember in the jumplist"
 msgstr ""
 
-#: ../config.c:164
+#: ../config.c:163
 msgid "Recoloring (dark color)"
 msgstr "Recolorando (color oscuro)"
 
-#: ../config.c:166
+#: ../config.c:165
 msgid "Recoloring (light color)"
 msgstr "Recolorando (color claro)"
 
-#: ../config.c:168
+#: ../config.c:167
 msgid "Color for highlighting"
 msgstr "Color para destacar"
 
-#: ../config.c:170
+#: ../config.c:169
 msgid "Color for highlighting (active)"
 msgstr "Color para destacar (activo)"
 
-#: ../config.c:172
+#: ../config.c:171
 msgid "'Loading ...' background color"
 msgstr ""
 
-#: ../config.c:174
+#: ../config.c:173
 msgid "'Loading ...' foreground color"
 msgstr ""
 
-#: ../config.c:178
+#: ../config.c:177
 msgid "Recolor pages"
 msgstr "Recolorar páginas"
 
-#: ../config.c:180
+#: ../config.c:179
 msgid "When recoloring keep original hue and adjust lightness only"
 msgstr ""
 
-#: ../config.c:182
+#: ../config.c:181
 msgid "Wrap scrolling"
 msgstr "Scroll cíclico"
 
-#: ../config.c:184
+#: ../config.c:183
 msgid "Page aware scrolling"
 msgstr ""
 
-#: ../config.c:186
+#: ../config.c:185
 msgid "Advance number of pages per row"
 msgstr ""
 
-#: ../config.c:188
+#: ../config.c:187
 msgid "Horizontally centered zoom"
 msgstr ""
 
-#: ../config.c:190
+#: ../config.c:189
 msgid "Center result horizontally"
 msgstr ""
 
-#: ../config.c:192
+#: ../config.c:191
 msgid "Transparency for highlighting"
 msgstr "Transparencia para lo destacado"
 
-#: ../config.c:194
+#: ../config.c:193
 msgid "Render 'Loading ...'"
 msgstr "Renderizando 'Cargando...'"
 
-#: ../config.c:195
+#: ../config.c:194
 msgid "Adjust to when opening file"
 msgstr "Ajustar al abrirse un archivo"
 
-#: ../config.c:197
+#: ../config.c:196
 msgid "Show hidden files and directories"
 msgstr "Mostrar archivos ocultos y directorios"
 
-#: ../config.c:199
+#: ../config.c:198
 msgid "Show directories"
 msgstr "Mostrar directorios"
 
-#: ../config.c:201
+#: ../config.c:200
 msgid "Always open on first page"
 msgstr "Siempre abrir en primera página"
 
-#: ../config.c:203
+#: ../config.c:202
 msgid "Highlight search results"
 msgstr ""
 
-#: ../config.c:205
+#: ../config.c:204
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:207
+#: ../config.c:206
 msgid "Clear search results on abort"
 msgstr ""
 
-#: ../config.c:209
+#: ../config.c:208
 msgid "Use basename of the file in the window title"
 msgstr ""
 
-#: ../config.c:211
+#: ../config.c:210
 msgid "Use basename of the file in the statusbar"
 msgstr ""
 
-#: ../config.c:213 ../main.c:64
+#: ../config.c:212 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:369
+#: ../config.c:370
 msgid "Add a bookmark"
 msgstr "Agregar un marcador"
 
-#: ../config.c:370
+#: ../config.c:371
 msgid "Delete a bookmark"
 msgstr "Eliminar un marcador"
 
-#: ../config.c:371
+#: ../config.c:372
 msgid "List all bookmarks"
 msgstr "Listar todos los marcadores"
 
-#: ../config.c:372
+#: ../config.c:373
 msgid "Close current file"
 msgstr "Cerrar archivo actual"
 
-#: ../config.c:373
+#: ../config.c:374
 msgid "Show file information"
 msgstr "Mostrar información del archivo"
 
-#: ../config.c:374
+#: ../config.c:375
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:375
+#: ../config.c:376
 msgid "Show help"
 msgstr "Mostrar ayuda"
 
-#: ../config.c:376
+#: ../config.c:377
 msgid "Open document"
 msgstr "Abrir documento"
 
-#: ../config.c:377
+#: ../config.c:378
 msgid "Close zathura"
 msgstr "Cerrar zathura"
 
-#: ../config.c:378
+#: ../config.c:379
 msgid "Print document"
 msgstr "Imprimir documento"
 
-#: ../config.c:379
+#: ../config.c:380
 msgid "Save document"
 msgstr "Guardar documento"
 
-#: ../config.c:380
+#: ../config.c:381
 msgid "Save document (and force overwriting)"
 msgstr "Guardar documento (y forzar sobreescritura)"
 
-#: ../config.c:381
+#: ../config.c:382
 msgid "Save attachments"
 msgstr "Guardar archivos adjuntos"
 
-#: ../config.c:382
+#: ../config.c:383
 msgid "Set page offset"
 msgstr "Asignar desplazamiento de la página"
 
-#: ../config.c:383
+#: ../config.c:384
 msgid "Mark current location within the document"
 msgstr ""
 
-#: ../config.c:384
+#: ../config.c:385
 msgid "Delete the specified marks"
 msgstr ""
 
-#: ../config.c:385
+#: ../config.c:386
 msgid "Don't highlight current search results"
 msgstr ""
 
-#: ../config.c:386
+#: ../config.c:387
 msgid "Highlight current search results"
 msgstr ""
 
-#: ../config.c:387
+#: ../config.c:388
 msgid "Show version information"
 msgstr ""
 
@@ -434,28 +429,32 @@ msgstr ""
 msgid "Loading..."
 msgstr "Cargando..."
 
-#: ../page-widget.c:655
+#: ../page-widget.c:657
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr "Texto seleccionado copiado al portapapeles: %s"
 
-#: ../page-widget.c:753
+#: ../page-widget.c:755
 msgid "Copy image"
 msgstr "Copiar imagen"
 
-#: ../page-widget.c:754
+#: ../page-widget.c:756
 msgid "Save image as"
 msgstr ""
 
-#: ../shortcuts.c:962
+#: ../shortcuts.c:963
 msgid "This document does not contain any index"
 msgstr "Este document no contiene índice"
 
-#: ../zathura.c:194 ../zathura.c:901
+#: ../zathura.c:224 ../zathura.c:953
 msgid "[No name]"
 msgstr "[Sin nombre]"
 
-#: ../zathura.c:538
+#: ../zathura.c:587
 #, fuzzy
 msgid "Document does not contain any pages"
 msgstr "Este document no contiene índice"
+
+#~ msgid "Amount of seconds between each cache purge"
+#~ msgstr ""
+#~ "Cantidad de segundos entre las comprobaciones de las páginas invisibles"
diff --git a/po/et.po b/po/et.po
index ea2816c..f82864e 100644
--- a/po/et.po
+++ b/po/et.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-17 10:22+0000\n"
+"POT-Creation-Date: 2013-03-26 12:54+0100\n"
 "PO-Revision-Date: 2012-04-03 15:25+0000\n"
 "Last-Translator: Rivo Zängov <eraser@eraser.ee>\n"
 "Language-Team: Estonian (http://www.transifex.net/projects/p/zathura/"
@@ -18,20 +18,20 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1)\n"
 
-#: ../callbacks.c:218
+#: ../callbacks.c:302
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr ""
 
-#: ../callbacks.c:256
+#: ../callbacks.c:340
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr ""
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
-#: ../shortcuts.c:1088
+#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
+#: ../shortcuts.c:1089
 msgid "No document opened."
 msgstr ""
 
@@ -183,191 +183,187 @@ msgid "Zoom maximum"
 msgstr ""
 
 #: ../config.c:159
-msgid "Life time (in seconds) of a hidden page"
+msgid "Maximum number of pages to keep in the cache"
 msgstr ""
 
-#: ../config.c:160
-msgid "Amount of seconds between each cache purge"
-msgstr ""
-
-#: ../config.c:162
+#: ../config.c:161
 msgid "Number of positions to remember in the jumplist"
 msgstr ""
 
-#: ../config.c:164
+#: ../config.c:163
 msgid "Recoloring (dark color)"
 msgstr ""
 
-#: ../config.c:166
+#: ../config.c:165
 msgid "Recoloring (light color)"
 msgstr ""
 
-#: ../config.c:168
+#: ../config.c:167
 msgid "Color for highlighting"
 msgstr "Esiletõstmise värv"
 
-#: ../config.c:170
+#: ../config.c:169
 msgid "Color for highlighting (active)"
 msgstr "Esiletõstmise värv (aktiivne)"
 
-#: ../config.c:172
+#: ../config.c:171
 msgid "'Loading ...' background color"
 msgstr ""
 
-#: ../config.c:174
+#: ../config.c:173
 msgid "'Loading ...' foreground color"
 msgstr ""
 
-#: ../config.c:178
+#: ../config.c:177
 msgid "Recolor pages"
 msgstr ""
 
-#: ../config.c:180
+#: ../config.c:179
 msgid "When recoloring keep original hue and adjust lightness only"
 msgstr ""
 
-#: ../config.c:182
+#: ../config.c:181
 msgid "Wrap scrolling"
 msgstr ""
 
-#: ../config.c:184
+#: ../config.c:183
 msgid "Page aware scrolling"
 msgstr ""
 
-#: ../config.c:186
+#: ../config.c:185
 msgid "Advance number of pages per row"
 msgstr ""
 
-#: ../config.c:188
+#: ../config.c:187
 msgid "Horizontally centered zoom"
 msgstr ""
 
-#: ../config.c:190
+#: ../config.c:189
 msgid "Center result horizontally"
 msgstr ""
 
-#: ../config.c:192
+#: ../config.c:191
 msgid "Transparency for highlighting"
 msgstr ""
 
-#: ../config.c:194
+#: ../config.c:193
 msgid "Render 'Loading ...'"
 msgstr ""
 
-#: ../config.c:195
+#: ../config.c:194
 msgid "Adjust to when opening file"
 msgstr ""
 
-#: ../config.c:197
+#: ../config.c:196
 msgid "Show hidden files and directories"
 msgstr ""
 
-#: ../config.c:199
+#: ../config.c:198
 msgid "Show directories"
 msgstr "Näita kaustasid"
 
-#: ../config.c:201
+#: ../config.c:200
 msgid "Always open on first page"
 msgstr "Ava alati esimene leht"
 
-#: ../config.c:203
+#: ../config.c:202
 msgid "Highlight search results"
 msgstr ""
 
-#: ../config.c:205
+#: ../config.c:204
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:207
+#: ../config.c:206
 msgid "Clear search results on abort"
 msgstr ""
 
-#: ../config.c:209
+#: ../config.c:208
 msgid "Use basename of the file in the window title"
 msgstr ""
 
-#: ../config.c:211
+#: ../config.c:210
 msgid "Use basename of the file in the statusbar"
 msgstr ""
 
-#: ../config.c:213 ../main.c:64
+#: ../config.c:212 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:369
+#: ../config.c:370
 msgid "Add a bookmark"
 msgstr "Lisa järjehoidja"
 
-#: ../config.c:370
+#: ../config.c:371
 msgid "Delete a bookmark"
 msgstr "Kustuta järjehoidja"
 
-#: ../config.c:371
+#: ../config.c:372
 msgid "List all bookmarks"
 msgstr "Näita kõiki järjehoidjaid"
 
-#: ../config.c:372
+#: ../config.c:373
 msgid "Close current file"
 msgstr "Sulge praegune fail"
 
-#: ../config.c:373
+#: ../config.c:374
 msgid "Show file information"
 msgstr "Näita faili infot"
 
-#: ../config.c:374
+#: ../config.c:375
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:375
+#: ../config.c:376
 msgid "Show help"
 msgstr "Näita abiinfot"
 
-#: ../config.c:376
+#: ../config.c:377
 msgid "Open document"
 msgstr "Ava dokument"
 
-#: ../config.c:377
+#: ../config.c:378
 msgid "Close zathura"
 msgstr "Sule zathura"
 
-#: ../config.c:378
+#: ../config.c:379
 msgid "Print document"
 msgstr "Prindi dokument"
 
-#: ../config.c:379
+#: ../config.c:380
 msgid "Save document"
 msgstr "Salvesta dokument"
 
-#: ../config.c:380
+#: ../config.c:381
 msgid "Save document (and force overwriting)"
 msgstr ""
 
-#: ../config.c:381
+#: ../config.c:382
 msgid "Save attachments"
 msgstr "Salvesta manused"
 
-#: ../config.c:382
+#: ../config.c:383
 msgid "Set page offset"
 msgstr ""
 
-#: ../config.c:383
+#: ../config.c:384
 msgid "Mark current location within the document"
 msgstr ""
 
-#: ../config.c:384
+#: ../config.c:385
 msgid "Delete the specified marks"
 msgstr ""
 
-#: ../config.c:385
+#: ../config.c:386
 msgid "Don't highlight current search results"
 msgstr ""
 
-#: ../config.c:386
+#: ../config.c:387
 msgid "Highlight current search results"
 msgstr ""
 
-#: ../config.c:387
+#: ../config.c:388
 msgid "Show version information"
 msgstr ""
 
@@ -433,27 +429,27 @@ msgstr ""
 msgid "Loading..."
 msgstr ""
 
-#: ../page-widget.c:655
+#: ../page-widget.c:657
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr ""
 
-#: ../page-widget.c:753
+#: ../page-widget.c:755
 msgid "Copy image"
 msgstr "Kopeeri pilt"
 
-#: ../page-widget.c:754
+#: ../page-widget.c:756
 msgid "Save image as"
 msgstr ""
 
-#: ../shortcuts.c:962
+#: ../shortcuts.c:963
 msgid "This document does not contain any index"
 msgstr ""
 
-#: ../zathura.c:194 ../zathura.c:901
+#: ../zathura.c:224 ../zathura.c:953
 msgid "[No name]"
 msgstr "[Nime pole]"
 
-#: ../zathura.c:538
+#: ../zathura.c:587
 msgid "Document does not contain any pages"
 msgstr ""
diff --git a/po/fr.po b/po/fr.po
index b473354..5ec4da4 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -10,7 +10,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-17 10:22+0000\n"
+"POT-Creation-Date: 2013-03-26 12:54+0100\n"
 "PO-Revision-Date: 2013-03-17 11:30+0100\n"
 "Last-Translator: Benoît Knecht <benoit.knecht@fsfe.org>\n"
 "Language-Team: French (http://www.transifex.com/projects/p/zathura/language/"
@@ -21,20 +21,20 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
 
-#: ../callbacks.c:218
+#: ../callbacks.c:302
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr "Entrée invalide : '%s'"
 
-#: ../callbacks.c:256
+#: ../callbacks.c:340
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr "Index invalide : '%s'"
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
-#: ../shortcuts.c:1088
+#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
+#: ../shortcuts.c:1089
 msgid "No document opened."
 msgstr "Aucun document ouvert."
 
@@ -186,193 +186,189 @@ msgid "Zoom maximum"
 msgstr "Zoom maximum"
 
 #: ../config.c:159
-msgid "Life time (in seconds) of a hidden page"
-msgstr "Durée de vie (en secondes) d'une page cachée"
+msgid "Maximum number of pages to keep in the cache"
+msgstr ""
 
-#: ../config.c:160
-msgid "Amount of seconds between each cache purge"
-msgstr "Délai en secondes entre chaque purge du cache"
-
-#: ../config.c:162
+#: ../config.c:161
 msgid "Number of positions to remember in the jumplist"
 msgstr "Nombre de positions à mémoriser dans la liste de sauts"
 
-#: ../config.c:164
+#: ../config.c:163
 msgid "Recoloring (dark color)"
 msgstr "Recoloration (couleur sombre)"
 
-#: ../config.c:166
+#: ../config.c:165
 msgid "Recoloring (light color)"
 msgstr "Recoloration (couleur claire)"
 
-#: ../config.c:168
+#: ../config.c:167
 msgid "Color for highlighting"
 msgstr "Couleur de surbrillance"
 
-#: ../config.c:170
+#: ../config.c:169
 msgid "Color for highlighting (active)"
 msgstr "Couleur de surbrillance (active)"
 
-#: ../config.c:172
+#: ../config.c:171
 msgid "'Loading ...' background color"
 msgstr "Couleur d'arrière-plan de 'Chargement...'"
 
-#: ../config.c:174
+#: ../config.c:173
 msgid "'Loading ...' foreground color"
 msgstr "Couleur de 'Chargement...'"
 
-#: ../config.c:178
+#: ../config.c:177
 msgid "Recolor pages"
 msgstr "Recoloriser les pages"
 
-#: ../config.c:180
+#: ../config.c:179
 msgid "When recoloring keep original hue and adjust lightness only"
 msgstr ""
 "Lors de la recoloration garder la teinte d'origine et ajuster seulement la "
 "luminosité"
 
-#: ../config.c:182
+#: ../config.c:181
 msgid "Wrap scrolling"
 msgstr "Défiler en boucle"
 
-#: ../config.c:184
+#: ../config.c:183
 msgid "Page aware scrolling"
 msgstr "Défilement tenant compte des limites de page"
 
-#: ../config.c:186
+#: ../config.c:185
 msgid "Advance number of pages per row"
 msgstr "Augmenter le nombre de pages par rangée"
 
-#: ../config.c:188
+#: ../config.c:187
 msgid "Horizontally centered zoom"
 msgstr "Zoom centré horizontalement"
 
-#: ../config.c:190
+#: ../config.c:189
 msgid "Center result horizontally"
 msgstr "Centrer le résultat horizontalement"
 
-#: ../config.c:192
+#: ../config.c:191
 msgid "Transparency for highlighting"
 msgstr "Transparence de la surbrillance"
 
-#: ../config.c:194
+#: ../config.c:193
 msgid "Render 'Loading ...'"
 msgstr "Afficher 'Chargement...'"
 
-#: ../config.c:195
+#: ../config.c:194
 msgid "Adjust to when opening file"
 msgstr "Ajuster à l'ouverture du fichier"
 
-#: ../config.c:197
+#: ../config.c:196
 msgid "Show hidden files and directories"
 msgstr "Montrer les fichiers et dossiers cachés"
 
-#: ../config.c:199
+#: ../config.c:198
 msgid "Show directories"
 msgstr "Montrer les dossiers"
 
-#: ../config.c:201
+#: ../config.c:200
 msgid "Always open on first page"
 msgstr "Toujours ouvrir à la première page"
 
-#: ../config.c:203
+#: ../config.c:202
 msgid "Highlight search results"
 msgstr "Surligner les résultats de la recherche"
 
-#: ../config.c:205
+#: ../config.c:204
 msgid "Enable incremental search"
 msgstr "Activer la recherche incrémentale"
 
-#: ../config.c:207
+#: ../config.c:206
 msgid "Clear search results on abort"
 msgstr "Effacer les résultats de recherche en cas d'annulation"
 
-#: ../config.c:209
+#: ../config.c:208
 msgid "Use basename of the file in the window title"
 msgstr "Utiliser le nom de base du fichier dans le titre de la fenêtre"
 
-#: ../config.c:211
+#: ../config.c:210
 msgid "Use basename of the file in the statusbar"
 msgstr "Utiliser le nom de base du fichier dans la barre d'état"
 
-#: ../config.c:213 ../main.c:64
+#: ../config.c:212 ../main.c:64
 msgid "Enable synctex support"
 msgstr "Activer la prise en charge de synctex"
 
 #. define default inputbar commands
-#: ../config.c:369
+#: ../config.c:370
 msgid "Add a bookmark"
 msgstr "Ajouter un marque-page"
 
-#: ../config.c:370
+#: ../config.c:371
 msgid "Delete a bookmark"
 msgstr "Supprimer un marque-page"
 
-#: ../config.c:371
+#: ../config.c:372
 msgid "List all bookmarks"
 msgstr "Lister tous les marque-pages"
 
-#: ../config.c:372
+#: ../config.c:373
 msgid "Close current file"
 msgstr "Fermer le fichier actuel"
 
-#: ../config.c:373
+#: ../config.c:374
 msgid "Show file information"
 msgstr "Montrer les informations sur le fichier"
 
-#: ../config.c:374
+#: ../config.c:375
 msgid "Execute a command"
 msgstr "Exécuter une commande"
 
-#: ../config.c:375
+#: ../config.c:376
 msgid "Show help"
 msgstr "Afficher l'aide"
 
-#: ../config.c:376
+#: ../config.c:377
 msgid "Open document"
 msgstr "Ouvrir un document"
 
-#: ../config.c:377
+#: ../config.c:378
 msgid "Close zathura"
 msgstr "Quitter zathura"
 
-#: ../config.c:378
+#: ../config.c:379
 msgid "Print document"
 msgstr "Imprimer le document"
 
-#: ../config.c:379
+#: ../config.c:380
 msgid "Save document"
 msgstr "Sauver le document"
 
-#: ../config.c:380
+#: ../config.c:381
 msgid "Save document (and force overwriting)"
 msgstr "Sauver le document (et forcer l'écrasement)"
 
-#: ../config.c:381
+#: ../config.c:382
 msgid "Save attachments"
 msgstr "Enregistrer les pièces jointes"
 
-#: ../config.c:382
+#: ../config.c:383
 msgid "Set page offset"
 msgstr "Définir le décalage de page"
 
-#: ../config.c:383
+#: ../config.c:384
 msgid "Mark current location within the document"
 msgstr "Marquer l'emplacement actuel dans le document"
 
-#: ../config.c:384
+#: ../config.c:385
 msgid "Delete the specified marks"
 msgstr "Supprimer les marques indiquées"
 
-#: ../config.c:385
+#: ../config.c:386
 msgid "Don't highlight current search results"
 msgstr "Ne pas surligner les résultats de la recherche en cours"
 
-#: ../config.c:386
+#: ../config.c:387
 msgid "Highlight current search results"
 msgstr "Surligner les résultats de la recherche en cours"
 
-#: ../config.c:387
+#: ../config.c:388
 msgid "Show version information"
 msgstr "Afficher les informations de version"
 
@@ -438,27 +434,33 @@ msgstr "Éditeur synctex (transféré à la commande synctex)"
 msgid "Loading..."
 msgstr "Chargement..."
 
-#: ../page-widget.c:655
+#: ../page-widget.c:657
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr "Texte sélectionné copié dans le presse-papiers : %s"
 
-#: ../page-widget.c:753
+#: ../page-widget.c:755
 msgid "Copy image"
 msgstr "Copier l'image"
 
-#: ../page-widget.c:754
+#: ../page-widget.c:756
 msgid "Save image as"
 msgstr "Enregistrer l'image sous"
 
-#: ../shortcuts.c:962
+#: ../shortcuts.c:963
 msgid "This document does not contain any index"
 msgstr "Ce document ne contient pas d'index"
 
-#: ../zathura.c:194 ../zathura.c:901
+#: ../zathura.c:224 ../zathura.c:953
 msgid "[No name]"
 msgstr "[Sans nom]"
 
-#: ../zathura.c:538
+#: ../zathura.c:587
 msgid "Document does not contain any pages"
 msgstr "Ce document ne contient aucune page"
+
+#~ msgid "Life time (in seconds) of a hidden page"
+#~ msgstr "Durée de vie (en secondes) d'une page cachée"
+
+#~ msgid "Amount of seconds between each cache purge"
+#~ msgstr "Délai en secondes entre chaque purge du cache"
diff --git a/po/he.po b/po/he.po
index fb94668..51c7ac4 100644
--- a/po/he.po
+++ b/po/he.po
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-17 10:22+0000\n"
+"POT-Creation-Date: 2013-03-26 12:54+0100\n"
 "PO-Revision-Date: 2013-01-13 14:12+0000\n"
 "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
 "Language-Team: Hebrew (http://www.transifex.com/projects/p/zathura/language/"
@@ -17,20 +17,20 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
-#: ../callbacks.c:218
+#: ../callbacks.c:302
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr ""
 
-#: ../callbacks.c:256
+#: ../callbacks.c:340
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr ""
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
-#: ../shortcuts.c:1088
+#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
+#: ../shortcuts.c:1089
 msgid "No document opened."
 msgstr ""
 
@@ -182,191 +182,187 @@ msgid "Zoom maximum"
 msgstr ""
 
 #: ../config.c:159
-msgid "Life time (in seconds) of a hidden page"
+msgid "Maximum number of pages to keep in the cache"
 msgstr ""
 
-#: ../config.c:160
-msgid "Amount of seconds between each cache purge"
-msgstr ""
-
-#: ../config.c:162
+#: ../config.c:161
 msgid "Number of positions to remember in the jumplist"
 msgstr ""
 
-#: ../config.c:164
+#: ../config.c:163
 msgid "Recoloring (dark color)"
 msgstr ""
 
-#: ../config.c:166
+#: ../config.c:165
 msgid "Recoloring (light color)"
 msgstr ""
 
-#: ../config.c:168
+#: ../config.c:167
 msgid "Color for highlighting"
 msgstr ""
 
-#: ../config.c:170
+#: ../config.c:169
 msgid "Color for highlighting (active)"
 msgstr ""
 
-#: ../config.c:172
+#: ../config.c:171
 msgid "'Loading ...' background color"
 msgstr ""
 
-#: ../config.c:174
+#: ../config.c:173
 msgid "'Loading ...' foreground color"
 msgstr ""
 
-#: ../config.c:178
+#: ../config.c:177
 msgid "Recolor pages"
 msgstr ""
 
-#: ../config.c:180
+#: ../config.c:179
 msgid "When recoloring keep original hue and adjust lightness only"
 msgstr ""
 
-#: ../config.c:182
+#: ../config.c:181
 msgid "Wrap scrolling"
 msgstr ""
 
-#: ../config.c:184
+#: ../config.c:183
 msgid "Page aware scrolling"
 msgstr ""
 
-#: ../config.c:186
+#: ../config.c:185
 msgid "Advance number of pages per row"
 msgstr ""
 
-#: ../config.c:188
+#: ../config.c:187
 msgid "Horizontally centered zoom"
 msgstr ""
 
-#: ../config.c:190
+#: ../config.c:189
 msgid "Center result horizontally"
 msgstr ""
 
-#: ../config.c:192
+#: ../config.c:191
 msgid "Transparency for highlighting"
 msgstr ""
 
-#: ../config.c:194
+#: ../config.c:193
 msgid "Render 'Loading ...'"
 msgstr ""
 
-#: ../config.c:195
+#: ../config.c:194
 msgid "Adjust to when opening file"
 msgstr ""
 
-#: ../config.c:197
+#: ../config.c:196
 msgid "Show hidden files and directories"
 msgstr ""
 
-#: ../config.c:199
+#: ../config.c:198
 msgid "Show directories"
 msgstr ""
 
-#: ../config.c:201
+#: ../config.c:200
 msgid "Always open on first page"
 msgstr ""
 
-#: ../config.c:203
+#: ../config.c:202
 msgid "Highlight search results"
 msgstr ""
 
-#: ../config.c:205
+#: ../config.c:204
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:207
+#: ../config.c:206
 msgid "Clear search results on abort"
 msgstr ""
 
-#: ../config.c:209
+#: ../config.c:208
 msgid "Use basename of the file in the window title"
 msgstr ""
 
-#: ../config.c:211
+#: ../config.c:210
 msgid "Use basename of the file in the statusbar"
 msgstr ""
 
-#: ../config.c:213 ../main.c:64
+#: ../config.c:212 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:369
+#: ../config.c:370
 msgid "Add a bookmark"
 msgstr ""
 
-#: ../config.c:370
+#: ../config.c:371
 msgid "Delete a bookmark"
 msgstr ""
 
-#: ../config.c:371
+#: ../config.c:372
 msgid "List all bookmarks"
 msgstr ""
 
-#: ../config.c:372
+#: ../config.c:373
 msgid "Close current file"
 msgstr ""
 
-#: ../config.c:373
+#: ../config.c:374
 msgid "Show file information"
 msgstr ""
 
-#: ../config.c:374
+#: ../config.c:375
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:375
+#: ../config.c:376
 msgid "Show help"
 msgstr ""
 
-#: ../config.c:376
+#: ../config.c:377
 msgid "Open document"
 msgstr ""
 
-#: ../config.c:377
+#: ../config.c:378
 msgid "Close zathura"
 msgstr ""
 
-#: ../config.c:378
+#: ../config.c:379
 msgid "Print document"
 msgstr ""
 
-#: ../config.c:379
+#: ../config.c:380
 msgid "Save document"
 msgstr ""
 
-#: ../config.c:380
+#: ../config.c:381
 msgid "Save document (and force overwriting)"
 msgstr ""
 
-#: ../config.c:381
+#: ../config.c:382
 msgid "Save attachments"
 msgstr ""
 
-#: ../config.c:382
+#: ../config.c:383
 msgid "Set page offset"
 msgstr ""
 
-#: ../config.c:383
+#: ../config.c:384
 msgid "Mark current location within the document"
 msgstr ""
 
-#: ../config.c:384
+#: ../config.c:385
 msgid "Delete the specified marks"
 msgstr ""
 
-#: ../config.c:385
+#: ../config.c:386
 msgid "Don't highlight current search results"
 msgstr ""
 
-#: ../config.c:386
+#: ../config.c:387
 msgid "Highlight current search results"
 msgstr ""
 
-#: ../config.c:387
+#: ../config.c:388
 msgid "Show version information"
 msgstr ""
 
@@ -432,27 +428,27 @@ msgstr ""
 msgid "Loading..."
 msgstr ""
 
-#: ../page-widget.c:655
+#: ../page-widget.c:657
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr ""
 
-#: ../page-widget.c:753
+#: ../page-widget.c:755
 msgid "Copy image"
 msgstr ""
 
-#: ../page-widget.c:754
+#: ../page-widget.c:756
 msgid "Save image as"
 msgstr ""
 
-#: ../shortcuts.c:962
+#: ../shortcuts.c:963
 msgid "This document does not contain any index"
 msgstr ""
 
-#: ../zathura.c:194 ../zathura.c:901
+#: ../zathura.c:224 ../zathura.c:953
 msgid "[No name]"
 msgstr ""
 
-#: ../zathura.c:538
+#: ../zathura.c:587
 msgid "Document does not contain any pages"
 msgstr ""
diff --git a/po/hr.po b/po/hr.po
index 3a0dd27..c116682 100644
--- a/po/hr.po
+++ b/po/hr.po
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-17 10:22+0000\n"
+"POT-Creation-Date: 2013-03-26 12:54+0100\n"
 "PO-Revision-Date: 2013-01-13 14:12+0000\n"
 "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
 "Language-Team: Croatian (http://www.transifex.com/projects/p/zathura/"
@@ -18,20 +18,20 @@ msgstr ""
 "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
 "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
 
-#: ../callbacks.c:218
+#: ../callbacks.c:302
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr ""
 
-#: ../callbacks.c:256
+#: ../callbacks.c:340
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr ""
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
-#: ../shortcuts.c:1088
+#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
+#: ../shortcuts.c:1089
 msgid "No document opened."
 msgstr ""
 
@@ -183,191 +183,187 @@ msgid "Zoom maximum"
 msgstr ""
 
 #: ../config.c:159
-msgid "Life time (in seconds) of a hidden page"
+msgid "Maximum number of pages to keep in the cache"
 msgstr ""
 
-#: ../config.c:160
-msgid "Amount of seconds between each cache purge"
-msgstr ""
-
-#: ../config.c:162
+#: ../config.c:161
 msgid "Number of positions to remember in the jumplist"
 msgstr ""
 
-#: ../config.c:164
+#: ../config.c:163
 msgid "Recoloring (dark color)"
 msgstr ""
 
-#: ../config.c:166
+#: ../config.c:165
 msgid "Recoloring (light color)"
 msgstr ""
 
-#: ../config.c:168
+#: ../config.c:167
 msgid "Color for highlighting"
 msgstr ""
 
-#: ../config.c:170
+#: ../config.c:169
 msgid "Color for highlighting (active)"
 msgstr ""
 
-#: ../config.c:172
+#: ../config.c:171
 msgid "'Loading ...' background color"
 msgstr ""
 
-#: ../config.c:174
+#: ../config.c:173
 msgid "'Loading ...' foreground color"
 msgstr ""
 
-#: ../config.c:178
+#: ../config.c:177
 msgid "Recolor pages"
 msgstr ""
 
-#: ../config.c:180
+#: ../config.c:179
 msgid "When recoloring keep original hue and adjust lightness only"
 msgstr ""
 
-#: ../config.c:182
+#: ../config.c:181
 msgid "Wrap scrolling"
 msgstr ""
 
-#: ../config.c:184
+#: ../config.c:183
 msgid "Page aware scrolling"
 msgstr ""
 
-#: ../config.c:186
+#: ../config.c:185
 msgid "Advance number of pages per row"
 msgstr ""
 
-#: ../config.c:188
+#: ../config.c:187
 msgid "Horizontally centered zoom"
 msgstr ""
 
-#: ../config.c:190
+#: ../config.c:189
 msgid "Center result horizontally"
 msgstr ""
 
-#: ../config.c:192
+#: ../config.c:191
 msgid "Transparency for highlighting"
 msgstr ""
 
-#: ../config.c:194
+#: ../config.c:193
 msgid "Render 'Loading ...'"
 msgstr ""
 
-#: ../config.c:195
+#: ../config.c:194
 msgid "Adjust to when opening file"
 msgstr ""
 
-#: ../config.c:197
+#: ../config.c:196
 msgid "Show hidden files and directories"
 msgstr ""
 
-#: ../config.c:199
+#: ../config.c:198
 msgid "Show directories"
 msgstr ""
 
-#: ../config.c:201
+#: ../config.c:200
 msgid "Always open on first page"
 msgstr ""
 
-#: ../config.c:203
+#: ../config.c:202
 msgid "Highlight search results"
 msgstr ""
 
-#: ../config.c:205
+#: ../config.c:204
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:207
+#: ../config.c:206
 msgid "Clear search results on abort"
 msgstr ""
 
-#: ../config.c:209
+#: ../config.c:208
 msgid "Use basename of the file in the window title"
 msgstr ""
 
-#: ../config.c:211
+#: ../config.c:210
 msgid "Use basename of the file in the statusbar"
 msgstr ""
 
-#: ../config.c:213 ../main.c:64
+#: ../config.c:212 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:369
+#: ../config.c:370
 msgid "Add a bookmark"
 msgstr ""
 
-#: ../config.c:370
+#: ../config.c:371
 msgid "Delete a bookmark"
 msgstr ""
 
-#: ../config.c:371
+#: ../config.c:372
 msgid "List all bookmarks"
 msgstr ""
 
-#: ../config.c:372
+#: ../config.c:373
 msgid "Close current file"
 msgstr ""
 
-#: ../config.c:373
+#: ../config.c:374
 msgid "Show file information"
 msgstr ""
 
-#: ../config.c:374
+#: ../config.c:375
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:375
+#: ../config.c:376
 msgid "Show help"
 msgstr ""
 
-#: ../config.c:376
+#: ../config.c:377
 msgid "Open document"
 msgstr ""
 
-#: ../config.c:377
+#: ../config.c:378
 msgid "Close zathura"
 msgstr ""
 
-#: ../config.c:378
+#: ../config.c:379
 msgid "Print document"
 msgstr ""
 
-#: ../config.c:379
+#: ../config.c:380
 msgid "Save document"
 msgstr ""
 
-#: ../config.c:380
+#: ../config.c:381
 msgid "Save document (and force overwriting)"
 msgstr ""
 
-#: ../config.c:381
+#: ../config.c:382
 msgid "Save attachments"
 msgstr ""
 
-#: ../config.c:382
+#: ../config.c:383
 msgid "Set page offset"
 msgstr ""
 
-#: ../config.c:383
+#: ../config.c:384
 msgid "Mark current location within the document"
 msgstr ""
 
-#: ../config.c:384
+#: ../config.c:385
 msgid "Delete the specified marks"
 msgstr ""
 
-#: ../config.c:385
+#: ../config.c:386
 msgid "Don't highlight current search results"
 msgstr ""
 
-#: ../config.c:386
+#: ../config.c:387
 msgid "Highlight current search results"
 msgstr ""
 
-#: ../config.c:387
+#: ../config.c:388
 msgid "Show version information"
 msgstr ""
 
@@ -433,27 +429,27 @@ msgstr ""
 msgid "Loading..."
 msgstr ""
 
-#: ../page-widget.c:655
+#: ../page-widget.c:657
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr ""
 
-#: ../page-widget.c:753
+#: ../page-widget.c:755
 msgid "Copy image"
 msgstr ""
 
-#: ../page-widget.c:754
+#: ../page-widget.c:756
 msgid "Save image as"
 msgstr ""
 
-#: ../shortcuts.c:962
+#: ../shortcuts.c:963
 msgid "This document does not contain any index"
 msgstr ""
 
-#: ../zathura.c:194 ../zathura.c:901
+#: ../zathura.c:224 ../zathura.c:953
 msgid "[No name]"
 msgstr ""
 
-#: ../zathura.c:538
+#: ../zathura.c:587
 msgid "Document does not contain any pages"
 msgstr ""
diff --git a/po/it.po b/po/it.po
index 395607f..64a66c3 100644
--- a/po/it.po
+++ b/po/it.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-17 10:22+0000\n"
+"POT-Creation-Date: 2013-03-26 12:54+0100\n"
 "PO-Revision-Date: 2013-01-13 14:12+0000\n"
 "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
 "Language-Team: Italian (http://www.transifex.com/projects/p/zathura/language/"
@@ -18,20 +18,20 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1)\n"
 
-#: ../callbacks.c:218
+#: ../callbacks.c:302
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr "Input inserito '%s' non valido."
 
-#: ../callbacks.c:256
+#: ../callbacks.c:340
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr "Indice inserito '%s' non valido."
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
-#: ../shortcuts.c:1088
+#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
+#: ../shortcuts.c:1089
 msgid "No document opened."
 msgstr "Nessun documento aperto."
 
@@ -183,191 +183,187 @@ msgid "Zoom maximum"
 msgstr "Zoom massimo"
 
 #: ../config.c:159
-msgid "Life time (in seconds) of a hidden page"
-msgstr "Durata (in secondi) di una pagina nascosta"
+msgid "Maximum number of pages to keep in the cache"
+msgstr ""
 
-#: ../config.c:160
-msgid "Amount of seconds between each cache purge"
-msgstr "Tempo in secondi tra le invalidazioni della cache"
-
-#: ../config.c:162
+#: ../config.c:161
 msgid "Number of positions to remember in the jumplist"
 msgstr ""
 
-#: ../config.c:164
+#: ../config.c:163
 msgid "Recoloring (dark color)"
 msgstr ""
 
-#: ../config.c:166
+#: ../config.c:165
 msgid "Recoloring (light color)"
 msgstr ""
 
-#: ../config.c:168
+#: ../config.c:167
 msgid "Color for highlighting"
 msgstr ""
 
-#: ../config.c:170
+#: ../config.c:169
 msgid "Color for highlighting (active)"
 msgstr ""
 
-#: ../config.c:172
+#: ../config.c:171
 msgid "'Loading ...' background color"
 msgstr ""
 
-#: ../config.c:174
+#: ../config.c:173
 msgid "'Loading ...' foreground color"
 msgstr ""
 
-#: ../config.c:178
+#: ../config.c:177
 msgid "Recolor pages"
 msgstr "Ricolora le pagine"
 
-#: ../config.c:180
+#: ../config.c:179
 msgid "When recoloring keep original hue and adjust lightness only"
 msgstr ""
 
-#: ../config.c:182
+#: ../config.c:181
 msgid "Wrap scrolling"
 msgstr "Scrolling continuo"
 
-#: ../config.c:184
+#: ../config.c:183
 msgid "Page aware scrolling"
 msgstr ""
 
-#: ../config.c:186
+#: ../config.c:185
 msgid "Advance number of pages per row"
 msgstr ""
 
-#: ../config.c:188
+#: ../config.c:187
 msgid "Horizontally centered zoom"
 msgstr ""
 
-#: ../config.c:190
+#: ../config.c:189
 msgid "Center result horizontally"
 msgstr ""
 
-#: ../config.c:192
+#: ../config.c:191
 msgid "Transparency for highlighting"
 msgstr ""
 
-#: ../config.c:194
+#: ../config.c:193
 msgid "Render 'Loading ...'"
 msgstr ""
 
-#: ../config.c:195
+#: ../config.c:194
 msgid "Adjust to when opening file"
 msgstr ""
 
-#: ../config.c:197
+#: ../config.c:196
 msgid "Show hidden files and directories"
 msgstr "Mostra file e cartelle nascosti"
 
-#: ../config.c:199
+#: ../config.c:198
 msgid "Show directories"
 msgstr "Mostra cartelle"
 
-#: ../config.c:201
+#: ../config.c:200
 msgid "Always open on first page"
 msgstr "Apri sempre alla prima pagina"
 
-#: ../config.c:203
+#: ../config.c:202
 msgid "Highlight search results"
 msgstr ""
 
-#: ../config.c:205
+#: ../config.c:204
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:207
+#: ../config.c:206
 msgid "Clear search results on abort"
 msgstr ""
 
-#: ../config.c:209
+#: ../config.c:208
 msgid "Use basename of the file in the window title"
 msgstr ""
 
-#: ../config.c:211
+#: ../config.c:210
 msgid "Use basename of the file in the statusbar"
 msgstr ""
 
-#: ../config.c:213 ../main.c:64
+#: ../config.c:212 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:369
+#: ../config.c:370
 msgid "Add a bookmark"
 msgstr "Aggiungi un segnalibro"
 
-#: ../config.c:370
+#: ../config.c:371
 msgid "Delete a bookmark"
 msgstr "Elimina un segnalibro"
 
-#: ../config.c:371
+#: ../config.c:372
 msgid "List all bookmarks"
 msgstr "Mostra i segnalibri"
 
-#: ../config.c:372
+#: ../config.c:373
 msgid "Close current file"
 msgstr "Chiudi il file corrente"
 
-#: ../config.c:373
+#: ../config.c:374
 msgid "Show file information"
 msgstr "Mostra le informazioni sul file"
 
-#: ../config.c:374
+#: ../config.c:375
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:375
+#: ../config.c:376
 msgid "Show help"
 msgstr "Mostra l' aiuto"
 
-#: ../config.c:376
+#: ../config.c:377
 msgid "Open document"
 msgstr "Apri un documento"
 
-#: ../config.c:377
+#: ../config.c:378
 msgid "Close zathura"
 msgstr "Chiudi zathura"
 
-#: ../config.c:378
+#: ../config.c:379
 msgid "Print document"
 msgstr "Stampa il documento"
 
-#: ../config.c:379
+#: ../config.c:380
 msgid "Save document"
 msgstr "Salva il documento"
 
-#: ../config.c:380
+#: ../config.c:381
 msgid "Save document (and force overwriting)"
 msgstr "Salva il documento (e sovrascrivi)"
 
-#: ../config.c:381
+#: ../config.c:382
 msgid "Save attachments"
 msgstr "Salva allegati"
 
-#: ../config.c:382
+#: ../config.c:383
 msgid "Set page offset"
 msgstr "Imposta l' offset della pagina"
 
-#: ../config.c:383
+#: ../config.c:384
 msgid "Mark current location within the document"
 msgstr ""
 
-#: ../config.c:384
+#: ../config.c:385
 msgid "Delete the specified marks"
 msgstr ""
 
-#: ../config.c:385
+#: ../config.c:386
 msgid "Don't highlight current search results"
 msgstr ""
 
-#: ../config.c:386
+#: ../config.c:387
 msgid "Highlight current search results"
 msgstr ""
 
-#: ../config.c:387
+#: ../config.c:388
 msgid "Show version information"
 msgstr ""
 
@@ -433,28 +429,34 @@ msgstr ""
 msgid "Loading..."
 msgstr ""
 
-#: ../page-widget.c:655
+#: ../page-widget.c:657
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr "La selezione è stato copiata negli appunti:%s"
 
-#: ../page-widget.c:753
+#: ../page-widget.c:755
 msgid "Copy image"
 msgstr "Copia immagine"
 
-#: ../page-widget.c:754
+#: ../page-widget.c:756
 msgid "Save image as"
 msgstr ""
 
-#: ../shortcuts.c:962
+#: ../shortcuts.c:963
 msgid "This document does not contain any index"
 msgstr "Questo documento non contiene l' indice"
 
-#: ../zathura.c:194 ../zathura.c:901
+#: ../zathura.c:224 ../zathura.c:953
 msgid "[No name]"
 msgstr "[Nessun nome]"
 
-#: ../zathura.c:538
+#: ../zathura.c:587
 #, fuzzy
 msgid "Document does not contain any pages"
 msgstr "Questo documento non contiene l' indice"
+
+#~ msgid "Life time (in seconds) of a hidden page"
+#~ msgstr "Durata (in secondi) di una pagina nascosta"
+
+#~ msgid "Amount of seconds between each cache purge"
+#~ msgstr "Tempo in secondi tra le invalidazioni della cache"
diff --git a/po/pl.po b/po/pl.po
index fc05b15..58dbfe8 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-17 10:22+0000\n"
+"POT-Creation-Date: 2013-03-26 12:54+0100\n"
 "PO-Revision-Date: 2012-04-03 16:07+0000\n"
 "Last-Translator: p <poczciwiec@gmail.com>\n"
 "Language-Team: Polish (http://www.transifex.net/projects/p/zathura/language/"
@@ -19,20 +19,20 @@ msgstr ""
 "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
 "|| n%100>=20) ? 1 : 2)\n"
 
-#: ../callbacks.c:218
+#: ../callbacks.c:302
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr "Nieprawidłowy argument: %s"
 
-#: ../callbacks.c:256
+#: ../callbacks.c:340
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr "Nieprawidłowy indeks: %s"
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
-#: ../shortcuts.c:1088
+#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
+#: ../shortcuts.c:1089
 msgid "No document opened."
 msgstr "Nie otwarto żadnego pliku"
 
@@ -184,191 +184,187 @@ msgid "Zoom maximum"
 msgstr "Maksymalne powiększenie"
 
 #: ../config.c:159
-msgid "Life time (in seconds) of a hidden page"
-msgstr "Czas życia niewidocznej strony (w sekundach)"
+msgid "Maximum number of pages to keep in the cache"
+msgstr ""
 
-#: ../config.c:160
-msgid "Amount of seconds between each cache purge"
-msgstr "Okres sprawdzania widoczności stron (w sekundach)"
-
-#: ../config.c:162
+#: ../config.c:161
 msgid "Number of positions to remember in the jumplist"
 msgstr ""
 
-#: ../config.c:164
+#: ../config.c:163
 msgid "Recoloring (dark color)"
 msgstr "Ciemny kolor negatywu"
 
-#: ../config.c:166
+#: ../config.c:165
 msgid "Recoloring (light color)"
 msgstr "Jasny kolor negatywu"
 
-#: ../config.c:168
+#: ../config.c:167
 msgid "Color for highlighting"
 msgstr "Kolor wyróżnienia"
 
-#: ../config.c:170
+#: ../config.c:169
 msgid "Color for highlighting (active)"
 msgstr "Kolor wyróżnienia bieżącego elementu"
 
-#: ../config.c:172
+#: ../config.c:171
 msgid "'Loading ...' background color"
 msgstr ""
 
-#: ../config.c:174
+#: ../config.c:173
 msgid "'Loading ...' foreground color"
 msgstr ""
 
-#: ../config.c:178
+#: ../config.c:177
 msgid "Recolor pages"
 msgstr "Negatyw"
 
-#: ../config.c:180
+#: ../config.c:179
 msgid "When recoloring keep original hue and adjust lightness only"
 msgstr ""
 
-#: ../config.c:182
+#: ../config.c:181
 msgid "Wrap scrolling"
 msgstr "Zawijanie dokumentu"
 
-#: ../config.c:184
+#: ../config.c:183
 msgid "Page aware scrolling"
 msgstr ""
 
-#: ../config.c:186
+#: ../config.c:185
 msgid "Advance number of pages per row"
 msgstr "Liczba stron w wierszu"
 
-#: ../config.c:188
+#: ../config.c:187
 msgid "Horizontally centered zoom"
 msgstr ""
 
-#: ../config.c:190
+#: ../config.c:189
 msgid "Center result horizontally"
 msgstr ""
 
-#: ../config.c:192
+#: ../config.c:191
 msgid "Transparency for highlighting"
 msgstr "Przezroczystość wyróżnienia"
 
-#: ../config.c:194
+#: ../config.c:193
 msgid "Render 'Loading ...'"
 msgstr "Wyświetlaj: „Wczytywanie pliku...”"
 
-#: ../config.c:195
+#: ../config.c:194
 msgid "Adjust to when opening file"
 msgstr "Dopasowanie widoku pliku"
 
-#: ../config.c:197
+#: ../config.c:196
 msgid "Show hidden files and directories"
 msgstr "Wyświetl ukryte pliki i katalogi"
 
-#: ../config.c:199
+#: ../config.c:198
 msgid "Show directories"
 msgstr "Wyświetl katalogi"
 
-#: ../config.c:201
+#: ../config.c:200
 msgid "Always open on first page"
 msgstr "Zawsze otwieraj na pierwszej stronie"
 
-#: ../config.c:203
+#: ../config.c:202
 msgid "Highlight search results"
 msgstr "Podświetl wyniki wyszukiwania"
 
-#: ../config.c:205
+#: ../config.c:204
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:207
+#: ../config.c:206
 msgid "Clear search results on abort"
 msgstr "Wyczyść wyniki wyszukiwania po przerwaniu"
 
-#: ../config.c:209
+#: ../config.c:208
 msgid "Use basename of the file in the window title"
 msgstr ""
 
-#: ../config.c:211
+#: ../config.c:210
 msgid "Use basename of the file in the statusbar"
 msgstr ""
 
-#: ../config.c:213 ../main.c:64
+#: ../config.c:212 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:369
+#: ../config.c:370
 msgid "Add a bookmark"
 msgstr "Dodaj zakładkę"
 
-#: ../config.c:370
+#: ../config.c:371
 msgid "Delete a bookmark"
 msgstr "Usuń zakładkę"
 
-#: ../config.c:371
+#: ../config.c:372
 msgid "List all bookmarks"
 msgstr "Wyświetl zakładki"
 
-#: ../config.c:372
+#: ../config.c:373
 msgid "Close current file"
 msgstr "Zamknij plik"
 
-#: ../config.c:373
+#: ../config.c:374
 msgid "Show file information"
 msgstr "Wyświetl informacje o pliku"
 
-#: ../config.c:374
+#: ../config.c:375
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:375
+#: ../config.c:376
 msgid "Show help"
 msgstr "Wyświetl pomoc"
 
-#: ../config.c:376
+#: ../config.c:377
 msgid "Open document"
 msgstr "Otwórz plik"
 
-#: ../config.c:377
+#: ../config.c:378
 msgid "Close zathura"
 msgstr "Zakończ"
 
-#: ../config.c:378
+#: ../config.c:379
 msgid "Print document"
 msgstr "Wydrukuj"
 
-#: ../config.c:379
+#: ../config.c:380
 msgid "Save document"
 msgstr "Zapisz"
 
-#: ../config.c:380
+#: ../config.c:381
 msgid "Save document (and force overwriting)"
 msgstr "Zapisz (nadpisując istniejący plik)"
 
-#: ../config.c:381
+#: ../config.c:382
 msgid "Save attachments"
 msgstr "Zapisz załączniki"
 
-#: ../config.c:382
+#: ../config.c:383
 msgid "Set page offset"
 msgstr "Ustaw przesunięcie numerów stron"
 
-#: ../config.c:383
+#: ../config.c:384
 msgid "Mark current location within the document"
 msgstr "Zaznacz aktualną pozycję w dokumencie"
 
-#: ../config.c:384
+#: ../config.c:385
 msgid "Delete the specified marks"
 msgstr "Skasuj określone zakładki"
 
-#: ../config.c:385
+#: ../config.c:386
 msgid "Don't highlight current search results"
 msgstr "Nie podświetlaj aktualnych wyników wyszukiwania "
 
-#: ../config.c:386
+#: ../config.c:387
 msgid "Highlight current search results"
 msgstr "Podświetl aktualne wyniki wyszukiwania"
 
-#: ../config.c:387
+#: ../config.c:388
 msgid "Show version information"
 msgstr "Wyświetl informacje o wersji"
 
@@ -434,28 +430,34 @@ msgstr ""
 msgid "Loading..."
 msgstr "Wczytywanie pliku..."
 
-#: ../page-widget.c:655
+#: ../page-widget.c:657
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr "Zaznaczony tekst skopiowano do schowka: %s"
 
-#: ../page-widget.c:753
+#: ../page-widget.c:755
 msgid "Copy image"
 msgstr "Skopiuj obrazek"
 
-#: ../page-widget.c:754
+#: ../page-widget.c:756
 msgid "Save image as"
 msgstr "Zapisz obrazek jako"
 
-#: ../shortcuts.c:962
+#: ../shortcuts.c:963
 msgid "This document does not contain any index"
 msgstr "Dokument nie zawiera indeksu"
 
-#: ../zathura.c:194 ../zathura.c:901
+#: ../zathura.c:224 ../zathura.c:953
 msgid "[No name]"
 msgstr "[bez nazwy]"
 
-#: ../zathura.c:538
+#: ../zathura.c:587
 #, fuzzy
 msgid "Document does not contain any pages"
 msgstr "Dokument nie zawiera indeksu"
+
+#~ msgid "Life time (in seconds) of a hidden page"
+#~ msgstr "Czas życia niewidocznej strony (w sekundach)"
+
+#~ msgid "Amount of seconds between each cache purge"
+#~ msgstr "Okres sprawdzania widoczności stron (w sekundach)"
diff --git a/po/pt_BR.po b/po/pt_BR.po
index a7f47fb..f9f034e 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-17 10:22+0000\n"
+"POT-Creation-Date: 2013-03-26 12:54+0100\n"
 "PO-Revision-Date: 2013-01-13 20:34+0000\n"
 "Last-Translator: salmora8 <shorterfire@gmail.com>\n"
 "Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/"
@@ -18,20 +18,20 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
 
-#: ../callbacks.c:218
+#: ../callbacks.c:302
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr "Dados de entrada inválida '%s' ."
 
-#: ../callbacks.c:256
+#: ../callbacks.c:340
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr "Dados de índice invalido '%s'."
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
-#: ../shortcuts.c:1088
+#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
+#: ../shortcuts.c:1089
 msgid "No document opened."
 msgstr "Nenhum documento aberto."
 
@@ -183,193 +183,189 @@ msgid "Zoom maximum"
 msgstr "Zoom máximo"
 
 #: ../config.c:159
-msgid "Life time (in seconds) of a hidden page"
-msgstr "Tempo de vida (em segundos) de uma página oculta"
+msgid "Maximum number of pages to keep in the cache"
+msgstr ""
 
-#: ../config.c:160
-msgid "Amount of seconds between each cache purge"
-msgstr "Quantidade de segundos entre as páginas invisíveis"
-
-#: ../config.c:162
+#: ../config.c:161
 msgid "Number of positions to remember in the jumplist"
 msgstr "Numero de posições para lembrar na lista de salto"
 
-#: ../config.c:164
+#: ../config.c:163
 msgid "Recoloring (dark color)"
 msgstr "Recolorindo (cor escura)"
 
-#: ../config.c:166
+#: ../config.c:165
 msgid "Recoloring (light color)"
 msgstr "Recolorindo (cor clara)"
 
-#: ../config.c:168
+#: ../config.c:167
 msgid "Color for highlighting"
 msgstr "Cor para destacar"
 
-#: ../config.c:170
+#: ../config.c:169
 msgid "Color for highlighting (active)"
 msgstr "Cor para destacar (ativo)"
 
-#: ../config.c:172
+#: ../config.c:171
 msgid "'Loading ...' background color"
 msgstr ""
 
-#: ../config.c:174
+#: ../config.c:173
 msgid "'Loading ...' foreground color"
 msgstr ""
 
-#: ../config.c:178
+#: ../config.c:177
 msgid "Recolor pages"
 msgstr "Recolorir páginas"
 
-#: ../config.c:180
+#: ../config.c:179
 msgid "When recoloring keep original hue and adjust lightness only"
 msgstr ""
 "Quando recolorir, manter tonalidade original e ajustar somente a luminosidade"
 
-#: ../config.c:182
+#: ../config.c:181
 msgid "Wrap scrolling"
 msgstr "Rolagem envoltório"
 
-#: ../config.c:184
+#: ../config.c:183
 msgid "Page aware scrolling"
 msgstr "Rolagem de página consciente"
 
-#: ../config.c:186
+#: ../config.c:185
 msgid "Advance number of pages per row"
 msgstr "Numero de avanço de paginas por linha"
 
-#: ../config.c:188
+#: ../config.c:187
 msgid "Horizontally centered zoom"
 msgstr "Zoom centrado horizontalmente"
 
-#: ../config.c:190
+#: ../config.c:189
 msgid "Center result horizontally"
 msgstr "Resultado centrado horizontalmente"
 
-#: ../config.c:192
+#: ../config.c:191
 msgid "Transparency for highlighting"
 msgstr "Transparência para destacar"
 
-#: ../config.c:194
+#: ../config.c:193
 msgid "Render 'Loading ...'"
 msgstr "Renderizando 'Carregando...'"
 
-#: ../config.c:195
+#: ../config.c:194
 msgid "Adjust to when opening file"
 msgstr "Ajuste para quando abrir o arquivo"
 
-#: ../config.c:197
+#: ../config.c:196
 msgid "Show hidden files and directories"
 msgstr "Mostrar arquivos ocultos e diretórios"
 
-#: ../config.c:199
+#: ../config.c:198
 msgid "Show directories"
 msgstr "Mostrar diretórios"
 
-#: ../config.c:201
+#: ../config.c:200
 msgid "Always open on first page"
 msgstr "Sempre abrir na primeira página"
 
-#: ../config.c:203
+#: ../config.c:202
 msgid "Highlight search results"
 msgstr "Destaque resultados de busca"
 
-#: ../config.c:205
+#: ../config.c:204
 msgid "Enable incremental search"
 msgstr "Ativar pesquisa incremental"
 
-#: ../config.c:207
+#: ../config.c:206
 msgid "Clear search results on abort"
 msgstr "Limpar resultados de busca ou abortar"
 
-#: ../config.c:209
+#: ../config.c:208
 msgid "Use basename of the file in the window title"
 msgstr "Usar nome do arquivo na barra de titulo"
 
-#: ../config.c:211
+#: ../config.c:210
 #, fuzzy
 msgid "Use basename of the file in the statusbar"
 msgstr "Usar nome do arquivo na barra de titulo"
 
-#: ../config.c:213 ../main.c:64
+#: ../config.c:212 ../main.c:64
 msgid "Enable synctex support"
 msgstr "Ativar suporte synctex"
 
 #. define default inputbar commands
-#: ../config.c:369
+#: ../config.c:370
 msgid "Add a bookmark"
 msgstr "Adicionar um favorito"
 
-#: ../config.c:370
+#: ../config.c:371
 msgid "Delete a bookmark"
 msgstr "Deletar um favorito"
 
-#: ../config.c:371
+#: ../config.c:372
 msgid "List all bookmarks"
 msgstr "Listar todos favoritos"
 
-#: ../config.c:372
+#: ../config.c:373
 msgid "Close current file"
 msgstr "Fechar arquivo atual"
 
-#: ../config.c:373
+#: ../config.c:374
 msgid "Show file information"
 msgstr "Mostrar informações do arquivo"
 
-#: ../config.c:374
+#: ../config.c:375
 msgid "Execute a command"
 msgstr "Executar um comando"
 
-#: ../config.c:375
+#: ../config.c:376
 msgid "Show help"
 msgstr "Mostrar ajuda"
 
-#: ../config.c:376
+#: ../config.c:377
 msgid "Open document"
 msgstr "Abrir documento"
 
-#: ../config.c:377
+#: ../config.c:378
 msgid "Close zathura"
 msgstr "Fechar zathura"
 
-#: ../config.c:378
+#: ../config.c:379
 msgid "Print document"
 msgstr "Imprimir documento"
 
-#: ../config.c:379
+#: ../config.c:380
 msgid "Save document"
 msgstr "Salvar documento"
 
-#: ../config.c:380
+#: ../config.c:381
 msgid "Save document (and force overwriting)"
 msgstr "Salvar documento (e forçar sobrescrever)"
 
-#: ../config.c:381
+#: ../config.c:382
 msgid "Save attachments"
 msgstr "Salvar anexos"
 
-#: ../config.c:382
+#: ../config.c:383
 msgid "Set page offset"
 msgstr "Definir deslocamento da página"
 
-#: ../config.c:383
+#: ../config.c:384
 msgid "Mark current location within the document"
 msgstr "Marcar localização atual no documento"
 
-#: ../config.c:384
+#: ../config.c:385
 msgid "Delete the specified marks"
 msgstr "Apagar as marcas especificadas"
 
-#: ../config.c:385
+#: ../config.c:386
 msgid "Don't highlight current search results"
 msgstr "Não destacar resultados de busca atual"
 
-#: ../config.c:386
+#: ../config.c:387
 msgid "Highlight current search results"
 msgstr "Destacar resultado de busca atual"
 
-#: ../config.c:387
+#: ../config.c:388
 msgid "Show version information"
 msgstr "Mostrar informações sobre a versão"
 
@@ -435,28 +431,34 @@ msgstr "Editor synctex (encaminhado para o comando synctex)"
 msgid "Loading..."
 msgstr "Carregando..."
 
-#: ../page-widget.c:655
+#: ../page-widget.c:657
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr "Texto selecionado copiado para área de transferência: %s "
 
-#: ../page-widget.c:753
+#: ../page-widget.c:755
 msgid "Copy image"
 msgstr "Copiar imagem"
 
-#: ../page-widget.c:754
+#: ../page-widget.c:756
 msgid "Save image as"
 msgstr "Salvar imagem para"
 
-#: ../shortcuts.c:962
+#: ../shortcuts.c:963
 msgid "This document does not contain any index"
 msgstr "Este documento não contem qualquer índice"
 
-#: ../zathura.c:194 ../zathura.c:901
+#: ../zathura.c:224 ../zathura.c:953
 msgid "[No name]"
 msgstr "[Sem nome]"
 
-#: ../zathura.c:538
+#: ../zathura.c:587
 #, fuzzy
 msgid "Document does not contain any pages"
 msgstr "Este documento não contem qualquer índice"
+
+#~ msgid "Life time (in seconds) of a hidden page"
+#~ msgstr "Tempo de vida (em segundos) de uma página oculta"
+
+#~ msgid "Amount of seconds between each cache purge"
+#~ msgstr "Quantidade de segundos entre as páginas invisíveis"
diff --git a/po/ru.po b/po/ru.po
index 50d6811..df8fe65 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-17 10:22+0000\n"
+"POT-Creation-Date: 2013-03-26 12:54+0100\n"
 "PO-Revision-Date: 2013-01-13 14:12+0000\n"
 "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
 "Language-Team: Russian (http://www.transifex.com/projects/p/zathura/language/"
@@ -19,20 +19,20 @@ msgstr ""
 "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
 "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
 
-#: ../callbacks.c:218
+#: ../callbacks.c:302
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr "Неправильный ввод: %s"
 
-#: ../callbacks.c:256
+#: ../callbacks.c:340
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr "Получен неверный индекс %s"
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
-#: ../shortcuts.c:1088
+#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
+#: ../shortcuts.c:1089
 msgid "No document opened."
 msgstr "Документ не открыт"
 
@@ -184,191 +184,187 @@ msgid "Zoom maximum"
 msgstr "Максимальное увеличение"
 
 #: ../config.c:159
-msgid "Life time (in seconds) of a hidden page"
-msgstr "Время жизни (секунды) скрытой страницы"
+msgid "Maximum number of pages to keep in the cache"
+msgstr ""
 
-#: ../config.c:160
-msgid "Amount of seconds between each cache purge"
-msgstr "Время (в секундах) между очисткой кэшей"
-
-#: ../config.c:162
+#: ../config.c:161
 msgid "Number of positions to remember in the jumplist"
 msgstr ""
 
-#: ../config.c:164
+#: ../config.c:163
 msgid "Recoloring (dark color)"
 msgstr "Перекрашивание (тёмные тона)"
 
-#: ../config.c:166
+#: ../config.c:165
 msgid "Recoloring (light color)"
 msgstr "Перекрашивание (светлые тона)"
 
-#: ../config.c:168
+#: ../config.c:167
 msgid "Color for highlighting"
 msgstr "Цвет для подсветки"
 
-#: ../config.c:170
+#: ../config.c:169
 msgid "Color for highlighting (active)"
 msgstr "Цвет для подсветки (активной)"
 
-#: ../config.c:172
+#: ../config.c:171
 msgid "'Loading ...' background color"
 msgstr ""
 
-#: ../config.c:174
+#: ../config.c:173
 msgid "'Loading ...' foreground color"
 msgstr ""
 
-#: ../config.c:178
+#: ../config.c:177
 msgid "Recolor pages"
 msgstr "Перекрасить страницы"
 
-#: ../config.c:180
+#: ../config.c:179
 msgid "When recoloring keep original hue and adjust lightness only"
 msgstr ""
 
-#: ../config.c:182
+#: ../config.c:181
 msgid "Wrap scrolling"
 msgstr "Плавная прокрутка"
 
-#: ../config.c:184
+#: ../config.c:183
 msgid "Page aware scrolling"
 msgstr ""
 
-#: ../config.c:186
+#: ../config.c:185
 msgid "Advance number of pages per row"
 msgstr "Увеличить количество страниц в ряду"
 
-#: ../config.c:188
+#: ../config.c:187
 msgid "Horizontally centered zoom"
 msgstr ""
 
-#: ../config.c:190
+#: ../config.c:189
 msgid "Center result horizontally"
 msgstr ""
 
-#: ../config.c:192
+#: ../config.c:191
 msgid "Transparency for highlighting"
 msgstr "Прозрачность подсветки"
 
-#: ../config.c:194
+#: ../config.c:193
 msgid "Render 'Loading ...'"
 msgstr "Рендер 'Загружается ...'"
 
-#: ../config.c:195
+#: ../config.c:194
 msgid "Adjust to when opening file"
 msgstr ""
 
-#: ../config.c:197
+#: ../config.c:196
 msgid "Show hidden files and directories"
 msgstr "Показывать скрытые файлы и директории"
 
-#: ../config.c:199
+#: ../config.c:198
 msgid "Show directories"
 msgstr "Показывать директории"
 
-#: ../config.c:201
+#: ../config.c:200
 msgid "Always open on first page"
 msgstr "Всегда открывать на первой странице"
 
-#: ../config.c:203
+#: ../config.c:202
 msgid "Highlight search results"
 msgstr ""
 
-#: ../config.c:205
+#: ../config.c:204
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:207
+#: ../config.c:206
 msgid "Clear search results on abort"
 msgstr ""
 
-#: ../config.c:209
+#: ../config.c:208
 msgid "Use basename of the file in the window title"
 msgstr ""
 
-#: ../config.c:211
+#: ../config.c:210
 msgid "Use basename of the file in the statusbar"
 msgstr ""
 
-#: ../config.c:213 ../main.c:64
+#: ../config.c:212 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:369
+#: ../config.c:370
 msgid "Add a bookmark"
 msgstr "Добавить закладку"
 
-#: ../config.c:370
+#: ../config.c:371
 msgid "Delete a bookmark"
 msgstr "Удалить закладку"
 
-#: ../config.c:371
+#: ../config.c:372
 msgid "List all bookmarks"
 msgstr "Показать все закладки"
 
-#: ../config.c:372
+#: ../config.c:373
 msgid "Close current file"
 msgstr "Закрыть текущий файл"
 
-#: ../config.c:373
+#: ../config.c:374
 msgid "Show file information"
 msgstr "Показать информацию о файле"
 
-#: ../config.c:374
+#: ../config.c:375
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:375
+#: ../config.c:376
 msgid "Show help"
 msgstr "Помощь"
 
-#: ../config.c:376
+#: ../config.c:377
 msgid "Open document"
 msgstr "Открыть документ"
 
-#: ../config.c:377
+#: ../config.c:378
 msgid "Close zathura"
 msgstr "Выход"
 
-#: ../config.c:378
+#: ../config.c:379
 msgid "Print document"
 msgstr "Печать"
 
-#: ../config.c:379
+#: ../config.c:380
 msgid "Save document"
 msgstr "Сохранить документ"
 
-#: ../config.c:380
+#: ../config.c:381
 msgid "Save document (and force overwriting)"
 msgstr "Сохранить документ (с перезапиьсю)"
 
-#: ../config.c:381
+#: ../config.c:382
 msgid "Save attachments"
 msgstr "Сохранить прикреплённые файлы"
 
-#: ../config.c:382
+#: ../config.c:383
 msgid "Set page offset"
 msgstr "Сохранить смещение страницы"
 
-#: ../config.c:383
+#: ../config.c:384
 msgid "Mark current location within the document"
 msgstr "Пометить текущую позицию в документе"
 
-#: ../config.c:384
+#: ../config.c:385
 msgid "Delete the specified marks"
 msgstr "Удалить указанные пометки"
 
-#: ../config.c:385
+#: ../config.c:386
 msgid "Don't highlight current search results"
 msgstr ""
 
-#: ../config.c:386
+#: ../config.c:387
 msgid "Highlight current search results"
 msgstr ""
 
-#: ../config.c:387
+#: ../config.c:388
 msgid "Show version information"
 msgstr ""
 
@@ -434,28 +430,34 @@ msgstr ""
 msgid "Loading..."
 msgstr ""
 
-#: ../page-widget.c:655
+#: ../page-widget.c:657
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr "Выделенный текст скопирован в буфер: %s"
 
-#: ../page-widget.c:753
+#: ../page-widget.c:755
 msgid "Copy image"
 msgstr "Скопировать изображение"
 
-#: ../page-widget.c:754
+#: ../page-widget.c:756
 msgid "Save image as"
 msgstr ""
 
-#: ../shortcuts.c:962
+#: ../shortcuts.c:963
 msgid "This document does not contain any index"
 msgstr "В документе нету индекса"
 
-#: ../zathura.c:194 ../zathura.c:901
+#: ../zathura.c:224 ../zathura.c:953
 msgid "[No name]"
 msgstr "[No name]"
 
-#: ../zathura.c:538
+#: ../zathura.c:587
 #, fuzzy
 msgid "Document does not contain any pages"
 msgstr "В документе нету индекса"
+
+#~ msgid "Life time (in seconds) of a hidden page"
+#~ msgstr "Время жизни (секунды) скрытой страницы"
+
+#~ msgid "Amount of seconds between each cache purge"
+#~ msgstr "Время (в секундах) между очисткой кэшей"
diff --git a/po/ta_IN.po b/po/ta_IN.po
index c2ff7e4..5837cd3 100644
--- a/po/ta_IN.po
+++ b/po/ta_IN.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-17 10:22+0000\n"
+"POT-Creation-Date: 2013-03-26 12:54+0100\n"
 "PO-Revision-Date: 2013-01-13 14:12+0000\n"
 "Last-Translator: mankand007 <mankand007@gmail.com>\n"
 "Language-Team: Tamil (India) (http://www.transifex.net/projects/p/zathura/"
@@ -18,20 +18,20 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1)\n"
 
-#: ../callbacks.c:218
+#: ../callbacks.c:302
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr "கொடுக்கப்பட்ட உள்ளீடு(input) '%s' தவறு"
 
-#: ../callbacks.c:256
+#: ../callbacks.c:340
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr "கொடுக்கப்பட்ட index '%s' தவறு"
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
-#: ../shortcuts.c:1088
+#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
+#: ../shortcuts.c:1089
 msgid "No document opened."
 msgstr "எந்தக் ஆவணமும் திறக்கப்படவில்லை"
 
@@ -183,191 +183,187 @@ msgid "Zoom maximum"
 msgstr "முடிந்தவரை பெரிதாகக் காட்டு"
 
 #: ../config.c:159
-msgid "Life time (in seconds) of a hidden page"
+msgid "Maximum number of pages to keep in the cache"
 msgstr ""
 
-#: ../config.c:160
-msgid "Amount of seconds between each cache purge"
-msgstr ""
-
-#: ../config.c:162
+#: ../config.c:161
 msgid "Number of positions to remember in the jumplist"
 msgstr ""
 
-#: ../config.c:164
+#: ../config.c:163
 msgid "Recoloring (dark color)"
 msgstr ""
 
-#: ../config.c:166
+#: ../config.c:165
 msgid "Recoloring (light color)"
 msgstr ""
 
-#: ../config.c:168
+#: ../config.c:167
 msgid "Color for highlighting"
 msgstr ""
 
-#: ../config.c:170
+#: ../config.c:169
 msgid "Color for highlighting (active)"
 msgstr ""
 
-#: ../config.c:172
+#: ../config.c:171
 msgid "'Loading ...' background color"
 msgstr ""
 
-#: ../config.c:174
+#: ../config.c:173
 msgid "'Loading ...' foreground color"
 msgstr ""
 
-#: ../config.c:178
+#: ../config.c:177
 msgid "Recolor pages"
 msgstr ""
 
-#: ../config.c:180
+#: ../config.c:179
 msgid "When recoloring keep original hue and adjust lightness only"
 msgstr ""
 
-#: ../config.c:182
+#: ../config.c:181
 msgid "Wrap scrolling"
 msgstr ""
 
-#: ../config.c:184
+#: ../config.c:183
 msgid "Page aware scrolling"
 msgstr ""
 
-#: ../config.c:186
+#: ../config.c:185
 msgid "Advance number of pages per row"
 msgstr ""
 
-#: ../config.c:188
+#: ../config.c:187
 msgid "Horizontally centered zoom"
 msgstr ""
 
-#: ../config.c:190
+#: ../config.c:189
 msgid "Center result horizontally"
 msgstr ""
 
-#: ../config.c:192
+#: ../config.c:191
 msgid "Transparency for highlighting"
 msgstr ""
 
-#: ../config.c:194
+#: ../config.c:193
 msgid "Render 'Loading ...'"
 msgstr ""
 
-#: ../config.c:195
+#: ../config.c:194
 msgid "Adjust to when opening file"
 msgstr ""
 
-#: ../config.c:197
+#: ../config.c:196
 msgid "Show hidden files and directories"
 msgstr ""
 
-#: ../config.c:199
+#: ../config.c:198
 msgid "Show directories"
 msgstr ""
 
-#: ../config.c:201
+#: ../config.c:200
 msgid "Always open on first page"
 msgstr ""
 
-#: ../config.c:203
+#: ../config.c:202
 msgid "Highlight search results"
 msgstr ""
 
-#: ../config.c:205
+#: ../config.c:204
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:207
+#: ../config.c:206
 msgid "Clear search results on abort"
 msgstr ""
 
-#: ../config.c:209
+#: ../config.c:208
 msgid "Use basename of the file in the window title"
 msgstr ""
 
-#: ../config.c:211
+#: ../config.c:210
 msgid "Use basename of the file in the statusbar"
 msgstr ""
 
-#: ../config.c:213 ../main.c:64
+#: ../config.c:212 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:369
+#: ../config.c:370
 msgid "Add a bookmark"
 msgstr "புதிய bookmark உருவாக்கு"
 
-#: ../config.c:370
+#: ../config.c:371
 msgid "Delete a bookmark"
 msgstr "Bookmark-ஐ அழித்துவிடு"
 
-#: ../config.c:371
+#: ../config.c:372
 msgid "List all bookmarks"
 msgstr "அனைத்து bookmark-களையும் பட்டியலிடு"
 
-#: ../config.c:372
+#: ../config.c:373
 msgid "Close current file"
 msgstr ""
 
-#: ../config.c:373
+#: ../config.c:374
 msgid "Show file information"
 msgstr "ஆவணம் பற்றிய தகவல்களைக் காட்டு"
 
-#: ../config.c:374
+#: ../config.c:375
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:375
+#: ../config.c:376
 msgid "Show help"
 msgstr "உதவியைக் காட்டு"
 
-#: ../config.c:376
+#: ../config.c:377
 msgid "Open document"
 msgstr "ஒரு ஆவணத்தைத் திற"
 
-#: ../config.c:377
+#: ../config.c:378
 msgid "Close zathura"
 msgstr "zathura-வை விட்டு வெளியேறு"
 
-#: ../config.c:378
+#: ../config.c:379
 msgid "Print document"
 msgstr "ஆவணத்தை அச்சிடு"
 
-#: ../config.c:379
+#: ../config.c:380
 msgid "Save document"
 msgstr "ஆவணத்தை சேமிக்கவும்"
 
-#: ../config.c:380
+#: ../config.c:381
 msgid "Save document (and force overwriting)"
 msgstr ""
 
-#: ../config.c:381
+#: ../config.c:382
 msgid "Save attachments"
 msgstr "இணைப்புகளைச் சேமிக்கவும்"
 
-#: ../config.c:382
+#: ../config.c:383
 msgid "Set page offset"
 msgstr ""
 
-#: ../config.c:383
+#: ../config.c:384
 msgid "Mark current location within the document"
 msgstr ""
 
-#: ../config.c:384
+#: ../config.c:385
 msgid "Delete the specified marks"
 msgstr ""
 
-#: ../config.c:385
+#: ../config.c:386
 msgid "Don't highlight current search results"
 msgstr ""
 
-#: ../config.c:386
+#: ../config.c:387
 msgid "Highlight current search results"
 msgstr ""
 
-#: ../config.c:387
+#: ../config.c:388
 msgid "Show version information"
 msgstr ""
 
@@ -433,28 +429,28 @@ msgstr ""
 msgid "Loading..."
 msgstr ""
 
-#: ../page-widget.c:655
+#: ../page-widget.c:657
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr ""
 
-#: ../page-widget.c:753
+#: ../page-widget.c:755
 msgid "Copy image"
 msgstr "படத்தை ஒரு பிரதியெடு"
 
-#: ../page-widget.c:754
+#: ../page-widget.c:756
 msgid "Save image as"
 msgstr ""
 
-#: ../shortcuts.c:962
+#: ../shortcuts.c:963
 msgid "This document does not contain any index"
 msgstr "இந்த ஆவணத்தில் எந்த index-ம் இல்லை"
 
-#: ../zathura.c:194 ../zathura.c:901
+#: ../zathura.c:224 ../zathura.c:953
 msgid "[No name]"
 msgstr "பெயரற்ற ஆவணம்"
 
-#: ../zathura.c:538
+#: ../zathura.c:587
 #, fuzzy
 msgid "Document does not contain any pages"
 msgstr "இந்த ஆவணத்தில் எந்த index-ம் இல்லை"
diff --git a/po/tr.po b/po/tr.po
index e98d547..82ef802 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-17 10:22+0000\n"
+"POT-Creation-Date: 2013-03-26 12:54+0100\n"
 "PO-Revision-Date: 2013-01-13 14:12+0000\n"
 "Last-Translator: hsngrms <dead-bodies-everywhere@hotmail.com>\n"
 "Language-Team: Turkish (http://www.transifex.net/projects/p/zathura/language/"
@@ -19,20 +19,20 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=1; plural=0;\n"
 
-#: ../callbacks.c:218
+#: ../callbacks.c:302
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr "Hatalı girdi '%s'"
 
-#: ../callbacks.c:256
+#: ../callbacks.c:340
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr "Hatalı dizin '%s'"
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
-#: ../shortcuts.c:1088
+#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
+#: ../shortcuts.c:1089
 msgid "No document opened."
 msgstr "Açık belge yok."
 
@@ -184,192 +184,188 @@ msgid "Zoom maximum"
 msgstr "En fazla yakınlaşma"
 
 #: ../config.c:159
-msgid "Life time (in seconds) of a hidden page"
-msgstr "Gizli pencerenin açık kalma süresi (saniye)"
+msgid "Maximum number of pages to keep in the cache"
+msgstr ""
 
-#: ../config.c:160
-msgid "Amount of seconds between each cache purge"
-msgstr "Önbellek temizliği yapılma sıklığı, saniye cinsinden"
-
-#: ../config.c:162
+#: ../config.c:161
 msgid "Number of positions to remember in the jumplist"
 msgstr "Atlama listesinde hatırlanacak pozisyon sayısı"
 
-#: ../config.c:164
+#: ../config.c:163
 msgid "Recoloring (dark color)"
 msgstr "Renk değişimi (koyu renk)"
 
-#: ../config.c:166
+#: ../config.c:165
 msgid "Recoloring (light color)"
 msgstr "Renk değişimi (açık renk)"
 
-#: ../config.c:168
+#: ../config.c:167
 msgid "Color for highlighting"
 msgstr "İşaretleme rengi"
 
-#: ../config.c:170
+#: ../config.c:169
 msgid "Color for highlighting (active)"
 msgstr "İşaretleme rengi (etkin)"
 
-#: ../config.c:172
+#: ../config.c:171
 msgid "'Loading ...' background color"
 msgstr ""
 
-#: ../config.c:174
+#: ../config.c:173
 msgid "'Loading ...' foreground color"
 msgstr ""
 
-#: ../config.c:178
+#: ../config.c:177
 msgid "Recolor pages"
 msgstr "Sayga rengini değiştir"
 
-#: ../config.c:180
+#: ../config.c:179
 msgid "When recoloring keep original hue and adjust lightness only"
 msgstr "Yeniden renklendirirken renk değerini tut ve sadece parlaklığı ayarla"
 
-#: ../config.c:182
+#: ../config.c:181
 msgid "Wrap scrolling"
 msgstr "Kaydırmayı sarmala"
 
-#: ../config.c:184
+#: ../config.c:183
 msgid "Page aware scrolling"
 msgstr ""
 
-#: ../config.c:186
+#: ../config.c:185
 msgid "Advance number of pages per row"
 msgstr "Satır başına sayfa sayısı"
 
-#: ../config.c:188
+#: ../config.c:187
 msgid "Horizontally centered zoom"
 msgstr "Yatay olarak ortalanmış büyütme"
 
-#: ../config.c:190
+#: ../config.c:189
 msgid "Center result horizontally"
 msgstr ""
 
-#: ../config.c:192
+#: ../config.c:191
 msgid "Transparency for highlighting"
 msgstr "Ön plana çıkarmak için saydamlaştır"
 
-#: ../config.c:194
+#: ../config.c:193
 msgid "Render 'Loading ...'"
 msgstr "'Yüklüyor ...' yazısını göster"
 
-#: ../config.c:195
+#: ../config.c:194
 msgid "Adjust to when opening file"
 msgstr "Dosya açarken ayarla"
 
-#: ../config.c:197
+#: ../config.c:196
 msgid "Show hidden files and directories"
 msgstr "Gizli dosyaları ve dizinleri göster"
 
-#: ../config.c:199
+#: ../config.c:198
 msgid "Show directories"
 msgstr "Dizinleri göster"
 
-#: ../config.c:201
+#: ../config.c:200
 msgid "Always open on first page"
 msgstr "Her zaman ilk sayfayı aç"
 
-#: ../config.c:203
+#: ../config.c:202
 msgid "Highlight search results"
 msgstr "Arama sonuçlarını vurgula"
 
-#: ../config.c:205
+#: ../config.c:204
 msgid "Enable incremental search"
 msgstr "Artımlı aramayı etkinleştir"
 
-#: ../config.c:207
+#: ../config.c:206
 msgid "Clear search results on abort"
 msgstr "Kapatınca arama sonuçlarını temizle"
 
-#: ../config.c:209
+#: ../config.c:208
 msgid "Use basename of the file in the window title"
 msgstr "Pencere başlığı olarak dosyanın adını kullan"
 
-#: ../config.c:211
+#: ../config.c:210
 #, fuzzy
 msgid "Use basename of the file in the statusbar"
 msgstr "Pencere başlığı olarak dosyanın adını kullan"
 
-#: ../config.c:213 ../main.c:64
+#: ../config.c:212 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:369
+#: ../config.c:370
 msgid "Add a bookmark"
 msgstr "Yer imi ekle"
 
-#: ../config.c:370
+#: ../config.c:371
 msgid "Delete a bookmark"
 msgstr "Yer imi sil"
 
-#: ../config.c:371
+#: ../config.c:372
 msgid "List all bookmarks"
 msgstr "Yer imlerini listele"
 
-#: ../config.c:372
+#: ../config.c:373
 msgid "Close current file"
 msgstr "Geçerli dosyayı kapat"
 
-#: ../config.c:373
+#: ../config.c:374
 msgid "Show file information"
 msgstr "Dosya bilgisi göster"
 
-#: ../config.c:374
+#: ../config.c:375
 msgid "Execute a command"
 msgstr "Bir komut çalıştır"
 
-#: ../config.c:375
+#: ../config.c:376
 msgid "Show help"
 msgstr "Yardım bilgisi göster"
 
-#: ../config.c:376
+#: ../config.c:377
 msgid "Open document"
 msgstr "Belge aç"
 
-#: ../config.c:377
+#: ../config.c:378
 msgid "Close zathura"
 msgstr "Zathura'yı kapat"
 
-#: ../config.c:378
+#: ../config.c:379
 msgid "Print document"
 msgstr "Belge yazdır"
 
-#: ../config.c:379
+#: ../config.c:380
 msgid "Save document"
 msgstr "Belgeyi kaydet"
 
-#: ../config.c:380
+#: ../config.c:381
 msgid "Save document (and force overwriting)"
 msgstr "Belgeyi kaydet (ve sormadan üzerine yaz)"
 
-#: ../config.c:381
+#: ../config.c:382
 msgid "Save attachments"
 msgstr "Ekleri kaydet"
 
-#: ../config.c:382
+#: ../config.c:383
 msgid "Set page offset"
 msgstr "Sayfa derinliğini ayarla"
 
-#: ../config.c:383
+#: ../config.c:384
 msgid "Mark current location within the document"
 msgstr "Bu belgede bu konumu işaretle"
 
-#: ../config.c:384
+#: ../config.c:385
 msgid "Delete the specified marks"
 msgstr "Seçilen işaretlemeleri sil"
 
-#: ../config.c:385
+#: ../config.c:386
 msgid "Don't highlight current search results"
 msgstr "Şuanki arama sonuçlarını vurgulama"
 
-#: ../config.c:386
+#: ../config.c:387
 msgid "Highlight current search results"
 msgstr "Şuanki arama sonuçlarını vurgula"
 
-#: ../config.c:387
+#: ../config.c:388
 msgid "Show version information"
 msgstr "Versiyon bilgisi göster"
 
@@ -435,28 +431,34 @@ msgstr ""
 msgid "Loading..."
 msgstr "Yüklüyor ..."
 
-#: ../page-widget.c:655
+#: ../page-widget.c:657
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr "Seçili metin panoya kopyalandı: %s"
 
-#: ../page-widget.c:753
+#: ../page-widget.c:755
 msgid "Copy image"
 msgstr "Resim kopyala"
 
-#: ../page-widget.c:754
+#: ../page-widget.c:756
 msgid "Save image as"
 msgstr "Resmi farklı kaydet"
 
-#: ../shortcuts.c:962
+#: ../shortcuts.c:963
 msgid "This document does not contain any index"
 msgstr "Bu belge fihrist içermiyor"
 
-#: ../zathura.c:194 ../zathura.c:901
+#: ../zathura.c:224 ../zathura.c:953
 msgid "[No name]"
 msgstr "[İsimsiz]"
 
-#: ../zathura.c:538
+#: ../zathura.c:587
 #, fuzzy
 msgid "Document does not contain any pages"
 msgstr "Bu belge fihrist içermiyor"
+
+#~ msgid "Life time (in seconds) of a hidden page"
+#~ msgstr "Gizli pencerenin açık kalma süresi (saniye)"
+
+#~ msgid "Amount of seconds between each cache purge"
+#~ msgstr "Önbellek temizliği yapılma sıklığı, saniye cinsinden"
diff --git a/po/uk_UA.po b/po/uk_UA.po
index de8f2db..02c2f13 100644
--- a/po/uk_UA.po
+++ b/po/uk_UA.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-17 10:22+0000\n"
+"POT-Creation-Date: 2013-03-26 12:54+0100\n"
 "PO-Revision-Date: 2013-01-13 14:12+0000\n"
 "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
 "Language-Team: Ukrainian (Ukraine) (http://www.transifex.com/projects/p/"
@@ -19,20 +19,20 @@ msgstr ""
 "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
 "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
 
-#: ../callbacks.c:218
+#: ../callbacks.c:302
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr "Вказано невірний аргумент: %s."
 
-#: ../callbacks.c:256
+#: ../callbacks.c:340
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr "Вказано невірний індекс: %s"
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:475 ../shortcuts.c:1059
-#: ../shortcuts.c:1088
+#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
+#: ../shortcuts.c:1089
 msgid "No document opened."
 msgstr "Документ не відкрито."
 
@@ -184,191 +184,187 @@ msgid "Zoom maximum"
 msgstr "Максимальне збільшення"
 
 #: ../config.c:159
-msgid "Life time (in seconds) of a hidden page"
-msgstr "Час (у сек) схованої сторінки"
+msgid "Maximum number of pages to keep in the cache"
+msgstr ""
 
-#: ../config.c:160
-msgid "Amount of seconds between each cache purge"
-msgstr "Кількість секунд між кожним очищенням кешу"
-
-#: ../config.c:162
+#: ../config.c:161
 msgid "Number of positions to remember in the jumplist"
 msgstr ""
 
-#: ../config.c:164
+#: ../config.c:163
 msgid "Recoloring (dark color)"
 msgstr "Перефарбування (темний колір)"
 
-#: ../config.c:166
+#: ../config.c:165
 msgid "Recoloring (light color)"
 msgstr "Перефарбування (світлий колір)"
 
-#: ../config.c:168
+#: ../config.c:167
 msgid "Color for highlighting"
 msgstr "Колір для виділення"
 
-#: ../config.c:170
+#: ../config.c:169
 msgid "Color for highlighting (active)"
 msgstr "Колір для виділення (активний)"
 
-#: ../config.c:172
+#: ../config.c:171
 msgid "'Loading ...' background color"
 msgstr ""
 
-#: ../config.c:174
+#: ../config.c:173
 msgid "'Loading ...' foreground color"
 msgstr ""
 
-#: ../config.c:178
+#: ../config.c:177
 msgid "Recolor pages"
 msgstr "Змінити кольори"
 
-#: ../config.c:180
+#: ../config.c:179
 msgid "When recoloring keep original hue and adjust lightness only"
 msgstr ""
 
-#: ../config.c:182
+#: ../config.c:181
 msgid "Wrap scrolling"
 msgstr "Плавне прокручування"
 
-#: ../config.c:184
+#: ../config.c:183
 msgid "Page aware scrolling"
 msgstr ""
 
-#: ../config.c:186
+#: ../config.c:185
 msgid "Advance number of pages per row"
 msgstr ""
 
-#: ../config.c:188
+#: ../config.c:187
 msgid "Horizontally centered zoom"
 msgstr ""
 
-#: ../config.c:190
+#: ../config.c:189
 msgid "Center result horizontally"
 msgstr ""
 
-#: ../config.c:192
+#: ../config.c:191
 msgid "Transparency for highlighting"
 msgstr "Прозорість для виділення"
 
-#: ../config.c:194
+#: ../config.c:193
 msgid "Render 'Loading ...'"
 msgstr "Рендер 'Завантажується ...'"
 
-#: ../config.c:195
+#: ../config.c:194
 msgid "Adjust to when opening file"
 msgstr "Підлаштовутись при відкритті файлу"
 
-#: ../config.c:197
+#: ../config.c:196
 msgid "Show hidden files and directories"
 msgstr "Показати приховані файли та директорії"
 
-#: ../config.c:199
+#: ../config.c:198
 msgid "Show directories"
 msgstr "Показати диреторії"
 
-#: ../config.c:201
+#: ../config.c:200
 msgid "Always open on first page"
 msgstr "Завжди відкривати на першій сторінці"
 
-#: ../config.c:203
+#: ../config.c:202
 msgid "Highlight search results"
 msgstr ""
 
-#: ../config.c:205
+#: ../config.c:204
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:207
+#: ../config.c:206
 msgid "Clear search results on abort"
 msgstr ""
 
-#: ../config.c:209
+#: ../config.c:208
 msgid "Use basename of the file in the window title"
 msgstr ""
 
-#: ../config.c:211
+#: ../config.c:210
 msgid "Use basename of the file in the statusbar"
 msgstr ""
 
-#: ../config.c:213 ../main.c:64
+#: ../config.c:212 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:369
+#: ../config.c:370
 msgid "Add a bookmark"
 msgstr "Додати закладку"
 
-#: ../config.c:370
+#: ../config.c:371
 msgid "Delete a bookmark"
 msgstr "Вилучити закладку"
 
-#: ../config.c:371
+#: ../config.c:372
 msgid "List all bookmarks"
 msgstr "Дивитись усі закладки"
 
-#: ../config.c:372
+#: ../config.c:373
 msgid "Close current file"
 msgstr "Закрити документ"
 
-#: ../config.c:373
+#: ../config.c:374
 msgid "Show file information"
 msgstr "Показати інформацію файлу"
 
-#: ../config.c:374
+#: ../config.c:375
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:375
+#: ../config.c:376
 msgid "Show help"
 msgstr "Показати довідку"
 
-#: ../config.c:376
+#: ../config.c:377
 msgid "Open document"
 msgstr "Відкрити документ"
 
-#: ../config.c:377
+#: ../config.c:378
 msgid "Close zathura"
 msgstr "Вийти із zathura"
 
-#: ../config.c:378
+#: ../config.c:379
 msgid "Print document"
 msgstr "Друкувати документ"
 
-#: ../config.c:379
+#: ../config.c:380
 msgid "Save document"
 msgstr "Зберегти документ"
 
-#: ../config.c:380
+#: ../config.c:381
 msgid "Save document (and force overwriting)"
 msgstr "Зберегти документ (форсувати перезапис)"
 
-#: ../config.c:381
+#: ../config.c:382
 msgid "Save attachments"
 msgstr "Зберегти прикріплення"
 
-#: ../config.c:382
+#: ../config.c:383
 msgid "Set page offset"
 msgstr "Встановити зміщення сторінки"
 
-#: ../config.c:383
+#: ../config.c:384
 msgid "Mark current location within the document"
 msgstr ""
 
-#: ../config.c:384
+#: ../config.c:385
 msgid "Delete the specified marks"
 msgstr ""
 
-#: ../config.c:385
+#: ../config.c:386
 msgid "Don't highlight current search results"
 msgstr ""
 
-#: ../config.c:386
+#: ../config.c:387
 msgid "Highlight current search results"
 msgstr ""
 
-#: ../config.c:387
+#: ../config.c:388
 msgid "Show version information"
 msgstr ""
 
@@ -434,28 +430,34 @@ msgstr ""
 msgid "Loading..."
 msgstr ""
 
-#: ../page-widget.c:655
+#: ../page-widget.c:657
 #, c-format
 msgid "Copied selected text to clipboard: %s"
 msgstr "Вибраний текст скопійовано до буферу: %s"
 
-#: ../page-widget.c:753
+#: ../page-widget.c:755
 msgid "Copy image"
 msgstr "Копіювати картинку"
 
-#: ../page-widget.c:754
+#: ../page-widget.c:756
 msgid "Save image as"
 msgstr ""
 
-#: ../shortcuts.c:962
+#: ../shortcuts.c:963
 msgid "This document does not contain any index"
 msgstr "Індекс відсутній в цьому документі"
 
-#: ../zathura.c:194 ../zathura.c:901
+#: ../zathura.c:224 ../zathura.c:953
 msgid "[No name]"
 msgstr "[Без назви]"
 
-#: ../zathura.c:538
+#: ../zathura.c:587
 #, fuzzy
 msgid "Document does not contain any pages"
 msgstr "Індекс відсутній в цьому документі"
+
+#~ msgid "Life time (in seconds) of a hidden page"
+#~ msgstr "Час (у сек) схованої сторінки"
+
+#~ msgid "Amount of seconds between each cache purge"
+#~ msgstr "Кількість секунд між кожним очищенням кешу"

From 4b7347efa710b7a20b73adc1f73acb52df9fc5bb Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Tue, 26 Mar 2013 13:03:07 +0100
Subject: [PATCH 54/74] We get an int from girara_config_get

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 zathura.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/zathura.c b/zathura.c
index 37923ab..a306075 100644
--- a/zathura.c
+++ b/zathura.c
@@ -280,11 +280,13 @@ zathura_init(zathura_t* zathura)
 
   /* page cache */
 
-  zathura->page_cache.size = ZATHURA_PAGE_CACHE_DEFAULT_SIZE;
-  girara_setting_get(zathura->ui.session, "page-cache-size", &zathura->page_cache.size);
-  if (zathura->page_cache.size <= 0) {
+  int cache_size = 0;
+  girara_setting_get(zathura->ui.session, "page-cache-size", &cache_size);
+  if (cache_size <= 0) {
     girara_warning("page-cache-size is not positive, using %d instead", ZATHURA_PAGE_CACHE_DEFAULT_SIZE);
     zathura->page_cache.size = ZATHURA_PAGE_CACHE_DEFAULT_SIZE;
+  } else {
+    zathura->page_cache.size = cache_size;
   }
 
   zathura->page_cache.cache = g_malloc(zathura->page_cache.size * sizeof(int));

From 9a00028a0dc898a72eed12b749acd0b0648ce861 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Tue, 26 Mar 2013 15:21:03 +0100
Subject: [PATCH 55/74] Remove some unnecessary \ns

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 document.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/document.c b/document.c
index 370db98..dc69540 100644
--- a/document.c
+++ b/document.c
@@ -530,24 +530,24 @@ guess_type(const char* path)
     MAGIC_NO_CHECK_ENCODING;
   magic_t magic = magic_open(flags);
   if (magic == NULL) {
-    girara_debug("failed creating the magic cookie\n");
+    girara_debug("failed creating the magic cookie");
     goto cleanup;
   }
 
   /* ... and load mime database */
   if (magic_load(magic, NULL) < 0) {
-    girara_debug("failed loading the magic database: %s\n", magic_error(magic));
+    girara_debug("failed loading the magic database: %s", magic_error(magic));
     goto cleanup;
   }
 
   /* get the mime type */
   mime_type = magic_file(magic, path);
   if (mime_type == NULL) {
-    girara_debug("failed guessing filetype: %s\n", magic_error(magic));
+    girara_debug("failed guessing filetype: %s", magic_error(magic));
     goto cleanup;
   }
 
-  girara_debug("magic detected filetype: %s\n", mime_type);
+  girara_debug("magic detected filetype: %s", mime_type);
   content_type = g_strdup(mime_type);
 
 cleanup:
@@ -566,10 +566,10 @@ cleanup:
     girara_debug("g_content_type failed\n");
   } else {
     if (uncertain == FALSE) {
-      girara_debug("g_content_type detected filetype: %s\n", content_type);
+      girara_debug("g_content_type detected filetype: %s", content_type);
       return content_type;
     }
-    girara_debug("g_content_type is uncertain, guess: %s\n", content_type);
+    girara_debug("g_content_type is uncertain, guess: %s", content_type);
   }
 
   FILE* f = fopen(path, "rb");
@@ -593,7 +593,7 @@ cleanup:
 
     length += bytes_read;
     content_type = g_content_type_guess(NULL, content, length, &uncertain);
-    girara_debug("new guess: %s uncertain: %d, read: %zu\n", content_type, uncertain, length);
+    girara_debug("new guess: %s uncertain: %d, read: %zu", content_type, uncertain, length);
   }
 
   fclose(f);

From cd381c813dc63ae694e94af1e40be993bfee2176 Mon Sep 17 00:00:00 2001
From: Marwan Tanager <marwan.tngr@gmail.com>
Date: Wed, 27 Mar 2013 11:28:47 +0200
Subject: [PATCH 56/74] Don't set visibility, update view time, or lookup the
 cache, if the page is already visible.

This also has the side effect of not flooding the console with debug messages
on every change of the vertical adjustment as a result of redundant cache
lookups.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 callbacks.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/callbacks.c b/callbacks.c
index b4242d6..124837c 100644
--- a/callbacks.c
+++ b/callbacks.c
@@ -94,9 +94,11 @@ cb_view_vadjustment_value_changed(GtkAdjustment* GIRARA_UNUSED(adjustment), gpoi
                                      zathura->ui.session->gtk.view, 0, 0, &page_rect.x, &page_rect.y);
 
     if (gdk_rectangle_intersect(&view_rect, &page_rect, NULL) == TRUE) {
-      zathura_page_set_visibility(page, true);
-      zathura_page_widget_update_view_time(ZATHURA_PAGE(page_widget));
-      zathura_page_cache_add(zathura, zathura_page_get_index(page));
+      if (zathura_page_get_visibility(page) == false) {
+	zathura_page_set_visibility(page, true);
+	zathura_page_widget_update_view_time(ZATHURA_PAGE(page_widget));
+	zathura_page_cache_add(zathura, zathura_page_get_index(page));
+      }
       if (zathura->global.update_page_number == true && updated == false
           && gdk_rectangle_intersect(&center, &page_rect, NULL) == TRUE) {
         zathura_document_set_current_page_number(zathura->document, page_id);

From 8f695b8c52a6b1edf29748be9acf91009cb3409b Mon Sep 17 00:00:00 2001
From: Marwan Tanager <marwan.tngr@gmail.com>
Date: Thu, 28 Mar 2013 04:01:43 +0200
Subject: [PATCH 57/74] Set the adjustment mode to ZATHURA_ADJUST_INPUTBAR
 before displaying or following links.

This will not scroll the document when pressing 'f' or 'F', just to make the
behavior consistent with activating the inputbar using ':'.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 shortcuts.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/shortcuts.c b/shortcuts.c
index 1de5ee6..04ec7e7 100644
--- a/shortcuts.c
+++ b/shortcuts.c
@@ -215,6 +215,7 @@ sc_display_link(girara_session_t* session, girara_argument_t* UNUSED(argument),
 
   /* ask for input */
   if (show_links) {
+    zathura_document_set_adjust_mode(zathura->document, ZATHURA_ADJUST_INPUTBAR);
     girara_dialog(zathura->ui.session, "Display link:", FALSE, NULL,
         (girara_callback_inputbar_activate_t) cb_sc_display_link,
         zathura->ui.session);
@@ -295,6 +296,7 @@ sc_follow(girara_session_t* session, girara_argument_t* UNUSED(argument),
 
   /* ask for input */
   if (show_links == true) {
+    zathura_document_set_adjust_mode(zathura->document, ZATHURA_ADJUST_INPUTBAR);
     girara_dialog(zathura->ui.session, "Follow link:", FALSE, NULL, (girara_callback_inputbar_activate_t) cb_sc_follow, zathura->ui.session);
   }
 

From 964bdde27fd40a9590212307cb28f0b70a4c1afe Mon Sep 17 00:00:00 2001
From: Marwan Tanager <marwan.tngr@gmail.com>
Date: Fri, 29 Mar 2013 06:14:26 +0200
Subject: [PATCH 58/74] Use gint64 for view time instead of guint64.

The last_view member in zathura_page_widget_private_s is gint64, so we should
do the same here.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 zathura.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/zathura.c b/zathura.c
index a306075..5e2c3f6 100644
--- a/zathura.c
+++ b/zathura.c
@@ -1236,8 +1236,8 @@ zathura_page_cache_lru_invalidate(zathura_t* zathura)
    g_return_val_if_fail(zathura != NULL, -1);
 
    ssize_t lru_index = 0;
-   guint64 view_time = 0;
-   guint64 lru_view_time = G_MAXUINT64;
+   gint64 view_time = 0;
+   gint64 lru_view_time = G_MAXINT64;
    GtkWidget* page_widget;
 
    for (unsigned int i = 0; i < zathura->page_cache.size; ++i) {

From 1a145c5166cd8341d6e9806bf122419fa57f9802 Mon Sep 17 00:00:00 2001
From: Marwan Tanager <marwan.tngr@gmail.com>
Date: Mon, 1 Apr 2013 17:56:57 +0200
Subject: [PATCH 59/74] Use the 64-bit variants of g_param_spec_int and
 g_value_set_int for installing and accessing the last-view property.

This fixes the bug of the page cache acting weird (e.g. the same cache index is
invalidated over and over again) after being used for some time. This is
because when we read the last-view property, we only get the least-significant
32 bits of the last_view private member.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 page-widget.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/page-widget.c b/page-widget.c
index e2b1542..7bcb186 100644
--- a/page-widget.c
+++ b/page-widget.c
@@ -134,7 +134,7 @@ zathura_page_widget_class_init(ZathuraPageClass* class)
   g_object_class_install_property(object_class, PROP_DRAW_SEACH_RESULTS,
                                   g_param_spec_boolean("draw-search-results", "draw-search-results", "Set to true if search results should be drawn", FALSE, G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property(object_class, PROP_LAST_VIEW,
-                                  g_param_spec_int("last-view", "last-view", "Last time the page has been viewed", -1, INT_MAX, 0, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
+                                  g_param_spec_int64("last-view", "last-view", "Last time the page has been viewed", -1, G_MAXINT64, 0, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
 }
 
 static void
@@ -297,7 +297,7 @@ zathura_page_widget_get_property(GObject* object, guint prop_id, GValue* value,
       g_value_set_pointer(value, priv->search.list);
       break;
     case PROP_LAST_VIEW:
-      g_value_set_int(value, priv->last_view);
+      g_value_set_int64(value, priv->last_view);
       break;
     default:
       G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);

From 71680394a7af5785da5d24b348538baf030c9fb9 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Tue, 2 Apr 2013 11:39:06 +0200
Subject: [PATCH 60/74] Fix some types

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 render.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/render.c b/render.c
index faf5f79..b2ad38b 100644
--- a/render.c
+++ b/render.c
@@ -307,8 +307,8 @@ render_thread_sort(gconstpointer a, gconstpointer b, gpointer data)
   unsigned int page_a_index = zathura_page_get_index(page_a);
   unsigned int page_b_index = zathura_page_get_index(page_b);
 
-  unsigned int last_view_a = 0;
-  unsigned int last_view_b = 0;
+  gint64 last_view_a = 0;
+  gint64 last_view_b = 0;
 
   g_object_get(zathura->pages[page_a_index], "last-view", &last_view_a, NULL);
   g_object_get(zathura->pages[page_b_index], "last-view", &last_view_b, NULL);

From 8e9631946d2863b7f7c5260cff3d1413c38b1621 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Abd=C3=B3=20Roig-Maranges?= <abdo.roig@gmail.com>
Date: Thu, 16 Aug 2012 18:41:31 +0200
Subject: [PATCH 61/74] Option to keep horizontal position when following
 internal links

Added config parameter "link-hadjust" with default value true. When set to false,
following internal links do not change the horizontal position of the page, only
the vertical position.

Also updates page number when following links, now.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 config.c        |  2 ++
 links.c         | 22 +++++++++++++++-------
 zathura.c       | 10 ++++++++--
 zathurarc.5.rst |  7 +++++++
 4 files changed, 32 insertions(+), 9 deletions(-)

diff --git a/config.c b/config.c
index 8c65cf8..92c3bef 100644
--- a/config.c
+++ b/config.c
@@ -186,6 +186,8 @@ config_load_default(zathura_t* zathura)
   bool_value = false;
   girara_setting_add(gsession, "zoom-center",            &bool_value,  BOOLEAN, false, _("Horizontally centered zoom"), NULL, NULL);
   bool_value = true;
+  girara_setting_add(gsession, "link-hadjust",           &bool_value,  BOOLEAN, false, _("Align link target to the left"), NULL, NULL);
+  bool_value = true;
   girara_setting_add(gsession, "search-hadjust",         &bool_value,  BOOLEAN, false, _("Center result horizontally"), NULL, NULL);
   float_value = 0.5;
   girara_setting_add(gsession, "highlight-transparency", &float_value, FLOAT,   false, _("Transparency for highlighting"), NULL, NULL);
diff --git a/links.c b/links.c
index 8ea913a..4ce1487 100644
--- a/links.c
+++ b/links.c
@@ -4,6 +4,7 @@
 #include <glib/gi18n.h>
 #include <girara/utils.h>
 #include <girara/session.h>
+#include <girara/settings.h>
 
 #include "links.h"
 #include "zathura.h"
@@ -135,11 +136,8 @@ zathura_link_evaluate(zathura_t* zathura, zathura_link_t* link)
           return;
         }
 
-        zathura_document_set_current_page_number(zathura->document, link->target.page_number);
-
-        /* get page offset */
-        page_offset_t offset;
-        page_calculate_offset(zathura, page, &offset);
+          page_offset_t offset;
+          page_calculate_offset(zathura, page, &offset);
 
         if (link->target.destination_type == ZATHURA_LINK_DESTINATION_XYZ) {
           if (link->target.left != -1) {
@@ -151,8 +149,18 @@ zathura_link_evaluate(zathura_t* zathura, zathura_link_t* link)
           }
         }
 
-        position_set_delayed(zathura, offset.x, offset.y);
-        statusbar_page_number_update(zathura);
+        /* jump to the page */
+        page_set(zathura, link->target.page_number);
+
+        /* move to the target position */
+        bool link_hadjust = true;
+        girara_setting_get(zathura->ui.session, "link-hadjust", &link_hadjust);
+
+        if (link_hadjust == true) {
+          position_set_delayed(zathura, offset.x, offset.y);
+        } else {
+          position_set_delayed(zathura, -1, offset.y);
+        }
       }
       break;
     case ZATHURA_LINK_GOTO_REMOTE:
diff --git a/zathura.c b/zathura.c
index 5e2c3f6..713d9c3 100644
--- a/zathura.c
+++ b/zathura.c
@@ -1093,8 +1093,14 @@ position_set_delayed_impl(gpointer data)
   GtkAdjustment* vadjustment = gtk_scrolled_window_get_vadjustment(window);
   GtkAdjustment* hadjustment = gtk_scrolled_window_get_hadjustment(window);
 
-  zathura_adjustment_set_value(hadjustment, p->position_x);
-  zathura_adjustment_set_value(vadjustment, p->position_y);
+  /* negative values mean: don't set the position */
+  if (p->position_x >= 0) {
+    zathura_adjustment_set_value(hadjustment, p->position_x);
+  }
+
+  if (p->position_y >= 0) {
+    zathura_adjustment_set_value(vadjustment, p->position_y);
+  }
 
   g_free(p);
 
diff --git a/zathurarc.5.rst b/zathurarc.5.rst
index 09854b6..f2ad1e4 100644
--- a/zathurarc.5.rst
+++ b/zathurarc.5.rst
@@ -640,6 +640,13 @@ Defines if scrolling by half or full pages stops at page boundaries.
 * Value type: Boolean
 * Default value: false
 
+link-hadjust
+^^^^^^^^^^^^
+En/Disables aligning to the left internal link targets, for example from the index
+
+* Value type: Boolean
+* Default value: true
+
 search-hadjust
 ^^^^^^^^^^^^^^
 En/Disables horizontally centered search results

From 1c3274bbd6893844c0b290f7b220a302854ff350 Mon Sep 17 00:00:00 2001
From: Abdo Roig-Maranges <abdo.roig@gmail.com>
Date: Mon, 1 Apr 2013 02:08:06 +0200
Subject: [PATCH 62/74] properly set horizontal position when navigating

Call cb_view_hadjustment_changed to set horizontal position in
navigation shortcuts: sc_navigate, sc_goto.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 shortcuts.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/shortcuts.c b/shortcuts.c
index 04ec7e7..8e295f9 100644
--- a/shortcuts.c
+++ b/shortcuts.c
@@ -327,6 +327,10 @@ sc_goto(girara_session_t* session, girara_argument_t* argument, girara_event_t*
     page_set(zathura, zathura_document_get_number_of_pages(zathura->document) - 1);
   }
 
+  /* adjust horizontal position */
+  GtkAdjustment* hadjustment = gtk_scrolled_window_get_hadjustment(GTK_SCROLLED_WINDOW(session->gtk.view));
+  cb_view_hadjustment_changed(hadjustment, zathura);
+
   zathura_jumplist_add(zathura);
 
   return false;
@@ -463,6 +467,10 @@ sc_navigate(girara_session_t* session, girara_argument_t* argument,
 
   page_set(zathura, new_page);
 
+  /* adjust horizontal position */
+  GtkAdjustment* hadjustment = gtk_scrolled_window_get_hadjustment(GTK_SCROLLED_WINDOW(session->gtk.view));
+  cb_view_hadjustment_changed(hadjustment, zathura);
+
   return false;
 }
 

From d05ecc304388d42439922f79c38ac3fee9931d86 Mon Sep 17 00:00:00 2001
From: Abdo Roig-Maranges <abdo.roig@gmail.com>
Date: Sun, 31 Mar 2013 17:53:14 +0200
Subject: [PATCH 63/74] added function to check whether current jump is first
 or last

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 zathura.c | 12 ++++++++++++
 zathura.h | 16 ++++++++++++++++
 2 files changed, 28 insertions(+)

diff --git a/zathura.c b/zathura.c
index 713d9c3..e6c94f4 100644
--- a/zathura.c
+++ b/zathura.c
@@ -1122,6 +1122,18 @@ position_set_delayed(zathura_t* zathura, double position_x, double position_y)
 }
 
 
+bool
+zathura_jumplist_has_previous(zathura_t* zathura)
+{
+  return girara_list_iterator_has_previous(zathura->jumplist.cur);
+}
+
+bool
+zathura_jumplist_has_has_next(zathura_t* zathura)
+{
+  return girara_list_iterator_has_next(zathura->jumplist.cur);
+}
+
 zathura_jump_t*
 zathura_jumplist_current(zathura_t* zathura)
 {
diff --git a/zathura.h b/zathura.h
index e75a7e2..fd1d626 100644
--- a/zathura.h
+++ b/zathura.h
@@ -334,6 +334,22 @@ void page_widget_set_mode(zathura_t* zathura, unsigned int pages_per_row, unsign
  */
 void statusbar_page_number_update(zathura_t* zathura);
 
+/**
+ * Checks whether current jump has a previous jump
+ *
+ * @param zathura The zathura session
+ * @return true if current jump has a previous jump
+ */
+bool zathura_jumplist_has_previous(zathura_t* zathura);
+
+/**
+ * Checks whether current jump has a next jump
+ *
+ * @param zathura The zathura session
+ * @return true if current jump has a next jump
+ */
+bool zathura_jumplist_has_next(zathura_t* zathura);
+
 /**
  * Return current jump in the jumplist
  *

From 49e5b053bfc897889c64849afb1670e9252c272c Mon Sep 17 00:00:00 2001
From: Abdo Roig-Maranges <abdo.roig@gmail.com>
Date: Sun, 31 Mar 2013 13:10:48 +0200
Subject: [PATCH 64/74] bisect functionality to navigate documents

This uses the jumplist to implement a bisect functionality between the
last two jump points. ^j and ^k are bound to bisect forward and backward
respectively.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 config.c    |   4 +-
 shortcuts.c | 132 +++++++++++++++++++++++++++++++++++++++++++++++++++-
 shortcuts.h |  13 +++++-
 3 files changed, 146 insertions(+), 3 deletions(-)

diff --git a/config.c b/config.c
index 92c3bef..1be86d8 100644
--- a/config.c
+++ b/config.c
@@ -298,7 +298,8 @@ config_load_default(zathura_t* zathura)
   girara_shortcut_add(gsession, GDK_SHIFT_MASK,   GDK_KEY_space,      NULL, sc_scroll,                   NORMAL,     FULL_UP,         NULL);
   girara_shortcut_add(gsession, GDK_CONTROL_MASK, GDK_KEY_o,          NULL, sc_jumplist,                 NORMAL,     BACKWARD,        NULL);
   girara_shortcut_add(gsession, GDK_CONTROL_MASK, GDK_KEY_i,          NULL, sc_jumplist,                 NORMAL,     FORWARD,         NULL);
-
+  girara_shortcut_add(gsession, GDK_CONTROL_MASK, GDK_KEY_j,          NULL, sc_bisect,                   NORMAL,     FORWARD,         NULL);
+  girara_shortcut_add(gsession, GDK_CONTROL_MASK, GDK_KEY_k,          NULL, sc_bisect,                   NORMAL,     BACKWARD,        NULL);
   girara_shortcut_add(gsession, 0,                GDK_KEY_n,          NULL, sc_search,                   NORMAL,     FORWARD,         NULL);
   girara_shortcut_add(gsession, 0,                GDK_KEY_N,          NULL, sc_search,                   NORMAL,     BACKWARD,        NULL);
 
@@ -401,6 +402,7 @@ config_load_default(zathura_t* zathura)
   girara_shortcut_mapping_add(gsession, "follow",            sc_follow);
   girara_shortcut_mapping_add(gsession, "goto",              sc_goto);
   girara_shortcut_mapping_add(gsession, "jumplist",          sc_jumplist);
+  girara_shortcut_mapping_add(gsession, "bisect",            sc_bisect);
   girara_shortcut_mapping_add(gsession, "navigate",          sc_navigate);
   girara_shortcut_mapping_add(gsession, "navigate_index",    sc_navigate_index);
   girara_shortcut_mapping_add(gsession, "print",             sc_print);
diff --git a/shortcuts.c b/shortcuts.c
index 8e295f9..b3820c0 100644
--- a/shortcuts.c
+++ b/shortcuts.c
@@ -716,7 +716,8 @@ sc_scroll(girara_session_t* session, girara_argument_t* argument,
 
 
 bool
-sc_jumplist(girara_session_t* session, girara_argument_t* argument, girara_event_t* UNUSED(event), unsigned int UNUSED(t))
+sc_jumplist(girara_session_t* session, girara_argument_t* argument,
+            girara_event_t* UNUSED(event), unsigned int UNUSED(t))
 {
   g_return_val_if_fail(session != NULL, false);
   g_return_val_if_fail(session->global.data != NULL, false);
@@ -748,6 +749,135 @@ sc_jumplist(girara_session_t* session, girara_argument_t* argument, girara_event
   return false;
 }
 
+
+bool
+sc_bisect(girara_session_t* session, girara_argument_t* argument,
+          girara_event_t* UNUSED(event), unsigned int t)
+{
+  g_return_val_if_fail(session != NULL, false);
+  g_return_val_if_fail(session->global.data != NULL, false);
+  zathura_t* zathura = session->global.data;
+  g_return_val_if_fail(argument != NULL, false);
+  g_return_val_if_fail(zathura->document != NULL, false);
+
+  unsigned int number_of_pages, cur_page, prev_page, prev2_page;
+  bool have_prev, have_prev2;
+
+  zathura_jump_t* prev_jump = NULL;
+  zathura_jump_t* prev2_jump = NULL;
+
+  number_of_pages= zathura_document_get_number_of_pages(zathura->document);
+  cur_page = zathura_document_get_current_page_number(zathura->document);
+
+  prev_page = prev2_page = 0;
+  have_prev = have_prev2 = false;
+
+  /* save position at current jump point */
+  zathura_jumplist_save(zathura);
+
+  /* process arguments */
+  int direction;
+  if (t > 0 && t <= number_of_pages) {
+    /* jump to page t, and bisect between cur_page and t */
+    page_set(zathura, t-1);
+    zathura_jumplist_add(zathura);
+    if (t-1 > cur_page) {
+      direction = BACKWARD;
+    } else {
+      direction = FORWARD;
+    }
+
+  } else if (argument != NULL)  {
+    direction = argument->n;
+
+  } else {
+    return false;
+  }
+
+  cur_page = zathura_document_get_current_page_number(zathura->document);
+
+  if (zathura_jumplist_has_previous(zathura)) {
+    /* If there is a previous jump, get its page */
+    zathura_jumplist_backward(zathura);
+    prev_jump = zathura_jumplist_current(zathura);
+    if (prev_jump) {
+      prev_page = prev_jump->page;
+      have_prev = true;
+    }
+
+    if (zathura_jumplist_has_previous(zathura)) {
+      /* If there is a second previous jump, get its page. */
+      zathura_jumplist_backward(zathura);
+      prev2_jump = zathura_jumplist_current(zathura);
+      if (prev2_jump) {
+        prev2_page = prev2_jump->page;
+        have_prev2 = true;
+      }
+      zathura_jumplist_forward(zathura);
+    }
+    zathura_jumplist_forward(zathura);
+  }
+
+  /* now, we are back at the initial jump. prev_page and prev2_page contain
+   the pages for previous and second previous jump if they exist. */
+
+  /* bisect */
+  switch(direction) {
+    case FORWARD:
+      if (have_prev && cur_page <= prev_page) {
+        /* add a new jump point */
+        if (cur_page < prev_page) {
+          page_set(zathura, (cur_page + prev_page)/2);
+          zathura_jumplist_add(zathura);
+        }
+
+      } else if (have_prev2 && cur_page <= prev2_page) {
+        /* save current position at previous jump point */
+        if (cur_page < prev2_page) {
+          zathura_jumplist_backward(zathura);
+          zathura_jumplist_save(zathura);
+          zathura_jumplist_forward(zathura);
+
+          page_set(zathura, (cur_page + prev2_page)/2);
+          zathura_jumplist_save(zathura);
+        }
+      } else {
+        /* none of prev_page or prev2_page comes after cur_page */
+        page_set(zathura, (cur_page + number_of_pages - 1)/2);
+        zathura_jumplist_add(zathura);
+      }
+      break;
+
+    case BACKWARD:
+      if (have_prev && prev_page <= cur_page) {
+        /* add a new jump point */
+        if (prev_page < cur_page) {
+          page_set(zathura, (cur_page + prev_page)/2);
+          zathura_jumplist_add(zathura);
+        }
+
+      } else if (have_prev2 && prev2_page <= cur_page) {
+        /* save current position at previous jump point */
+        if (prev2_page < cur_page) {
+          zathura_jumplist_backward(zathura);
+          zathura_jumplist_save(zathura);
+          zathura_jumplist_forward(zathura);
+
+          page_set(zathura, (cur_page + prev2_page)/2);
+          zathura_jumplist_save(zathura);
+        }
+
+      } else {
+        /* none of prev_page or prev2_page comes before cur_page */
+        page_set(zathura, cur_page/2);
+        zathura_jumplist_add(zathura);
+      }
+      break;
+  }
+  return false;
+}
+
+
 bool
 sc_search(girara_session_t* session, girara_argument_t* argument,
           girara_event_t* UNUSED(event), unsigned int UNUSED(t))
diff --git a/shortcuts.h b/shortcuts.h
index 3572cf1..c3231c6 100644
--- a/shortcuts.h
+++ b/shortcuts.h
@@ -172,7 +172,7 @@ bool sc_rotate(girara_session_t* session, girara_argument_t* argument, girara_ev
 bool sc_scroll(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t);
 
 /**
- * Scroll through the pages
+ * Navigate through the jumplist
  *
  * @param session The used girara session
  * @param argument The used argument
@@ -182,6 +182,17 @@ bool sc_scroll(girara_session_t* session, girara_argument_t* argument, girara_ev
  */
 bool sc_jumplist(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t);
 
+/**
+ * Bisect through the document
+ *
+ * @param session The used girara session
+ * @param argument The used argument
+ * @param event Girara event
+ * @param t Number of executions
+ * @return true if no error occured otherwise false
+ */
+bool sc_bisect(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t);
+
 /**
  * Search through the document for the latest search item
  *

From f8b24b03310cbb794cccd1e4068dfe4d2ce0b493 Mon Sep 17 00:00:00 2001
From: Abdo Roig-Maranges <abdo.roig@gmail.com>
Date: Sun, 31 Mar 2013 14:29:34 +0200
Subject: [PATCH 65/74] Document new bisect functionality

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 zathura.1.rst | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/zathura.1.rst b/zathura.1.rst
index bba12e6..664b525 100644
--- a/zathura.1.rst
+++ b/zathura.1.rst
@@ -75,6 +75,8 @@ gg, G, nG
   Goto to the first, the last or to the nth page
 ^o, ^i
   Move backward and forward through the jump list
+^j, ^k
+  Bisect forward and backward between the last two jump points
 ^c, Escape
   Abort
 a, s

From 5563da4d911c4b4c648ca4923a11fb4d2e21ea08 Mon Sep 17 00:00:00 2001
From: Abdo Roig-Maranges <abdo.roig@gmail.com>
Date: Tue, 2 Apr 2013 21:31:32 +0200
Subject: [PATCH 66/74] also adjust the horizontal position in sc_bisect

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 shortcuts.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/shortcuts.c b/shortcuts.c
index b3820c0..583867f 100644
--- a/shortcuts.c
+++ b/shortcuts.c
@@ -874,6 +874,11 @@ sc_bisect(girara_session_t* session, girara_argument_t* argument,
       }
       break;
   }
+
+  /* adjust horizontal position */
+  GtkAdjustment* hadjustment = gtk_scrolled_window_get_hadjustment(GTK_SCROLLED_WINDOW(session->gtk.view));
+  cb_view_hadjustment_changed(hadjustment, zathura);
+
   return false;
 }
 

From fb734b48a670580d1e2ebc4f2a352a06cae21e60 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Mon, 8 Apr 2013 21:53:15 +0200
Subject: [PATCH 67/74] Document notification-{fg,bg}

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 zathurarc.5.rst | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/zathurarc.5.rst b/zathurarc.5.rst
index f2ad1e4..80f571b 100644
--- a/zathurarc.5.rst
+++ b/zathurarc.5.rst
@@ -375,6 +375,20 @@ Defines the foreground color for the inputbar
 * Value type: String
 * Default value: #9FBC00
 
+notification-bg
+^^^^^^^^^^^^^^^^^^^^^
+Defines the background color for a notification
+
+* Value type: String
+* Default value: #FFFFFF
+
+notification-fg
+^^^^^^^^^^^^^^^^^^^^^
+Defines the foreground color for a notification
+
+* Value type: String
+* Default value: #000000
+
 notification-error-bg
 ^^^^^^^^^^^^^^^^^^^^^
 Defines the background color for an error notification

From c07e7a0c39046e906320ba176b09a9bcdd79f7ef Mon Sep 17 00:00:00 2001
From: Moritz Lipp <mlq@pwmt.org>
Date: Wed, 17 Apr 2013 13:42:03 +0200
Subject: [PATCH 68/74] Unref page twice (Temporary fix #274)

---
 zathura.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/zathura.c b/zathura.c
index e6c94f4..cdf4eac 100644
--- a/zathura.c
+++ b/zathura.c
@@ -933,6 +933,7 @@ document_close(zathura_t* zathura, bool keep_monitor)
   gtk_container_foreach(GTK_CONTAINER(zathura->ui.page_widget), remove_page_from_table, (gpointer) 1);
   for (unsigned int i = 0; i < zathura_document_get_number_of_pages(zathura->document); i++) {
     g_object_unref(zathura->pages[i]);
+    g_object_unref(zathura->pages[i]); // FIXME
   }
   free(zathura->pages);
   zathura->pages = NULL;

From ad9edf5ea250f76d5bf0e10fbe3538feec8e590f Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Sun, 28 Apr 2013 13:24:29 +0200
Subject: [PATCH 69/74] Update translations

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 po/ca.po    | 104 ++++++------
 po/cs.po    | 101 ++++++------
 po/de.po    | 105 ++++++------
 po/el.po    | 104 ++++++------
 po/eo.po    | 101 ++++++------
 po/es.po    | 104 ++++++------
 po/es_CL.po |  99 ++++++------
 po/et.po    |  90 ++++++-----
 po/fr.po    |  90 ++++++-----
 po/he.po    |  90 ++++++-----
 po/hr.po    |  90 ++++++-----
 po/id_ID.po | 459 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 po/it.po    |  95 +++++------
 po/pl.po    | 101 ++++++------
 po/pt_BR.po | 104 ++++++------
 po/ru.po    | 101 ++++++------
 po/ta_IN.po |  95 +++++------
 po/tr.po    | 104 ++++++------
 po/uk_UA.po | 101 ++++++------
 19 files changed, 1339 insertions(+), 899 deletions(-)
 create mode 100644 po/id_ID.po

diff --git a/po/ca.po b/po/ca.po
index 919542f..3a54ee5 100644
--- a/po/ca.po
+++ b/po/ca.po
@@ -8,8 +8,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-26 12:54+0100\n"
-"PO-Revision-Date: 2013-01-13 14:12+0000\n"
+"POT-Creation-Date: 2013-04-28 13:23+0200\n"
+"PO-Revision-Date: 2013-04-28 14:47+0200\n"
 "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
 "Language-Team: Catalan (http://www.transifex.com/projects/p/zathura/language/"
 "ca/)\n"
@@ -19,20 +19,20 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
-#: ../callbacks.c:302
+#: ../callbacks.c:304
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr "Entrada invàlida '%s'."
 
-#: ../callbacks.c:340
+#: ../callbacks.c:342
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr "Índex invàlid '%s'."
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
-#: ../shortcuts.c:1089
+#: ../commands.c:531 ../shortcuts.c:486 ../shortcuts.c:1205
+#: ../shortcuts.c:1234
 msgid "No document opened."
 msgstr "No s'ha obert cap document."
 
@@ -240,150 +240,153 @@ msgid "Horizontally centered zoom"
 msgstr "Zoom centrat horitzontalment"
 
 #: ../config.c:189
+msgid "Align link target to the left"
+msgstr ""
+
+#: ../config.c:191
 msgid "Center result horizontally"
 msgstr "Centra el resultat horitzontalment"
 
-#: ../config.c:191
+#: ../config.c:193
 msgid "Transparency for highlighting"
 msgstr "Transparència del realçat"
 
-#: ../config.c:193
+#: ../config.c:195
 msgid "Render 'Loading ...'"
 msgstr "Renderitza 'Carregant ...'"
 
-#: ../config.c:194
+#: ../config.c:196
 msgid "Adjust to when opening file"
 msgstr "Ajustar al fitxer quan s'obri"
 
-#: ../config.c:196
+#: ../config.c:198
 msgid "Show hidden files and directories"
 msgstr "Mostra els directoris i fitxers ocults"
 
-#: ../config.c:198
+#: ../config.c:200
 msgid "Show directories"
 msgstr "Mostra els directoris"
 
-#: ../config.c:200
+#: ../config.c:202
 msgid "Always open on first page"
 msgstr "Obrir sempre la primera pàgina"
 
-#: ../config.c:202
+#: ../config.c:204
 msgid "Highlight search results"
 msgstr "Realça els resultats de recerca"
 
-#: ../config.c:204
+#: ../config.c:206
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:206
+#: ../config.c:208
 msgid "Clear search results on abort"
 msgstr "Esborra els resultats de recerca a l'interrompre"
 
-#: ../config.c:208
+#: ../config.c:210
 msgid "Use basename of the file in the window title"
 msgstr "Utilitza el nom base del fitxer en el títol de la finestra"
 
-#: ../config.c:210
-#, fuzzy
+#: ../config.c:212
 msgid "Use basename of the file in the statusbar"
-msgstr "Utilitza el nom base del fitxer en el títol de la finestra"
+msgstr ""
 
-#: ../config.c:212 ../main.c:64
+#: ../config.c:214 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:370
+#: ../config.c:373
 msgid "Add a bookmark"
 msgstr "Afegir un marcador"
 
-#: ../config.c:371
+#: ../config.c:374
 msgid "Delete a bookmark"
 msgstr "Esborrar un marcador"
 
-#: ../config.c:372
+#: ../config.c:375
 msgid "List all bookmarks"
 msgstr "Llista tots els marcadors"
 
-#: ../config.c:373
+#: ../config.c:376
 msgid "Close current file"
 msgstr "Tancar el fitxer actual"
 
-#: ../config.c:374
+#: ../config.c:377
 msgid "Show file information"
 msgstr "Mostra informació sobre el fitxer"
 
-#: ../config.c:375
+#: ../config.c:378
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:376
+#: ../config.c:379
 msgid "Show help"
 msgstr "Mostrar l'ajuda"
 
-#: ../config.c:377
+#: ../config.c:380
 msgid "Open document"
 msgstr "Obrir document"
 
-#: ../config.c:378
+#: ../config.c:381
 msgid "Close zathura"
 msgstr "Tancar Zathura"
 
-#: ../config.c:379
+#: ../config.c:382
 msgid "Print document"
 msgstr "Imprimir document"
 
-#: ../config.c:380
+#: ../config.c:383
 msgid "Save document"
 msgstr "Desar document"
 
-#: ../config.c:381
+#: ../config.c:384
 msgid "Save document (and force overwriting)"
 msgstr "Desar document (i forçar la sobreescritura)"
 
-#: ../config.c:382
+#: ../config.c:385
 msgid "Save attachments"
 msgstr "Desa els fitxers adjunts"
 
-#: ../config.c:383
+#: ../config.c:386
 msgid "Set page offset"
 msgstr "Assigna el desplaçament de pàgina"
 
-#: ../config.c:384
+#: ../config.c:387
 msgid "Mark current location within the document"
 msgstr "Marca la posició actual dins el document"
 
-#: ../config.c:385
+#: ../config.c:388
 msgid "Delete the specified marks"
 msgstr "Esborrar les marques especificades"
 
-#: ../config.c:386
+#: ../config.c:389
 msgid "Don't highlight current search results"
 msgstr "No realcis els resultats de la recerca actual"
 
-#: ../config.c:387
+#: ../config.c:390
 msgid "Highlight current search results"
 msgstr "Realça els resultats de recerca actual"
 
-#: ../config.c:388
+#: ../config.c:391
 msgid "Show version information"
 msgstr "Mostra informació sobre la versió"
 
-#: ../links.c:163 ../links.c:242
+#: ../links.c:171 ../links.c:250
 msgid "Failed to run xdg-open."
 msgstr "No s'ha pogut executar xdg-open."
 
-#: ../links.c:181
+#: ../links.c:189
 #, c-format
 msgid "Link: page %d"
 msgstr ""
 
-#: ../links.c:188
+#: ../links.c:196
 #, c-format
 msgid "Link: %s"
 msgstr ""
 
-#: ../links.c:192
+#: ../links.c:200
 msgid "Link: Invalid"
 msgstr ""
 
@@ -444,21 +447,14 @@ msgstr "Copia la imatge"
 msgid "Save image as"
 msgstr "Desa imatge com a"
 
-#: ../shortcuts.c:963
+#: ../shortcuts.c:1108
 msgid "This document does not contain any index"
 msgstr "Aquest document no conté cap índex"
 
-#: ../zathura.c:224 ../zathura.c:953
+#: ../zathura.c:224 ../zathura.c:956
 msgid "[No name]"
 msgstr "[Sense nom]"
 
-#: ../zathura.c:587
-#, fuzzy
+#: ../zathura.c:589
 msgid "Document does not contain any pages"
-msgstr "Aquest document no conté cap índex"
-
-#~ msgid "Life time (in seconds) of a hidden page"
-#~ msgstr "Temps de vida (en segons) de la pàgina oculta"
-
-#~ msgid "Amount of seconds between each cache purge"
-#~ msgstr "Quantitat de segons entre cada purga de memòria cau"
+msgstr ""
diff --git a/po/cs.po b/po/cs.po
index b87446c..8b5d1c6 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -5,8 +5,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-26 12:54+0100\n"
-"PO-Revision-Date: 2012-06-19 23:59+0200\n"
+"POT-Creation-Date: 2013-04-28 13:23+0200\n"
+"PO-Revision-Date: 2013-04-28 14:44+0200\n"
 "Last-Translator: Martin Pelikan <pelikan@storkhole.cz>\n"
 "Language-Team: pwmt.org <mail@pwmt.org>\n"
 "Language: cs\n"
@@ -14,20 +14,20 @@ msgstr ""
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 
-#: ../callbacks.c:302
+#: ../callbacks.c:304
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr "Neplatný vstup: %s"
 
-#: ../callbacks.c:340
+#: ../callbacks.c:342
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr "Neplatný index: %s"
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
-#: ../shortcuts.c:1089
+#: ../commands.c:531 ../shortcuts.c:486 ../shortcuts.c:1205
+#: ../shortcuts.c:1234
 msgid "No document opened."
 msgstr "Není otevřený žádný dokument."
 
@@ -235,149 +235,153 @@ msgid "Horizontally centered zoom"
 msgstr ""
 
 #: ../config.c:189
-msgid "Center result horizontally"
+msgid "Align link target to the left"
 msgstr ""
 
 #: ../config.c:191
+msgid "Center result horizontally"
+msgstr ""
+
+#: ../config.c:193
 msgid "Transparency for highlighting"
 msgstr "Průhlednost při zvýrazňování"
 
-#: ../config.c:193
+#: ../config.c:195
 msgid "Render 'Loading ...'"
 msgstr "Vypisovat 'Načítám ...'"
 
-#: ../config.c:194
+#: ../config.c:196
 msgid "Adjust to when opening file"
 msgstr "Přiblížení po otevření souboru"
 
-#: ../config.c:196
+#: ../config.c:198
 msgid "Show hidden files and directories"
 msgstr "Zobrazovat skryté soubory"
 
-#: ../config.c:198
+#: ../config.c:200
 msgid "Show directories"
 msgstr "Zobrazovat adresáře"
 
-#: ../config.c:200
+#: ../config.c:202
 msgid "Always open on first page"
 msgstr "Vždy otevírat na první straně"
 
-#: ../config.c:202
+#: ../config.c:204
 msgid "Highlight search results"
 msgstr "Zvýrazňovat výsledky hledání"
 
-#: ../config.c:204
+#: ../config.c:206
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:206
+#: ../config.c:208
 msgid "Clear search results on abort"
 msgstr "Při abortu smazat výsledky hledání"
 
-#: ../config.c:208
+#: ../config.c:210
 msgid "Use basename of the file in the window title"
 msgstr ""
 
-#: ../config.c:210
+#: ../config.c:212
 msgid "Use basename of the file in the statusbar"
 msgstr ""
 
-#: ../config.c:212 ../main.c:64
+#: ../config.c:214 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:370
+#: ../config.c:373
 msgid "Add a bookmark"
 msgstr "Přidat záložku"
 
-#: ../config.c:371
+#: ../config.c:374
 msgid "Delete a bookmark"
 msgstr "Smazat záložku"
 
-#: ../config.c:372
+#: ../config.c:375
 msgid "List all bookmarks"
 msgstr "Vypsat záložky"
 
-#: ../config.c:373
+#: ../config.c:376
 msgid "Close current file"
 msgstr "Zavřít tenhle soubor"
 
-#: ../config.c:374
+#: ../config.c:377
 msgid "Show file information"
 msgstr "Zobrazit informace o souboru"
 
-#: ../config.c:375
+#: ../config.c:378
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:376
+#: ../config.c:379
 msgid "Show help"
 msgstr "Zobrazit nápovědu"
 
-#: ../config.c:377
+#: ../config.c:380
 msgid "Open document"
 msgstr "Otevřít dokument"
 
-#: ../config.c:378
+#: ../config.c:381
 msgid "Close zathura"
 msgstr "Zavřít zathuru"
 
-#: ../config.c:379
+#: ../config.c:382
 msgid "Print document"
 msgstr "Tisknout dokument"
 
-#: ../config.c:380
+#: ../config.c:383
 msgid "Save document"
 msgstr "Uložit dokument"
 
-#: ../config.c:381
+#: ../config.c:384
 msgid "Save document (and force overwriting)"
 msgstr "Uložit a přepsat dokument"
 
-#: ../config.c:382
+#: ../config.c:385
 msgid "Save attachments"
 msgstr "Uložit přílohy"
 
-#: ../config.c:383
+#: ../config.c:386
 msgid "Set page offset"
 msgstr ""
 
-#: ../config.c:384
+#: ../config.c:387
 msgid "Mark current location within the document"
 msgstr "Označit současnou pozici v dokumentu"
 
-#: ../config.c:385
+#: ../config.c:388
 msgid "Delete the specified marks"
 msgstr "Smazat vybrané značky"
 
-#: ../config.c:386
+#: ../config.c:389
 msgid "Don't highlight current search results"
 msgstr "Nezvýrazňovat výsledky tohoto hledání"
 
-#: ../config.c:387
+#: ../config.c:390
 msgid "Highlight current search results"
 msgstr "Zvýrazňovat výsledky tohoto hledání"
 
-#: ../config.c:388
+#: ../config.c:391
 msgid "Show version information"
 msgstr ""
 
-#: ../links.c:163 ../links.c:242
+#: ../links.c:171 ../links.c:250
 msgid "Failed to run xdg-open."
 msgstr "Nepovedlo se spustit xdg-open."
 
-#: ../links.c:181
+#: ../links.c:189
 #, c-format
 msgid "Link: page %d"
 msgstr ""
 
-#: ../links.c:188
+#: ../links.c:196
 #, c-format
 msgid "Link: %s"
 msgstr ""
 
-#: ../links.c:192
+#: ../links.c:200
 msgid "Link: Invalid"
 msgstr ""
 
@@ -438,21 +442,14 @@ msgstr "Zkopíruj obrázek"
 msgid "Save image as"
 msgstr "Ulož obrázek jako"
 
-#: ../shortcuts.c:963
+#: ../shortcuts.c:1108
 msgid "This document does not contain any index"
 msgstr "Tenhle dokument neobsahuje žádné indexy"
 
-#: ../zathura.c:224 ../zathura.c:953
+#: ../zathura.c:224 ../zathura.c:956
 msgid "[No name]"
 msgstr "[Nepojmenovaný]"
 
-#: ../zathura.c:587
-#, fuzzy
+#: ../zathura.c:589
 msgid "Document does not contain any pages"
-msgstr "Tenhle dokument neobsahuje žádné indexy"
-
-#~ msgid "Life time (in seconds) of a hidden page"
-#~ msgstr "Délka života skryté stránky v sekundách"
-
-#~ msgid "Amount of seconds between each cache purge"
-#~ msgstr "Počet sekund mezi čištěními cache"
+msgstr ""
diff --git a/po/de.po b/po/de.po
index b526fc2..78ee239 100644
--- a/po/de.po
+++ b/po/de.po
@@ -7,8 +7,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-26 12:54+0100\n"
-"PO-Revision-Date: 2013-01-13 14:13+0000\n"
+"POT-Creation-Date: 2013-04-28 13:23+0200\n"
+"PO-Revision-Date: 2013-04-28 14:44+0200\n"
 "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
 "Language-Team: German (http://www.transifex.com/projects/p/zathura/language/"
 "de/)\n"
@@ -18,20 +18,20 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
-#: ../callbacks.c:302
+#: ../callbacks.c:304
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr "Ungültige Eingabe '%s' angegeben."
 
-#: ../callbacks.c:340
+#: ../callbacks.c:342
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr "Ungültiger Index '%s' angegeben."
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
-#: ../shortcuts.c:1089
+#: ../commands.c:531 ../shortcuts.c:486 ../shortcuts.c:1205
+#: ../shortcuts.c:1234
 msgid "No document opened."
 msgstr "Kein Dokument geöffnet."
 
@@ -241,150 +241,153 @@ msgid "Horizontally centered zoom"
 msgstr "Horizontal zentrierter Zoom"
 
 #: ../config.c:189
+msgid "Align link target to the left"
+msgstr ""
+
+#: ../config.c:191
 msgid "Center result horizontally"
 msgstr "Zentriere Ergebnis horizontal"
 
-#: ../config.c:191
+#: ../config.c:193
 msgid "Transparency for highlighting"
 msgstr "Transparenz einer Markierung"
 
-#: ../config.c:193
+#: ../config.c:195
 msgid "Render 'Loading ...'"
 msgstr "Zeige 'Lädt...'-Text beim Zeichnen einer Seite"
 
-#: ../config.c:194
+#: ../config.c:196
 msgid "Adjust to when opening file"
 msgstr "Seite einpassen"
 
-#: ../config.c:196
+#: ../config.c:198
 msgid "Show hidden files and directories"
 msgstr "Zeige versteckte Dateien und Ordner an"
 
-#: ../config.c:198
+#: ../config.c:200
 msgid "Show directories"
 msgstr "Zeige Ordner an"
 
-#: ../config.c:200
+#: ../config.c:202
 msgid "Always open on first page"
 msgstr "Öffne Dokument immer auf der ersten Seite"
 
-#: ../config.c:202
+#: ../config.c:204
 msgid "Highlight search results"
 msgstr "Hebe Suchergebnisse hervor"
 
-#: ../config.c:204
+#: ../config.c:206
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:206
+#: ../config.c:208
 msgid "Clear search results on abort"
 msgstr "Lösche Suchergebnisse bei Abbruch"
 
-#: ../config.c:208
+#: ../config.c:210
 msgid "Use basename of the file in the window title"
 msgstr "Verwende den Dateinamen der Datei im Fenstertitel"
 
-#: ../config.c:210
-#, fuzzy
+#: ../config.c:212
 msgid "Use basename of the file in the statusbar"
-msgstr "Verwende den Dateinamen der Datei im Fenstertitel"
+msgstr "Verwende den Dateinamen der Datei in der Statusleiste"
 
-#: ../config.c:212 ../main.c:64
+#: ../config.c:214 ../main.c:64
 msgid "Enable synctex support"
 msgstr "Aktiviere SyncTeX-Unterstützung"
 
 #. define default inputbar commands
-#: ../config.c:370
+#: ../config.c:373
 msgid "Add a bookmark"
 msgstr "Füge Lesezeichen hinzu"
 
-#: ../config.c:371
+#: ../config.c:374
 msgid "Delete a bookmark"
 msgstr "Lösche ein Lesezeichen"
 
-#: ../config.c:372
+#: ../config.c:375
 msgid "List all bookmarks"
 msgstr "Liste all Lesezeichen auf"
 
-#: ../config.c:373
+#: ../config.c:376
 msgid "Close current file"
 msgstr "Schließe das aktuelle Dokument"
 
-#: ../config.c:374
+#: ../config.c:377
 msgid "Show file information"
 msgstr "Zeige Dokumentinformationen an"
 
-#: ../config.c:375
+#: ../config.c:378
 msgid "Execute a command"
 msgstr "Führe einen Befehl aus"
 
-#: ../config.c:376
+#: ../config.c:379
 msgid "Show help"
 msgstr "Zeige Hilfe an"
 
-#: ../config.c:377
+#: ../config.c:380
 msgid "Open document"
 msgstr "Öffne Dokument"
 
-#: ../config.c:378
+#: ../config.c:381
 msgid "Close zathura"
 msgstr "Beende zathura"
 
-#: ../config.c:379
+#: ../config.c:382
 msgid "Print document"
 msgstr "Drucke Dokument"
 
-#: ../config.c:380
+#: ../config.c:383
 msgid "Save document"
 msgstr "Speichere Dokument"
 
-#: ../config.c:381
+#: ../config.c:384
 msgid "Save document (and force overwriting)"
 msgstr "Speichere Dokument (und überschreibe bestehende)"
 
-#: ../config.c:382
+#: ../config.c:385
 msgid "Save attachments"
 msgstr "Speichere Anhänge"
 
-#: ../config.c:383
+#: ../config.c:386
 msgid "Set page offset"
 msgstr "Setze den Seitenabstand"
 
-#: ../config.c:384
+#: ../config.c:387
 msgid "Mark current location within the document"
 msgstr "Markiere aktuelle Position im Doukument"
 
-#: ../config.c:385
+#: ../config.c:388
 msgid "Delete the specified marks"
 msgstr "Lösche angegebene Markierung"
 
-#: ../config.c:386
+#: ../config.c:389
 msgid "Don't highlight current search results"
 msgstr "Hebe aktuelle Suchergebnisse nicht hervor"
 
-#: ../config.c:387
+#: ../config.c:390
 msgid "Highlight current search results"
 msgstr "Hebe aktuelle Suchergebnisse hervor"
 
-#: ../config.c:388
+#: ../config.c:391
 msgid "Show version information"
 msgstr "Zeige Versionsinformationen an"
 
-#: ../links.c:163 ../links.c:242
+#: ../links.c:171 ../links.c:250
 msgid "Failed to run xdg-open."
 msgstr "Konnte xdg-open nicht ausführen."
 
-#: ../links.c:181
+#: ../links.c:189
 #, c-format
 msgid "Link: page %d"
 msgstr "Verknüpfung: Seite %d"
 
-#: ../links.c:188
+#: ../links.c:196
 #, c-format
 msgid "Link: %s"
 msgstr "Verknüpfung: %s"
 
-#: ../links.c:192
+#: ../links.c:200
 msgid "Link: Invalid"
 msgstr "Verknüpfung: ungültig"
 
@@ -445,22 +448,14 @@ msgstr "Bild kopieren"
 msgid "Save image as"
 msgstr "Bild speichern als"
 
-#: ../shortcuts.c:963
+#: ../shortcuts.c:1108
 msgid "This document does not contain any index"
 msgstr "Dieses Dokument beinhaltet kein Inhaltsverzeichnis."
 
-#: ../zathura.c:224 ../zathura.c:953
+#: ../zathura.c:224 ../zathura.c:956
 msgid "[No name]"
 msgstr "[Kein Name]"
 
-#: ../zathura.c:587
-#, fuzzy
+#: ../zathura.c:589
 msgid "Document does not contain any pages"
-msgstr "Dieses Dokument beinhaltet kein Inhaltsverzeichnis."
-
-#~ msgid "Life time (in seconds) of a hidden page"
-#~ msgstr "Zeit (in Sekunden) bevor nicht sichtbare Seiten gelöscht werden"
-
-#~ msgid "Amount of seconds between each cache purge"
-#~ msgstr ""
-#~ "Anzahl der Sekunden zwischen jeder Prüfung von nicht angezeigten Seiten"
+msgstr "Dieses Dokument beinhaltet kein Seiten"
diff --git a/po/el.po b/po/el.po
index 586c359..4858709 100644
--- a/po/el.po
+++ b/po/el.po
@@ -8,8 +8,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-26 12:54+0100\n"
-"PO-Revision-Date: 2013-01-13 14:12+0000\n"
+"POT-Creation-Date: 2013-04-28 13:23+0200\n"
+"PO-Revision-Date: 2013-04-28 14:45+0200\n"
 "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
 "Language-Team: Greek (http://www.transifex.com/projects/p/zathura/language/"
 "el/)\n"
@@ -19,20 +19,20 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
-#: ../callbacks.c:302
+#: ../callbacks.c:304
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr "Η είσοδος '%s' είναι άκυρη."
 
-#: ../callbacks.c:340
+#: ../callbacks.c:342
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr "Ο δείκτης '%s' είναι άκυρος."
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
-#: ../shortcuts.c:1089
+#: ../commands.c:531 ../shortcuts.c:486 ../shortcuts.c:1205
+#: ../shortcuts.c:1234
 msgid "No document opened."
 msgstr "Δεν άνοιξε κανένα αρχείο. "
 
@@ -242,150 +242,153 @@ msgid "Horizontally centered zoom"
 msgstr "Μεγένθηση οριζοντίως κεντραρισμένη"
 
 #: ../config.c:189
+msgid "Align link target to the left"
+msgstr ""
+
+#: ../config.c:191
 msgid "Center result horizontally"
 msgstr "Οριζόντιο κεντράρισμα αποτελεσμάτων"
 
-#: ../config.c:191
+#: ../config.c:193
 msgid "Transparency for highlighting"
 msgstr "Διαφάνεια για τονισμό"
 
-#: ../config.c:193
+#: ../config.c:195
 msgid "Render 'Loading ...'"
 msgstr "Εμφάνιση της ένδειξης 'Φορτώνει ...'"
 
-#: ../config.c:194
+#: ../config.c:196
 msgid "Adjust to when opening file"
 msgstr "Προσαρμογή κατά το άνοιγμα του αρχείου"
 
-#: ../config.c:196
+#: ../config.c:198
 msgid "Show hidden files and directories"
 msgstr "Εμφάνιση κρυφών αρχείων και φακέλων"
 
-#: ../config.c:198
+#: ../config.c:200
 msgid "Show directories"
 msgstr "Εμφάνιση καταλόγων"
 
-#: ../config.c:200
+#: ../config.c:202
 msgid "Always open on first page"
 msgstr "Άνοιγμα πάντα στην πρώτη σελίδα"
 
-#: ../config.c:202
+#: ../config.c:204
 msgid "Highlight search results"
 msgstr "Τονισμός αποτελεσμάτων αναζήτησης"
 
-#: ../config.c:204
+#: ../config.c:206
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:206
+#: ../config.c:208
 msgid "Clear search results on abort"
 msgstr "Εκκαθάριση των απολεσμάτων αναζήτησης κατά την διακοπή"
 
-#: ../config.c:208
+#: ../config.c:210
 msgid "Use basename of the file in the window title"
 msgstr "Χρήση του ονόματος του αρχείο στο τίτλο του παραθύρου"
 
-#: ../config.c:210
-#, fuzzy
+#: ../config.c:212
 msgid "Use basename of the file in the statusbar"
-msgstr "Χρήση του ονόματος του αρχείο στο τίτλο του παραθύρου"
+msgstr ""
 
-#: ../config.c:212 ../main.c:64
+#: ../config.c:214 ../main.c:64
 msgid "Enable synctex support"
 msgstr "Ενεργοποίηση υποστήριξης synctex"
 
 #. define default inputbar commands
-#: ../config.c:370
+#: ../config.c:373
 msgid "Add a bookmark"
 msgstr "Προσθήκη σελιδοδείκτη"
 
-#: ../config.c:371
+#: ../config.c:374
 msgid "Delete a bookmark"
 msgstr "Διαγραφή σελιδοδείκτη"
 
-#: ../config.c:372
+#: ../config.c:375
 msgid "List all bookmarks"
 msgstr "Εμφάνιση όλων των σελιδοδεικτών"
 
-#: ../config.c:373
+#: ../config.c:376
 msgid "Close current file"
 msgstr "Κλείσιμο αρχείου"
 
-#: ../config.c:374
+#: ../config.c:377
 msgid "Show file information"
 msgstr "Προβολή πληροφοριών αρχείου"
 
-#: ../config.c:375
+#: ../config.c:378
 msgid "Execute a command"
 msgstr "Εκτέλεση εντολής"
 
-#: ../config.c:376
+#: ../config.c:379
 msgid "Show help"
 msgstr "Εμφάνιση βοήθειας"
 
-#: ../config.c:377
+#: ../config.c:380
 msgid "Open document"
 msgstr "Άνοιγμα αρχείου"
 
-#: ../config.c:378
+#: ../config.c:381
 msgid "Close zathura"
 msgstr "Κλείσιμο"
 
-#: ../config.c:379
+#: ../config.c:382
 msgid "Print document"
 msgstr "Εκτύπωση αρχείου"
 
-#: ../config.c:380
+#: ../config.c:383
 msgid "Save document"
 msgstr "Αποθήκευση αρχείου"
 
-#: ../config.c:381
+#: ../config.c:384
 msgid "Save document (and force overwriting)"
 msgstr "Αποθήκευση αρχείου (και αντικατάσταση)"
 
-#: ../config.c:382
+#: ../config.c:385
 msgid "Save attachments"
 msgstr "Αποθήκευση προσαρτήσεων. "
 
-#: ../config.c:383
+#: ../config.c:386
 msgid "Set page offset"
 msgstr "Ρύθμιση αντιστάθμισης σελίδας"
 
-#: ../config.c:384
+#: ../config.c:387
 msgid "Mark current location within the document"
 msgstr "Επισήμανση τρέχουσας θέσης στο κείμενο"
 
-#: ../config.c:385
+#: ../config.c:388
 msgid "Delete the specified marks"
 msgstr "Διαγραφή επιλεγμένων σημείων"
 
-#: ../config.c:386
+#: ../config.c:389
 msgid "Don't highlight current search results"
 msgstr "Χωρίς τονισμό τα τρέχοντα αποτελέσματα της αναζήτησης"
 
-#: ../config.c:387
+#: ../config.c:390
 msgid "Highlight current search results"
 msgstr "Τονισμός στα τρέχοντα αποτελέσματα της αναζήτησης"
 
-#: ../config.c:388
+#: ../config.c:391
 msgid "Show version information"
 msgstr "Εμφάνιση πληροφοριών έκδοσης"
 
-#: ../links.c:163 ../links.c:242
+#: ../links.c:171 ../links.c:250
 msgid "Failed to run xdg-open."
 msgstr "Απέτυχε η εκτέλεση του xdg-open. "
 
-#: ../links.c:181
+#: ../links.c:189
 #, c-format
 msgid "Link: page %d"
 msgstr ""
 
-#: ../links.c:188
+#: ../links.c:196
 #, c-format
 msgid "Link: %s"
 msgstr ""
 
-#: ../links.c:192
+#: ../links.c:200
 msgid "Link: Invalid"
 msgstr ""
 
@@ -446,21 +449,14 @@ msgstr "Αντιγραφή εικόνας"
 msgid "Save image as"
 msgstr "Αποθήκευση εικόνας ως..."
 
-#: ../shortcuts.c:963
+#: ../shortcuts.c:1108
 msgid "This document does not contain any index"
 msgstr "Το αρχείο δεν περιέχει κανένα δείκτη"
 
-#: ../zathura.c:224 ../zathura.c:953
+#: ../zathura.c:224 ../zathura.c:956
 msgid "[No name]"
 msgstr "[Χωρίς όνομα]"
 
-#: ../zathura.c:587
-#, fuzzy
+#: ../zathura.c:589
 msgid "Document does not contain any pages"
-msgstr "Το αρχείο δεν περιέχει κανένα δείκτη"
-
-#~ msgid "Life time (in seconds) of a hidden page"
-#~ msgstr "Διάρκεια ζωής (σε δευτερόλεπτα) μίας κρυφής σελίδας"
-
-#~ msgid "Amount of seconds between each cache purge"
-#~ msgstr "Αριθμός δευτερολέπτων μεταξύ εκκαθαρίσεων της μνήμης"
+msgstr ""
diff --git a/po/eo.po b/po/eo.po
index f993dc2..d134177 100644
--- a/po/eo.po
+++ b/po/eo.po
@@ -7,8 +7,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-26 12:54+0100\n"
-"PO-Revision-Date: 2012-08-09 13:21+0000\n"
+"POT-Creation-Date: 2013-04-28 13:23+0200\n"
+"PO-Revision-Date: 2013-04-28 14:45+0200\n"
 "Last-Translator: norbux <manelsales@ono.com>\n"
 "Language-Team: Esperanto (http://www.transifex.com/projects/p/zathura/"
 "language/eo/)\n"
@@ -18,20 +18,20 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1)\n"
 
-#: ../callbacks.c:302
+#: ../callbacks.c:304
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr "Nevalida enigo '%s' uzata."
 
-#: ../callbacks.c:340
+#: ../callbacks.c:342
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr "Nevalida indekso '%s' uzata."
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
-#: ../shortcuts.c:1089
+#: ../commands.c:531 ../shortcuts.c:486 ../shortcuts.c:1205
+#: ../shortcuts.c:1234
 msgid "No document opened."
 msgstr "Neniu dokumento malfermita."
 
@@ -239,149 +239,153 @@ msgid "Horizontally centered zoom"
 msgstr ""
 
 #: ../config.c:189
-msgid "Center result horizontally"
+msgid "Align link target to the left"
 msgstr ""
 
 #: ../config.c:191
+msgid "Center result horizontally"
+msgstr ""
+
+#: ../config.c:193
 msgid "Transparency for highlighting"
 msgstr "Travidebleco por fonlumo"
 
-#: ../config.c:193
+#: ../config.c:195
 msgid "Render 'Loading ...'"
 msgstr "Bildigu 'Ŝargado ...'"
 
-#: ../config.c:194
+#: ../config.c:196
 msgid "Adjust to when opening file"
 msgstr "Adaptaĵo ĉe malfermo de dosiero"
 
-#: ../config.c:196
+#: ../config.c:198
 msgid "Show hidden files and directories"
 msgstr "Montru kaŝitajn dosierojn kaj -ujojn"
 
-#: ../config.c:198
+#: ../config.c:200
 msgid "Show directories"
 msgstr "Montru dosierujojn"
 
-#: ../config.c:200
+#: ../config.c:202
 msgid "Always open on first page"
 msgstr "Ĉiam malfermu ĉe unua paĝo"
 
-#: ../config.c:202
+#: ../config.c:204
 msgid "Highlight search results"
 msgstr ""
 
-#: ../config.c:204
+#: ../config.c:206
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:206
+#: ../config.c:208
 msgid "Clear search results on abort"
 msgstr ""
 
-#: ../config.c:208
+#: ../config.c:210
 msgid "Use basename of the file in the window title"
 msgstr ""
 
-#: ../config.c:210
+#: ../config.c:212
 msgid "Use basename of the file in the statusbar"
 msgstr ""
 
-#: ../config.c:212 ../main.c:64
+#: ../config.c:214 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:370
+#: ../config.c:373
 msgid "Add a bookmark"
 msgstr "Aldonu paĝosignon"
 
-#: ../config.c:371
+#: ../config.c:374
 msgid "Delete a bookmark"
 msgstr "Forigu paĝosignon"
 
-#: ../config.c:372
+#: ../config.c:375
 msgid "List all bookmarks"
 msgstr "Listigu ĉiujn paĝosignojn"
 
-#: ../config.c:373
+#: ../config.c:376
 msgid "Close current file"
 msgstr "Fermu nunan dosieron"
 
-#: ../config.c:374
+#: ../config.c:377
 msgid "Show file information"
 msgstr "Montru dosiera informacio"
 
-#: ../config.c:375
+#: ../config.c:378
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:376
+#: ../config.c:379
 msgid "Show help"
 msgstr "Montru helpon"
 
-#: ../config.c:377
+#: ../config.c:380
 msgid "Open document"
 msgstr "Malfermu dokumenton"
 
-#: ../config.c:378
+#: ../config.c:381
 msgid "Close zathura"
 msgstr "Fermu zathura"
 
-#: ../config.c:379
+#: ../config.c:382
 msgid "Print document"
 msgstr "Presu dokumenton"
 
-#: ../config.c:380
+#: ../config.c:383
 msgid "Save document"
 msgstr "Konservu dokumenton"
 
-#: ../config.c:381
+#: ../config.c:384
 msgid "Save document (and force overwriting)"
 msgstr "Konservu dokumenton (deviga anstataŭo)"
 
-#: ../config.c:382
+#: ../config.c:385
 msgid "Save attachments"
 msgstr "Konservu kunsendaĵojn"
 
-#: ../config.c:383
+#: ../config.c:386
 msgid "Set page offset"
 msgstr "Agordu paĝdelokado"
 
-#: ../config.c:384
+#: ../config.c:387
 msgid "Mark current location within the document"
 msgstr ""
 
-#: ../config.c:385
+#: ../config.c:388
 msgid "Delete the specified marks"
 msgstr ""
 
-#: ../config.c:386
+#: ../config.c:389
 msgid "Don't highlight current search results"
 msgstr ""
 
-#: ../config.c:387
+#: ../config.c:390
 msgid "Highlight current search results"
 msgstr ""
 
-#: ../config.c:388
+#: ../config.c:391
 msgid "Show version information"
 msgstr ""
 
-#: ../links.c:163 ../links.c:242
+#: ../links.c:171 ../links.c:250
 msgid "Failed to run xdg-open."
 msgstr "Fiaskis iro de xdg-open"
 
-#: ../links.c:181
+#: ../links.c:189
 #, c-format
 msgid "Link: page %d"
 msgstr ""
 
-#: ../links.c:188
+#: ../links.c:196
 #, c-format
 msgid "Link: %s"
 msgstr ""
 
-#: ../links.c:192
+#: ../links.c:200
 msgid "Link: Invalid"
 msgstr ""
 
@@ -442,21 +446,14 @@ msgstr "Kopiu bildon"
 msgid "Save image as"
 msgstr "Savi bildojn kiel"
 
-#: ../shortcuts.c:963
+#: ../shortcuts.c:1108
 msgid "This document does not contain any index"
 msgstr "Ĉi-tiu dokumento enhavas neniam indekson."
 
-#: ../zathura.c:224 ../zathura.c:953
+#: ../zathura.c:224 ../zathura.c:956
 msgid "[No name]"
 msgstr "[Neniu nomo]"
 
-#: ../zathura.c:587
-#, fuzzy
+#: ../zathura.c:589
 msgid "Document does not contain any pages"
-msgstr "Ĉi-tiu dokumento enhavas neniam indekson."
-
-#~ msgid "Life time (in seconds) of a hidden page"
-#~ msgstr "Vivdaŭro (sekunda) de kaŝita paĝo"
-
-#~ msgid "Amount of seconds between each cache purge"
-#~ msgstr "Nombro da sekundoj inter repurigo de kaŝmemoro"
+msgstr ""
diff --git a/po/es.po b/po/es.po
index 2bddfb8..91d5f2e 100644
--- a/po/es.po
+++ b/po/es.po
@@ -6,8 +6,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-26 12:54+0100\n"
-"PO-Revision-Date: 2012-04-03 15:25+0000\n"
+"POT-Creation-Date: 2013-04-28 13:23+0200\n"
+"PO-Revision-Date: 2013-04-28 14:45+0200\n"
 "Last-Translator: Moritz Lipp <mlq@pwmt.org>\n"
 "Language-Team: Spanish (Castilian) (http://www.transifex.net/projects/p/"
 "zathura/language/es/)\n"
@@ -17,20 +17,20 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1)\n"
 
-#: ../callbacks.c:302
+#: ../callbacks.c:304
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr "Entrada inválida: '%s'."
 
-#: ../callbacks.c:340
+#: ../callbacks.c:342
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr "Índice invalido: '%s'."
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
-#: ../shortcuts.c:1089
+#: ../commands.c:531 ../shortcuts.c:486 ../shortcuts.c:1205
+#: ../shortcuts.c:1234
 msgid "No document opened."
 msgstr "Ningún documento abierto."
 
@@ -240,150 +240,153 @@ msgid "Horizontally centered zoom"
 msgstr "Zoom centrado horizontalmente"
 
 #: ../config.c:189
+msgid "Align link target to the left"
+msgstr ""
+
+#: ../config.c:191
 msgid "Center result horizontally"
 msgstr "Centrar el resultado horizontalmente"
 
-#: ../config.c:191
+#: ../config.c:193
 msgid "Transparency for highlighting"
 msgstr "Transparencia para el destacado"
 
-#: ../config.c:193
+#: ../config.c:195
 msgid "Render 'Loading ...'"
 msgstr "Renderizado 'Cargando ...'"
 
-#: ../config.c:194
+#: ../config.c:196
 msgid "Adjust to when opening file"
 msgstr "Ajustarse al abrir un fichero"
 
-#: ../config.c:196
+#: ../config.c:198
 msgid "Show hidden files and directories"
 msgstr "Mostrar directorios y ficheros ocultos"
 
-#: ../config.c:198
+#: ../config.c:200
 msgid "Show directories"
 msgstr "Mostrar directorios"
 
-#: ../config.c:200
+#: ../config.c:202
 msgid "Always open on first page"
 msgstr "Abrir siempre la primera página"
 
-#: ../config.c:202
+#: ../config.c:204
 msgid "Highlight search results"
 msgstr "Destacar los resultados de búsqueda"
 
-#: ../config.c:204
+#: ../config.c:206
 msgid "Enable incremental search"
 msgstr "Habilitar la búsqueda incremental"
 
-#: ../config.c:206
+#: ../config.c:208
 msgid "Clear search results on abort"
 msgstr "Borrar resultados de búsqueda al abortar"
 
-#: ../config.c:208
+#: ../config.c:210
 msgid "Use basename of the file in the window title"
 msgstr "Usar el nombre del archivo en el título de la ventana"
 
-#: ../config.c:210
-#, fuzzy
+#: ../config.c:212
 msgid "Use basename of the file in the statusbar"
-msgstr "Usar el nombre del archivo en el título de la ventana"
+msgstr ""
 
-#: ../config.c:212 ../main.c:64
+#: ../config.c:214 ../main.c:64
 msgid "Enable synctex support"
 msgstr "Habilitar soporte synctex"
 
 #. define default inputbar commands
-#: ../config.c:370
+#: ../config.c:373
 msgid "Add a bookmark"
 msgstr "Añadir Favorito"
 
-#: ../config.c:371
+#: ../config.c:374
 msgid "Delete a bookmark"
 msgstr "Eliminar Favorito"
 
-#: ../config.c:372
+#: ../config.c:375
 msgid "List all bookmarks"
 msgstr "Listar favoritos"
 
-#: ../config.c:373
+#: ../config.c:376
 msgid "Close current file"
 msgstr "Cerrar fichero actual"
 
-#: ../config.c:374
+#: ../config.c:377
 msgid "Show file information"
 msgstr "Mostrar información del fichero"
 
-#: ../config.c:375
+#: ../config.c:378
 msgid "Execute a command"
 msgstr "Ejecutar un comando"
 
-#: ../config.c:376
+#: ../config.c:379
 msgid "Show help"
 msgstr "Mostrar ayuda"
 
-#: ../config.c:377
+#: ../config.c:380
 msgid "Open document"
 msgstr "Abrir documento"
 
-#: ../config.c:378
+#: ../config.c:381
 msgid "Close zathura"
 msgstr "Salir de zathura"
 
-#: ../config.c:379
+#: ../config.c:382
 msgid "Print document"
 msgstr "Imprimir documento"
 
-#: ../config.c:380
+#: ../config.c:383
 msgid "Save document"
 msgstr "Guardar documento"
 
-#: ../config.c:381
+#: ../config.c:384
 msgid "Save document (and force overwriting)"
 msgstr "Guardar documento (y sobreescribir)"
 
-#: ../config.c:382
+#: ../config.c:385
 msgid "Save attachments"
 msgstr "Guardar ficheros adjuntos"
 
-#: ../config.c:383
+#: ../config.c:386
 msgid "Set page offset"
 msgstr "Asignar el desplazamiento de página"
 
-#: ../config.c:384
+#: ../config.c:387
 msgid "Mark current location within the document"
 msgstr "Marcar la posición actual en el documento"
 
-#: ../config.c:385
+#: ../config.c:388
 msgid "Delete the specified marks"
 msgstr "Borrar las marcas especificadas"
 
-#: ../config.c:386
+#: ../config.c:389
 msgid "Don't highlight current search results"
 msgstr "No destacar los resultados de la búsqueda actual"
 
-#: ../config.c:387
+#: ../config.c:390
 msgid "Highlight current search results"
 msgstr "Destacar los resultados de la búsqueda actual"
 
-#: ../config.c:388
+#: ../config.c:391
 msgid "Show version information"
 msgstr "Mostrar versión"
 
-#: ../links.c:163 ../links.c:242
+#: ../links.c:171 ../links.c:250
 msgid "Failed to run xdg-open."
 msgstr "Error al tratar de ejecutar xdg-open"
 
-#: ../links.c:181
+#: ../links.c:189
 #, c-format
 msgid "Link: page %d"
 msgstr ""
 
-#: ../links.c:188
+#: ../links.c:196
 #, c-format
 msgid "Link: %s"
 msgstr ""
 
-#: ../links.c:192
+#: ../links.c:200
 msgid "Link: Invalid"
 msgstr ""
 
@@ -444,21 +447,14 @@ msgstr "Copiar imagen"
 msgid "Save image as"
 msgstr "Salvar imagen como"
 
-#: ../shortcuts.c:963
+#: ../shortcuts.c:1108
 msgid "This document does not contain any index"
 msgstr "Este documento no contiene ningún índice"
 
-#: ../zathura.c:224 ../zathura.c:953
+#: ../zathura.c:224 ../zathura.c:956
 msgid "[No name]"
 msgstr "[Sin nombre]"
 
-#: ../zathura.c:587
-#, fuzzy
+#: ../zathura.c:589
 msgid "Document does not contain any pages"
-msgstr "Este documento no contiene ningún índice"
-
-#~ msgid "Life time (in seconds) of a hidden page"
-#~ msgstr "Tiempo de vida (en segundos) de una página oculta"
-
-#~ msgid "Amount of seconds between each cache purge"
-#~ msgstr "Cantidad de segundos entre limpieza de caché"
+msgstr ""
diff --git a/po/es_CL.po b/po/es_CL.po
index 4411a29..a4c558c 100644
--- a/po/es_CL.po
+++ b/po/es_CL.po
@@ -7,8 +7,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-26 12:54+0100\n"
-"PO-Revision-Date: 2012-04-03 15:26+0000\n"
+"POT-Creation-Date: 2013-04-28 13:23+0200\n"
+"PO-Revision-Date: 2013-04-28 14:45+0200\n"
 "Last-Translator: watsh1ken <wat.sh1ken@gmail.com>\n"
 "Language-Team: Spanish (Chile) (http://www.transifex.net/projects/p/zathura/"
 "language/es_CL/)\n"
@@ -18,20 +18,20 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1)\n"
 
-#: ../callbacks.c:302
+#: ../callbacks.c:304
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr "Entrada inválida: '%s'."
 
-#: ../callbacks.c:340
+#: ../callbacks.c:342
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr "Índice invalido: '%s'."
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
-#: ../shortcuts.c:1089
+#: ../commands.c:531 ../shortcuts.c:486 ../shortcuts.c:1205
+#: ../shortcuts.c:1234
 msgid "No document opened."
 msgstr "Ningún documento abierto."
 
@@ -239,149 +239,153 @@ msgid "Horizontally centered zoom"
 msgstr ""
 
 #: ../config.c:189
-msgid "Center result horizontally"
+msgid "Align link target to the left"
 msgstr ""
 
 #: ../config.c:191
+msgid "Center result horizontally"
+msgstr ""
+
+#: ../config.c:193
 msgid "Transparency for highlighting"
 msgstr "Transparencia para lo destacado"
 
-#: ../config.c:193
+#: ../config.c:195
 msgid "Render 'Loading ...'"
 msgstr "Renderizando 'Cargando...'"
 
-#: ../config.c:194
+#: ../config.c:196
 msgid "Adjust to when opening file"
 msgstr "Ajustar al abrirse un archivo"
 
-#: ../config.c:196
+#: ../config.c:198
 msgid "Show hidden files and directories"
 msgstr "Mostrar archivos ocultos y directorios"
 
-#: ../config.c:198
+#: ../config.c:200
 msgid "Show directories"
 msgstr "Mostrar directorios"
 
-#: ../config.c:200
+#: ../config.c:202
 msgid "Always open on first page"
 msgstr "Siempre abrir en primera página"
 
-#: ../config.c:202
+#: ../config.c:204
 msgid "Highlight search results"
 msgstr ""
 
-#: ../config.c:204
+#: ../config.c:206
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:206
+#: ../config.c:208
 msgid "Clear search results on abort"
 msgstr ""
 
-#: ../config.c:208
+#: ../config.c:210
 msgid "Use basename of the file in the window title"
 msgstr ""
 
-#: ../config.c:210
+#: ../config.c:212
 msgid "Use basename of the file in the statusbar"
 msgstr ""
 
-#: ../config.c:212 ../main.c:64
+#: ../config.c:214 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:370
+#: ../config.c:373
 msgid "Add a bookmark"
 msgstr "Agregar un marcador"
 
-#: ../config.c:371
+#: ../config.c:374
 msgid "Delete a bookmark"
 msgstr "Eliminar un marcador"
 
-#: ../config.c:372
+#: ../config.c:375
 msgid "List all bookmarks"
 msgstr "Listar todos los marcadores"
 
-#: ../config.c:373
+#: ../config.c:376
 msgid "Close current file"
 msgstr "Cerrar archivo actual"
 
-#: ../config.c:374
+#: ../config.c:377
 msgid "Show file information"
 msgstr "Mostrar información del archivo"
 
-#: ../config.c:375
+#: ../config.c:378
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:376
+#: ../config.c:379
 msgid "Show help"
 msgstr "Mostrar ayuda"
 
-#: ../config.c:377
+#: ../config.c:380
 msgid "Open document"
 msgstr "Abrir documento"
 
-#: ../config.c:378
+#: ../config.c:381
 msgid "Close zathura"
 msgstr "Cerrar zathura"
 
-#: ../config.c:379
+#: ../config.c:382
 msgid "Print document"
 msgstr "Imprimir documento"
 
-#: ../config.c:380
+#: ../config.c:383
 msgid "Save document"
 msgstr "Guardar documento"
 
-#: ../config.c:381
+#: ../config.c:384
 msgid "Save document (and force overwriting)"
 msgstr "Guardar documento (y forzar sobreescritura)"
 
-#: ../config.c:382
+#: ../config.c:385
 msgid "Save attachments"
 msgstr "Guardar archivos adjuntos"
 
-#: ../config.c:383
+#: ../config.c:386
 msgid "Set page offset"
 msgstr "Asignar desplazamiento de la página"
 
-#: ../config.c:384
+#: ../config.c:387
 msgid "Mark current location within the document"
 msgstr ""
 
-#: ../config.c:385
+#: ../config.c:388
 msgid "Delete the specified marks"
 msgstr ""
 
-#: ../config.c:386
+#: ../config.c:389
 msgid "Don't highlight current search results"
 msgstr ""
 
-#: ../config.c:387
+#: ../config.c:390
 msgid "Highlight current search results"
 msgstr ""
 
-#: ../config.c:388
+#: ../config.c:391
 msgid "Show version information"
 msgstr ""
 
-#: ../links.c:163 ../links.c:242
+#: ../links.c:171 ../links.c:250
 msgid "Failed to run xdg-open."
 msgstr "Error al ejecutar xdg-open."
 
-#: ../links.c:181
+#: ../links.c:189
 #, c-format
 msgid "Link: page %d"
 msgstr ""
 
-#: ../links.c:188
+#: ../links.c:196
 #, c-format
 msgid "Link: %s"
 msgstr ""
 
-#: ../links.c:192
+#: ../links.c:200
 msgid "Link: Invalid"
 msgstr ""
 
@@ -442,19 +446,14 @@ msgstr "Copiar imagen"
 msgid "Save image as"
 msgstr ""
 
-#: ../shortcuts.c:963
+#: ../shortcuts.c:1108
 msgid "This document does not contain any index"
 msgstr "Este document no contiene índice"
 
-#: ../zathura.c:224 ../zathura.c:953
+#: ../zathura.c:224 ../zathura.c:956
 msgid "[No name]"
 msgstr "[Sin nombre]"
 
-#: ../zathura.c:587
-#, fuzzy
+#: ../zathura.c:589
 msgid "Document does not contain any pages"
-msgstr "Este document no contiene índice"
-
-#~ msgid "Amount of seconds between each cache purge"
-#~ msgstr ""
-#~ "Cantidad de segundos entre las comprobaciones de las páginas invisibles"
+msgstr ""
diff --git a/po/et.po b/po/et.po
index f82864e..59fb30b 100644
--- a/po/et.po
+++ b/po/et.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-26 12:54+0100\n"
+"POT-Creation-Date: 2013-04-28 13:23+0200\n"
 "PO-Revision-Date: 2012-04-03 15:25+0000\n"
 "Last-Translator: Rivo Zängov <eraser@eraser.ee>\n"
 "Language-Team: Estonian (http://www.transifex.net/projects/p/zathura/"
@@ -18,20 +18,20 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1)\n"
 
-#: ../callbacks.c:302
+#: ../callbacks.c:304
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr ""
 
-#: ../callbacks.c:340
+#: ../callbacks.c:342
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr ""
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
-#: ../shortcuts.c:1089
+#: ../commands.c:531 ../shortcuts.c:486 ../shortcuts.c:1205
+#: ../shortcuts.c:1234
 msgid "No document opened."
 msgstr ""
 
@@ -239,149 +239,153 @@ msgid "Horizontally centered zoom"
 msgstr ""
 
 #: ../config.c:189
-msgid "Center result horizontally"
+msgid "Align link target to the left"
 msgstr ""
 
 #: ../config.c:191
-msgid "Transparency for highlighting"
+msgid "Center result horizontally"
 msgstr ""
 
 #: ../config.c:193
+msgid "Transparency for highlighting"
+msgstr ""
+
+#: ../config.c:195
 msgid "Render 'Loading ...'"
 msgstr ""
 
-#: ../config.c:194
+#: ../config.c:196
 msgid "Adjust to when opening file"
 msgstr ""
 
-#: ../config.c:196
+#: ../config.c:198
 msgid "Show hidden files and directories"
 msgstr ""
 
-#: ../config.c:198
+#: ../config.c:200
 msgid "Show directories"
 msgstr "Näita kaustasid"
 
-#: ../config.c:200
+#: ../config.c:202
 msgid "Always open on first page"
 msgstr "Ava alati esimene leht"
 
-#: ../config.c:202
+#: ../config.c:204
 msgid "Highlight search results"
 msgstr ""
 
-#: ../config.c:204
+#: ../config.c:206
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:206
+#: ../config.c:208
 msgid "Clear search results on abort"
 msgstr ""
 
-#: ../config.c:208
+#: ../config.c:210
 msgid "Use basename of the file in the window title"
 msgstr ""
 
-#: ../config.c:210
+#: ../config.c:212
 msgid "Use basename of the file in the statusbar"
 msgstr ""
 
-#: ../config.c:212 ../main.c:64
+#: ../config.c:214 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:370
+#: ../config.c:373
 msgid "Add a bookmark"
 msgstr "Lisa järjehoidja"
 
-#: ../config.c:371
+#: ../config.c:374
 msgid "Delete a bookmark"
 msgstr "Kustuta järjehoidja"
 
-#: ../config.c:372
+#: ../config.c:375
 msgid "List all bookmarks"
 msgstr "Näita kõiki järjehoidjaid"
 
-#: ../config.c:373
+#: ../config.c:376
 msgid "Close current file"
 msgstr "Sulge praegune fail"
 
-#: ../config.c:374
+#: ../config.c:377
 msgid "Show file information"
 msgstr "Näita faili infot"
 
-#: ../config.c:375
+#: ../config.c:378
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:376
+#: ../config.c:379
 msgid "Show help"
 msgstr "Näita abiinfot"
 
-#: ../config.c:377
+#: ../config.c:380
 msgid "Open document"
 msgstr "Ava dokument"
 
-#: ../config.c:378
+#: ../config.c:381
 msgid "Close zathura"
 msgstr "Sule zathura"
 
-#: ../config.c:379
+#: ../config.c:382
 msgid "Print document"
 msgstr "Prindi dokument"
 
-#: ../config.c:380
+#: ../config.c:383
 msgid "Save document"
 msgstr "Salvesta dokument"
 
-#: ../config.c:381
+#: ../config.c:384
 msgid "Save document (and force overwriting)"
 msgstr ""
 
-#: ../config.c:382
+#: ../config.c:385
 msgid "Save attachments"
 msgstr "Salvesta manused"
 
-#: ../config.c:383
+#: ../config.c:386
 msgid "Set page offset"
 msgstr ""
 
-#: ../config.c:384
+#: ../config.c:387
 msgid "Mark current location within the document"
 msgstr ""
 
-#: ../config.c:385
+#: ../config.c:388
 msgid "Delete the specified marks"
 msgstr ""
 
-#: ../config.c:386
+#: ../config.c:389
 msgid "Don't highlight current search results"
 msgstr ""
 
-#: ../config.c:387
+#: ../config.c:390
 msgid "Highlight current search results"
 msgstr ""
 
-#: ../config.c:388
+#: ../config.c:391
 msgid "Show version information"
 msgstr ""
 
-#: ../links.c:163 ../links.c:242
+#: ../links.c:171 ../links.c:250
 msgid "Failed to run xdg-open."
 msgstr ""
 
-#: ../links.c:181
+#: ../links.c:189
 #, c-format
 msgid "Link: page %d"
 msgstr ""
 
-#: ../links.c:188
+#: ../links.c:196
 #, c-format
 msgid "Link: %s"
 msgstr ""
 
-#: ../links.c:192
+#: ../links.c:200
 msgid "Link: Invalid"
 msgstr ""
 
@@ -442,14 +446,14 @@ msgstr "Kopeeri pilt"
 msgid "Save image as"
 msgstr ""
 
-#: ../shortcuts.c:963
+#: ../shortcuts.c:1108
 msgid "This document does not contain any index"
 msgstr ""
 
-#: ../zathura.c:224 ../zathura.c:953
+#: ../zathura.c:224 ../zathura.c:956
 msgid "[No name]"
 msgstr "[Nime pole]"
 
-#: ../zathura.c:587
+#: ../zathura.c:589
 msgid "Document does not contain any pages"
 msgstr ""
diff --git a/po/fr.po b/po/fr.po
index 5ec4da4..272d5b8 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -10,7 +10,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-26 12:54+0100\n"
+"POT-Creation-Date: 2013-04-28 13:23+0200\n"
 "PO-Revision-Date: 2013-03-17 11:30+0100\n"
 "Last-Translator: Benoît Knecht <benoit.knecht@fsfe.org>\n"
 "Language-Team: French (http://www.transifex.com/projects/p/zathura/language/"
@@ -21,20 +21,20 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
 
-#: ../callbacks.c:302
+#: ../callbacks.c:304
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr "Entrée invalide : '%s'"
 
-#: ../callbacks.c:340
+#: ../callbacks.c:342
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr "Index invalide : '%s'"
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
-#: ../shortcuts.c:1089
+#: ../commands.c:531 ../shortcuts.c:486 ../shortcuts.c:1205
+#: ../shortcuts.c:1234
 msgid "No document opened."
 msgstr "Aucun document ouvert."
 
@@ -244,149 +244,153 @@ msgid "Horizontally centered zoom"
 msgstr "Zoom centré horizontalement"
 
 #: ../config.c:189
+msgid "Align link target to the left"
+msgstr ""
+
+#: ../config.c:191
 msgid "Center result horizontally"
 msgstr "Centrer le résultat horizontalement"
 
-#: ../config.c:191
+#: ../config.c:193
 msgid "Transparency for highlighting"
 msgstr "Transparence de la surbrillance"
 
-#: ../config.c:193
+#: ../config.c:195
 msgid "Render 'Loading ...'"
 msgstr "Afficher 'Chargement...'"
 
-#: ../config.c:194
+#: ../config.c:196
 msgid "Adjust to when opening file"
 msgstr "Ajuster à l'ouverture du fichier"
 
-#: ../config.c:196
+#: ../config.c:198
 msgid "Show hidden files and directories"
 msgstr "Montrer les fichiers et dossiers cachés"
 
-#: ../config.c:198
+#: ../config.c:200
 msgid "Show directories"
 msgstr "Montrer les dossiers"
 
-#: ../config.c:200
+#: ../config.c:202
 msgid "Always open on first page"
 msgstr "Toujours ouvrir à la première page"
 
-#: ../config.c:202
+#: ../config.c:204
 msgid "Highlight search results"
 msgstr "Surligner les résultats de la recherche"
 
-#: ../config.c:204
+#: ../config.c:206
 msgid "Enable incremental search"
 msgstr "Activer la recherche incrémentale"
 
-#: ../config.c:206
+#: ../config.c:208
 msgid "Clear search results on abort"
 msgstr "Effacer les résultats de recherche en cas d'annulation"
 
-#: ../config.c:208
+#: ../config.c:210
 msgid "Use basename of the file in the window title"
 msgstr "Utiliser le nom de base du fichier dans le titre de la fenêtre"
 
-#: ../config.c:210
+#: ../config.c:212
 msgid "Use basename of the file in the statusbar"
 msgstr "Utiliser le nom de base du fichier dans la barre d'état"
 
-#: ../config.c:212 ../main.c:64
+#: ../config.c:214 ../main.c:64
 msgid "Enable synctex support"
 msgstr "Activer la prise en charge de synctex"
 
 #. define default inputbar commands
-#: ../config.c:370
+#: ../config.c:373
 msgid "Add a bookmark"
 msgstr "Ajouter un marque-page"
 
-#: ../config.c:371
+#: ../config.c:374
 msgid "Delete a bookmark"
 msgstr "Supprimer un marque-page"
 
-#: ../config.c:372
+#: ../config.c:375
 msgid "List all bookmarks"
 msgstr "Lister tous les marque-pages"
 
-#: ../config.c:373
+#: ../config.c:376
 msgid "Close current file"
 msgstr "Fermer le fichier actuel"
 
-#: ../config.c:374
+#: ../config.c:377
 msgid "Show file information"
 msgstr "Montrer les informations sur le fichier"
 
-#: ../config.c:375
+#: ../config.c:378
 msgid "Execute a command"
 msgstr "Exécuter une commande"
 
-#: ../config.c:376
+#: ../config.c:379
 msgid "Show help"
 msgstr "Afficher l'aide"
 
-#: ../config.c:377
+#: ../config.c:380
 msgid "Open document"
 msgstr "Ouvrir un document"
 
-#: ../config.c:378
+#: ../config.c:381
 msgid "Close zathura"
 msgstr "Quitter zathura"
 
-#: ../config.c:379
+#: ../config.c:382
 msgid "Print document"
 msgstr "Imprimer le document"
 
-#: ../config.c:380
+#: ../config.c:383
 msgid "Save document"
 msgstr "Sauver le document"
 
-#: ../config.c:381
+#: ../config.c:384
 msgid "Save document (and force overwriting)"
 msgstr "Sauver le document (et forcer l'écrasement)"
 
-#: ../config.c:382
+#: ../config.c:385
 msgid "Save attachments"
 msgstr "Enregistrer les pièces jointes"
 
-#: ../config.c:383
+#: ../config.c:386
 msgid "Set page offset"
 msgstr "Définir le décalage de page"
 
-#: ../config.c:384
+#: ../config.c:387
 msgid "Mark current location within the document"
 msgstr "Marquer l'emplacement actuel dans le document"
 
-#: ../config.c:385
+#: ../config.c:388
 msgid "Delete the specified marks"
 msgstr "Supprimer les marques indiquées"
 
-#: ../config.c:386
+#: ../config.c:389
 msgid "Don't highlight current search results"
 msgstr "Ne pas surligner les résultats de la recherche en cours"
 
-#: ../config.c:387
+#: ../config.c:390
 msgid "Highlight current search results"
 msgstr "Surligner les résultats de la recherche en cours"
 
-#: ../config.c:388
+#: ../config.c:391
 msgid "Show version information"
 msgstr "Afficher les informations de version"
 
-#: ../links.c:163 ../links.c:242
+#: ../links.c:171 ../links.c:250
 msgid "Failed to run xdg-open."
 msgstr "Échec lors du lancement de xdg-open."
 
-#: ../links.c:181
+#: ../links.c:189
 #, c-format
 msgid "Link: page %d"
 msgstr "Lien : page %d"
 
-#: ../links.c:188
+#: ../links.c:196
 #, c-format
 msgid "Link: %s"
 msgstr "Lien : %s"
 
-#: ../links.c:192
+#: ../links.c:200
 msgid "Link: Invalid"
 msgstr "Lien : Invalide"
 
@@ -447,15 +451,15 @@ msgstr "Copier l'image"
 msgid "Save image as"
 msgstr "Enregistrer l'image sous"
 
-#: ../shortcuts.c:963
+#: ../shortcuts.c:1108
 msgid "This document does not contain any index"
 msgstr "Ce document ne contient pas d'index"
 
-#: ../zathura.c:224 ../zathura.c:953
+#: ../zathura.c:224 ../zathura.c:956
 msgid "[No name]"
 msgstr "[Sans nom]"
 
-#: ../zathura.c:587
+#: ../zathura.c:589
 msgid "Document does not contain any pages"
 msgstr "Ce document ne contient aucune page"
 
diff --git a/po/he.po b/po/he.po
index 51c7ac4..11da2e3 100644
--- a/po/he.po
+++ b/po/he.po
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-26 12:54+0100\n"
+"POT-Creation-Date: 2013-04-28 13:23+0200\n"
 "PO-Revision-Date: 2013-01-13 14:12+0000\n"
 "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
 "Language-Team: Hebrew (http://www.transifex.com/projects/p/zathura/language/"
@@ -17,20 +17,20 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
-#: ../callbacks.c:302
+#: ../callbacks.c:304
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr ""
 
-#: ../callbacks.c:340
+#: ../callbacks.c:342
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr ""
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
-#: ../shortcuts.c:1089
+#: ../commands.c:531 ../shortcuts.c:486 ../shortcuts.c:1205
+#: ../shortcuts.c:1234
 msgid "No document opened."
 msgstr ""
 
@@ -238,149 +238,153 @@ msgid "Horizontally centered zoom"
 msgstr ""
 
 #: ../config.c:189
-msgid "Center result horizontally"
+msgid "Align link target to the left"
 msgstr ""
 
 #: ../config.c:191
-msgid "Transparency for highlighting"
+msgid "Center result horizontally"
 msgstr ""
 
 #: ../config.c:193
+msgid "Transparency for highlighting"
+msgstr ""
+
+#: ../config.c:195
 msgid "Render 'Loading ...'"
 msgstr ""
 
-#: ../config.c:194
+#: ../config.c:196
 msgid "Adjust to when opening file"
 msgstr ""
 
-#: ../config.c:196
+#: ../config.c:198
 msgid "Show hidden files and directories"
 msgstr ""
 
-#: ../config.c:198
+#: ../config.c:200
 msgid "Show directories"
 msgstr ""
 
-#: ../config.c:200
+#: ../config.c:202
 msgid "Always open on first page"
 msgstr ""
 
-#: ../config.c:202
+#: ../config.c:204
 msgid "Highlight search results"
 msgstr ""
 
-#: ../config.c:204
+#: ../config.c:206
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:206
+#: ../config.c:208
 msgid "Clear search results on abort"
 msgstr ""
 
-#: ../config.c:208
+#: ../config.c:210
 msgid "Use basename of the file in the window title"
 msgstr ""
 
-#: ../config.c:210
+#: ../config.c:212
 msgid "Use basename of the file in the statusbar"
 msgstr ""
 
-#: ../config.c:212 ../main.c:64
+#: ../config.c:214 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:370
+#: ../config.c:373
 msgid "Add a bookmark"
 msgstr ""
 
-#: ../config.c:371
+#: ../config.c:374
 msgid "Delete a bookmark"
 msgstr ""
 
-#: ../config.c:372
+#: ../config.c:375
 msgid "List all bookmarks"
 msgstr ""
 
-#: ../config.c:373
+#: ../config.c:376
 msgid "Close current file"
 msgstr ""
 
-#: ../config.c:374
+#: ../config.c:377
 msgid "Show file information"
 msgstr ""
 
-#: ../config.c:375
+#: ../config.c:378
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:376
+#: ../config.c:379
 msgid "Show help"
 msgstr ""
 
-#: ../config.c:377
+#: ../config.c:380
 msgid "Open document"
 msgstr ""
 
-#: ../config.c:378
+#: ../config.c:381
 msgid "Close zathura"
 msgstr ""
 
-#: ../config.c:379
+#: ../config.c:382
 msgid "Print document"
 msgstr ""
 
-#: ../config.c:380
+#: ../config.c:383
 msgid "Save document"
 msgstr ""
 
-#: ../config.c:381
+#: ../config.c:384
 msgid "Save document (and force overwriting)"
 msgstr ""
 
-#: ../config.c:382
+#: ../config.c:385
 msgid "Save attachments"
 msgstr ""
 
-#: ../config.c:383
+#: ../config.c:386
 msgid "Set page offset"
 msgstr ""
 
-#: ../config.c:384
+#: ../config.c:387
 msgid "Mark current location within the document"
 msgstr ""
 
-#: ../config.c:385
+#: ../config.c:388
 msgid "Delete the specified marks"
 msgstr ""
 
-#: ../config.c:386
+#: ../config.c:389
 msgid "Don't highlight current search results"
 msgstr ""
 
-#: ../config.c:387
+#: ../config.c:390
 msgid "Highlight current search results"
 msgstr ""
 
-#: ../config.c:388
+#: ../config.c:391
 msgid "Show version information"
 msgstr ""
 
-#: ../links.c:163 ../links.c:242
+#: ../links.c:171 ../links.c:250
 msgid "Failed to run xdg-open."
 msgstr ""
 
-#: ../links.c:181
+#: ../links.c:189
 #, c-format
 msgid "Link: page %d"
 msgstr ""
 
-#: ../links.c:188
+#: ../links.c:196
 #, c-format
 msgid "Link: %s"
 msgstr ""
 
-#: ../links.c:192
+#: ../links.c:200
 msgid "Link: Invalid"
 msgstr ""
 
@@ -441,14 +445,14 @@ msgstr ""
 msgid "Save image as"
 msgstr ""
 
-#: ../shortcuts.c:963
+#: ../shortcuts.c:1108
 msgid "This document does not contain any index"
 msgstr ""
 
-#: ../zathura.c:224 ../zathura.c:953
+#: ../zathura.c:224 ../zathura.c:956
 msgid "[No name]"
 msgstr ""
 
-#: ../zathura.c:587
+#: ../zathura.c:589
 msgid "Document does not contain any pages"
 msgstr ""
diff --git a/po/hr.po b/po/hr.po
index c116682..98957a3 100644
--- a/po/hr.po
+++ b/po/hr.po
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-26 12:54+0100\n"
+"POT-Creation-Date: 2013-04-28 13:23+0200\n"
 "PO-Revision-Date: 2013-01-13 14:12+0000\n"
 "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
 "Language-Team: Croatian (http://www.transifex.com/projects/p/zathura/"
@@ -18,20 +18,20 @@ msgstr ""
 "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
 "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
 
-#: ../callbacks.c:302
+#: ../callbacks.c:304
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr ""
 
-#: ../callbacks.c:340
+#: ../callbacks.c:342
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr ""
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
-#: ../shortcuts.c:1089
+#: ../commands.c:531 ../shortcuts.c:486 ../shortcuts.c:1205
+#: ../shortcuts.c:1234
 msgid "No document opened."
 msgstr ""
 
@@ -239,149 +239,153 @@ msgid "Horizontally centered zoom"
 msgstr ""
 
 #: ../config.c:189
-msgid "Center result horizontally"
+msgid "Align link target to the left"
 msgstr ""
 
 #: ../config.c:191
-msgid "Transparency for highlighting"
+msgid "Center result horizontally"
 msgstr ""
 
 #: ../config.c:193
+msgid "Transparency for highlighting"
+msgstr ""
+
+#: ../config.c:195
 msgid "Render 'Loading ...'"
 msgstr ""
 
-#: ../config.c:194
+#: ../config.c:196
 msgid "Adjust to when opening file"
 msgstr ""
 
-#: ../config.c:196
+#: ../config.c:198
 msgid "Show hidden files and directories"
 msgstr ""
 
-#: ../config.c:198
+#: ../config.c:200
 msgid "Show directories"
 msgstr ""
 
-#: ../config.c:200
+#: ../config.c:202
 msgid "Always open on first page"
 msgstr ""
 
-#: ../config.c:202
+#: ../config.c:204
 msgid "Highlight search results"
 msgstr ""
 
-#: ../config.c:204
+#: ../config.c:206
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:206
+#: ../config.c:208
 msgid "Clear search results on abort"
 msgstr ""
 
-#: ../config.c:208
+#: ../config.c:210
 msgid "Use basename of the file in the window title"
 msgstr ""
 
-#: ../config.c:210
+#: ../config.c:212
 msgid "Use basename of the file in the statusbar"
 msgstr ""
 
-#: ../config.c:212 ../main.c:64
+#: ../config.c:214 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:370
+#: ../config.c:373
 msgid "Add a bookmark"
 msgstr ""
 
-#: ../config.c:371
+#: ../config.c:374
 msgid "Delete a bookmark"
 msgstr ""
 
-#: ../config.c:372
+#: ../config.c:375
 msgid "List all bookmarks"
 msgstr ""
 
-#: ../config.c:373
+#: ../config.c:376
 msgid "Close current file"
 msgstr ""
 
-#: ../config.c:374
+#: ../config.c:377
 msgid "Show file information"
 msgstr ""
 
-#: ../config.c:375
+#: ../config.c:378
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:376
+#: ../config.c:379
 msgid "Show help"
 msgstr ""
 
-#: ../config.c:377
+#: ../config.c:380
 msgid "Open document"
 msgstr ""
 
-#: ../config.c:378
+#: ../config.c:381
 msgid "Close zathura"
 msgstr ""
 
-#: ../config.c:379
+#: ../config.c:382
 msgid "Print document"
 msgstr ""
 
-#: ../config.c:380
+#: ../config.c:383
 msgid "Save document"
 msgstr ""
 
-#: ../config.c:381
+#: ../config.c:384
 msgid "Save document (and force overwriting)"
 msgstr ""
 
-#: ../config.c:382
+#: ../config.c:385
 msgid "Save attachments"
 msgstr ""
 
-#: ../config.c:383
+#: ../config.c:386
 msgid "Set page offset"
 msgstr ""
 
-#: ../config.c:384
+#: ../config.c:387
 msgid "Mark current location within the document"
 msgstr ""
 
-#: ../config.c:385
+#: ../config.c:388
 msgid "Delete the specified marks"
 msgstr ""
 
-#: ../config.c:386
+#: ../config.c:389
 msgid "Don't highlight current search results"
 msgstr ""
 
-#: ../config.c:387
+#: ../config.c:390
 msgid "Highlight current search results"
 msgstr ""
 
-#: ../config.c:388
+#: ../config.c:391
 msgid "Show version information"
 msgstr ""
 
-#: ../links.c:163 ../links.c:242
+#: ../links.c:171 ../links.c:250
 msgid "Failed to run xdg-open."
 msgstr ""
 
-#: ../links.c:181
+#: ../links.c:189
 #, c-format
 msgid "Link: page %d"
 msgstr ""
 
-#: ../links.c:188
+#: ../links.c:196
 #, c-format
 msgid "Link: %s"
 msgstr ""
 
-#: ../links.c:192
+#: ../links.c:200
 msgid "Link: Invalid"
 msgstr ""
 
@@ -442,14 +446,14 @@ msgstr ""
 msgid "Save image as"
 msgstr ""
 
-#: ../shortcuts.c:963
+#: ../shortcuts.c:1108
 msgid "This document does not contain any index"
 msgstr ""
 
-#: ../zathura.c:224 ../zathura.c:953
+#: ../zathura.c:224 ../zathura.c:956
 msgid "[No name]"
 msgstr ""
 
-#: ../zathura.c:587
+#: ../zathura.c:589
 msgid "Document does not contain any pages"
 msgstr ""
diff --git a/po/id_ID.po b/po/id_ID.po
new file mode 100644
index 0000000..d7b6938
--- /dev/null
+++ b/po/id_ID.po
@@ -0,0 +1,459 @@
+# zathura - language file (Inonesian (Indonesia))
+# See LICENSE file for license and copyright information
+#
+# Translators:
+# andjeng <teratower8@gmail.com>, 2013
+msgid ""
+msgstr ""
+"Project-Id-Version: zathura\n"
+"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
+"POT-Creation-Date: 2013-04-28 13:23+0200\n"
+"PO-Revision-Date: 2013-04-28 14:45+0200\n"
+"Last-Translator: andjeng <teratower8@gmail.com>\n"
+"Language-Team: Indonesian (Indonesia) (http://www.transifex.com/projects/p/"
+"zathura/language/id_ID/)\n"
+"Language: id_ID\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+#: ../callbacks.c:304
+#, c-format
+msgid "Invalid input '%s' given."
+msgstr "Masukan '%s' tidak valid"
+
+#: ../callbacks.c:342
+#, c-format
+msgid "Invalid index '%s' given."
+msgstr "Index '%s' tidak valid"
+
+#: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
+#: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
+#: ../commands.c:531 ../shortcuts.c:486 ../shortcuts.c:1205
+#: ../shortcuts.c:1234
+msgid "No document opened."
+msgstr "Tidak ada dokumen yang terbuka."
+
+#: ../commands.c:41 ../commands.c:76 ../commands.c:103 ../commands.c:415
+msgid "Invalid number of arguments given."
+msgstr "jumlah argumen yang diberikan tidak valid"
+
+#: ../commands.c:49
+#, c-format
+msgid "Bookmark successfuly updated: %s"
+msgstr "bookmark yang sukses terupdate : %s"
+
+#: ../commands.c:55
+#, c-format
+msgid "Could not create bookmark: %s"
+msgstr "Tidak dapat membuat bookmark: %s"
+
+#: ../commands.c:59
+#, c-format
+msgid "Bookmark successfuly created: %s"
+msgstr "Bookmark yang sukses dibuat: %s"
+
+#: ../commands.c:82
+#, c-format
+msgid "Removed bookmark: %s"
+msgstr "Bookmark %s telah sukses dihapus"
+
+#: ../commands.c:84
+#, c-format
+msgid "Failed to remove bookmark: %s"
+msgstr "Gagal menghapus bookmark: %s"
+
+#: ../commands.c:110
+#, c-format
+msgid "No such bookmark: %s"
+msgstr "Tidak ada bookmark: %s"
+
+#: ../commands.c:161 ../commands.c:183
+msgid "No information available."
+msgstr "Tidak ada informasi tersedia"
+
+#: ../commands.c:221
+msgid "Too many arguments."
+msgstr "Argumen terlalu banyak"
+
+#: ../commands.c:232
+msgid "No arguments given."
+msgstr "Tidak ada argumen yang diberikan"
+
+#: ../commands.c:291 ../commands.c:317
+msgid "Document saved."
+msgstr "Dokumen telah disimpan"
+
+#: ../commands.c:293 ../commands.c:319
+msgid "Failed to save document."
+msgstr "Gagal menyimpan dokumen"
+
+#: ../commands.c:296 ../commands.c:322
+msgid "Invalid number of arguments."
+msgstr "Jumlah argumen tidak valid"
+
+#: ../commands.c:434
+#, c-format
+msgid "Couldn't write attachment '%s' to '%s'."
+msgstr "Tidak dapat menulis lampiran '%s' ke '%s'"
+
+#: ../commands.c:436
+#, c-format
+msgid "Wrote attachment '%s' to '%s'."
+msgstr "Tidak dapat menyimpan lampiran '%s' ke '%s'"
+
+#: ../commands.c:480
+#, c-format
+msgid "Wrote image '%s' to '%s'."
+msgstr "Menulis citra dari '%s' ke '%s'"
+
+#: ../commands.c:482
+#, c-format
+msgid "Couldn't write image '%s' to '%s'."
+msgstr "Tidak dapat menulis citra '%s' ke %s'"
+
+#: ../commands.c:489
+#, c-format
+msgid "Unknown image '%s'."
+msgstr "Citra tidak diketahui '%s'"
+
+#: ../commands.c:493
+#, c-format
+msgid "Unknown attachment or image '%s'."
+msgstr "Lampiran atau gambar tidak diketahui '%s'"
+
+#: ../commands.c:544
+msgid "Argument must be a number."
+msgstr "Argumen harus berupa angka."
+
+#: ../completion.c:250
+#, c-format
+msgid "Page %d"
+msgstr "Halaman %d"
+
+#: ../completion.c:293
+msgid "Attachments"
+msgstr "Lampiran"
+
+#. add images
+#: ../completion.c:324
+msgid "Images"
+msgstr "Citra"
+
+#. zathura settings
+#: ../config.c:139
+msgid "Database backend"
+msgstr ""
+
+#: ../config.c:141
+msgid "Zoom step"
+msgstr "Tingkat pembesaran"
+
+#: ../config.c:143
+msgid "Padding between pages"
+msgstr "Selisih antar halaman"
+
+#: ../config.c:145
+msgid "Number of pages per row"
+msgstr "Jumlah halaman tiap kolom"
+
+#: ../config.c:147
+msgid "Column of the first page"
+msgstr "Kolom pada halaman pertama"
+
+#: ../config.c:149
+msgid "Scroll step"
+msgstr "Tingkat menggulung"
+
+#: ../config.c:151
+msgid "Horizontal scroll step"
+msgstr "Tingkat penggulungan horisontal"
+
+#: ../config.c:153
+msgid "Full page scroll overlap"
+msgstr ""
+
+#: ../config.c:155
+msgid "Zoom minimum"
+msgstr "Pembesaran minimum"
+
+#: ../config.c:157
+msgid "Zoom maximum"
+msgstr "Pembesaran maksimal"
+
+#: ../config.c:159
+msgid "Maximum number of pages to keep in the cache"
+msgstr ""
+
+#: ../config.c:161
+msgid "Number of positions to remember in the jumplist"
+msgstr "Jumlah posisi yang diingat pada jumplist"
+
+#: ../config.c:163
+msgid "Recoloring (dark color)"
+msgstr "Mewarnai ulang (warna gelap)"
+
+#: ../config.c:165
+msgid "Recoloring (light color)"
+msgstr "Mewarnai ulang (warna cerah)"
+
+#: ../config.c:167
+msgid "Color for highlighting"
+msgstr "Warna sorotan"
+
+#: ../config.c:169
+msgid "Color for highlighting (active)"
+msgstr "Warna sorotan (aktif)"
+
+#: ../config.c:171
+msgid "'Loading ...' background color"
+msgstr ""
+
+#: ../config.c:173
+msgid "'Loading ...' foreground color"
+msgstr ""
+
+#: ../config.c:177
+msgid "Recolor pages"
+msgstr "Mewarnai ulang halaman"
+
+#: ../config.c:179
+msgid "When recoloring keep original hue and adjust lightness only"
+msgstr "Ketika mewarnai ulang, jaga hue dan sesuaikan kecerahan saja"
+
+#: ../config.c:181
+msgid "Wrap scrolling"
+msgstr ""
+
+#: ../config.c:183
+msgid "Page aware scrolling"
+msgstr "Penggulungan sadar halaman"
+
+#: ../config.c:185
+msgid "Advance number of pages per row"
+msgstr "Jumlah halaman per baris \"lanjutan\""
+
+#: ../config.c:187
+msgid "Horizontally centered zoom"
+msgstr "Pembesaran horisontal tengah"
+
+#: ../config.c:189
+msgid "Align link target to the left"
+msgstr ""
+
+#: ../config.c:191
+msgid "Center result horizontally"
+msgstr "Tengah-horisontalkan hasil"
+
+#: ../config.c:193
+msgid "Transparency for highlighting"
+msgstr "Transparansi sorotan"
+
+#: ../config.c:195
+msgid "Render 'Loading ...'"
+msgstr "Memuat Render..."
+
+#: ../config.c:196
+msgid "Adjust to when opening file"
+msgstr "Menyesuaikan ketika membuka file"
+
+#: ../config.c:198
+msgid "Show hidden files and directories"
+msgstr "Perlihatkan file dan direktori tersembunyi"
+
+#: ../config.c:200
+msgid "Show directories"
+msgstr "Perlihatkan direktori"
+
+#: ../config.c:202
+msgid "Always open on first page"
+msgstr "Selalu buka halaman pertama"
+
+#: ../config.c:204
+msgid "Highlight search results"
+msgstr "Sorot hasil pencarian"
+
+#: ../config.c:206
+msgid "Enable incremental search"
+msgstr "Fungsikan pencarian berkelanjutan"
+
+#: ../config.c:208
+msgid "Clear search results on abort"
+msgstr "Hapus hasil pencarian ketika batal mencari"
+
+#: ../config.c:210
+msgid "Use basename of the file in the window title"
+msgstr "Gunakan nama dasar file pada judul jendela"
+
+#: ../config.c:212
+msgid "Use basename of the file in the statusbar"
+msgstr ""
+
+#: ../config.c:214 ../main.c:64
+msgid "Enable synctex support"
+msgstr "Support synctex"
+
+#. define default inputbar commands
+#: ../config.c:373
+msgid "Add a bookmark"
+msgstr "Tambahkan pada bookmark"
+
+#: ../config.c:374
+msgid "Delete a bookmark"
+msgstr "Hapus bookmark"
+
+#: ../config.c:375
+msgid "List all bookmarks"
+msgstr "Perlihatkan semua bookmark"
+
+#: ../config.c:376
+msgid "Close current file"
+msgstr "Tutup file ini"
+
+#: ../config.c:377
+msgid "Show file information"
+msgstr "Informasi file"
+
+#: ../config.c:378
+msgid "Execute a command"
+msgstr "Jalankan perintah"
+
+#: ../config.c:379
+msgid "Show help"
+msgstr "Bantuan"
+
+#: ../config.c:380
+msgid "Open document"
+msgstr "Buka dokumen"
+
+#: ../config.c:381
+msgid "Close zathura"
+msgstr "Tutup zathura"
+
+#: ../config.c:382
+msgid "Print document"
+msgstr "Cetak dokumen"
+
+#: ../config.c:383
+msgid "Save document"
+msgstr "Simpan dokumen"
+
+#: ../config.c:384
+msgid "Save document (and force overwriting)"
+msgstr "Simpan dokumen (dan menimpa berkas)"
+
+#: ../config.c:385
+msgid "Save attachments"
+msgstr "Simpan lampiran"
+
+#: ../config.c:386
+msgid "Set page offset"
+msgstr "Set offset halaman"
+
+#: ../config.c:387
+msgid "Mark current location within the document"
+msgstr "Tandai lokasi sekarang dalam dokumen"
+
+#: ../config.c:388
+msgid "Delete the specified marks"
+msgstr "Hapus tanda terpilih"
+
+#: ../config.c:389
+msgid "Don't highlight current search results"
+msgstr "Jangan menyorot hasil cari sekarang"
+
+#: ../config.c:390
+msgid "Highlight current search results"
+msgstr ""
+
+#: ../config.c:391
+msgid "Show version information"
+msgstr "Tunjukan informasi versi"
+
+#: ../links.c:171 ../links.c:250
+msgid "Failed to run xdg-open."
+msgstr "Gagal menjalankan program xdg-open"
+
+#: ../links.c:189
+#, c-format
+msgid "Link: page %d"
+msgstr "Link: halaman %d"
+
+#: ../links.c:196
+#, c-format
+msgid "Link: %s"
+msgstr "Link: %s"
+
+#: ../links.c:200
+msgid "Link: Invalid"
+msgstr "Link: Tidak valid"
+
+#: ../main.c:55
+msgid "Reparents to window specified by xid"
+msgstr "Mengembalikan jendela sesuai dengan xid yang ditentukan"
+
+#: ../main.c:56
+msgid "Path to the config directory"
+msgstr "Path ke direktori konfigurasi"
+
+#: ../main.c:57
+msgid "Path to the data directory"
+msgstr "Path ke direktori data"
+
+#: ../main.c:58
+msgid "Path to the directories containing plugins"
+msgstr "Path ke direktori plugin"
+
+#: ../main.c:59
+msgid "Fork into the background"
+msgstr "Jalankan pada latar"
+
+#: ../main.c:60
+msgid "Document password"
+msgstr "Kata sandi dokumen"
+
+#: ../main.c:61
+msgid "Page number to go to"
+msgstr ""
+
+#: ../main.c:62
+msgid "Log level (debug, info, warning, error)"
+msgstr "Tingkat log (debug, info, peringatan, error)"
+
+#: ../main.c:63
+msgid "Print version information"
+msgstr "Cetak informasi versi"
+
+#: ../main.c:65
+msgid "Synctex editor (forwarded to the synctex command)"
+msgstr "Synctex editor (diteruskan ke perintah synctex)"
+
+#: ../page-widget.c:460
+msgid "Loading..."
+msgstr "Memuat....."
+
+#: ../page-widget.c:657
+#, c-format
+msgid "Copied selected text to clipboard: %s"
+msgstr "Menyalin teks terpilih ke papan semat: %s"
+
+#: ../page-widget.c:755
+msgid "Copy image"
+msgstr "Salin gambar"
+
+#: ../page-widget.c:756
+msgid "Save image as"
+msgstr "Simpan gambar sebagai"
+
+#: ../shortcuts.c:1108
+msgid "This document does not contain any index"
+msgstr "Dokumen ini tidak mempunyai indeks"
+
+#: ../zathura.c:224 ../zathura.c:956
+msgid "[No name]"
+msgstr "[Tidak berjudul]"
+
+#: ../zathura.c:589
+msgid "Document does not contain any pages"
+msgstr ""
diff --git a/po/it.po b/po/it.po
index 64a66c3..4e576db 100644
--- a/po/it.po
+++ b/po/it.po
@@ -7,8 +7,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-26 12:54+0100\n"
-"PO-Revision-Date: 2013-01-13 14:12+0000\n"
+"POT-Creation-Date: 2013-04-28 13:23+0200\n"
+"PO-Revision-Date: 2013-04-28 14:45+0200\n"
 "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
 "Language-Team: Italian (http://www.transifex.com/projects/p/zathura/language/"
 "it/)\n"
@@ -18,20 +18,20 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1)\n"
 
-#: ../callbacks.c:302
+#: ../callbacks.c:304
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr "Input inserito '%s' non valido."
 
-#: ../callbacks.c:340
+#: ../callbacks.c:342
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr "Indice inserito '%s' non valido."
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
-#: ../shortcuts.c:1089
+#: ../commands.c:531 ../shortcuts.c:486 ../shortcuts.c:1205
+#: ../shortcuts.c:1234
 msgid "No document opened."
 msgstr "Nessun documento aperto."
 
@@ -239,149 +239,153 @@ msgid "Horizontally centered zoom"
 msgstr ""
 
 #: ../config.c:189
-msgid "Center result horizontally"
+msgid "Align link target to the left"
 msgstr ""
 
 #: ../config.c:191
-msgid "Transparency for highlighting"
+msgid "Center result horizontally"
 msgstr ""
 
 #: ../config.c:193
+msgid "Transparency for highlighting"
+msgstr ""
+
+#: ../config.c:195
 msgid "Render 'Loading ...'"
 msgstr ""
 
-#: ../config.c:194
+#: ../config.c:196
 msgid "Adjust to when opening file"
 msgstr ""
 
-#: ../config.c:196
+#: ../config.c:198
 msgid "Show hidden files and directories"
 msgstr "Mostra file e cartelle nascosti"
 
-#: ../config.c:198
+#: ../config.c:200
 msgid "Show directories"
 msgstr "Mostra cartelle"
 
-#: ../config.c:200
+#: ../config.c:202
 msgid "Always open on first page"
 msgstr "Apri sempre alla prima pagina"
 
-#: ../config.c:202
+#: ../config.c:204
 msgid "Highlight search results"
 msgstr ""
 
-#: ../config.c:204
+#: ../config.c:206
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:206
+#: ../config.c:208
 msgid "Clear search results on abort"
 msgstr ""
 
-#: ../config.c:208
+#: ../config.c:210
 msgid "Use basename of the file in the window title"
 msgstr ""
 
-#: ../config.c:210
+#: ../config.c:212
 msgid "Use basename of the file in the statusbar"
 msgstr ""
 
-#: ../config.c:212 ../main.c:64
+#: ../config.c:214 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:370
+#: ../config.c:373
 msgid "Add a bookmark"
 msgstr "Aggiungi un segnalibro"
 
-#: ../config.c:371
+#: ../config.c:374
 msgid "Delete a bookmark"
 msgstr "Elimina un segnalibro"
 
-#: ../config.c:372
+#: ../config.c:375
 msgid "List all bookmarks"
 msgstr "Mostra i segnalibri"
 
-#: ../config.c:373
+#: ../config.c:376
 msgid "Close current file"
 msgstr "Chiudi il file corrente"
 
-#: ../config.c:374
+#: ../config.c:377
 msgid "Show file information"
 msgstr "Mostra le informazioni sul file"
 
-#: ../config.c:375
+#: ../config.c:378
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:376
+#: ../config.c:379
 msgid "Show help"
 msgstr "Mostra l' aiuto"
 
-#: ../config.c:377
+#: ../config.c:380
 msgid "Open document"
 msgstr "Apri un documento"
 
-#: ../config.c:378
+#: ../config.c:381
 msgid "Close zathura"
 msgstr "Chiudi zathura"
 
-#: ../config.c:379
+#: ../config.c:382
 msgid "Print document"
 msgstr "Stampa il documento"
 
-#: ../config.c:380
+#: ../config.c:383
 msgid "Save document"
 msgstr "Salva il documento"
 
-#: ../config.c:381
+#: ../config.c:384
 msgid "Save document (and force overwriting)"
 msgstr "Salva il documento (e sovrascrivi)"
 
-#: ../config.c:382
+#: ../config.c:385
 msgid "Save attachments"
 msgstr "Salva allegati"
 
-#: ../config.c:383
+#: ../config.c:386
 msgid "Set page offset"
 msgstr "Imposta l' offset della pagina"
 
-#: ../config.c:384
+#: ../config.c:387
 msgid "Mark current location within the document"
 msgstr ""
 
-#: ../config.c:385
+#: ../config.c:388
 msgid "Delete the specified marks"
 msgstr ""
 
-#: ../config.c:386
+#: ../config.c:389
 msgid "Don't highlight current search results"
 msgstr ""
 
-#: ../config.c:387
+#: ../config.c:390
 msgid "Highlight current search results"
 msgstr ""
 
-#: ../config.c:388
+#: ../config.c:391
 msgid "Show version information"
 msgstr ""
 
-#: ../links.c:163 ../links.c:242
+#: ../links.c:171 ../links.c:250
 msgid "Failed to run xdg-open."
 msgstr "Impossibile eseguire xdg-open."
 
-#: ../links.c:181
+#: ../links.c:189
 #, c-format
 msgid "Link: page %d"
 msgstr ""
 
-#: ../links.c:188
+#: ../links.c:196
 #, c-format
 msgid "Link: %s"
 msgstr ""
 
-#: ../links.c:192
+#: ../links.c:200
 msgid "Link: Invalid"
 msgstr ""
 
@@ -442,18 +446,17 @@ msgstr "Copia immagine"
 msgid "Save image as"
 msgstr ""
 
-#: ../shortcuts.c:963
+#: ../shortcuts.c:1108
 msgid "This document does not contain any index"
 msgstr "Questo documento non contiene l' indice"
 
-#: ../zathura.c:224 ../zathura.c:953
+#: ../zathura.c:224 ../zathura.c:956
 msgid "[No name]"
 msgstr "[Nessun nome]"
 
-#: ../zathura.c:587
-#, fuzzy
+#: ../zathura.c:589
 msgid "Document does not contain any pages"
-msgstr "Questo documento non contiene l' indice"
+msgstr ""
 
 #~ msgid "Life time (in seconds) of a hidden page"
 #~ msgstr "Durata (in secondi) di una pagina nascosta"
diff --git a/po/pl.po b/po/pl.po
index 58dbfe8..f1d1b72 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -7,8 +7,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-26 12:54+0100\n"
-"PO-Revision-Date: 2012-04-03 16:07+0000\n"
+"POT-Creation-Date: 2013-04-28 13:23+0200\n"
+"PO-Revision-Date: 2013-04-28 14:45+0200\n"
 "Last-Translator: p <poczciwiec@gmail.com>\n"
 "Language-Team: Polish (http://www.transifex.net/projects/p/zathura/language/"
 "pl/)\n"
@@ -19,20 +19,20 @@ msgstr ""
 "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
 "|| n%100>=20) ? 1 : 2)\n"
 
-#: ../callbacks.c:302
+#: ../callbacks.c:304
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr "Nieprawidłowy argument: %s"
 
-#: ../callbacks.c:340
+#: ../callbacks.c:342
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr "Nieprawidłowy indeks: %s"
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
-#: ../shortcuts.c:1089
+#: ../commands.c:531 ../shortcuts.c:486 ../shortcuts.c:1205
+#: ../shortcuts.c:1234
 msgid "No document opened."
 msgstr "Nie otwarto żadnego pliku"
 
@@ -240,149 +240,153 @@ msgid "Horizontally centered zoom"
 msgstr ""
 
 #: ../config.c:189
-msgid "Center result horizontally"
+msgid "Align link target to the left"
 msgstr ""
 
 #: ../config.c:191
+msgid "Center result horizontally"
+msgstr ""
+
+#: ../config.c:193
 msgid "Transparency for highlighting"
 msgstr "Przezroczystość wyróżnienia"
 
-#: ../config.c:193
+#: ../config.c:195
 msgid "Render 'Loading ...'"
 msgstr "Wyświetlaj: „Wczytywanie pliku...”"
 
-#: ../config.c:194
+#: ../config.c:196
 msgid "Adjust to when opening file"
 msgstr "Dopasowanie widoku pliku"
 
-#: ../config.c:196
+#: ../config.c:198
 msgid "Show hidden files and directories"
 msgstr "Wyświetl ukryte pliki i katalogi"
 
-#: ../config.c:198
+#: ../config.c:200
 msgid "Show directories"
 msgstr "Wyświetl katalogi"
 
-#: ../config.c:200
+#: ../config.c:202
 msgid "Always open on first page"
 msgstr "Zawsze otwieraj na pierwszej stronie"
 
-#: ../config.c:202
+#: ../config.c:204
 msgid "Highlight search results"
 msgstr "Podświetl wyniki wyszukiwania"
 
-#: ../config.c:204
+#: ../config.c:206
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:206
+#: ../config.c:208
 msgid "Clear search results on abort"
 msgstr "Wyczyść wyniki wyszukiwania po przerwaniu"
 
-#: ../config.c:208
+#: ../config.c:210
 msgid "Use basename of the file in the window title"
 msgstr ""
 
-#: ../config.c:210
+#: ../config.c:212
 msgid "Use basename of the file in the statusbar"
 msgstr ""
 
-#: ../config.c:212 ../main.c:64
+#: ../config.c:214 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:370
+#: ../config.c:373
 msgid "Add a bookmark"
 msgstr "Dodaj zakładkę"
 
-#: ../config.c:371
+#: ../config.c:374
 msgid "Delete a bookmark"
 msgstr "Usuń zakładkę"
 
-#: ../config.c:372
+#: ../config.c:375
 msgid "List all bookmarks"
 msgstr "Wyświetl zakładki"
 
-#: ../config.c:373
+#: ../config.c:376
 msgid "Close current file"
 msgstr "Zamknij plik"
 
-#: ../config.c:374
+#: ../config.c:377
 msgid "Show file information"
 msgstr "Wyświetl informacje o pliku"
 
-#: ../config.c:375
+#: ../config.c:378
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:376
+#: ../config.c:379
 msgid "Show help"
 msgstr "Wyświetl pomoc"
 
-#: ../config.c:377
+#: ../config.c:380
 msgid "Open document"
 msgstr "Otwórz plik"
 
-#: ../config.c:378
+#: ../config.c:381
 msgid "Close zathura"
 msgstr "Zakończ"
 
-#: ../config.c:379
+#: ../config.c:382
 msgid "Print document"
 msgstr "Wydrukuj"
 
-#: ../config.c:380
+#: ../config.c:383
 msgid "Save document"
 msgstr "Zapisz"
 
-#: ../config.c:381
+#: ../config.c:384
 msgid "Save document (and force overwriting)"
 msgstr "Zapisz (nadpisując istniejący plik)"
 
-#: ../config.c:382
+#: ../config.c:385
 msgid "Save attachments"
 msgstr "Zapisz załączniki"
 
-#: ../config.c:383
+#: ../config.c:386
 msgid "Set page offset"
 msgstr "Ustaw przesunięcie numerów stron"
 
-#: ../config.c:384
+#: ../config.c:387
 msgid "Mark current location within the document"
 msgstr "Zaznacz aktualną pozycję w dokumencie"
 
-#: ../config.c:385
+#: ../config.c:388
 msgid "Delete the specified marks"
 msgstr "Skasuj określone zakładki"
 
-#: ../config.c:386
+#: ../config.c:389
 msgid "Don't highlight current search results"
 msgstr "Nie podświetlaj aktualnych wyników wyszukiwania "
 
-#: ../config.c:387
+#: ../config.c:390
 msgid "Highlight current search results"
 msgstr "Podświetl aktualne wyniki wyszukiwania"
 
-#: ../config.c:388
+#: ../config.c:391
 msgid "Show version information"
 msgstr "Wyświetl informacje o wersji"
 
-#: ../links.c:163 ../links.c:242
+#: ../links.c:171 ../links.c:250
 msgid "Failed to run xdg-open."
 msgstr "Wystąpił problem z uruchomieniem xdg-open"
 
-#: ../links.c:181
+#: ../links.c:189
 #, c-format
 msgid "Link: page %d"
 msgstr ""
 
-#: ../links.c:188
+#: ../links.c:196
 #, c-format
 msgid "Link: %s"
 msgstr ""
 
-#: ../links.c:192
+#: ../links.c:200
 msgid "Link: Invalid"
 msgstr ""
 
@@ -443,21 +447,14 @@ msgstr "Skopiuj obrazek"
 msgid "Save image as"
 msgstr "Zapisz obrazek jako"
 
-#: ../shortcuts.c:963
+#: ../shortcuts.c:1108
 msgid "This document does not contain any index"
 msgstr "Dokument nie zawiera indeksu"
 
-#: ../zathura.c:224 ../zathura.c:953
+#: ../zathura.c:224 ../zathura.c:956
 msgid "[No name]"
 msgstr "[bez nazwy]"
 
-#: ../zathura.c:587
-#, fuzzy
+#: ../zathura.c:589
 msgid "Document does not contain any pages"
-msgstr "Dokument nie zawiera indeksu"
-
-#~ msgid "Life time (in seconds) of a hidden page"
-#~ msgstr "Czas życia niewidocznej strony (w sekundach)"
-
-#~ msgid "Amount of seconds between each cache purge"
-#~ msgstr "Okres sprawdzania widoczności stron (w sekundach)"
+msgstr ""
diff --git a/po/pt_BR.po b/po/pt_BR.po
index f9f034e..a023baf 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -7,8 +7,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-26 12:54+0100\n"
-"PO-Revision-Date: 2013-01-13 20:34+0000\n"
+"POT-Creation-Date: 2013-04-28 13:23+0200\n"
+"PO-Revision-Date: 2013-04-28 14:46+0200\n"
 "Last-Translator: salmora8 <shorterfire@gmail.com>\n"
 "Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/"
 "zathura/language/pt_BR/)\n"
@@ -18,20 +18,20 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
 
-#: ../callbacks.c:302
+#: ../callbacks.c:304
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr "Dados de entrada inválida '%s' ."
 
-#: ../callbacks.c:340
+#: ../callbacks.c:342
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr "Dados de índice invalido '%s'."
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
-#: ../shortcuts.c:1089
+#: ../commands.c:531 ../shortcuts.c:486 ../shortcuts.c:1205
+#: ../shortcuts.c:1234
 msgid "No document opened."
 msgstr "Nenhum documento aberto."
 
@@ -240,150 +240,153 @@ msgid "Horizontally centered zoom"
 msgstr "Zoom centrado horizontalmente"
 
 #: ../config.c:189
+msgid "Align link target to the left"
+msgstr ""
+
+#: ../config.c:191
 msgid "Center result horizontally"
 msgstr "Resultado centrado horizontalmente"
 
-#: ../config.c:191
+#: ../config.c:193
 msgid "Transparency for highlighting"
 msgstr "Transparência para destacar"
 
-#: ../config.c:193
+#: ../config.c:195
 msgid "Render 'Loading ...'"
 msgstr "Renderizando 'Carregando...'"
 
-#: ../config.c:194
+#: ../config.c:196
 msgid "Adjust to when opening file"
 msgstr "Ajuste para quando abrir o arquivo"
 
-#: ../config.c:196
+#: ../config.c:198
 msgid "Show hidden files and directories"
 msgstr "Mostrar arquivos ocultos e diretórios"
 
-#: ../config.c:198
+#: ../config.c:200
 msgid "Show directories"
 msgstr "Mostrar diretórios"
 
-#: ../config.c:200
+#: ../config.c:202
 msgid "Always open on first page"
 msgstr "Sempre abrir na primeira página"
 
-#: ../config.c:202
+#: ../config.c:204
 msgid "Highlight search results"
 msgstr "Destaque resultados de busca"
 
-#: ../config.c:204
+#: ../config.c:206
 msgid "Enable incremental search"
 msgstr "Ativar pesquisa incremental"
 
-#: ../config.c:206
+#: ../config.c:208
 msgid "Clear search results on abort"
 msgstr "Limpar resultados de busca ou abortar"
 
-#: ../config.c:208
+#: ../config.c:210
 msgid "Use basename of the file in the window title"
 msgstr "Usar nome do arquivo na barra de titulo"
 
-#: ../config.c:210
-#, fuzzy
+#: ../config.c:212
 msgid "Use basename of the file in the statusbar"
-msgstr "Usar nome do arquivo na barra de titulo"
+msgstr ""
 
-#: ../config.c:212 ../main.c:64
+#: ../config.c:214 ../main.c:64
 msgid "Enable synctex support"
 msgstr "Ativar suporte synctex"
 
 #. define default inputbar commands
-#: ../config.c:370
+#: ../config.c:373
 msgid "Add a bookmark"
 msgstr "Adicionar um favorito"
 
-#: ../config.c:371
+#: ../config.c:374
 msgid "Delete a bookmark"
 msgstr "Deletar um favorito"
 
-#: ../config.c:372
+#: ../config.c:375
 msgid "List all bookmarks"
 msgstr "Listar todos favoritos"
 
-#: ../config.c:373
+#: ../config.c:376
 msgid "Close current file"
 msgstr "Fechar arquivo atual"
 
-#: ../config.c:374
+#: ../config.c:377
 msgid "Show file information"
 msgstr "Mostrar informações do arquivo"
 
-#: ../config.c:375
+#: ../config.c:378
 msgid "Execute a command"
 msgstr "Executar um comando"
 
-#: ../config.c:376
+#: ../config.c:379
 msgid "Show help"
 msgstr "Mostrar ajuda"
 
-#: ../config.c:377
+#: ../config.c:380
 msgid "Open document"
 msgstr "Abrir documento"
 
-#: ../config.c:378
+#: ../config.c:381
 msgid "Close zathura"
 msgstr "Fechar zathura"
 
-#: ../config.c:379
+#: ../config.c:382
 msgid "Print document"
 msgstr "Imprimir documento"
 
-#: ../config.c:380
+#: ../config.c:383
 msgid "Save document"
 msgstr "Salvar documento"
 
-#: ../config.c:381
+#: ../config.c:384
 msgid "Save document (and force overwriting)"
 msgstr "Salvar documento (e forçar sobrescrever)"
 
-#: ../config.c:382
+#: ../config.c:385
 msgid "Save attachments"
 msgstr "Salvar anexos"
 
-#: ../config.c:383
+#: ../config.c:386
 msgid "Set page offset"
 msgstr "Definir deslocamento da página"
 
-#: ../config.c:384
+#: ../config.c:387
 msgid "Mark current location within the document"
 msgstr "Marcar localização atual no documento"
 
-#: ../config.c:385
+#: ../config.c:388
 msgid "Delete the specified marks"
 msgstr "Apagar as marcas especificadas"
 
-#: ../config.c:386
+#: ../config.c:389
 msgid "Don't highlight current search results"
 msgstr "Não destacar resultados de busca atual"
 
-#: ../config.c:387
+#: ../config.c:390
 msgid "Highlight current search results"
 msgstr "Destacar resultado de busca atual"
 
-#: ../config.c:388
+#: ../config.c:391
 msgid "Show version information"
 msgstr "Mostrar informações sobre a versão"
 
-#: ../links.c:163 ../links.c:242
+#: ../links.c:171 ../links.c:250
 msgid "Failed to run xdg-open."
 msgstr "Falha ao executar xdg-open."
 
-#: ../links.c:181
+#: ../links.c:189
 #, c-format
 msgid "Link: page %d"
 msgstr "Link: página %d"
 
-#: ../links.c:188
+#: ../links.c:196
 #, c-format
 msgid "Link: %s"
 msgstr "Link: %s"
 
-#: ../links.c:192
+#: ../links.c:200
 msgid "Link: Invalid"
 msgstr "Link: Inválido"
 
@@ -444,21 +447,14 @@ msgstr "Copiar imagem"
 msgid "Save image as"
 msgstr "Salvar imagem para"
 
-#: ../shortcuts.c:963
+#: ../shortcuts.c:1108
 msgid "This document does not contain any index"
 msgstr "Este documento não contem qualquer índice"
 
-#: ../zathura.c:224 ../zathura.c:953
+#: ../zathura.c:224 ../zathura.c:956
 msgid "[No name]"
 msgstr "[Sem nome]"
 
-#: ../zathura.c:587
-#, fuzzy
+#: ../zathura.c:589
 msgid "Document does not contain any pages"
-msgstr "Este documento não contem qualquer índice"
-
-#~ msgid "Life time (in seconds) of a hidden page"
-#~ msgstr "Tempo de vida (em segundos) de uma página oculta"
-
-#~ msgid "Amount of seconds between each cache purge"
-#~ msgstr "Quantidade de segundos entre as páginas invisíveis"
+msgstr ""
diff --git a/po/ru.po b/po/ru.po
index df8fe65..f61cd1e 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -7,8 +7,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-26 12:54+0100\n"
-"PO-Revision-Date: 2013-01-13 14:12+0000\n"
+"POT-Creation-Date: 2013-04-28 13:23+0200\n"
+"PO-Revision-Date: 2013-04-28 14:46+0200\n"
 "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
 "Language-Team: Russian (http://www.transifex.com/projects/p/zathura/language/"
 "ru/)\n"
@@ -19,20 +19,20 @@ msgstr ""
 "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
 "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
 
-#: ../callbacks.c:302
+#: ../callbacks.c:304
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr "Неправильный ввод: %s"
 
-#: ../callbacks.c:340
+#: ../callbacks.c:342
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr "Получен неверный индекс %s"
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
-#: ../shortcuts.c:1089
+#: ../commands.c:531 ../shortcuts.c:486 ../shortcuts.c:1205
+#: ../shortcuts.c:1234
 msgid "No document opened."
 msgstr "Документ не открыт"
 
@@ -240,149 +240,153 @@ msgid "Horizontally centered zoom"
 msgstr ""
 
 #: ../config.c:189
-msgid "Center result horizontally"
+msgid "Align link target to the left"
 msgstr ""
 
 #: ../config.c:191
+msgid "Center result horizontally"
+msgstr ""
+
+#: ../config.c:193
 msgid "Transparency for highlighting"
 msgstr "Прозрачность подсветки"
 
-#: ../config.c:193
+#: ../config.c:195
 msgid "Render 'Loading ...'"
 msgstr "Рендер 'Загружается ...'"
 
-#: ../config.c:194
+#: ../config.c:196
 msgid "Adjust to when opening file"
 msgstr ""
 
-#: ../config.c:196
+#: ../config.c:198
 msgid "Show hidden files and directories"
 msgstr "Показывать скрытые файлы и директории"
 
-#: ../config.c:198
+#: ../config.c:200
 msgid "Show directories"
 msgstr "Показывать директории"
 
-#: ../config.c:200
+#: ../config.c:202
 msgid "Always open on first page"
 msgstr "Всегда открывать на первой странице"
 
-#: ../config.c:202
+#: ../config.c:204
 msgid "Highlight search results"
 msgstr ""
 
-#: ../config.c:204
+#: ../config.c:206
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:206
+#: ../config.c:208
 msgid "Clear search results on abort"
 msgstr ""
 
-#: ../config.c:208
+#: ../config.c:210
 msgid "Use basename of the file in the window title"
 msgstr ""
 
-#: ../config.c:210
+#: ../config.c:212
 msgid "Use basename of the file in the statusbar"
 msgstr ""
 
-#: ../config.c:212 ../main.c:64
+#: ../config.c:214 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:370
+#: ../config.c:373
 msgid "Add a bookmark"
 msgstr "Добавить закладку"
 
-#: ../config.c:371
+#: ../config.c:374
 msgid "Delete a bookmark"
 msgstr "Удалить закладку"
 
-#: ../config.c:372
+#: ../config.c:375
 msgid "List all bookmarks"
 msgstr "Показать все закладки"
 
-#: ../config.c:373
+#: ../config.c:376
 msgid "Close current file"
 msgstr "Закрыть текущий файл"
 
-#: ../config.c:374
+#: ../config.c:377
 msgid "Show file information"
 msgstr "Показать информацию о файле"
 
-#: ../config.c:375
+#: ../config.c:378
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:376
+#: ../config.c:379
 msgid "Show help"
 msgstr "Помощь"
 
-#: ../config.c:377
+#: ../config.c:380
 msgid "Open document"
 msgstr "Открыть документ"
 
-#: ../config.c:378
+#: ../config.c:381
 msgid "Close zathura"
 msgstr "Выход"
 
-#: ../config.c:379
+#: ../config.c:382
 msgid "Print document"
 msgstr "Печать"
 
-#: ../config.c:380
+#: ../config.c:383
 msgid "Save document"
 msgstr "Сохранить документ"
 
-#: ../config.c:381
+#: ../config.c:384
 msgid "Save document (and force overwriting)"
 msgstr "Сохранить документ (с перезапиьсю)"
 
-#: ../config.c:382
+#: ../config.c:385
 msgid "Save attachments"
 msgstr "Сохранить прикреплённые файлы"
 
-#: ../config.c:383
+#: ../config.c:386
 msgid "Set page offset"
 msgstr "Сохранить смещение страницы"
 
-#: ../config.c:384
+#: ../config.c:387
 msgid "Mark current location within the document"
 msgstr "Пометить текущую позицию в документе"
 
-#: ../config.c:385
+#: ../config.c:388
 msgid "Delete the specified marks"
 msgstr "Удалить указанные пометки"
 
-#: ../config.c:386
+#: ../config.c:389
 msgid "Don't highlight current search results"
 msgstr ""
 
-#: ../config.c:387
+#: ../config.c:390
 msgid "Highlight current search results"
 msgstr ""
 
-#: ../config.c:388
+#: ../config.c:391
 msgid "Show version information"
 msgstr ""
 
-#: ../links.c:163 ../links.c:242
+#: ../links.c:171 ../links.c:250
 msgid "Failed to run xdg-open."
 msgstr "Не удалось запустить xdg-open"
 
-#: ../links.c:181
+#: ../links.c:189
 #, c-format
 msgid "Link: page %d"
 msgstr ""
 
-#: ../links.c:188
+#: ../links.c:196
 #, c-format
 msgid "Link: %s"
 msgstr ""
 
-#: ../links.c:192
+#: ../links.c:200
 msgid "Link: Invalid"
 msgstr ""
 
@@ -443,21 +447,14 @@ msgstr "Скопировать изображение"
 msgid "Save image as"
 msgstr ""
 
-#: ../shortcuts.c:963
+#: ../shortcuts.c:1108
 msgid "This document does not contain any index"
 msgstr "В документе нету индекса"
 
-#: ../zathura.c:224 ../zathura.c:953
+#: ../zathura.c:224 ../zathura.c:956
 msgid "[No name]"
 msgstr "[No name]"
 
-#: ../zathura.c:587
-#, fuzzy
+#: ../zathura.c:589
 msgid "Document does not contain any pages"
-msgstr "В документе нету индекса"
-
-#~ msgid "Life time (in seconds) of a hidden page"
-#~ msgstr "Время жизни (секунды) скрытой страницы"
-
-#~ msgid "Amount of seconds between each cache purge"
-#~ msgstr "Время (в секундах) между очисткой кэшей"
+msgstr ""
diff --git a/po/ta_IN.po b/po/ta_IN.po
index 5837cd3..0f9c0cd 100644
--- a/po/ta_IN.po
+++ b/po/ta_IN.po
@@ -7,8 +7,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-26 12:54+0100\n"
-"PO-Revision-Date: 2013-01-13 14:12+0000\n"
+"POT-Creation-Date: 2013-04-28 13:23+0200\n"
+"PO-Revision-Date: 2013-04-28 14:46+0200\n"
 "Last-Translator: mankand007 <mankand007@gmail.com>\n"
 "Language-Team: Tamil (India) (http://www.transifex.net/projects/p/zathura/"
 "language/ta_IN/)\n"
@@ -18,20 +18,20 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1)\n"
 
-#: ../callbacks.c:302
+#: ../callbacks.c:304
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr "கொடுக்கப்பட்ட உள்ளீடு(input) '%s' தவறு"
 
-#: ../callbacks.c:340
+#: ../callbacks.c:342
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr "கொடுக்கப்பட்ட index '%s' தவறு"
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
-#: ../shortcuts.c:1089
+#: ../commands.c:531 ../shortcuts.c:486 ../shortcuts.c:1205
+#: ../shortcuts.c:1234
 msgid "No document opened."
 msgstr "எந்தக் ஆவணமும் திறக்கப்படவில்லை"
 
@@ -239,149 +239,153 @@ msgid "Horizontally centered zoom"
 msgstr ""
 
 #: ../config.c:189
-msgid "Center result horizontally"
+msgid "Align link target to the left"
 msgstr ""
 
 #: ../config.c:191
-msgid "Transparency for highlighting"
+msgid "Center result horizontally"
 msgstr ""
 
 #: ../config.c:193
+msgid "Transparency for highlighting"
+msgstr ""
+
+#: ../config.c:195
 msgid "Render 'Loading ...'"
 msgstr ""
 
-#: ../config.c:194
+#: ../config.c:196
 msgid "Adjust to when opening file"
 msgstr ""
 
-#: ../config.c:196
+#: ../config.c:198
 msgid "Show hidden files and directories"
 msgstr ""
 
-#: ../config.c:198
+#: ../config.c:200
 msgid "Show directories"
 msgstr ""
 
-#: ../config.c:200
+#: ../config.c:202
 msgid "Always open on first page"
 msgstr ""
 
-#: ../config.c:202
+#: ../config.c:204
 msgid "Highlight search results"
 msgstr ""
 
-#: ../config.c:204
+#: ../config.c:206
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:206
+#: ../config.c:208
 msgid "Clear search results on abort"
 msgstr ""
 
-#: ../config.c:208
+#: ../config.c:210
 msgid "Use basename of the file in the window title"
 msgstr ""
 
-#: ../config.c:210
+#: ../config.c:212
 msgid "Use basename of the file in the statusbar"
 msgstr ""
 
-#: ../config.c:212 ../main.c:64
+#: ../config.c:214 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:370
+#: ../config.c:373
 msgid "Add a bookmark"
 msgstr "புதிய bookmark உருவாக்கு"
 
-#: ../config.c:371
+#: ../config.c:374
 msgid "Delete a bookmark"
 msgstr "Bookmark-ஐ அழித்துவிடு"
 
-#: ../config.c:372
+#: ../config.c:375
 msgid "List all bookmarks"
 msgstr "அனைத்து bookmark-களையும் பட்டியலிடு"
 
-#: ../config.c:373
+#: ../config.c:376
 msgid "Close current file"
 msgstr ""
 
-#: ../config.c:374
+#: ../config.c:377
 msgid "Show file information"
 msgstr "ஆவணம் பற்றிய தகவல்களைக் காட்டு"
 
-#: ../config.c:375
+#: ../config.c:378
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:376
+#: ../config.c:379
 msgid "Show help"
 msgstr "உதவியைக் காட்டு"
 
-#: ../config.c:377
+#: ../config.c:380
 msgid "Open document"
 msgstr "ஒரு ஆவணத்தைத் திற"
 
-#: ../config.c:378
+#: ../config.c:381
 msgid "Close zathura"
 msgstr "zathura-வை விட்டு வெளியேறு"
 
-#: ../config.c:379
+#: ../config.c:382
 msgid "Print document"
 msgstr "ஆவணத்தை அச்சிடு"
 
-#: ../config.c:380
+#: ../config.c:383
 msgid "Save document"
 msgstr "ஆவணத்தை சேமிக்கவும்"
 
-#: ../config.c:381
+#: ../config.c:384
 msgid "Save document (and force overwriting)"
 msgstr ""
 
-#: ../config.c:382
+#: ../config.c:385
 msgid "Save attachments"
 msgstr "இணைப்புகளைச் சேமிக்கவும்"
 
-#: ../config.c:383
+#: ../config.c:386
 msgid "Set page offset"
 msgstr ""
 
-#: ../config.c:384
+#: ../config.c:387
 msgid "Mark current location within the document"
 msgstr ""
 
-#: ../config.c:385
+#: ../config.c:388
 msgid "Delete the specified marks"
 msgstr ""
 
-#: ../config.c:386
+#: ../config.c:389
 msgid "Don't highlight current search results"
 msgstr ""
 
-#: ../config.c:387
+#: ../config.c:390
 msgid "Highlight current search results"
 msgstr ""
 
-#: ../config.c:388
+#: ../config.c:391
 msgid "Show version information"
 msgstr ""
 
-#: ../links.c:163 ../links.c:242
+#: ../links.c:171 ../links.c:250
 msgid "Failed to run xdg-open."
 msgstr "xdg-open-ஐ இயக்க முடியவில்லை"
 
-#: ../links.c:181
+#: ../links.c:189
 #, c-format
 msgid "Link: page %d"
 msgstr ""
 
-#: ../links.c:188
+#: ../links.c:196
 #, c-format
 msgid "Link: %s"
 msgstr ""
 
-#: ../links.c:192
+#: ../links.c:200
 msgid "Link: Invalid"
 msgstr ""
 
@@ -442,15 +446,14 @@ msgstr "படத்தை ஒரு பிரதியெடு"
 msgid "Save image as"
 msgstr ""
 
-#: ../shortcuts.c:963
+#: ../shortcuts.c:1108
 msgid "This document does not contain any index"
 msgstr "இந்த ஆவணத்தில் எந்த index-ம் இல்லை"
 
-#: ../zathura.c:224 ../zathura.c:953
+#: ../zathura.c:224 ../zathura.c:956
 msgid "[No name]"
 msgstr "பெயரற்ற ஆவணம்"
 
-#: ../zathura.c:587
-#, fuzzy
+#: ../zathura.c:589
 msgid "Document does not contain any pages"
-msgstr "இந்த ஆவணத்தில் எந்த index-ம் இல்லை"
+msgstr ""
diff --git a/po/tr.po b/po/tr.po
index 82ef802..61fea33 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -8,8 +8,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-26 12:54+0100\n"
-"PO-Revision-Date: 2013-01-13 14:12+0000\n"
+"POT-Creation-Date: 2013-04-28 13:23+0200\n"
+"PO-Revision-Date: 2013-04-28 14:46+0200\n"
 "Last-Translator: hsngrms <dead-bodies-everywhere@hotmail.com>\n"
 "Language-Team: Turkish (http://www.transifex.net/projects/p/zathura/language/"
 "tr/)\n"
@@ -19,20 +19,20 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=1; plural=0;\n"
 
-#: ../callbacks.c:302
+#: ../callbacks.c:304
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr "Hatalı girdi '%s'"
 
-#: ../callbacks.c:340
+#: ../callbacks.c:342
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr "Hatalı dizin '%s'"
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
-#: ../shortcuts.c:1089
+#: ../commands.c:531 ../shortcuts.c:486 ../shortcuts.c:1205
+#: ../shortcuts.c:1234
 msgid "No document opened."
 msgstr "Açık belge yok."
 
@@ -240,150 +240,153 @@ msgid "Horizontally centered zoom"
 msgstr "Yatay olarak ortalanmış büyütme"
 
 #: ../config.c:189
-msgid "Center result horizontally"
+msgid "Align link target to the left"
 msgstr ""
 
 #: ../config.c:191
+msgid "Center result horizontally"
+msgstr ""
+
+#: ../config.c:193
 msgid "Transparency for highlighting"
 msgstr "Ön plana çıkarmak için saydamlaştır"
 
-#: ../config.c:193
+#: ../config.c:195
 msgid "Render 'Loading ...'"
 msgstr "'Yüklüyor ...' yazısını göster"
 
-#: ../config.c:194
+#: ../config.c:196
 msgid "Adjust to when opening file"
 msgstr "Dosya açarken ayarla"
 
-#: ../config.c:196
+#: ../config.c:198
 msgid "Show hidden files and directories"
 msgstr "Gizli dosyaları ve dizinleri göster"
 
-#: ../config.c:198
+#: ../config.c:200
 msgid "Show directories"
 msgstr "Dizinleri göster"
 
-#: ../config.c:200
+#: ../config.c:202
 msgid "Always open on first page"
 msgstr "Her zaman ilk sayfayı aç"
 
-#: ../config.c:202
+#: ../config.c:204
 msgid "Highlight search results"
 msgstr "Arama sonuçlarını vurgula"
 
-#: ../config.c:204
+#: ../config.c:206
 msgid "Enable incremental search"
 msgstr "Artımlı aramayı etkinleştir"
 
-#: ../config.c:206
+#: ../config.c:208
 msgid "Clear search results on abort"
 msgstr "Kapatınca arama sonuçlarını temizle"
 
-#: ../config.c:208
+#: ../config.c:210
 msgid "Use basename of the file in the window title"
 msgstr "Pencere başlığı olarak dosyanın adını kullan"
 
-#: ../config.c:210
-#, fuzzy
+#: ../config.c:212
 msgid "Use basename of the file in the statusbar"
-msgstr "Pencere başlığı olarak dosyanın adını kullan"
+msgstr ""
 
-#: ../config.c:212 ../main.c:64
+#: ../config.c:214 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:370
+#: ../config.c:373
 msgid "Add a bookmark"
 msgstr "Yer imi ekle"
 
-#: ../config.c:371
+#: ../config.c:374
 msgid "Delete a bookmark"
 msgstr "Yer imi sil"
 
-#: ../config.c:372
+#: ../config.c:375
 msgid "List all bookmarks"
 msgstr "Yer imlerini listele"
 
-#: ../config.c:373
+#: ../config.c:376
 msgid "Close current file"
 msgstr "Geçerli dosyayı kapat"
 
-#: ../config.c:374
+#: ../config.c:377
 msgid "Show file information"
 msgstr "Dosya bilgisi göster"
 
-#: ../config.c:375
+#: ../config.c:378
 msgid "Execute a command"
 msgstr "Bir komut çalıştır"
 
-#: ../config.c:376
+#: ../config.c:379
 msgid "Show help"
 msgstr "Yardım bilgisi göster"
 
-#: ../config.c:377
+#: ../config.c:380
 msgid "Open document"
 msgstr "Belge aç"
 
-#: ../config.c:378
+#: ../config.c:381
 msgid "Close zathura"
 msgstr "Zathura'yı kapat"
 
-#: ../config.c:379
+#: ../config.c:382
 msgid "Print document"
 msgstr "Belge yazdır"
 
-#: ../config.c:380
+#: ../config.c:383
 msgid "Save document"
 msgstr "Belgeyi kaydet"
 
-#: ../config.c:381
+#: ../config.c:384
 msgid "Save document (and force overwriting)"
 msgstr "Belgeyi kaydet (ve sormadan üzerine yaz)"
 
-#: ../config.c:382
+#: ../config.c:385
 msgid "Save attachments"
 msgstr "Ekleri kaydet"
 
-#: ../config.c:383
+#: ../config.c:386
 msgid "Set page offset"
 msgstr "Sayfa derinliğini ayarla"
 
-#: ../config.c:384
+#: ../config.c:387
 msgid "Mark current location within the document"
 msgstr "Bu belgede bu konumu işaretle"
 
-#: ../config.c:385
+#: ../config.c:388
 msgid "Delete the specified marks"
 msgstr "Seçilen işaretlemeleri sil"
 
-#: ../config.c:386
+#: ../config.c:389
 msgid "Don't highlight current search results"
 msgstr "Şuanki arama sonuçlarını vurgulama"
 
-#: ../config.c:387
+#: ../config.c:390
 msgid "Highlight current search results"
 msgstr "Şuanki arama sonuçlarını vurgula"
 
-#: ../config.c:388
+#: ../config.c:391
 msgid "Show version information"
 msgstr "Versiyon bilgisi göster"
 
-#: ../links.c:163 ../links.c:242
+#: ../links.c:171 ../links.c:250
 msgid "Failed to run xdg-open."
 msgstr "xdg-open çalıştırılamadı"
 
-#: ../links.c:181
+#: ../links.c:189
 #, c-format
 msgid "Link: page %d"
 msgstr ""
 
-#: ../links.c:188
+#: ../links.c:196
 #, c-format
 msgid "Link: %s"
 msgstr ""
 
-#: ../links.c:192
+#: ../links.c:200
 msgid "Link: Invalid"
 msgstr ""
 
@@ -444,21 +447,14 @@ msgstr "Resim kopyala"
 msgid "Save image as"
 msgstr "Resmi farklı kaydet"
 
-#: ../shortcuts.c:963
+#: ../shortcuts.c:1108
 msgid "This document does not contain any index"
 msgstr "Bu belge fihrist içermiyor"
 
-#: ../zathura.c:224 ../zathura.c:953
+#: ../zathura.c:224 ../zathura.c:956
 msgid "[No name]"
 msgstr "[İsimsiz]"
 
-#: ../zathura.c:587
-#, fuzzy
+#: ../zathura.c:589
 msgid "Document does not contain any pages"
-msgstr "Bu belge fihrist içermiyor"
-
-#~ msgid "Life time (in seconds) of a hidden page"
-#~ msgstr "Gizli pencerenin açık kalma süresi (saniye)"
-
-#~ msgid "Amount of seconds between each cache purge"
-#~ msgstr "Önbellek temizliği yapılma sıklığı, saniye cinsinden"
+msgstr ""
diff --git a/po/uk_UA.po b/po/uk_UA.po
index 02c2f13..8bd90af 100644
--- a/po/uk_UA.po
+++ b/po/uk_UA.po
@@ -7,8 +7,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
 "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2013-03-26 12:54+0100\n"
-"PO-Revision-Date: 2013-01-13 14:12+0000\n"
+"POT-Creation-Date: 2013-04-28 13:23+0200\n"
+"PO-Revision-Date: 2013-04-28 14:46+0200\n"
 "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
 "Language-Team: Ukrainian (Ukraine) (http://www.transifex.com/projects/p/"
 "zathura/language/uk_UA/)\n"
@@ -19,20 +19,20 @@ msgstr ""
 "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
 "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
 
-#: ../callbacks.c:302
+#: ../callbacks.c:304
 #, c-format
 msgid "Invalid input '%s' given."
 msgstr "Вказано невірний аргумент: %s."
 
-#: ../callbacks.c:340
+#: ../callbacks.c:342
 #, c-format
 msgid "Invalid index '%s' given."
 msgstr "Вказано невірний індекс: %s"
 
 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
 #: ../commands.c:255 ../commands.c:285 ../commands.c:311 ../commands.c:410
-#: ../commands.c:531 ../shortcuts.c:476 ../shortcuts.c:1060
-#: ../shortcuts.c:1089
+#: ../commands.c:531 ../shortcuts.c:486 ../shortcuts.c:1205
+#: ../shortcuts.c:1234
 msgid "No document opened."
 msgstr "Документ не відкрито."
 
@@ -240,149 +240,153 @@ msgid "Horizontally centered zoom"
 msgstr ""
 
 #: ../config.c:189
-msgid "Center result horizontally"
+msgid "Align link target to the left"
 msgstr ""
 
 #: ../config.c:191
+msgid "Center result horizontally"
+msgstr ""
+
+#: ../config.c:193
 msgid "Transparency for highlighting"
 msgstr "Прозорість для виділення"
 
-#: ../config.c:193
+#: ../config.c:195
 msgid "Render 'Loading ...'"
 msgstr "Рендер 'Завантажується ...'"
 
-#: ../config.c:194
+#: ../config.c:196
 msgid "Adjust to when opening file"
 msgstr "Підлаштовутись при відкритті файлу"
 
-#: ../config.c:196
+#: ../config.c:198
 msgid "Show hidden files and directories"
 msgstr "Показати приховані файли та директорії"
 
-#: ../config.c:198
+#: ../config.c:200
 msgid "Show directories"
 msgstr "Показати диреторії"
 
-#: ../config.c:200
+#: ../config.c:202
 msgid "Always open on first page"
 msgstr "Завжди відкривати на першій сторінці"
 
-#: ../config.c:202
+#: ../config.c:204
 msgid "Highlight search results"
 msgstr ""
 
-#: ../config.c:204
+#: ../config.c:206
 msgid "Enable incremental search"
 msgstr ""
 
-#: ../config.c:206
+#: ../config.c:208
 msgid "Clear search results on abort"
 msgstr ""
 
-#: ../config.c:208
+#: ../config.c:210
 msgid "Use basename of the file in the window title"
 msgstr ""
 
-#: ../config.c:210
+#: ../config.c:212
 msgid "Use basename of the file in the statusbar"
 msgstr ""
 
-#: ../config.c:212 ../main.c:64
+#: ../config.c:214 ../main.c:64
 msgid "Enable synctex support"
 msgstr ""
 
 #. define default inputbar commands
-#: ../config.c:370
+#: ../config.c:373
 msgid "Add a bookmark"
 msgstr "Додати закладку"
 
-#: ../config.c:371
+#: ../config.c:374
 msgid "Delete a bookmark"
 msgstr "Вилучити закладку"
 
-#: ../config.c:372
+#: ../config.c:375
 msgid "List all bookmarks"
 msgstr "Дивитись усі закладки"
 
-#: ../config.c:373
+#: ../config.c:376
 msgid "Close current file"
 msgstr "Закрити документ"
 
-#: ../config.c:374
+#: ../config.c:377
 msgid "Show file information"
 msgstr "Показати інформацію файлу"
 
-#: ../config.c:375
+#: ../config.c:378
 msgid "Execute a command"
 msgstr ""
 
-#: ../config.c:376
+#: ../config.c:379
 msgid "Show help"
 msgstr "Показати довідку"
 
-#: ../config.c:377
+#: ../config.c:380
 msgid "Open document"
 msgstr "Відкрити документ"
 
-#: ../config.c:378
+#: ../config.c:381
 msgid "Close zathura"
 msgstr "Вийти із zathura"
 
-#: ../config.c:379
+#: ../config.c:382
 msgid "Print document"
 msgstr "Друкувати документ"
 
-#: ../config.c:380
+#: ../config.c:383
 msgid "Save document"
 msgstr "Зберегти документ"
 
-#: ../config.c:381
+#: ../config.c:384
 msgid "Save document (and force overwriting)"
 msgstr "Зберегти документ (форсувати перезапис)"
 
-#: ../config.c:382
+#: ../config.c:385
 msgid "Save attachments"
 msgstr "Зберегти прикріплення"
 
-#: ../config.c:383
+#: ../config.c:386
 msgid "Set page offset"
 msgstr "Встановити зміщення сторінки"
 
-#: ../config.c:384
+#: ../config.c:387
 msgid "Mark current location within the document"
 msgstr ""
 
-#: ../config.c:385
+#: ../config.c:388
 msgid "Delete the specified marks"
 msgstr ""
 
-#: ../config.c:386
+#: ../config.c:389
 msgid "Don't highlight current search results"
 msgstr ""
 
-#: ../config.c:387
+#: ../config.c:390
 msgid "Highlight current search results"
 msgstr ""
 
-#: ../config.c:388
+#: ../config.c:391
 msgid "Show version information"
 msgstr ""
 
-#: ../links.c:163 ../links.c:242
+#: ../links.c:171 ../links.c:250
 msgid "Failed to run xdg-open."
 msgstr "Запуск xdg-open не вдався."
 
-#: ../links.c:181
+#: ../links.c:189
 #, c-format
 msgid "Link: page %d"
 msgstr ""
 
-#: ../links.c:188
+#: ../links.c:196
 #, c-format
 msgid "Link: %s"
 msgstr ""
 
-#: ../links.c:192
+#: ../links.c:200
 msgid "Link: Invalid"
 msgstr ""
 
@@ -443,21 +447,14 @@ msgstr "Копіювати картинку"
 msgid "Save image as"
 msgstr ""
 
-#: ../shortcuts.c:963
+#: ../shortcuts.c:1108
 msgid "This document does not contain any index"
 msgstr "Індекс відсутній в цьому документі"
 
-#: ../zathura.c:224 ../zathura.c:953
+#: ../zathura.c:224 ../zathura.c:956
 msgid "[No name]"
 msgstr "[Без назви]"
 
-#: ../zathura.c:587
-#, fuzzy
+#: ../zathura.c:589
 msgid "Document does not contain any pages"
-msgstr "Індекс відсутній в цьому документі"
-
-#~ msgid "Life time (in seconds) of a hidden page"
-#~ msgstr "Час (у сек) схованої сторінки"
-
-#~ msgid "Amount of seconds between each cache purge"
-#~ msgstr "Кількість секунд між кожним очищенням кешу"
+msgstr ""

From 9bc82e2d7d40825660af06f51974e02650aac8d1 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Sat, 4 May 2013 15:37:12 +0200
Subject: [PATCH 70/74] Update translations

---
 po/ca.po    | 23 ++++++++++++-----------
 po/it.po    |  6 ------
 po/pt_BR.po | 17 +++++++++--------
 3 files changed, 21 insertions(+), 25 deletions(-)

diff --git a/po/ca.po b/po/ca.po
index 3a54ee5..24e0bee 100644
--- a/po/ca.po
+++ b/po/ca.po
@@ -2,8 +2,9 @@
 # See LICENSE file for license and copyright information
 #
 # Translators:
-#   <manelsales@ono.com>, 2012.
-#   <mvdan@mvdan.cc>, 2012.
+# norbux <manelsales@ono.com>, 2013
+# norbux <manelsales@ono.com>, 2012
+# mvdan <mvdan@mvdan.cc>, 2012
 msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
@@ -173,7 +174,7 @@ msgstr "Pas de desplaçament horitzontal"
 
 #: ../config.c:153
 msgid "Full page scroll overlap"
-msgstr ""
+msgstr "Superposició de pàgines completes de desplaçament"
 
 #: ../config.c:155
 msgid "Zoom minimum"
@@ -189,7 +190,7 @@ msgstr ""
 
 #: ../config.c:161
 msgid "Number of positions to remember in the jumplist"
-msgstr ""
+msgstr "Nombre de posicions per recordar al jumplist"
 
 #: ../config.c:163
 msgid "Recoloring (dark color)"
@@ -229,7 +230,7 @@ msgstr "Desplaçament recollit"
 
 #: ../config.c:183
 msgid "Page aware scrolling"
-msgstr ""
+msgstr "Desplaçament recollit"
 
 #: ../config.c:185
 msgid "Advance number of pages per row"
@@ -277,7 +278,7 @@ msgstr "Realça els resultats de recerca"
 
 #: ../config.c:206
 msgid "Enable incremental search"
-msgstr ""
+msgstr "Habilita la cerca incremental"
 
 #: ../config.c:208
 msgid "Clear search results on abort"
@@ -293,7 +294,7 @@ msgstr ""
 
 #: ../config.c:214 ../main.c:64
 msgid "Enable synctex support"
-msgstr ""
+msgstr "Habilitar la compatibilitat amb synctex"
 
 #. define default inputbar commands
 #: ../config.c:373
@@ -318,7 +319,7 @@ msgstr "Mostra informació sobre el fitxer"
 
 #: ../config.c:378
 msgid "Execute a command"
-msgstr ""
+msgstr "Executar una comanda"
 
 #: ../config.c:379
 msgid "Show help"
@@ -379,16 +380,16 @@ msgstr "No s'ha pogut executar xdg-open."
 #: ../links.c:189
 #, c-format
 msgid "Link: page %d"
-msgstr ""
+msgstr "Enllaçar: pàgina %d"
 
 #: ../links.c:196
 #, c-format
 msgid "Link: %s"
-msgstr ""
+msgstr "Enllaç: %s"
 
 #: ../links.c:200
 msgid "Link: Invalid"
-msgstr ""
+msgstr "Enllaç: Invàlid"
 
 #: ../main.c:55
 msgid "Reparents to window specified by xid"
diff --git a/po/it.po b/po/it.po
index 4e576db..74f0ca9 100644
--- a/po/it.po
+++ b/po/it.po
@@ -457,9 +457,3 @@ msgstr "[Nessun nome]"
 #: ../zathura.c:589
 msgid "Document does not contain any pages"
 msgstr ""
-
-#~ msgid "Life time (in seconds) of a hidden page"
-#~ msgstr "Durata (in secondi) di una pagina nascosta"
-
-#~ msgid "Amount of seconds between each cache purge"
-#~ msgstr "Tempo in secondi tra le invalidazioni della cache"
diff --git a/po/pt_BR.po b/po/pt_BR.po
index a023baf..e39c7c0 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -2,7 +2,8 @@
 # See LICENSE file for license and copyright information
 #
 # Translators:
-#   <shorterfire@gmail.com>, 2012-2013.
+# salmora8 <shorterfire@gmail.com>, 2013
+# salmora8 <shorterfire@gmail.com>, 2012-2013
 msgid ""
 msgstr ""
 "Project-Id-Version: zathura\n"
@@ -184,7 +185,7 @@ msgstr "Zoom máximo"
 
 #: ../config.c:159
 msgid "Maximum number of pages to keep in the cache"
-msgstr ""
+msgstr "Número máximo de páginas para manter no cache"
 
 #: ../config.c:161
 msgid "Number of positions to remember in the jumplist"
@@ -208,11 +209,11 @@ msgstr "Cor para destacar (ativo)"
 
 #: ../config.c:171
 msgid "'Loading ...' background color"
-msgstr ""
+msgstr "'Carregando ...' cor de fundo"
 
 #: ../config.c:173
 msgid "'Loading ...' foreground color"
-msgstr ""
+msgstr "'Carregando ...' cor de primeiro plano"
 
 #: ../config.c:177
 msgid "Recolor pages"
@@ -241,7 +242,7 @@ msgstr "Zoom centrado horizontalmente"
 
 #: ../config.c:189
 msgid "Align link target to the left"
-msgstr ""
+msgstr "Alinhe destino do link à esquerda"
 
 #: ../config.c:191
 msgid "Center result horizontally"
@@ -289,7 +290,7 @@ msgstr "Usar nome do arquivo na barra de titulo"
 
 #: ../config.c:212
 msgid "Use basename of the file in the statusbar"
-msgstr ""
+msgstr "Use o nome do arquivo na barra de status"
 
 #: ../config.c:214 ../main.c:64
 msgid "Enable synctex support"
@@ -416,7 +417,7 @@ msgstr "Senha do documento"
 
 #: ../main.c:61
 msgid "Page number to go to"
-msgstr ""
+msgstr "Número da página para ir"
 
 #: ../main.c:62
 msgid "Log level (debug, info, warning, error)"
@@ -457,4 +458,4 @@ msgstr "[Sem nome]"
 
 #: ../zathura.c:589
 msgid "Document does not contain any pages"
-msgstr ""
+msgstr "Documento não contém quaisquer páginas"

From 5bc7c7212d979932fed088d0cca2964327a1a7b8 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Sat, 4 May 2013 15:57:50 +0200
Subject: [PATCH 71/74] Update desktop translations

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 zathura.desktop | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/zathura.desktop b/zathura.desktop
index 64fd6f7..852ebf2 100644
--- a/zathura.desktop
+++ b/zathura.desktop
@@ -3,15 +3,20 @@ Version=1.0
 Type=Application
 Name=Zathura
 Comment=A minimalistic document viewer
+Comment[ca]=Un visualitzador de documents minimalista
 Comment[de]=Ein minimalistischer Dokumenten-Betrachter
-Comment[fr]=Un visionneur de document minimaliste
-Comment[ru]=Минималистичный просмотрщик документов
-Comment[tr]=Minimalist bir belge görüntüleyicisi
+Comment[el]=Ένας ελαφρύς προβολέας κειμένων
+Comment[eo]=Malpeza dokumento spektanto
 Comment[es_CL]=Un visor de documentos minimalista
-Comment[uk_UA]=Легкий переглядач документів
+Comment[fr]=Un visionneur de document minimaliste
+Comment[he]=מציג מסמכים מינימליסטי
+Comment[id_ID]=Pembaca dokumen minimalis
 Comment[it]=Un visualizzatore di documenti minimalista
 Comment[pl]=Minimalistyczna przeglądarka dokumentów
-Exec=zathura %f
+Comment[pt_BR]=Um visualizador de documentos minimalista
+Comment[ru]=Минималистичный просмотрщик документов
+Comment[tr]=Minimalist bir belge görüntüleyicisi
+Comment[uk_UA]=Легкий переглядач документів
+Exec=zathura
 Terminal=false
 Categories=Office;Viewer;
-MimeType=application/pdf;application/postscript;application/eps;application/x-eps;image/eps;image/x-eps;image/vnd.djvu;

From 7ebf15543b3cf0ec41b7a342184de0168faa24bb Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date: Sat, 4 May 2013 19:33:14 +0200
Subject: [PATCH 72/74] Use strrchr in file_get_extension

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
---
 utils.c | 16 ++++------------
 1 file changed, 4 insertions(+), 12 deletions(-)

diff --git a/utils.c b/utils.c
index 26a07cd..7c462b3 100644
--- a/utils.c
+++ b/utils.c
@@ -29,24 +29,16 @@
 const char*
 file_get_extension(const char* path)
 {
-  if (!path) {
+  if (path == NULL) {
     return NULL;
   }
 
-  unsigned int i = strlen(path);
-  for (; i > 0; i--) {
-    if (*(path + i) != '.') {
-      continue;
-    } else {
-      break;
-    }
-  }
-
-  if (!i) {
+  const char* res = strrchr(path, '.');
+  if (res == NULL) {
     return NULL;
   }
 
-  return path + i + 1;
+  return res + 1;
 }
 
 bool

From 87f10baffc61ef2eed68cbd437997b11d18b92b5 Mon Sep 17 00:00:00 2001
From: Moritz Lipp <mlq@pwmt.org>
Date: Wed, 8 May 2013 18:28:32 +0200
Subject: [PATCH 73/74] Allow negative offsets

---
 commands.c  | 6 ++----
 document.c  | 8 +++-----
 document.h  | 2 +-
 shortcuts.c | 7 ++-----
 4 files changed, 8 insertions(+), 15 deletions(-)

diff --git a/commands.c b/commands.c
index 9551b51..38f7470 100644
--- a/commands.c
+++ b/commands.c
@@ -533,7 +533,7 @@ cmd_offset(girara_session_t* session, girara_list_t* argument_list)
   }
 
   /* no argument: take current page as offset */
-  unsigned int page_offset = zathura_document_get_current_page_number(zathura->document);
+  int page_offset = zathura_document_get_current_page_number(zathura->document);
 
   /* retrieve offset from argument */
   if (girara_list_size(argument_list) == 1) {
@@ -547,9 +547,7 @@ cmd_offset(girara_session_t* session, girara_list_t* argument_list)
     }
   }
 
-  if (page_offset < zathura_document_get_number_of_pages(zathura->document)) {
-    zathura_document_set_page_offset(zathura->document, page_offset);
-  }
+  zathura_document_set_page_offset(zathura->document, page_offset);
 
   return true;
 }
diff --git a/document.c b/document.c
index dc69540..2e6e557 100644
--- a/document.c
+++ b/document.c
@@ -47,7 +47,7 @@ struct zathura_document_s {
   unsigned int rotate; /**< Rotation */
   void* data; /**< Custom data */
   zathura_adjust_mode_t adjust_mode; /**< Adjust mode (best-fit, width) */
-  unsigned int page_offset; /**< Page offset */
+  int page_offset; /**< Page offset */
 
   /**
    * Document pages
@@ -365,7 +365,7 @@ zathura_document_set_adjust_mode(zathura_document_t* document, zathura_adjust_mo
   document->adjust_mode = mode;
 }
 
-unsigned int
+int
 zathura_document_get_page_offset(zathura_document_t* document)
 {
   if (document == NULL) {
@@ -382,9 +382,7 @@ zathura_document_set_page_offset(zathura_document_t* document, unsigned int page
     return;
   }
 
-  if (page_offset < document->number_of_pages) {
-    document->page_offset = page_offset;
-  }
+  document->page_offset = page_offset;
 }
 
 void
diff --git a/document.h b/document.h
index 113344e..5f18047 100644
--- a/document.h
+++ b/document.h
@@ -143,7 +143,7 @@ void zathura_document_set_adjust_mode(zathura_document_t* document, zathura_adju
  * @param document The document
  * @return The page offset
  */
-unsigned int zathura_document_get_page_offset(zathura_document_t* document);
+int zathura_document_get_page_offset(zathura_document_t* document);
 
 /**
  * Sets the new page offset of the document
diff --git a/shortcuts.c b/shortcuts.c
index 583867f..3af1531 100644
--- a/shortcuts.c
+++ b/shortcuts.c
@@ -315,12 +315,9 @@ sc_goto(girara_session_t* session, girara_argument_t* argument, girara_event_t*
   zathura_jumplist_save(zathura);
   if (t != 0) {
     /* add offset */
-    unsigned int page_offset = zathura_document_get_page_offset(zathura->document);
-    if (page_offset > 0) {
-      t += page_offset;
-    }
+    t += zathura_document_get_page_offset(zathura->document);
 
-    page_set(zathura, t-1);
+    page_set(zathura, t - 1);
   } else if (argument->n == TOP) {
     page_set(zathura, 0);
   } else if (argument->n == BOTTOM) {

From e0efd8ab1e7dbe98b5b42d8b2209463fbfa7f4ec Mon Sep 17 00:00:00 2001
From: Moritz Lipp <mlq@pwmt.org>
Date: Sun, 12 May 2013 23:28:20 +0200
Subject: [PATCH 74/74] Version 0.2.3

---
 config.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/config.mk b/config.mk
index d6fd079..5bfa7c2 100644
--- a/config.mk
+++ b/config.mk
@@ -3,7 +3,7 @@
 
 ZATHURA_VERSION_MAJOR = 0
 ZATHURA_VERSION_MINOR = 2
-ZATHURA_VERSION_REV = 2
+ZATHURA_VERSION_REV = 3
 # If the API changes, the API version and the ABI version have to be bumped.
 ZATHURA_API_VERSION = 2
 # If the ABI breaks for any reason, this has to be bumped.
@@ -16,7 +16,7 @@ ZATHURA_GTK_VERSION ?= 2
 
 # minimum required zathura version
 # If you want to disable the check, set GIRARA_VERSION_CHECK to 0.
-GIRARA_MIN_VERSION = 0.1.5
+GIRARA_MIN_VERSION = 0.1.6
 GIRARA_VERSION_CHECK ?= $(shell pkg-config --atleast-version=$(GIRARA_MIN_VERSION) girara-gtk${ZATHURA_GTK_VERSION}; echo $$?)
 
 # database