Olivier F. R. Dierick : winecfg: Add Downloads and Templates to shell folders UI interface.

Alexandre Julliard julliard at winehq.org
Mon Feb 24 15:23:53 CST 2020


Module: wine
Branch: master
Commit: 7216da88515f88be0550e56eef2c9f44ab1ef53f
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=7216da88515f88be0550e56eef2c9f44ab1ef53f

Author: Olivier F. R. Dierick <o.dierick at piezo-forte.be>
Date:   Sun Feb 23 23:49:07 2020 +0100

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

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48484
Signed-off-by: Olivier F. R. Dierick <o.dierick at piezo-forte.be>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 dffe1861e8..b38b2ff26d 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;




More information about the wine-cvs mailing list