[PATCH] winecfg: Add Downloads and Templates to shell folders UI interface.

Olivier F. R. Dierick o.dierick at piezo-forte.be
Sun Feb 23 16:49:07 CST 2020


Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48484
Signed-off-by: Olivier F. R. Dierick <o.dierick at piezo-forte.be>
---
 programs/winecfg/theme.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/programs/winecfg/theme.c b/programs/winecfg/theme.c
index dffe186..b38b2ff 100644
--- a/programs/winecfg/theme.c
+++ b/programs/winecfg/theme.c
@@ -716,12 +716,16 @@ struct ShellFolderInfo {
     char szLinkTarget[FILENAME_MAX]; /* in unix locale */
 };
 
+#define CSIDL_DOWNLOADS 0x0047
+
 static struct ShellFolderInfo asfiInfo[] = {
     { CSIDL_DESKTOP,  "" },
     { CSIDL_PERSONAL, "" },
     { CSIDL_MYPICTURES, "" },
     { CSIDL_MYMUSIC, "" },
-    { CSIDL_MYVIDEO, "" }
+    { CSIDL_MYVIDEO, "" },
+    { CSIDL_DOWNLOADS, "" },
+    { CSIDL_TEMPLATES, "" }
 };
 
 static struct ShellFolderInfo *psfiSelected = NULL;
-- 
2.1.4




More information about the wine-devel mailing list