[packages/kde4-kdebase-workspace] - rel 3; linebreak fix in battery notification

arekm arekm at pld-linux.org
Mon May 20 21:59:54 CEST 2013


commit a0f83d4a4a6f91419290a0ecc7a6393cc282fc36
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon May 20 21:59:51 2013 +0200

    - 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.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
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
      <spacer name="verticalSpacer">
       <property name="orientation">
        <enum>Qt::Vertical</enum>
+From: Kai Uwe Broulik <kde at privat.broulik.de>
+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", "<b>Plugged in</b>") : i18nc("tooltip", "<b>Not plugged in</b>");
+     }
+-    batteries.tooltipText = text;
++    batteries.tooltipText = "<p style='white-space: nowrap'>" + text + "</p>";
+ }
+ 
+ function updateBrightness() {
+
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kde4-kdebase-workspace.git/commitdiff/a0f83d4a4a6f91419290a0ecc7a6393cc282fc36



More information about the pld-cvs-commit mailing list