[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Review Request: Improve display of week number in calendar applet
From: "Alain Boyer" <alainboyer () gmail ! com>
Date: 2010-06-21 6:07:41
Message-ID: 20100621060741.3131.69174 () localhost
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/4419/
-----------------------------------------------------------
Review request for Plasma.
Summary
-------
This patch is a temporary workaround for bugs 238116 and 224344. I am calli=
ng it temporary since it is my understanding that the drawing of the calend=
ar applet will be worked on and improved for 4.6. Is this correct?
Basically, only one week number is shown when there is not enough room to d=
isplay two week numbers in the calendar applet (two week numbers are displa=
yed when the first day of the week is not Monday). Instead of simply displa=
ying the first week number, an attempt is made to display the week number t=
hat has the most amount of days in the calendar row.
Diffs
-----
/trunk/KDE/kdebase/workspace/libs/plasmaclock/calendartable.cpp 1140389 =
Diff: http://reviewboard.kde.org/r/4419/diff
Testing
-------
Tested with Georgian calendar and seems to give correct behavior no matter =
which day of the week is set as the first day of the week.
Needs testing with other calendars and RTL layouts.
Thanks,
Alain
[Attachment #5 (text/html)]
<html>
<body>
<div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
<table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 \
solid;"> <tr>
<td>
This is an automatically generated e-mail. To reply, visit:
<a href="http://reviewboard.kde.org/r/4419/">http://reviewboard.kde.org/r/4419/</a>
</td>
</tr>
</table>
<br />
<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" \
style="background-image: \
url('http://reviewboard.kde.orgrb/images/review_request_box_top_bg.png'); \
background-position: left top; background-repeat: repeat-x; border: 1px black \
solid;"> <tr>
<td>
<div>Review request for Plasma.</div>
<div>By Alain Boyer.</div>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: \
1px solid #b8b5a0"> <tr>
<td>
<pre style="margin: 0; padding: 0;">This patch is a temporary workaround for bugs \
238116 and 224344. I am calling it temporary since it is my understanding that the \
drawing of the calendar applet will be worked on and improved for 4.6. Is this \
correct?
Basically, only one week number is shown when there is not enough room to display two \
week numbers in the calendar applet (two week numbers are displayed when the first \
day of the week is not Monday). Instead of simply displaying the first week number, \
an attempt is made to display the week number that has the most amount of days in the \
calendar row.</pre> </td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: \
1px solid #b8b5a0"> <tr>
<td>
<pre style="margin: 0; padding: 0;">Tested with Georgian calendar and seems to \
give correct behavior no matter which day of the week is set as the first day of the \
week.
Needs testing with other calendars and RTL layouts.</pre>
</td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">
<li>/trunk/KDE/kdebase/workspace/libs/plasmaclock/calendartable.cpp <span \
style="color: grey">(1140389)</span></li>
</ul>
<p><a href="http://reviewboard.kde.org/r/4419/diff/" style="margin-left: 3em;">View \
Diff</a></p>
</td>
</tr>
</table>
</div>
</body>
</html>
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic