Separate mydocs and recent docs resources

svn path=/trunk/; revision=20842
This commit is contained in:
Ged Murphy 2006-01-13 23:31:21 +00:00
parent b6228f6f3f
commit 258a8138c0
7 changed files with 7 additions and 4 deletions

View file

@ -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);
}

View file

@ -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
/////////////////////////////////////////////////////////////////////////////

View file

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

View file

@ -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

View file

@ -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);