From: | "Chris Reffett (creffett)" <creffett@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in kde-base/plasma-workspace/files: plasma-workspace-4.10.4-keep-batterymonitor-in-sync-with-systray.patch |
Date: | Thu, 06 Jun 2013 00:52:56 |
Message-Id: | 20130606005249.51FEB2171D@flycatcher.gentoo.org |
1 | creffett 13/06/06 00:52:49 |
2 | |
3 | Added: |
4 | plasma-workspace-4.10.4-keep-batterymonitor-in-sync-with-systray.patch |
5 | Log: |
6 | Revision bump, apply patch to fix battery monitor widget wrt bug 472382, credit to Andreas Sturmlechner <andreas.sturmlechner@×××××.com> |
7 | |
8 | (Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 42618354) |
9 | |
10 | Revision Changes Path |
11 | 1.1 kde-base/plasma-workspace/files/plasma-workspace-4.10.4-keep-batterymonitor-in-sync-with-systray.patch |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/plasma-workspace/files/plasma-workspace-4.10.4-keep-batterymonitor-in-sync-with-systray.patch?rev=1.1&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/plasma-workspace/files/plasma-workspace-4.10.4-keep-batterymonitor-in-sync-with-systray.patch?rev=1.1&content-type=text/plain |
15 | |
16 | Index: plasma-workspace-4.10.4-keep-batterymonitor-in-sync-with-systray.patch |
17 | =================================================================== |
18 | commit 72b9956766b26164628ccc979952fd1ae5bc5e41 |
19 | Author: Kai Uwe Broulik <kde@××××××××××××××.de> |
20 | Date: Tue Jun 4 17:47:17 2013 +0200 |
21 | |
22 | Also set minimum size when it *is* constrained |
23 | |
24 | BUG: 309447 |
25 | FIXED-IN: 4.11.0 |
26 | |
27 | * 2013-06-04: Backport to 4.10.4 |
28 | |
29 | diff --git a/plasma/generic/applets/batterymonitor/contents/ui/CompactRepresentation.qml b/plasma/generic/applets/batterymonitor/contents/ui/CompactRepresentation.qml |
30 | index f8691a1..e9dc772 100644 |
31 | --- a/plasma/generic/applets/batterymonitor/contents/ui/batterymonitor.qml 2013-05-28 20:38:22.000000000 +0200 |
32 | +++ b/plasma/generic/applets/batterymonitor/contents/ui/batterymonitor.qml 2013-06-04 21:15:26.234102844 +0200 |
33 | @@ -70,8 +70,12 @@ |
34 | |
35 | Component.onCompleted: { |
36 | if (!isConstrained()) { |
37 | - minimumWidth = 32; |
38 | - minimumHeight = 32; |
39 | + minimumWidth = theme.iconSizes.dialog; |
40 | + minimumHeight = minimumHeight * view.count; |
41 | + } else { |
42 | + // NOTE: Keep in sync with systray |
43 | + minimumHeight = 24; |
44 | + minimumWidth = 24; |
45 | } |
46 | plasmoid.addEventListener('ConfigChanged', configChanged); |
47 | } |