Bug #237725 --> Use dist\branding as a staging area for branded artwork.

mail and browser copy their own specific app.ico icons out to dist\branding for use by the installer. Don't hard
code the browser and mail ico files

sr=bryner
This commit is contained in:
scott%scott-macgregor.org 2004-04-19 05:23:52 +00:00
Родитель dbe8bbf1d1
Коммит 5644905ed3
1 изменённых файлов: 0 добавлений и 7 удалений

Просмотреть файл

@ -1328,14 +1328,7 @@ LRESULT CALLBACK DlgProcSummary(HWND hDlg, UINT msg, WPARAM wParam, LONG lParam)
SetDlgItemText(hDlg, IDC_CONNECTION_SETTINGS, sgInstallGui.szProxyButton);
SetDlgItemText(hDlg, IDC_INSTALL_FOLDER_LABEL, sgInstallGui.szInstallFolder);
// This is a bit of a hack for now, not parameterizable as I'd like it to be.
// Unfortunately pressed for time. Revisit.
// -Ben
#if defined(MOZ_PHOENIX)
ExtractIconEx("setuprsc.dll", 1, &largeIcon, &smallIcon, 1);
#elif defined(MOZ_THUNDERBIRD)
ExtractIconEx("setuprsc.dll", 2, &largeIcon, &smallIcon, 1);
#endif
SendMessage(GetDlgItem(hDlg, IDC_APP_ICON), STM_SETICON, (LPARAM)smallIcon, 0);
break;