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

List:       kde-commits
Subject:    kdebase/konqueror/listview
From:       Pascal Létourneau <pletourn () globetrotter ! net>
Date:       2005-03-17 17:02:45
Message-ID: 20050317170245.C825917B90 () office ! kde ! org
[Download RAW message or body]

CVS commit by pletourn: 

Allow standard tooltips for truncated items in non-executable columns


  M +2 -3      konq_listviewwidget.cc   1.270


--- kdebase/konqueror/listview/konq_listviewwidget.cc  #1.269:1.270
@@ -401,7 +401,4 @@ void KonqBaseListViewWidget::initConfig(
    m_fileTip->setOptions( on, m_pSettings->showPreviewsInFileTips(), m_pSettings->numFileTips() );
 
-   // if the user wants our own tooltip, don't show the one from Qts ListView
-   setShowToolTips(!on);
-
    updateListContents();
 }
@@ -493,4 +490,5 @@ void KonqBaseListViewWidget::contentsMou
          m_fileTip->setItem( item->item(), rect, item->pixmap( 0 ) );
          m_fileTip->setPreview( KGlobalSettings::showFilePreview( item->item()->url() ) );
+         setShowToolTips( !m_pSettings->showFileTips() );
       }
       else
@@ -500,4 +498,5 @@ void KonqBaseListViewWidget::contentsMou
 
          m_fileTip->setItem( 0 );
+         setShowToolTips( true );
       }
    }


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

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