create quicklaunch dir it it does not already exist
authorMartin Fuchs <fuchs.martin@gmail.com>
Wed, 7 Jan 2004 21:22:52 +0000 (21:22 +0000)
committerMartin Fuchs <fuchs.martin@gmail.com>
Wed, 7 Jan 2004 21:22:52 +0000 (21:22 +0000)
svn path=/trunk/; revision=7505

reactos/subsys/system/explorer/doxy-footer.html
reactos/subsys/system/explorer/shell/shellbrowser.cpp
reactos/subsys/system/explorer/shell/shellfs.h
reactos/subsys/system/explorer/taskbar/quicklaunch.cpp

index 91095f1..bd78097 100644 (file)
@@ -3,7 +3,7 @@
   <tr>
     <td><address style="align: right;"><small>
 ROS Explorer Source Code Documentation
-<br>generated on 04.01.2004 by <a href="http://www.doxygen.org/index.html">
+<br>generated on 06.01.2004 by <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border=0>
        </small></address>
        </td>
index 7a5bc24..2d93855 100644 (file)
@@ -112,7 +112,7 @@ void ShellBrowserChild::InitializeTree()
        TreeView_SetImageList(_left_hwnd, _himlSmall, TVSIL_NORMAL);
        TreeView_SetScrollTime(_left_hwnd, 100);
 
-       const String& root_name = Desktop().get_name(_create_info._root_shell_path);
+       const String& root_name = Desktop().get_name(_create_info._root_shell_path, SHGDN_FORPARSING);
 
        _root._drive_type = DRIVE_UNKNOWN;
        lstrcpy(_root._volname, root_name);     // most of the time "Desktop"
index 0a18991..4e15a7b 100644 (file)
@@ -57,7 +57,7 @@ struct ShellDirectory : public ShellEntry, public Directory
        {
                CONTEXT("ShellDirectory::ShellDirectory()");
 
-               lstrcpy(_data.cFileName, root_folder.get_name(shell_path));
+               lstrcpy(_data.cFileName, root_folder.get_name(shell_path, SHGDN_FORPARSING));
                _data.dwFileAttributes = FILE_ATTRIBUTE_DIRECTORY;
                _shell_attribs = SFGAO_FOLDER;
 
index b2dbb35..cccb2fa 100644 (file)
@@ -101,6 +101,7 @@ void QuickLaunchBar::AddShortcuts()
 
                _stprintf(path, TEXT("%s\\")QUICKLAUNCH_FOLDER, (LPCTSTR)app_data);
 
+               CreateDirectory(path, NULL);
                _dir = new ShellDirectory(Desktop(), path, _hwnd);
 
                _dir->smart_scan(SCAN_EXTRACT_ICONS|SCAN_FILESYSTEM);