Sat Nov 4 17:14:47 2006 John Ellis <johne@verizon.net>
authorJohn Ellis <johne@verizon.net>
Sat, 4 Nov 2006 22:24:47 +0000 (22:24 +0000)
committerJohn Ellis <johne@verizon.net>
Sat, 4 Nov 2006 22:24:47 +0000 (22:24 +0000)
        * pan-view.c: Always recalculate canvas size when displaying popups.
        * README: Updates.
        * po/eo.po: Mark translation for 'Command Line' not fuzzy.
        * configure.in: Release 2.1.4 (quick bug fix for pan view).

38 files changed:
ChangeLog
README
configure.in
po/ar.po
po/be.po
po/bg.po
po/ca.po
po/cs.po
po/da.po
po/de.po
po/eo.po
po/es.po
po/et.po
po/eu.po
po/fi.po
po/fr.po
po/hu.po
po/id.po
po/it.po
po/ja.po
po/ko.po
po/nl.po
po/no.po
po/pl.po
po/pt_BR.po
po/ro.po
po/ru.po
po/sk.po
po/sl.po
po/sv.po
po/th.po
po/tr.po
po/uk.po
po/vi.po
po/zh_CN.GB2312.po
po/zh_TW.po
src/pan-view.c
src/pixbuf-renderer.c

index a5e00a8..9b910b0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+Sat Nov  4 17:14:47 2006  John Ellis  <johne@verizon.net>
+
+       * pan-view.c: Always recalculate canvas size when displaying popups.
+       * README: Updates.
+       * po/eo.po: Mark translation for 'Command Line' not fuzzy.
+       * configure.in: Release 2.1.4 (quick bug fix for pan view).
+
+Sat Nov  4 16:55:08 2006  John Ellis  <johne@verizon.net>
+
+       * pan-view.c: Only print things to console when debug is enabled.
+       * pixbuf-renderer.c: Fix pixbuf_renderer_set_tiles_size() so that
+       canvas will not treat scroll position as if a new image was set, this
+       fixes popups in the Pan View from causing a scroll to the top left or
+       center when scroll_reset_method is not set to 'no change'. Also clean
+       up pr_pixbuf_set() and pr_zoom_sync() arguments, some were unused or
+       always set TRUE as they were old cruft.
+
 Sat Nov  4 10:31:51 2006  John Ellis  <johne@verizon.net>
 
        * README: Updates.
diff --git a/README b/README
index cb0f38b..df09b5e 100644 (file)
--- a/README
+++ b/README
@@ -1,5 +1,5 @@
 ###################################################################
-##                          GQview 2.1.3      (November 4, 2006) ##
+##                          GQview 2.1.4      (November 4, 2006) ##
 ##                                                               ##
 ##              Copyright (C) 1999 - 2006 John Ellis.            ##
 ##                                                               ##
@@ -44,6 +44,11 @@ homepage: http://gqview.sourceforge.net
 
   Changes:
 
+   2.1.4: (quick bug fix release)
+    * Fix Pan View scrolling to top left or center when the
+      canvas size is recalculated.
+
+   2.1.3:
     + Add translations eo, eu; updated translation be.
     + Add command to view image as grayscale with [Shift]+[G].
     - Make [F11] also toggle fullscreen.
index 1f305bd..eb4ba44 100644 (file)
@@ -1,7 +1,7 @@
 AC_INIT(src/main.c)
 AC_CONFIG_HEADER(config.h)
 
-AM_INIT_AUTOMAKE(gqview, 2.1.3)
+AM_INIT_AUTOMAKE(gqview, 2.1.4)
 
 AM_MAINTAINER_MODE
 
index bf3dc0d..9b33149 100644 (file)
--- a/po/ar.po
+++ b/po/ar.po
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: ar\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-11-04 10:21-0500\n"
+"POT-Creation-Date: 2006-11-04 17:18-0500\n"
 "PO-Revision-Date: 2004-10-19 16:58-0400\n"
 "Last-Translator: Youssef Assad\n"
 "Language-Team:  <youssef@devcabal.org>\n"
index fb5a30d..582dc19 100644 (file)
--- a/po/be.po
+++ b/po/be.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: gqview 2.1.2\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-11-04 10:21-0500\n"
+"POT-Creation-Date: 2006-11-04 17:18-0500\n"
 "PO-Revision-Date: 2006-10-19 01:30+0300\n"
 "Last-Translator: Pavel Piatruk <berserker@neolocation.com>\n"
 "Language-Team: Belarusian <i18n@mova.org>\n"
index 75ade92..80f5fd7 100644 (file)
--- a/po/bg.po
+++ b/po/bg.po
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: gqview 2.0.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-11-04 10:21-0500\n"
+"POT-Creation-Date: 2006-11-04 17:18-0500\n"
 "PO-Revision-Date: 2005-02-26 16:13+0200\n"
 "Last-Translator: Владимир Петров <vladux@users.sourceforge.net>\n"
 "Language-Team: Bulgarian <bg@li.org>\n"
index 00863bc..0ab5660 100644 (file)
--- a/po/ca.po
+++ b/po/ca.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: GQview 1.5.4\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-11-04 10:21-0500\n"
+"POT-Creation-Date: 2006-11-04 17:18-0500\n"
 "PO-Revision-Date: 2005-09-10 18:08+0200\n"
 "Last-Translator: Jordi Vilalta Prat <jvprat@gmail.com>\n"
 "Language-Team: catux.org <mecatxis@ya.com>\n"
index 02ca7b5..547169c 100644 (file)
--- a/po/cs.po
+++ b/po/cs.po
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: 2.0.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-11-04 10:21-0500\n"
+"POT-Creation-Date: 2006-11-04 17:18-0500\n"
 "PO-Revision-Date: 2005-05-07 17:31+0200\n"
 "Last-Translator: Jan Raska <jan.raska@tiscali.cz>\n"
 "Language-Team: Czech <cs@li.org>\n"
index e1663d5..9ead73f 100644 (file)
--- a/po/da.po
+++ b/po/da.po
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: gqview-0.99.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-11-04 10:21-0500\n"
+"POT-Creation-Date: 2006-11-04 17:18-0500\n"
 "PO-Revision-Date: 2001-11-24 21:25+0100\n"
 "Last-Translator: Birger Langkjer <birger.langkjer@image.dk>\n"
 "Language-Team: Danish <sslug-locale@sslug.dk>\n"
index f86014e..0982448 100644 (file)
--- a/po/de.po
+++ b/po/de.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: gqview-1.3.9\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-11-04 10:21-0500\n"
+"POT-Creation-Date: 2006-11-04 17:18-0500\n"
 "PO-Revision-Date: 2006-06-02 20:15+0100\n"
 "Last-Translator: Ronny Steiner <Post@SIRSteiner.de>\n"
 "Language-Team: fixme\n"
index 9446824..bde31e6 100644 (file)
--- a/po/eo.po
+++ b/po/eo.po
@@ -10,7 +10,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: gqview-2.1.2_dev_eo\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-11-04 10:21-0500\n"
+"POT-Creation-Date: 2006-11-04 17:18-0500\n"
 "PO-Revision-Date: 2006-10-28 09:40+0200\n"
 "Last-Translator: Antonio C. Codazzi <f_sophia@libero.it>\n"
 "Language-Team: \n"
@@ -2059,7 +2059,6 @@ msgid "Menu name"
 msgstr "Menunomo"
 
 #: src/preferences.c:1090
-#, fuzzy
 msgid "Command Line"
 msgstr "Komandlinio"
 
index 9b58603..b5003c9 100644 (file)
--- a/po/es.po
+++ b/po/es.po
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: GQview 1.5.9\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-11-04 10:21-0500\n"
+"POT-Creation-Date: 2006-11-04 17:18-0500\n"
 "PO-Revision-Date: 2005-02-16 13:27-0300\n"
 "Last-Translator: Ariel Fermani <the_end@bbs.frc.utn.edu.ar>\n"
 "Language-Team: \n"
index d6c0de5..a4f2b87 100644 (file)
--- a/po/et.po
+++ b/po/et.po
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: GQView\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-11-04 10:21-0500\n"
+"POT-Creation-Date: 2006-11-04 17:18-0500\n"
 "PO-Revision-Date: 2002-07-31 15:40+0200\n"
 "Last-Translator: Ilmar Kerm <ikerm@hot.ee>\n"
 "Language-Team: Estonian <gnome-et@linux.ee>\n"
index e45d544..450954f 100644 (file)
--- a/po/eu.po
+++ b/po/eu.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: gqview-2.1.2-eu\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-11-04 10:21-0500\n"
+"POT-Creation-Date: 2006-11-04 17:18-0500\n"
 "PO-Revision-Date: 2006-10-14 23:08+0200\n"
 "Last-Translator: Piarres Beobide <pi@beobide.net>\n"
 "Language-Team: librezale <librezale@librezale.org>\n"
index f0b70d4..28a12ed 100644 (file)
--- a/po/fi.po
+++ b/po/fi.po
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: gqview 2.0.2\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-11-04 10:21-0500\n"
+"POT-Creation-Date: 2006-11-04 17:18-0500\n"
 "PO-Revision-Date: 2006-10-14 02:26+0300\n"
 "Last-Translator: Lauri Nurmi <lanurmi@iki.fi>\n"
 "Language-Team: Finnish <laatu@lokalisointi.org>\n"
index 71fe29b..3d4b161 100644 (file)
--- a/po/fr.po
+++ b/po/fr.po
@@ -12,7 +12,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: gqview-2.1.1\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-11-04 10:21-0500\n"
+"POT-Creation-Date: 2006-11-04 17:18-0500\n"
 "PO-Revision-Date: 2005-07-14 00:11+0200\n"
 "Last-Translator: Éric Lassauge <lassauge@users.sourceforge.net>\n"
 "Language-Team: french\n"
index 868ec41..96a316c 100644 (file)
--- a/po/hu.po
+++ b/po/hu.po
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: gqview\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-11-04 10:21-0500\n"
+"POT-Creation-Date: 2006-11-04 17:18-0500\n"
 "PO-Revision-Date: 2004-02-22 17:20+0100\n"
 "Last-Translator: Sári Gábor <saga@externet.hu>\n"
 "Language-Team: Hungarian <hu@li.org>\n"
index 8ec3255..9dd6131 100644 (file)
--- a/po/id.po
+++ b/po/id.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: gqview\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-11-04 10:21-0500\n"
+"POT-Creation-Date: 2006-11-04 17:18-0500\n"
 "PO-Revision-Date: 2003-04-14 11:03GMT+0700\n"
 "Last-Translator: Tedi Heriyanto <tedi_h@gmx.net>\n"
 "Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
index 0f738f8..62cac24 100644 (file)
--- a/po/it.po
+++ b/po/it.po
@@ -9,7 +9,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: gqview-2.1.1_dev_it\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-11-04 10:21-0500\n"
+"POT-Creation-Date: 2006-11-04 17:18-0500\n"
 "PO-Revision-Date: 2006-06-12 09:40+0200\n"
 "Last-Translator: Kostantino <ciclope10ATalice.it>\n"
 "Language-Team: italiano <it@li.org>\n"
index 543907b..17ac2a4 100644 (file)
--- a/po/ja.po
+++ b/po/ja.po
@@ -9,7 +9,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: gqview 1.5.9\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-11-04 10:21-0500\n"
+"POT-Creation-Date: 2006-11-04 17:18-0500\n"
 "PO-Revision-Date: 2005-02-17 15:45+0900\n"
 "Last-Translator: Takeshi AIHANA <aihana@gnome.gr.jp>\n"
 "Language-Team: Japanese <gnome-translation@gnome.gr.jp>\n"
index 01e1304..f0a5d3f 100644 (file)
--- a/po/ko.po
+++ b/po/ko.po
@@ -10,7 +10,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: gqview\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-11-04 10:21-0500\n"
+"POT-Creation-Date: 2006-11-04 17:18-0500\n"
 "PO-Revision-Date: 2006-01-29 01:15-0500\n"
 "Last-Translator: Hyun-Jin Moon <moonhyunjin@gmail.com>\n"
 "Language-Team: Korean\n"
index ef4da0a..dc32db9 100644 (file)
--- a/po/nl.po
+++ b/po/nl.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: GQview 1.3.1\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-11-04 10:21-0500\n"
+"POT-Creation-Date: 2006-11-04 17:18-0500\n"
 "PO-Revision-Date: 2005-02-26 18:35+0100\n"
 "Last-Translator: Tino Meinen <a.t.meinen@chello.nl>\n"
 "Language-Team: Dutch <vertaling@vrijschrift.org>\n"
index 6a3e239..e052c18 100644 (file)
--- a/po/no.po
+++ b/po/no.po
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: gqview-0.99.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-11-04 10:21-0500\n"
+"POT-Creation-Date: 2006-11-04 17:18-0500\n"
 "PO-Revision-Date: 2001-12-06 16:27+0100\n"
 "Last-Translator: Torgeir Ness Sundli <torgeir@mp3bil.no>\n"
 "Language-Team: Norwegian <?>\n"
index e6c9d97..6ef923d 100644 (file)
--- a/po/pl.po
+++ b/po/pl.po
@@ -2,7 +2,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: gqview 2.1.1\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-11-04 10:21-0500\n"
+"POT-Creation-Date: 2006-11-04 17:18-0500\n"
 "PO-Revision-Date: 2004-01-23 21:53+0100\n"
 "Last-Translator: Wit Wiliński <madman@linux.bydg.org>\n"
 "Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
index ed03f06..9d801be 100644 (file)
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: GQview 2.1.1\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-11-04 10:21-0500\n"
+"POT-Creation-Date: 2006-11-04 17:18-0500\n"
 "PO-Revision-Date: 2005-11-01 19:50-0200\n"
 "Last-Translator: Herval Ribeiro de Azevêdo <heraze@gmail.com>\n"
 "Language-Team: Brazilian Portuguese\n"
index 2cd120f..3985a71 100644 (file)
--- a/po/ro.po
+++ b/po/ro.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: ro\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-11-04 10:21-0500\n"
+"POT-Creation-Date: 2006-11-04 17:18-0500\n"
 "PO-Revision-Date: 2004-04-28 16:07-0400\n"
 "Last-Translator: Harald Ersch <harald@ersch.ro>\n"
 "Language-Team: Romanian <rtfs-project@sourceforge.net>\n"
index d679cd0..5e6724b 100644 (file)
--- a/po/ru.po
+++ b/po/ru.po
@@ -13,7 +13,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: gqview-1.5.7\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-11-04 10:21-0500\n"
+"POT-Creation-Date: 2006-11-04 17:18-0500\n"
 "PO-Revision-Date: 2005-09-01 03:28+0400\n"
 "Last-Translator: Vitaly Lipatov <lav@altlinux.ru>\n"
 "Language-Team: Russian <ru@li.org>\n"
index 5d44214..c878797 100644 (file)
--- a/po/sk.po
+++ b/po/sk.po
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: sk\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-11-04 10:21-0500\n"
+"POT-Creation-Date: 2006-11-04 17:18-0500\n"
 "PO-Revision-Date: 2004-02-11 23:45+0100\n"
 "Last-Translator: \n"
 "Language-Team:  <sk@li.org>\n"
index a2e2a50..202b618 100644 (file)
--- a/po/sl.po
+++ b/po/sl.po
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: gqview-0.10.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-11-04 10:21-0500\n"
+"POT-Creation-Date: 2006-11-04 17:18-0500\n"
 "PO-Revision-Date: fixme\n"
 "Last-Translator: Matej Erman <matej.erman@guest.arnes.si>\n"
 "Language-Team: slovene <sl@li.org>\n"
index 156443a..c24bd32 100644 (file)
--- a/po/sv.po
+++ b/po/sv.po
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: gqview 1.5.7\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-11-04 10:21-0500\n"
+"POT-Creation-Date: 2006-11-04 17:18-0500\n"
 "PO-Revision-Date: 2005-02-01 23:26+0100\n"
 "Last-Translator: Hans Ofverbeck <hans.ofverbeck@home.se>\n"
 "Language-Team: Swedish <sv@li.org>\n"
index 82b8e35..b3d8d8a 100644 (file)
--- a/po/th.po
+++ b/po/th.po
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: gqview-1.1.5\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-11-04 10:21-0500\n"
+"POT-Creation-Date: 2006-11-04 17:18-0500\n"
 "PO-Revision-Date: 2002-02-25 20:55GMT\n"
 "Last-Translator: Phanumas Thanyaboon <maskung@hotmail.com>\n"
 "Language-Team: thai <th@li.org>\n"
index d7c1392..2943a93 100644 (file)
--- a/po/tr.po
+++ b/po/tr.po
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: GQview  0.8.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-11-04 10:21-0500\n"
+"POT-Creation-Date: 2006-11-04 17:18-0500\n"
 "PO-Revision-Date: 2000-04-07 17:09+0200\n"
 "Last-Translator: Fatih Demir <kabalak@gmx.net>\n"
 "Language-Team: Turkish Gnome Translation Team <gnotrap@gmx.net>\n"
index a05bf18..a1b851a 100644 (file)
--- a/po/uk.po
+++ b/po/uk.po
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: gqview 1.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-11-04 10:21-0500\n"
+"POT-Creation-Date: 2006-11-04 17:18-0500\n"
 "PO-Revision-Date: 2002-05-07 17:15+0200\n"
 "Last-Translator: Volodymyr M. Lisivka <lvm@mystery.lviv.net>\n"
 "Language-Team:  <linux@linux.org.ua>\n"
index 60261c0..f47c561 100644 (file)
--- a/po/vi.po
+++ b/po/vi.po
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: gqview VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-11-04 10:21-0500\n"
+"POT-Creation-Date: 2006-11-04 17:18-0500\n"
 "PO-Revision-Date: 2006-10-14 10:09+0700\n"
 "Last-Translator: pclouds <pclouds@vnlinux.org>\n"
 "Language-Team: GnomeVI <gnomevi-list@lists.sourceforge.net>\n"
index 51ffa94..3e9ed91 100644 (file)
@@ -2,7 +2,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: gqview 0.9.5\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-11-04 10:21-0500\n"
+"POT-Creation-Date: 2006-11-04 17:18-0500\n"
 "PO-Revision-Date: 2001-02-21 17:46+0800\n"
 "Last-Translator: Wu Yulun <migr@operamail.com>\n"
 "Language-Team: Chinese <i18n-chinese@egroups.com>\n"
index d7f332a..1e4e875 100644 (file)
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: gqview 2.1.1\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-11-04 10:21-0500\n"
+"POT-Creation-Date: 2006-11-04 17:18-0500\n"
 "PO-Revision-Date: 2005-08-13 13:22+0800\n"
 "Last-Translator: S.J. Luo <crystal@mickey.ee.nctu.edu.tw>\n"
 "Language-Team: Traditional Chinese <zh-l10n@linux.org.tw>\n"
index ff3e8a5..e2ca120 100644 (file)
@@ -672,7 +672,7 @@ static void pan_grid_build(PanWindow *pw, gint width, gint height, gint grid_siz
        row = row * 2 - 1;
        col = col * 2 - 1;
 
-       printf("intersect speedup grid is %dx%d, based on %d average per grid\n", col, row, grid_size);
+       if (debug) printf("intersect speedup grid is %dx%d, based on %d average per grid\n", col, row, grid_size);
 
        for (j = 0; j < row; j++)
            for (i = 0; i < col; i++)
@@ -2499,7 +2499,7 @@ static void pan_window_layout_compute(PanWindow *pw, const gchar *path,
 
        pan_cache_free(pw);
 
-       printf("computed %d objects\n", g_list_length(pw->list));
+       if (debug) printf("computed %d objects\n", g_list_length(pw->list));
 }
 
 static GList *pan_layout_intersect_l(GList *list, GList *item_list,
@@ -3340,7 +3340,7 @@ static gint pan_window_layout_update_idle_cb(gpointer data)
                {
                gdouble align;
 
-               printf("Canvas size is %d x %d\n", width, height);
+               if (debug) printf("Canvas size is %d x %d\n", width, height);
 
                pan_grid_build(pw, width, height, 1000);
 
@@ -3930,10 +3930,10 @@ static void pan_info_update(PanWindow *pw, PanItem *pi)
 
                        pan_item_box_shadow(pbox, PAN_SHADOW_OFFSET * 2, PAN_SHADOW_FADE * 2);
                        pan_item_added(pw, pbox);
-
-                       pan_layout_resize(pw);
                        }
                }
+
+       pan_layout_resize(pw);
 }
 
 
index e0d466e..f7ab0e2 100644 (file)
@@ -193,7 +193,7 @@ static void pr_queue(PixbufRenderer *pr, gint x, gint y, gint w, gint h,
 static void pr_redraw(PixbufRenderer *pr, gint new_data);
 
 static void pr_zoom_sync(PixbufRenderer *pr, gdouble zoom,
-                        gint force, gint blank, gint new,
+                        gint force, gint new,
                         gint center_point, gint px, gint py);
 
 static void pr_signals_connect(PixbufRenderer *pr);
@@ -1575,7 +1575,7 @@ void pixbuf_renderer_set_tiles(PixbufRenderer *pr, gint width, gint height,
        pr->func_tile_dispose = func_dispose;
        pr->func_tile_data = user_data;
 
-       pr_zoom_sync(pr, zoom, TRUE, FALSE, TRUE, FALSE, 0, 0);
+       pr_zoom_sync(pr, zoom, TRUE, TRUE, FALSE, 0, 0);
        pr_redraw(pr, TRUE);
 }
 
@@ -1590,8 +1590,7 @@ void pixbuf_renderer_set_tiles_size(PixbufRenderer *pr, gint width, gint height)
        pr->image_width = width;
        pr->image_height = height;
 
-       pr_zoom_sync(pr, pr->zoom, TRUE, FALSE, TRUE, FALSE, 0, 0);
-       pr_redraw(pr, TRUE);
+       pr_zoom_sync(pr, pr->zoom, TRUE, FALSE, FALSE, 0, 0);
 }
 
 gint pixbuf_renderer_get_tiles(PixbufRenderer *pr)
@@ -1643,7 +1642,7 @@ static void pr_zoom_adjust_real(PixbufRenderer *pr, gdouble increment,
                        }
                }
 
-       pr_zoom_sync(pr, zoom, FALSE, FALSE, FALSE, center_point, x, y);
+       pr_zoom_sync(pr, zoom, FALSE, FALSE, center_point, x, y);
 }
 
 /*
@@ -2559,7 +2558,7 @@ static gint pr_zoom_clamp(PixbufRenderer *pr, gdouble zoom,
 }
 
 static void pr_zoom_sync(PixbufRenderer *pr, gdouble zoom,
-                        gint force, gint blank, gint new,
+                        gint force, gint new,
                         gint center_point, gint px, gint py)
 {
        gdouble old_scale;
@@ -2588,7 +2587,7 @@ static void pr_zoom_sync(PixbufRenderer *pr, gdouble zoom,
        clamped = pr_size_clamp(pr);
        sized = pr_parent_window_resize(pr, pr->width, pr->height);
 
-       if (force)
+       if (force && new)
                {
                switch (pr->scroll_reset)
                        {
@@ -2625,10 +2624,6 @@ static void pr_zoom_sync(PixbufRenderer *pr, gdouble zoom,
 
        pr_scroll_clamp(pr);
 
-#if 0
-       pr_tile_sync(pr, blank);
-#endif
-
        /* If the window was not sized, redraw the image - we know there will be no size/expose signal.
         * But even if a size is claimed, there is no guarantee that the window manager will allow it,
         * so redraw the window anyway :/
@@ -2696,10 +2691,6 @@ static void pr_size_sync(PixbufRenderer *pr, gint new_width, gint new_height)
 
        pr_border_clear(pr);
 
-#if 0
-       pr_tile_sync(pr, pr->width, pr->height, FALSE);
-#endif
-
        pr_scroll_notify_signal(pr);
        if (zoom_changed) pr_zoom_signal(pr);
        pr_update_signal(pr);
@@ -3053,7 +3044,7 @@ static void pr_signals_connect(PixbufRenderer *pr)
  *-------------------------------------------------------------------
  */
 
-static void pr_pixbuf_sync(PixbufRenderer *pr, gdouble zoom, gint blank, gint new)
+static void pr_pixbuf_sync(PixbufRenderer *pr, gdouble zoom)
 {
        if (!pr->pixbuf)
                {
@@ -3080,16 +3071,16 @@ static void pr_pixbuf_sync(PixbufRenderer *pr, gdouble zoom, gint blank, gint ne
        pr->image_width = gdk_pixbuf_get_width(pr->pixbuf);
        pr->image_height = gdk_pixbuf_get_height(pr->pixbuf);
 
-       pr_zoom_sync(pr, zoom, TRUE, blank, new, FALSE, 0, 0);
+       pr_zoom_sync(pr, zoom, TRUE, TRUE, FALSE, 0, 0);
 }
 
-static void pr_set_pixbuf(PixbufRenderer *pr, GdkPixbuf *pixbuf, gdouble zoom, gint new)
+static void pr_set_pixbuf(PixbufRenderer *pr, GdkPixbuf *pixbuf, gdouble zoom)
 {
        if (pixbuf) g_object_ref(pixbuf);
        if (pr->pixbuf) g_object_unref(pr->pixbuf);
        pr->pixbuf = pixbuf;
 
-       pr_pixbuf_sync(pr, zoom, FALSE, new);
+       pr_pixbuf_sync(pr, zoom);
 }
 
 void pixbuf_renderer_set_pixbuf(PixbufRenderer *pr, GdkPixbuf *pixbuf, gdouble zoom)
@@ -3098,7 +3089,7 @@ void pixbuf_renderer_set_pixbuf(PixbufRenderer *pr, GdkPixbuf *pixbuf, gdouble z
 
        pr_source_tile_unset(pr);
 
-       pr_set_pixbuf(pr, pixbuf, zoom, TRUE);
+       pr_set_pixbuf(pr, pixbuf, zoom);
 
        pr_update_signal(pr);
 }
@@ -3152,7 +3143,7 @@ void pixbuf_renderer_move(PixbufRenderer *pr, PixbufRenderer *source)
                pr->source_tiles = source->source_tiles;
                source->source_tiles = NULL;
 
-               pr_zoom_sync(pr, source->zoom, TRUE, FALSE, TRUE, FALSE, 0, 0);
+               pr_zoom_sync(pr, source->zoom, TRUE, TRUE, FALSE, 0, 0);
                pr_redraw(pr, TRUE);
                }
        else
@@ -3211,7 +3202,7 @@ void pixbuf_renderer_zoom_set(PixbufRenderer *pr, gdouble zoom)
 {
        g_return_if_fail(IS_PIXBUF_RENDERER(pr));
 
-       pr_zoom_sync(pr, zoom, FALSE, FALSE, FALSE, FALSE, 0, 0);
+       pr_zoom_sync(pr, zoom, FALSE, FALSE, FALSE, 0, 0);
 }
 
 gdouble pixbuf_renderer_zoom_get(PixbufRenderer *pr)