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

List:       kde-bugs-dist
Subject:    [Bug 96614] Load Document Information from Address book not working
From:       Sven Lueppken <sven () kde ! org>
Date:       2005-02-01 11:35:24
Message-ID: 20050201113524.1809.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=96614         
sven kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From sven kde org  2005-02-01 12:35 -------
CVS commit by lueppken: 

"Fix" for bug #96614...the feature actually works as intended. I'm adding a 
little dialog which should make more clear what the button actually does,
as discussed with dfaure.

BUG:96614


  M +6 -1      koDocumentInfoDlg.cc   1.42


--- koffice/lib/kofficecore/koDocumentInfoDlg.cc  #1.41:1.42
 @ -41,4 +41,5  @
 #include <kdeversion.h>
 #include <klocale.h>
+#include <kmessagebox.h>
 #include <ktar.h>
 #include <kdebug.h>
 @ -158,5 +159,9  @ void KoDocumentInfoDlg::loadFromKABC()
   KABC::Addressee addr = ab->whoAmI();
   if ( addr.isEmpty() )
+  {
+    KMessageBox::sorry( 0L, i18n( "No personal contact data set, please use the \
option \ +                                  \"Set as Personal Contact Data\" from the \
\"Edit\" menu in KAddressbook to set one." ) );  return;
+  }
 
   d->m_leFullName->setText( addr.formattedName() );


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

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