mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
Separate mydocs and recent docs resources
svn path=/trunk/; revision=20842
This commit is contained in:
parent
b6228f6f3f
commit
258a8138c0
7 changed files with 7 additions and 4 deletions
|
@ -399,6 +399,7 @@ void IconCache::init()
|
|||
_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);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -170,7 +170,7 @@ IDI_CONTROLPAN ICON DISCARDABLE "res/control-panel.ico"
|
|||
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
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -87,6 +87,7 @@ enum ICON_ID {
|
|||
ICID_DESKSETTING,
|
||||
ICID_NETCONNS,
|
||||
ICID_ADMINISTRATION,
|
||||
ICID_RECENT,
|
||||
|
||||
ICID_DYNAMIC
|
||||
};
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 29 KiB |
BIN
reactos/subsys/system/explorer/res/recent-documents.ico
Normal file
BIN
reactos/subsys/system/explorer/res/recent-documents.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 29 KiB |
|
@ -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
|
||||
|
|
|
@ -1712,7 +1712,7 @@ LRESULT StartMenuRoot::Init(LPCREATESTRUCT pcs)
|
|||
#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 @@ void SettingsMenu::AddEntries()
|
|||
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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue