mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
- Update patch to fix issue with LXDE menu refreshing
- Bump PORTREVISION Feature safe: yes
This commit is contained in:
parent
d75e64d554
commit
90485c98d3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=293018
@ -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}/
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user