[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdereview/plasma/applets/trash
From: Marco Martin <notmart () gmail ! com>
Date: 2008-02-24 13:13:47
Message-ID: 1203858827.617553.26389.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 778726 by mart:
don't draw icon background in the panel
M +2 -0 trash.cpp
--- trunk/kdereview/plasma/applets/trash/trash.cpp #778725:778726
@@ -138,6 +138,7 @@
setRemainSquare(false);
m_icon->setText(i18n("Trash"));
m_showText = true;
+ m_icon->setDrawBackground(true);
//Adding an arbitrary width to make room for a larger count of items
setMinimumContentSize(m_icon->sizeFromIconSize(IconSize(KIconLoader::Desktop))+=QSizeF(20,0));
@@ -146,6 +147,7 @@
m_icon->setText(0);
m_icon->setInfoText(0);
m_showText = false;
+ m_icon->setDrawBackground(false);
setMinimumContentSize(m_icon->sizeFromIconSize(IconSize(KIconLoader::Small)));
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic