diff options
author | kmoore <kmoore@FreeBSD.org> | 2012-03-10 02:01:15 +0800 |
---|---|---|
committer | kmoore <kmoore@FreeBSD.org> | 2012-03-10 02:01:15 +0800 |
commit | b6072f38b41e344d9dc4373131cf60e022f81620 (patch) | |
tree | 8a2714df7c2b3edeef08272cee98001f1535a09d /x11/menu-cache | |
parent | 543f18d494b5a63efc68fad06146a6341adb545d (diff) | |
download | freebsd-ports-gnome-b6072f38b41e344d9dc4373131cf60e022f81620.tar.gz freebsd-ports-gnome-b6072f38b41e344d9dc4373131cf60e022f81620.tar.zst freebsd-ports-gnome-b6072f38b41e344d9dc4373131cf60e022f81620.zip |
- Update patch to fix issue with LXDE menu refreshing
- Bump PORTREVISION
Feature safe: yes
Diffstat (limited to 'x11/menu-cache')
-rw-r--r-- | x11/menu-cache/Makefile | 2 | ||||
-rw-r--r-- | x11/menu-cache/files/patch-menu-cached.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/x11/menu-cache/Makefile b/x11/menu-cache/Makefile index 04054bdb4b42..a50363b83472 100644 --- a/x11/menu-cache/Makefile +++ b/x11/menu-cache/Makefile @@ -7,7 +7,7 @@ PORTNAME= menu-cache PORTVERSION= 0.3.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 MASTER_SITES= SF/lxde/menu-cache/menu-cache%20${PORTVERSION}/ diff --git a/x11/menu-cache/files/patch-menu-cached.c b/x11/menu-cache/files/patch-menu-cached.c index c70d4d966117..0c191f996116 100644 --- a/x11/menu-cache/files/patch-menu-cached.c +++ b/x11/menu-cache/files/patch-menu-cached.c @@ -20,7 +20,7 @@ + char* dir_path = cache->files[idx]+1; + int len = strlen(dir_path); + char* base_name = changed_file + len + 1; -+ gboolean in_cache = is_desktop_file_in_cache(cache, idx, base_name); ++ gboolean in_cache = is_desktop_file_in_cache(cache, idx, g_file_get_path(gf)); + if( ! in_cache ) { /* Means this file was already deleted, no need to refresh cache */ + DEBUG("files are changed, but no re-generation is needed."); + return; |