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

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/applets/tasks
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2008-01-11 1:08:28
Message-ID: 1200013708.909035.3123.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 759654 by aseigo:

don't show tips on startups unless they are turned on; there should likely be a \
plasma global setting too. BUG:155432


 M  +6 -4      windowtaskitem.cpp  


--- trunk/KDE/kdebase/workspace/plasma/applets/tasks/windowtaskitem.cpp \
#759653:759654 @@ -118,10 +118,12 @@
     setText(task->text());
     setIcon(KIcon(task->icon()));
 
-    Plasma::ToolTipData tip;
-    tip.mainText = task->text();
-    tip.image = task->icon();
-    setToolTip(tip);
+    if (_showTooltip) {
+        Plasma::ToolTipData tip;
+        tip.mainText = task->text();
+        tip.image = task->icon();
+        setToolTip(tip);
+    }
 }
 
 void WindowTaskItem::setWindowTask(TaskManager::TaskPtr task)


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

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