Chameleon

Chameleon Commit Details

Date:2010-05-29 12:20:06 (9 years 5 months ago)
Author:Tamás Kosárszky
Commit:166
Parents: 165
Message:The user can override the default theme using the "Theme" key when the booter was built with "embedtheme" switch.
Changes:
M/trunk/i386/boot2/gui.c
M/trunk/version

File differences

trunk/version
1
1
2.0-RC5pre11
2.0-RC5
trunk/i386/boot2/gui.c
557557
558558
559559
560
561
562
563
564
565
566
567
568560
569561
570562
......
574566
575567
576568
569
570
571
572
573
574
575
576
577577
578
578579
579
580580
581581
582582
int initGUI(void)
{
intval;
#ifdef EMBED_THEME
config_file_t*config;
config = &bootInfo->themeConfig;
if (ParseXMLFile((char *)__theme_plist, &config->dictionary) != 0) {
return 1;
}
#else
intlen;
chardirspec[256];
}
sprintf(dirspec, "/Extra/Themes/%s/theme.plist", theme_name);
if (loadConfigFile(dirspec, &bootInfo->themeConfig) != 0) {
#ifdef EMBED_THEME
config_file_t*config;
config = &bootInfo->themeConfig;
if (ParseXMLFile((char *)__theme_plist, &config->dictionary) != 0) {
return 1;
}
#else
return 1;
#endif
}
#endif
// parse display size parameters
if (getIntForKey("screen_width", &val, &bootInfo->themeConfig)) {
screen_params[0] = val;

Archive Download the corresponding diff file

Revision: 166