[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeplasma-addons/applets/weather
From: Anne-Marie Mahfouf <annma () kde ! org>
Date: 2010-06-30 15:26:10
Message-ID: 20100630152610.3ECC0AC8E1 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1144711 by annma:
port r1144710 to trunk
M +2 -0 weatherapplet.cpp
--- trunk/KDE/kdeplasma-addons/applets/weather/weatherapplet.cpp #1144710:1144711
@@ -383,10 +383,12 @@
if (fiveDayTokens.count() > 2) {
// if there is no specific icon, show the current weather
m_graphicsWidget->setCurrentWeather(KIcon(fiveDayTokens[1]));
+ setPopupIcon(KIcon(fiveDayTokens[1]));
} else {
// if we are inside here, we could not find any proper icon
// then just hide it
m_graphicsWidget->setCurrentWeather(KIcon());
+ setPopupIcon(KIcon("weather-none-available"));
}
} else {
m_graphicsWidget->setCurrentWeather(KIcon(data["Condition Icon"].toString()));
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic