aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2015-10-15 15:35:31 -0400
committerKen Moore <moorekou@gmail.com>2015-10-15 15:35:31 -0400
commit4ad750c655ee3c39457d29ab0e61023c0889d896 (patch)
tree2040a5fe2e9a2de506464372a882f0f292ddcafd /lumina-desktop
parentFilter out any empty snapshots from the ZFS snapshot detection backend. (diff)
downloadlumina-4ad750c655ee3c39457d29ab0e61023c0889d896.tar.gz
lumina-4ad750c655ee3c39457d29ab0e61023c0889d896.tar.bz2
lumina-4ad750c655ee3c39457d29ab0e61023c0889d896.zip
In the task manager plugin: for a button with a single window associated put the full text of the window title as the tooltip.
Diffstat (limited to 'lumina-desktop')
-rw-r--r--lumina-desktop/panel-plugins/taskmanager/LTaskButton.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lumina-desktop/panel-plugins/taskmanager/LTaskButton.cpp b/lumina-desktop/panel-plugins/taskmanager/LTaskButton.cpp
index 01105c97..c46c29b4 100644
--- a/lumina-desktop/panel-plugins/taskmanager/LTaskButton.cpp
+++ b/lumina-desktop/panel-plugins/taskmanager/LTaskButton.cpp
@@ -129,6 +129,7 @@ void LTaskButton::UpdateButton(){
if(showText){ this->setToolButtonStyle(Qt::ToolButtonTextBesideIcon); this->setText( this->fontMetrics().elidedText(WINLIST[0].text(), Qt::ElideRight,80) ); }
else if(noicon){ this->setToolButtonStyle(Qt::ToolButtonTextBesideIcon); this->setText( this->fontMetrics().elidedText(cname, Qt::ElideRight ,80) ); }
else{ this->setToolButtonStyle(Qt::ToolButtonIconOnly); this->setText(""); }
+ this->setToolTip(WINLIST[0].text());
}else if(WINLIST.length() > 1){
//multiple windows
this->setPopupMode(QToolButton::InstantPopup);
bgstack15