"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/XFileImage.cpp" between
xfe-1.41.tar.gz and xfe-1.42.tar.gz

About: Xfe (X File Explorer) is a file manager and browser (using the FOX toolkit).

XFileImage.cpp  (xfe-1.41):XFileImage.cpp  (xfe-1.42)
skipping to change at line 2651 skipping to change at line 2651
// Read the Xfe registry // Read the Xfe registry
FXRegistry* reg_xfe = new FXRegistry(xfename, vdrname); FXRegistry* reg_xfe = new FXRegistry(xfename, vdrname);
reg_xfe->read(); reg_xfe->read();
// Set base color (to change the default base color at first run) // Set base color (to change the default base color at first run)
FXColor basecolor = reg_xfe->readColorEntry("SETTINGS", "basecolor", FXRGB(2 37, 233, 227)); FXColor basecolor = reg_xfe->readColorEntry("SETTINGS", "basecolor", FXRGB(2 37, 233, 227));
application->setBaseColor(basecolor); application->setBaseColor(basecolor);
// Set Xfi normal font according to the Xfe registry // Set Xfi normal font according to the Xfe registry
FXString fontspec; FXString fontspec;
fontspec = reg_xfe->readStringEntry("SETTINGS", "font", "Helvetica,100,norma l,regular"); fontspec = reg_xfe->readStringEntry("SETTINGS", "font", DEFAULT_NORMAL_FONT) ;
if (!fontspec.empty()) if (!fontspec.empty())
{ {
FXFont* normalFont = new FXFont(application, fontspec); FXFont* normalFont = new FXFont(application, fontspec);
normalFont->create(); normalFont->create();
application->setNormalFont(normalFont); application->setNormalFont(normalFont);
} }
// Set Xfi file list colors according to the Xfe registry // Set Xfi file list colors according to the Xfe registry
listbackcolor = reg_xfe->readColorEntry("SETTINGS", "listbackcolor", FXRGB(2 55, 255, 255)); listbackcolor = reg_xfe->readColorEntry("SETTINGS", "listbackcolor", FXRGB(2 55, 255, 255));
listforecolor = reg_xfe->readColorEntry("SETTINGS", "listforecolor", FXRGB(0 , 0, 0)); listforecolor = reg_xfe->readColorEntry("SETTINGS", "listforecolor", FXRGB(0 , 0, 0));
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS