* 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 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.
###################################################################
-## GQview 2.1.3 (November 4, 2006) ##
+## GQview 2.1.4 (November 4, 2006) ##
## ##
## Copyright (C) 1999 - 2006 John Ellis. ##
## ##
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.
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
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"
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"
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"
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"
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"
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"
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"
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"
msgstr "Menunomo"
#: src/preferences.c:1090
-#, fuzzy
msgid "Command Line"
msgstr "Komandlinio"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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++)
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,
{
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);
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);
}
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);
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);
}
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)
}
}
- pr_zoom_sync(pr, zoom, FALSE, FALSE, FALSE, center_point, x, y);
+ pr_zoom_sync(pr, zoom, FALSE, FALSE, center_point, x, y);
}
/*
}
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;
clamped = pr_size_clamp(pr);
sized = pr_parent_window_resize(pr, pr->width, pr->height);
- if (force)
+ if (force && new)
{
switch (pr->scroll_reset)
{
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 :/
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);
*-------------------------------------------------------------------
*/
-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)
{
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)
pr_source_tile_unset(pr);
- pr_set_pixbuf(pr, pixbuf, zoom, TRUE);
+ pr_set_pixbuf(pr, pixbuf, zoom);
pr_update_signal(pr);
}
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
{
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)