Hello community,
here is the log from the commit of package kde4-plasma-addons
checked in at Tue Nov 4 17:44:12 CET 2008.
--------
--- KDE/kde4-plasma-addons/kde4-plasma-addons.changes 2008-11-03 16:27:39.000000000 +0100
+++ /mounts/work_src_done/STABLE/kde4-plasma-addons/kde4-plasma-addons.changes 2008-11-04 13:34:37.000000000 +0100
@@ -1,0 +2,5 @@
+Tue Nov 4 13:01:50 CET 2008 - stbinner@suse.de
+
+- add tooltips to show* plasmoids (bnc#430792)
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
New:
----
tooltips.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kde4-plasma-addons.spec ++++++
--- /var/tmp/diff_new_pack.Xd4107/_old 2008-11-04 17:42:58.000000000 +0100
+++ /var/tmp/diff_new_pack.Xd4107/_new 2008-11-04 17:42:58.000000000 +0100
@@ -29,13 +29,14 @@
Summary: Additional Plasmoids
Url: http://www.kde.org/
Version: 4.1.3
-Release: 1
+Release: 2
Source0: kdeplasma-addons-%{version}.tar.bz2
Source1: kbstateapplet.tar.bz2
Patch0: 4_1_BRANCH.diff
Patch1: spacer.diff
Patch2: frame-icon.diff
Patch3: kbstateapplet.diff
+Patch4: tooltips.diff
Provides: extragear-plasma = 4.0.80
Obsoletes: extragear-plasma <= 4.0.80
Provides: kdebase4-workspace-plasmoids = 4.0.4
@@ -77,6 +78,7 @@
%patch1
%patch2
%patch3
+%patch4
%build
%cmake_kde4 -d build
@@ -121,6 +123,8 @@
/usr/share/kde4/apps/kbstateapplet
%changelog
+* Tue Nov 04 2008 stbinner@suse.de
+- add tooltips to show* plasmoids (bnc#430792)
* Mon Nov 03 2008 stbinner@suse.de
- update to 4.1.3
* see http://kde.org/announcements/changelogs/changelog4_1_2to4_1_3.php
++++++ tooltips.diff ++++++
--- applets/showdashboard/showdashboard.cpp 2008/11/04 11:55:06 1.1
+++ applets/showdashboard/showdashboard.cpp 2008/11/04 11:59:41
@@ -28,6 +28,7 @@
// KDE
#include <KIcon>
#include
+#include
#include <KIconLoader>
@@ -48,6 +49,10 @@
Plasma::Icon *icon = new Plasma::Icon(KIcon("dashboard-show"), QString(), this);
layout->addItem(icon);
+ Plasma::ToolTipManager::self()->registerWidget(this);
+ Plasma::ToolTipContent toolTipData(i18n("Show the Plasma Dashboard"), QString(),
+ icon->icon().pixmap(IconSize(KIconLoader::Desktop)));
+ Plasma::ToolTipManager::self()->setToolTipContent(this, toolTipData);
setAspectRatioMode(Plasma::ConstrainedSquare);
connect(icon, SIGNAL(pressed(bool)),this, SLOT(toggleShowDashboard(bool)));
--- applets/showdesktop/showdesktop.cpp 2008/11/04 11:54:58 1.1
+++ applets/showdesktop/showdesktop.cpp 2008/11/04 11:57:03
@@ -18,6 +18,7 @@
#include "showdesktop.h"
#include
#include
+#include
#include <KIcon>
#include
#include
@@ -50,9 +51,16 @@
Plasma::Icon *icon = new Plasma::Icon(KIcon("user-desktop"), QString(), this);
layout->addItem(icon);
connect(icon, SIGNAL(clicked()), this, SLOT(pressed()));
+
+ Plasma::ToolTipManager::self()->registerWidget(this);
+ Plasma::ToolTipManager::ToolTipContent toolTipData;
+ toolTipData.mainText = i18n("Show the Desktop");
+ toolTipData.subText = i18n("Minimize all open windows and show the Desktop");
+ toolTipData.image = icon->icon().pixmap(IconSize(KIconLoader::Desktop));
+ Plasma::ToolTipManager::self()->setToolTipContent(this, toolTipData);
NETRootInfo info(QX11Info::display(), NET::Supported);
- m_wm2ShowingDesktop = info.isSupported(NET::WM2ShowingDesktop);
+ m_wm2ShowingDesktop = info.isSupported(NET::WM2ShowingDesktop);
#ifndef MINIMIZE_ONLY
if (m_wm2ShowingDesktop) {
--- applets/showdashboard/showdashboard.cpp 2008/11/04 12:01:43 1.11
+++ applets/showdashboard/showdashboard.cpp 2008/11/04 12:17:58
@@ -50,8 +50,9 @@
layout->addItem(icon);
Plasma::ToolTipManager::self()->registerWidget(this);
- Plasma::ToolTipContent toolTipData(i18n("Show the Plasma Dashboard"), QString(),
- icon->icon().pixmap(IconSize(KIconLoader::Desktop)));
+ Plasma::ToolTipManager::ToolTipContent toolTipData;
+ toolTipData.mainText = i18n ("Show the Plasma Dashboard");
+ toolTipData.image = icon->icon().pixmap(IconSize(KIconLoader::Desktop));
Plasma::ToolTipManager::self()->setToolTipContent(this, toolTipData);
setAspectRatioMode(Plasma::ConstrainedSquare);
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org