"Fossies" - the Fresh Open Source Software Archive  

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

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

MessageBox.cpp  (xfe-1.42):MessageBox.cpp  (xfe-1.43)
skipping to change at line 156 skipping to change at line 156
title = _("Enter the user password:"); title = _("Enter the user password:");
sucmd = SUDOCMD; sucmd = SUDOCMD;
} }
else else
{ {
title = _("Enter the root password:"); title = _("Enter the root password:");
sucmd = SUCMD; sucmd = SUCMD;
} }
// Get text font // Get text font
FXString fontspec = getApp()->reg().readStringEntry("SETTINGS", "textfont", "Courier,100,normal,regular"); FXString fontspec = getApp()->reg().readStringEntry("SETTINGS", "textfont", DEFAULT_TEXT_FONT);
if (fontspec.empty()) if (fontspec.empty())
{ {
command = "st -t " + ::quote(title) + sucmd; command = "st -t " + ::quote(title) + sucmd;
} }
else else
{ {
FXchar fontsize[32]; FXchar fontsize[32];
FXFont* font = new FXFont(getApp(), fontspec); FXFont* font = new FXFont(getApp(), fontspec);
font->create(); font->create();
snprintf(fontsize, sizeof(fontsize), "%d",(int)(font->getSize()/1 0)); // Size is in deci-points, thus divide by 10 snprintf(fontsize, sizeof(fontsize), "%d",(int)(font->getSize()/1 0)); // Size is in deci-points, thus divide by 10
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)