From a0f83d4a4a6f91419290a0ecc7a6393cc282fc36 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Mon, 20 May 2013 21:59:51 +0200 Subject: [PATCH] - rel 3; linebreak fix in battery notification --- kde4-kdebase-workspace-multibattery.patch | 23 +++++++++++++++++++++++ kde4-kdebase-workspace.spec | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/kde4-kdebase-workspace-multibattery.patch b/kde4-kdebase-workspace-multibattery.patch index e79b74b..e76c3c3 100644 --- a/kde4-kdebase-workspace-multibattery.patch +++ b/kde4-kdebase-workspace-multibattery.patch @@ -347,3 +347,26 @@ index 3df38e2..bffc755 100644 Qt::Vertical +From: Kai Uwe Broulik +Date: Mon, 20 May 2013 19:52:21 +0000 +Subject: No linebreak in tooltip. We do them manually anyways. +X-Git-Url: http://quickgit.kde.org/?p=kde-workspace.git&a=commitdiff&h=175e902b88a2c6a1c1ca37f428208e83c1660937 +--- +No linebreak in tooltip. We do them manually anyways. + +CCBUG: 317404 +--- + + +--- a/plasma/generic/applets/batterymonitor/contents/code/logic.js ++++ b/plasma/generic/applets/batterymonitor/contents/code/logic.js +@@ -96,7 +96,7 @@ + text += i18nc("tooltip", "AC Adapter:") + " "; + text += pmSource.data["AC Adapter"]["Plugged in"] ? i18nc("tooltip", "Plugged in") : i18nc("tooltip", "Not plugged in"); + } +- batteries.tooltipText = text; ++ batteries.tooltipText = "

" + text + "

"; + } + + function updateBrightness() { + diff --git a/kde4-kdebase-workspace.spec b/kde4-kdebase-workspace.spec index 5eae75d..b3606e8 100644 --- a/kde4-kdebase-workspace.spec +++ b/kde4-kdebase-workspace.spec @@ -8,7 +8,7 @@ Summary: KDE 4 base workspace components Summary(pl.UTF-8): Podstawowe komponenty środowiska KDE 4 Name: kde4-kdebase-workspace Version: 4.10.3 -Release: 2 +Release: 3 License: GPL v2+ Group: X11/Applications Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz -- 2.44.0