Review Request 109016: Remove old code triggering a spurious spacer at the bottom of the hdd monitoring applets

Gregorio Guidi gregorio.guidi at gmail.com
Wed Feb 20 21:55:04 UTC 2013



> On Feb. 20, 2013, 9:59 a.m., Marco Martin wrote:
> > Ship It!

I'm not a developer with commit access, can someone take care of the submission?

Thanks!


- Gregorio


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/109016/#review27776
-----------------------------------------------------------


On Feb. 18, 2013, 9:41 p.m., Gregorio Guidi wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/109016/
> -----------------------------------------------------------
> 
> (Updated Feb. 18, 2013, 9:41 p.m.)
> 
> 
> Review request for Plasma, Petri Damstén and Shaun Reich.
> 
> 
> Description
> -------
> 
> The Disk Usage and Disk Usage monitoring applets (from kde-workspace/plasma/generic/applets/system-monitor/) have layout problems when they are resized. Specifically, with large sizes and few plots it becomes apparent that there is a spurious blank space at the bottom of the applets. The problem derives form these lines:
> 
> setTitle(i18n("Disk Space"), true);
> setTitle(i18n("Disk Activity"), true);
> 
> The "true" argument triggers some old code that adds a spacer in the layout, which I guess was used to insert some space below the header, but that now has lost its purpose (see http://websvn.kde.org/?view=revision&revision=816676).
> 
> This submission removes this code and restores proper layout for the applets.
> 
> 
> Diffs
> -----
> 
>   plasma/generic/applets/system-monitor/hdd_activity.cpp bc30a33 
>   plasma/generic/applets/system-monitor/applet.h f8fe437 
>   plasma/generic/applets/system-monitor/applet.cpp 653eacd 
>   plasma/generic/applets/system-monitor/hdd.cpp 5762d6d 
> 
> Diff: http://git.reviewboard.kde.org/r/109016/diff/
> 
> 
> Testing
> -------
> 
> Compiled and tested. Patch applies to both master and KDE/4.10.
> 
> 
> Thanks,
> 
> Gregorio Guidi
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20130220/092cf749/attachment.html>


More information about the Plasma-devel mailing list