Gentoo Archives: gentoo-commits

From: "Bernard Cafarelli (voyageur)" <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/geeqie/files: geeqie-1.0-up_path_restore.patch
Date: Fri, 15 Jun 2012 09:37:04
Message-Id: 20120615093653.C04482004C@flycatcher.gentoo.org
1 voyageur 12/06/15 09:36:53
2
3 Added: geeqie-1.0-up_path_restore.patch
4 Log:
5 Fix scrolling when walking up directory list with upstream bugtracker patch, bug #420891. Switch to base eclass and PATCHES list
6
7 (Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 media-gfx/geeqie/files/geeqie-1.0-up_path_restore.patch
11
12 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
13 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
14
15 Index: geeqie-1.0-up_path_restore.patch
16 ===================================================================
17 Index: src/view_dir_list.c
18 ===================================================================
19 --- src/view_dir_list.c (revision 1917)
20 +++ src/view_dir_list.c (working copy)
21 @@ -309,7 +309,7 @@
22 base = remove_level_from_path(vd->dir_fd->path);
23 if (strcmp(base, dir_fd->path) == 0)
24 {
25 - old_path = g_strdup(vd->dir_fd->name);
26 + old_path = g_strdup(vd->dir_fd->path);
27 }
28 g_free(base);
29 }
30 @@ -329,7 +329,7 @@
31 while (work && !found)
32 {
33 FileData *fd = work->data;
34 - if (strcmp(old_path, fd->name) == 0) found = fd;
35 + if (strcmp(old_path, fd->path) == 0) found = fd;
36 work = work->next;
37 }