author | zautrix <zautrix> | 2005-03-17 10:00:03 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-03-17 10:00:03 (UTC) |
commit | a1ae8a0c130aef01923b9a00c95919e0a9fea9d7 (patch) (side-by-side diff) | |
tree | 09988c640bb71db2677dff6155cae0a6f027d194 /kaddressbook | |
parent | e0a510893ffcddb8d58f785832622d030900b2f9 (diff) | |
download | kdepimpi-a1ae8a0c130aef01923b9a00c95919e0a9fea9d7.zip kdepimpi-a1ae8a0c130aef01923b9a00c95919e0a9fea9d7.tar.gz kdepimpi-a1ae8a0c130aef01923b9a00c95919e0a9fea9d7.tar.bz2 |
small kapi fixes
-rw-r--r-- | kaddressbook/kabcore.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index 3f7a7da..e8f6132 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp @@ -1422,48 +1422,53 @@ void KABCore::setJumpButtonBar( bool visible ) void KABCore::setJumpButtonBarVisible( bool visible ) { if (mMultipleViewsAtOnce) { if ( visible ) mJumpButtonBar->show(); else mJumpButtonBar->hide(); } else { // show the jumpbar only if "the details are hidden" == "viewmanager are shown" if (mViewManager->isVisible()) { if ( visible ) mJumpButtonBar->show(); else mJumpButtonBar->hide(); } else { mJumpButtonBar->hide(); } } + if ( visible ) { + if ( mIncSearchWidget->currentItem() == 0 ) { + message( i18n("Change search field enable jump bar") ); + } + } } void KABCore::setDetailsToState() { setDetailsVisible( mActionDetails->isChecked() ); } void KABCore::setDetailsToggle() { mActionDetails->setChecked( !mActionDetails->isChecked() ); setDetailsToState(); } void KABCore::setDetailsVisible( bool visible ) { if (visible && mDetails->isHidden()) { KABC::Addressee::List addrList = mViewManager->selectedAddressees(); if ( addrList.count() > 0 ) mDetails->setAddressee( addrList[ 0 ] ); } |