[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/plasma/applets/systemtray/ui
From: Darío Andrés Rodríguez <andresbajotierra () gmail ! co
Date: 2009-09-13 17:48:56
Message-ID: 1252864136.523888.9681.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1023001 by darioandres:
- Show a tooltip message for the arrow that show/hides the hidden icons in the SystemTray widget
BUG: 183953
M +9 -0 taskarea.cpp
--- trunk/KDE/kdebase/workspace/plasma/applets/systemtray/ui/taskarea.cpp #1023000:1023001
@@ -30,6 +30,7 @@
#include <KIconLoader>
#include <Plasma/IconWidget>
+#include <Plasma/ToolTipManager>
#include "../core/manager.h"
#include "../core/task.h"
@@ -366,6 +367,14 @@
return;
}
+ Plasma::ToolTipContent data;
+ if (d->showingHidden) {
+ data.setSubText(i18n("Hide icons"));
+ } else {
+ data.setSubText(i18n("Show hidden icons"));
+ }
+ Plasma::ToolTipManager::self()->setContent(d->unhider, data);
+
if (!d->showingHidden && d->topLayout->orientation() == Qt::Vertical) {
d->unhider->setSvg("widgets/systemtray", "expander-up");
} else if(d->showingHidden && d->topLayout->orientation() == Qt::Vertical) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic