From f457d266874cf2a5084d906f5dbcd6ee571a833e Mon Sep 17 00:00:00 2001 From: "shrutiv%netscape.com" Date: Thu, 25 Apr 2002 22:49:20 +0000 Subject: [PATCH] Fix for bug 126820: Grey out Wizard UI sections not supported for Mac installer (r=smeredith) --- cck/cckwiz/iniFiles/Customize_page3.ini | 235 ++---------------------- cck/cckwiz/iniFiles/Info.ini | 15 +- 2 files changed, 22 insertions(+), 228 deletions(-) diff --git a/cck/cckwiz/iniFiles/Customize_page3.ini b/cck/cckwiz/iniFiles/Customize_page3.ini index f6b30dca149..4845626a592 100644 --- a/cck/cckwiz/iniFiles/Customize_page3.ini +++ b/cck/cckwiz/iniFiles/Customize_page3.ini @@ -1,447 +1,236 @@ ; Mode: INI; tab-width: 8; indent-tabs-mode: nil -*- - ; - ; The contents of this file are subject to the Netscape Public - ; License Version 1.1 (the "License"); you may not use this file - ; except in compliance with the License. You may obtain a copy of - ; the License at http://www.mozilla.org/NPL/ - ; - ; Software distributed under the License is distributed on an "AS - ; IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or - ; implied. See the License for the specific language governing - ; rights and limitations under the License. - ; - ; The Original Code is mozilla.org code. - ; - ; The Initial Developer of the Original Code is Netscape - ; Communications Corporation. Portions created by Netscape are - ; Copyright (C) 1998 Netscape Communications Corporation. All - ; Rights Reserved. - ; - ; Contributor(s): - ; - - - - [Local Variables] - - - Name=Customize_page2 - Title=<%CustomizationList%> - Customize the %DefaultName% Browser - Part Two - Caption=2nd level node - ;Help=Online;http://www.mozilla.org/projects/cck/ - Help=Online;%Root%CCKHelp\customizepage3.html - - [Navigation Controls] - onNext= - Help=customize3_help.ini - - [Image 1] - Type=Image - Name=banner4.bmp - Value= - Start_x=0 - Start_y=0 - Width=425 - Height=56 - - [Widget 825] - Type=GlobalText - Name=Text285 - Value=%DefaultName% by - Start_x=11 - Start_y=66 - Width=40 - Height=15 - - +onInit=DisableWidget(%lPlatform%,Mac OS,Linux) [Widget 2] - Type=EditBox - Name=ProgramFolderName - Value= - Start_x=58 - Start_y=63 - Width=235 - Height=14 - - +onInit=DisableWidget(%lPlatform%,Mac OS,Linux) [Widget 3] - Type=GlobalText - Name=Text2 - Value=Enter the custom Program Folder name text (for example, your company name) that you want to appear after the text "%DefaultName% by" in the Start Menu. - Start_x=11 - Start_y=43 - Width=390 - Height=25 - - +onInit=DisableWidget(%lPlatform%,Mac OS,Linux) [Widget 268] - Type=BoldGroup - Name=GroupBox22 - Value=Start Menu - Start_x=0 - Start_y=32 - Width=407 - Height=52 - +onInit=DisableWidget(%lPlatform%,Mac OS,Linux) [Widget 26083] - Type=BoldGroup - Name=GroupBox2626 - Value=Custom Read Me File - Start_x=0 - Start_y=90 - Width=407 - Height=66 - - +onInit=DisableWidget(%lPlatform%,Mac OS) [Widget 1910] - Type=DynamicText - Name=ReadMeFile - Value= - Start_x=11 - Start_y=138 - Width=219 - Height=14 - - +onInit=DisableWidget(%lPlatform%,Mac OS) [Widget 11] - Type=Button - Name=Button2 - Value=Choose File... - Start_x=283 - Start_y=135 - Width=50 - Height=14 - onCommand=BrowseFile() - Target=ReadMeFile - - +onInit=DisableWidget(%lPlatform%,Mac OS) [Widget 9] - Type=Text - Name=Text3 - Value=Path to Your Custom Read Me File (readme.txt): - Start_x=11 - Start_y=124 - Width=150 - Height=8 - - +onInit=DisableWidget(%lPlatform%,Mac OS) [Widget 19] - Type=Button - Name=Button121 - Value=Show Example - Start_x=338 - Start_y=63 - Width=60 - Height=14 - onCommand=DisplayImage(start.ini) - - +onInit=DisableWidget(%lPlatform%,Mac OS,Linux) [Widget 13] - Type=Text - Name=Text5 - Value=Enter the path to your custom Read Me file. If you don't want to provide a customized file, your installers will include the default Read Me file. - Start_x=11 - Start_y=102 - Width=380 - Height=25 - - +onInit=DisableWidget(%lPlatform%,Mac OS) [Widget 8038] - Type=Button - Name=Button8512 - Value=Show Example - Start_x=338 - Start_y=135 - Width=60 - Height=14 - onCommand=DisplayImage(readme.ini) - - +onInit=DisableWidget(%lPlatform%,Mac OS) [Widget 118] - Type=Button - Name=Button28 - Value=View File - Start_x=238 - Start_y=135 - Width=40 - Height=14 - onCommand=command(%NCIFileEditor% "%ReadMeFile%"); - - +onInit=DisableWidget(%lPlatform%,Mac OS) [Widget 10] - Type=BoldGroup - Name=GroupBox68 - Value=Customize Sidebar Tabs - Start_x=0 - Start_y=163 - Width=407 - Height=64 - - [Widget 300] - Type=Text - Name=Text355 - Value=The Sidebar provides access to news, weather, address book, buddy list, and many other items that you can customize. - Start_x=11 - Start_y=175 - Width=380 - Height=25 - - [Widget 7] - Type=Text - Name=Text25 - Value=Path to Your Customized Sidebar Tabs File (panels.rdf): - Start_x=11 - Start_y=191 - Width=275 - Height=25 - - [Widget 8] - Type=DynamicText - Name=SidebarPath - Value= - Start_x=11 - Start_y=205 - Width=200 - Height=14 - - [Widget 4931] - Type=Button - Name=Button1069 - Value=View File - Start_x=240 - Start_y=202 - Width=40 - Height=14 - onCommand=command(%NCIFileEditor% "%SidebarPath%"); - - [Widget 507] - Type=Button - Name=Button3163 - Value=Choose File... - Start_x=284 - Start_y=202 - Width=50 - Height=14 - onCommand=BrowseFile() - Target=SidebarPath - - [Widget 200] - Type=Button - Name=Button116 - Value=Show Example - Start_x=339 - Start_y=202 - Width=60 - Height=14 - onCommand=DisplayImage(sidebar.ini) diff --git a/cck/cckwiz/iniFiles/Info.ini b/cck/cckwiz/iniFiles/Info.ini index cbe0b32e687..69e7c84ba89 100644 --- a/cck/cckwiz/iniFiles/Info.ini +++ b/cck/cckwiz/iniFiles/Info.ini @@ -49,6 +49,7 @@ Start_x=0 Start_y=33 Width=407 Height=135 +onInit=DisableWidget(%lPlatform%,Mac OS) [Widget 9023] Type=Text @@ -58,7 +59,7 @@ Start_x=8 Start_y=45 Width=370 Height=20 - +onInit=DisableWidget(%lPlatform%,Mac OS) [Widget 6961] Type=BoldGroup @@ -68,7 +69,7 @@ Start_x=8 Start_y=61 Width=391 Height=50 - +onInit=DisableWidget(%lPlatform%,Mac OS,Linux) [Widget 1894] Type=CheckBox @@ -79,6 +80,7 @@ Start_x=18 Start_y=95 Width=200 Height=10 +onInit=DisableWidget(%lPlatform%,Mac OS,Linux) onCommand=ChangeCDScreen(CD image) [Widget 20625] @@ -89,9 +91,9 @@ Start_x=333 Start_y=89 Width=62 Height=15 +onInit=DisableWidget(%lPlatform%,Mac OS,Linux) onCommand=DisplayImage(autorun.ini) - [Widget 6] Type=GlobalText Name=Text104 @@ -100,6 +102,7 @@ Start_x=18 Start_y=75 Width=360 Height=30 +onInit=DisableWidget(%lPlatform%,Mac OS,Linux) [Widget 6929] Type=BoldGroup @@ -109,6 +112,7 @@ Start_x=8 Start_y=119 Width=391 Height=41 +onInit=DisableWidget(%lPlatform%,Mac OS) [Widget 3] Type=BoldGroup @@ -119,7 +123,6 @@ Start_y=175 Width=407 Height=70 - [Widget 4] Type=GlobalText Name=Text103 @@ -128,6 +131,7 @@ Start_x=19 Start_y=143 Width=230 Height=15 +onInit=DisableWidget(%lPlatform%,Mac OS) [Widget 5509] Type=EditBox @@ -137,6 +141,7 @@ Start_x=250 Start_y=140 Width=143 Height=15 +onInit=DisableWidget(%lPlatform%,Mac OS) [Widget 472] Type=GlobalText @@ -146,7 +151,7 @@ Start_x=19 Start_y=130 Width=370 Height=20 - +onInit=DisableWidget(%lPlatform%,Mac OS) [Widget 4937] Type=Text