[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdereview/plasma/applets/trash
From: Aaron J. Seigo <aseigo () kde ! org>
Date: 2008-02-11 22:17:04
Message-ID: 1202768224.369279.27214.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 773862 by aseigo:
* internal whitespace consistency
* keep square
M +4 -3 trash.cpp
--- trunk/kdereview/plasma/applets/trash/trash.cpp #773861:773862
@@ -46,6 +46,7 @@
m_trashUrl(KUrl("trash:/")),
m_count(0)
{
+ setRemainSquare(true);
}
Trash::~Trash()
@@ -168,13 +169,13 @@
void Trash::setIcon()
{
- if (m_count > 0){
+ if (m_count > 0) {
m_icon->setIcon(KIcon("user-trash-full"));
m_data.subText = i18np("One item", "%1 items", m_count);
- if (m_showText){
+ if (m_showText) {
m_icon->setInfoText(i18np("One item", "%1 items", m_count));
}
- }else{
+ } else {
m_icon->setIcon(KIcon("user-trash"));
m_data.subText = i18n("Empty");
if (m_showText){
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic