[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdepim/kmail
From:       Don Sanders <don () sanders ! org>
Date:       2005-08-22 14:20:04
Message-ID: 1124720404.996015.1124.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 452073 by sanders:

Ensure old style recpients editor continues to work for the 3.5 release.
(Using RecipientsEditorType=0 in [Composer] section of kmailrc
technique)
There's still a visual glitch, the names of fields on the left
are obscured, this can be corrected (for the current mail)
by using the view menu to toggle off/on a field like From.

For Bill Nugent
CCMAIL:whn@lopi.com



 M  +4 -2      kmcomposewin.cpp  


--- branches/KDE/3.5/kdepim/kmail/kmcomposewin.cpp #452072:452073
@@ -854,7 +854,8 @@
 
   row = 0;
   kdDebug(5006) << "KMComposeWin::rethinkFields" << endl;
-  mLabelWidth = mRecipientsEditor->setFirstColumnWidth( 0 );
+  if (mRecipientsEditor)
+    mLabelWidth = mRecipientsEditor->setFirstColumnWidth( 0 );
   mLabelWidth = calcColumnWidth( HDR_IDENTITY, showHeaders, mLabelWidth );
   mLabelWidth = calcColumnWidth( HDR_DICTIONARY, showHeaders, mLabelWidth );
   mLabelWidth = calcColumnWidth( HDR_FCC, showHeaders, mLabelWidth );
@@ -984,7 +985,8 @@
   if ( mBccAction ) mBccAction->setEnabled(!mAllFieldsAction->isChecked());
   mFccAction->setEnabled(!mAllFieldsAction->isChecked());
   mSubjectAction->setEnabled(!mAllFieldsAction->isChecked());
-  mRecipientsEditor->setFirstColumnWidth( mLabelWidth );
+  if (mRecipientsEditor)
+    mRecipientsEditor->setFirstColumnWidth( mLabelWidth );
 }
 
 QWidget *KMComposeWin::connectFocusMoving( QWidget *prev, QWidget *next )
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic