- oops, introduced a color bug in the composer. If you end up with a

black on black composer window, then please delete the two entries
  "Back-Color" and "Fore-Color" in the "Composer" section of .kmailrc
- added a dumb detection, such that a restarted KMail does not open
  a composer with receiver "-restarted" ;-)

svn path=/trunk/kdenetwork/kmail/; revision=3507
wilder-work
Stefan Taferner 29 years ago
parent 22ca31975f
commit ba9cfa5ae4
  1. 8
      kmcomposewin.cpp
  2. 2
      main.cpp

@ -161,8 +161,8 @@ void KMComposeWin::readConfig(void)
mShowHeaders = config->readNumEntry("headers", HDR_STANDARD);
mWordWrap = config->readNumEntry("word-wrap", 1);
mLineBreak = config->readNumEntry("break-at", 80);
mBackColor = config->readEntry( "Back-Color");
mForeColor = config->readEntry( "Fore-Color");
mBackColor = config->readEntry( "Back-Color","#ffffff");
mForeColor = config->readEntry( "Fore-Color","#000000");
config->setGroup("Geometry");
@ -187,8 +187,8 @@ void KMComposeWin::writeConfig(bool aWithSync)
config->writeEntry("encoding", mDefEncoding);
config->writeEntry("headers", mShowHeaders);
config->writeEntry("Fore-Color",foreColor);
config->writeEntry("Back-Color",backColor);
config->writeEntry("Fore-Color",mForeColor);
config->writeEntry("Back-Color",mBackColor);
config->setGroup("Geometry");
str.sprintf("%d %d", width(), height());

@ -218,7 +218,7 @@ main(int argc, char *argv[])
mainWin = new KMMainWin;
mainWin->show();
if (argc > 1)
if (argc > 1 && argv[1][0]!='-')
{
KMComposeWin *win;
KMMessage* msg = new KMMessage;

Loading…
Cancel
Save