"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/XFileWrite.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).

XFileWrite.cpp  (xfe-1.41):XFileWrite.cpp  (xfe-1.42)
skipping to change at line 217 skipping to change at line 217
// 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 Xfw normal font according to the Xfe registry // Set Xfw 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);
application->setNormalFont(normalFont); application->setNormalFont(normalFont);
} }
// Set single click navigation according to the Xfe registry // Set single click navigation according to the Xfe registry
single_click = reg_xfe->readUnsignedEntry("SETTINGS", "single_click", SINGLE _CLICK_NONE); single_click = reg_xfe->readUnsignedEntry("SETTINGS", "single_click", SINGLE _CLICK_NONE);
// Set smooth scrolling according to the Xfe registry // Set smooth scrolling according to the Xfe registry
 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