Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-commits
| Navigation: |
|
Lists:
gentoo-commits:
< Prev
By Thread
Next >
< Prev
By Date
Next >
|
| Headers: |
|
To:
|
gentoo-commits@g.o
|
|
From:
|
"Bernard Cafarelli (voyageur)" <voyageur@g.o>
|
|
Subject:
|
gentoo-x86 commit in media-gfx/geeqie/files: geeqie-1.0-up_path_restore.patch
|
|
Date:
|
Fri, 15 Jun 2012 09:36:53 +0000 (UTC)
|
|
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;
}
|
|