[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/workspace/libs/plasmagenericshell
From:       Marco Martin <notmart () gmail ! com>
Date:       2010-12-07 17:35:43
Message-ID: 20101207173543.8F743AC8A5 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1204512 by mart:

ensure the new prefix has the proper size


 M  +4 -0      abstracticon.cpp  


--- trunk/KDE/kdebase/workspace/libs/plasmagenericshell/abstracticon.cpp #1204511:1204512
@@ -145,6 +145,8 @@
 
     m_backgroundPrefix = "hover";
     m_oldBackgroundPrefix = m_selected ? "focus" : "normal";
+    m_background->setElementPrefix(m_backgroundPrefix);
+    m_background->resizeFrame(size());
 
     emit hoverEnter(this);
 
@@ -158,6 +160,8 @@
 
     m_backgroundPrefix = m_selected ? "focus" : "normal";
     m_oldBackgroundPrefix = "hover";
+    m_background->setElementPrefix(m_backgroundPrefix);
+    m_background->resizeFrame(size());
 
     fadeBackground(250);
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic