Package: xzgv
Version: 0.8-4
Followup-For: Bug #214112

I have patched xzgv to get around the problem listed in follow-up #1
(only first batch of thumbnails appears on initial directory load). It
just avoids using the GTK idle loop at all, since that appears to be
where the problem is, and loads all the thumbnails at directory load
time.

Obviously, there are some issues here: I am ignoring the original reason
for putting it in the idle loop (performance). Also, I have made the
smallest change possible, creating a good deal of dead code, and maybe
some wasted overhead. I won't feel insulted if the patch is rejected or
modified heavily - just wanted to share what I have.

--- xzgv-0.8/src/main.c 2005-07-05 22:26:15.000000000 -0400
+++ xzgv-0.8/src/main.c.orig    2003-09-16 09:49:01.000000000 -0400
@@ -3082,9 +3082,8 @@
     }
   }
 
-for(f=0;f<numrows;f++)
+for(f=0;f<IDLE_XVPIC_NUM_PER_CALL;f++)
   {
-  if (*entryp == -1) return;
   /* if there's already a pixmap there, skip it. */
   if(!gtk_clist_get_pixmap(GTK_CLIST(clist),*entryp,
                            SELECTOR_TN_COL,&pixmap,&mask))


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-powerpc
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages xzgv depends on:
ii  gdk-imlib1               1.9.14-16.2     imaging library for use with gtk (
ii  libc6                    2.3.2.ds1-22    GNU C Library: Shared libraries an
ii  libglib1.2               1.2.10-10       The GLib library of C routines
ii  libgtk1.2                1.2.10-17       The GIMP Toolkit set of widgets fo
ii  libjpeg62                6b-10           The Independent JPEG Group's JPEG 
ii  libpng12-0               1.2.8rel-1      PNG library - runtime
ii  libtiff4                 3.7.2-3         Tag Image File Format (TIFF) libra
ii  libx11-6                 4.3.0.dfsg.1-14 X Window System protocol client li
ii  libxext6                 4.3.0.dfsg.1-14 X Window System miscellaneous exte
ii  libxi6                   4.3.0.dfsg.1-14 X Window System Input extension li
ii  xlibs                    4.3.0.dfsg.1-14 X Keyboard Extension (XKB) configu
ii  zlib1g                   1:1.2.2-6       compression library - runtime

xzgv recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to