[Xfce-bugs] [Bug 14576] Add support for folder.jpg

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Sun Aug 12 11:21:46 CEST 2018


https://bugzilla.xfce.org/show_bug.cgi?id=14576

--- Comment #35 from HYPERION <h1p8r10n at yandex.com> ---
1 remark : you added a test for custom_icon != NULL :

custom_icon = g_strconcat (g_file_get_path (thunar_file_get_file (file)), "/",
"folder.jpg", NULL);
+          if (custom_icon != NULL && g_file_test(custom_icon,
G_FILE_TEST_EXISTS))

you can avoid testing custom_icon != NULL : custom_icon can't be NULL as
g_strconcat can't fail and output is at least "/", "folder.jpg"

JP

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list