Separate mydocs and recent docs resources
Modified: trunk/reactos/subsys/system/explorer/explorer.cpp
Modified: trunk/reactos/subsys/system/explorer/explorer_intres.rc
Modified: trunk/reactos/subsys/system/explorer/globals.h
Modified: trunk/reactos/subsys/system/explorer/res/documents.ico
Added: trunk/reactos/subsys/system/explorer/res/recent-documents.ico
Modified: trunk/reactos/subsys/system/explorer/resource.h
Modified: trunk/reactos/subsys/system/explorer/taskbar/startmenu.cpp
_____
Modified: trunk/reactos/subsys/system/explorer/explorer.cpp
--- trunk/reactos/subsys/system/explorer/explorer.cpp 2006-01-13
23:28:08 UTC (rev 20841)
+++ trunk/reactos/subsys/system/explorer/explorer.cpp 2006-01-13
23:31:21 UTC (rev 20842)
@@ -399,6 +399,7 @@
_icons[ICID_DESKSETTING] = Icon(ICID_DESKSETTING,
IDI_DESKSETTING);
_icons[ICID_NETCONNS] = Icon(ICID_NETCONNS,
IDI_NETCONNS);
_icons[ICID_ADMINISTRATION] = Icon(ICID_ADMINISTRATION,
IDI_ADMINISTRATION);
+ _icons[ICID_RECENT] = Icon(ICID_RECENT, IDI_RECENT);
}
_____
Modified: trunk/reactos/subsys/system/explorer/explorer_intres.rc
--- trunk/reactos/subsys/system/explorer/explorer_intres.rc
2006-01-13 23:28:08 UTC (rev 20841)
+++ trunk/reactos/subsys/system/explorer/explorer_intres.rc
2006-01-13 23:31:21 UTC (rev 20842)
@@ -170,8 +170,8 @@
IDI_DESKSETTING ICON DISCARDABLE
"res/desktop-settings.ico"
IDI_NETCONNS ICON DISCARDABLE "res/network-conns.ico"
IDI_ADMINISTRATION ICON DISCARDABLE
"res/administration.ico"
+IDI_RECENT ICON DISCARDABLE
"res/recent-documents.ico"
-
#endif // Neutral resources
////////////////////////////////////////////////////////////////////////
/////
_____
Modified: trunk/reactos/subsys/system/explorer/globals.h
--- trunk/reactos/subsys/system/explorer/globals.h 2006-01-13
23:28:08 UTC (rev 20841)
+++ trunk/reactos/subsys/system/explorer/globals.h 2006-01-13
23:31:21 UTC (rev 20842)
@@ -87,6 +87,7 @@
ICID_DESKSETTING,
ICID_NETCONNS,
ICID_ADMINISTRATION,
+ ICID_RECENT,
ICID_DYNAMIC
};
_____
Modified: trunk/reactos/subsys/system/explorer/res/documents.ico
(Binary files differ)
_____
Added: trunk/reactos/subsys/system/explorer/res/recent-documents.ico
(Binary files differ)
Property changes on:
trunk/reactos/subsys/system/explorer/res/recent-documents.ico
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
_____
Modified: trunk/reactos/subsys/system/explorer/resource.h
--- trunk/reactos/subsys/system/explorer/resource.h 2006-01-13
23:28:08 UTC (rev 20841)
+++ trunk/reactos/subsys/system/explorer/resource.h 2006-01-13
23:31:21 UTC (rev 20842)
@@ -122,6 +122,7 @@
#define IDI_DESKSETTING 174
#define IDI_NETCONNS 175
#define IDI_ADMINISTRATION 176
+#define IDI_RECENT 178
#define ID_VIEW_NAME 401
#define ID_VIEW_ALL_ATTRIBUTES 402
#define ID_VIEW_SELECTED_ATTRIBUTES 403
_____
Modified: trunk/reactos/subsys/system/explorer/taskbar/startmenu.cpp
--- trunk/reactos/subsys/system/explorer/taskbar/startmenu.cpp
2006-01-13 23:28:08 UTC (rev 20841)
+++ trunk/reactos/subsys/system/explorer/taskbar/startmenu.cpp
2006-01-13 23:31:21 UTC (rev 20842)
@@ -1712,7 +1712,7 @@
#else
if (IS_VALUE_ZERO(hkey, _T("NoRecentDocsMenu")))
#endif
- AddButton(ResString(IDS_RECENT), ICID_DOCUMENTS,
true, IDC_RECENT);
+ AddButton(ResString(IDS_RECENT), ICID_RECENT,
true, IDC_RECENT);
AddButton(ResString(IDS_FAVORITES), ICID_FAVORITES,
true, IDC_FAVORITES);
@@ -2148,14 +2148,14 @@
AddButton(ResString(IDS_CONNECTIONS), ICID_NETWORK,
false, IDC_CONNECTIONS);
#else
//TODO AddButton(ResString(IDS_PRINTERS),
ICID_PRINTER, true, IDC_PRINTERS_MENU);
- AddButton(ResString(IDS_CONNECTIONS), ICID_NETCONNS,
true, IDC_CONNECTIONS);
+ AddButton(ResString(IDS_CONNECTIONS), ICID_NETCONNS,
false, IDC_CONNECTIONS);
#endif
AddButton(ResString(IDS_ADMIN),
ICID_ADMINISTRATION, true, IDC_ADMIN);
#ifndef __MINGW32__ // SHRestricted() missing in MinGW (as of
29.10.2003)
if (!g_Globals._SHRestricted ||
!SHRestricted(REST_NOCONTROLPANEL))
#endif
- AddButton(ResString(IDS_SETTINGS_MENU), ICID_CONFIG,
true, IDC_SETTINGS_MENU);
+ AddButton(ResString(IDS_SETTINGS_MENU), ICID_CONFIG, true,
IDC_SETTINGS_MENU);
AddButton(ResString(IDS_DESKTOPBAR_SETTINGS), ICID_DESKSETTING,
false, ID_DESKTOPBAR_SETTINGS);