public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-gfx/geeqie/files: geeqie-1.0-up_path_restore.patch
@ 2012-06-15  9:36 Bernard Cafarelli (voyageur)
  0 siblings, 0 replies; only message in thread
From: Bernard Cafarelli (voyageur) @ 2012-06-15  9:36 UTC (permalink / raw
  To: gentoo-commits

voyageur    12/06/15 09:36:53

  Added:                geeqie-1.0-up_path_restore.patch
  Log:
  Fix scrolling when walking up directory list with upstream bugtracker patch, bug #420891. Switch to base eclass and PATCHES list
  
  (Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  media-gfx/geeqie/files/geeqie-1.0-up_path_restore.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/geeqie/files/geeqie-1.0-up_path_restore.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/geeqie/files/geeqie-1.0-up_path_restore.patch?rev=1.1&content-type=text/plain

Index: geeqie-1.0-up_path_restore.patch
===================================================================
Index: src/view_dir_list.c
===================================================================
--- src/view_dir_list.c	(revision 1917)
+++ src/view_dir_list.c	(working copy)
@@ -309,7 +309,7 @@
 		base = remove_level_from_path(vd->dir_fd->path);
 		if (strcmp(base, dir_fd->path) == 0)
 			{
-			old_path = g_strdup(vd->dir_fd->name);
+			old_path = g_strdup(vd->dir_fd->path);
 			}
 		g_free(base);
 		}
@@ -329,7 +329,7 @@
 		while (work && !found)
 			{
 			FileData *fd = work->data;
-			if (strcmp(old_path, fd->name) == 0) found = fd;
+			if (strcmp(old_path, fd->path) == 0) found = fd;
 			work = work->next;
 			}
 






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-06-15  9:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-15  9:36 [gentoo-commits] gentoo-x86 commit in media-gfx/geeqie/files: geeqie-1.0-up_path_restore.patch Bernard Cafarelli (voyageur)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox