Bug 75136 - icons missing after switching to online mode
Summary: icons missing after switching to online mode
Status: RESOLVED FIXED
Alias: None
Product: knewsticker
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Frerich Raabe
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-13 10:26 UTC by David Förster
Modified: 2004-02-13 10:51 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Förster 2004-02-13 10:26:19 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    Debian stable Packages

When switching from offline to online mode no icons are showed until the applet is removed and added again.

(Was already in offline mode on startup)
Comment 1 Frerich Raabe 2004-02-13 10:51:09 UTC
CVS commit by raabe: 

- Don't forget to fetch icons when switching from offline to online mode.
CCMAIL:75136-done@bugs.kde.org


  M +1 -3      knewsticker.cpp   1.168


--- kdenetwork/knewsticker/knewsticker.cpp  #1.167:1.168
@@ -141,7 +141,4 @@ void KNewsTicker::reparseConfig()
                         continue;
 
-                if (!m_cfg->offlineMode())
-                        ns->getIcon();
-
                 connect(ns, SIGNAL(newNewsAvailable(const NewsSourceBase::Ptr &, bool)),
                                 SLOT(slotNewsSourceUpdated(const NewsSourceBase::Ptr &, bool)));
@@ -174,4 +171,5 @@ void KNewsTicker::slotUpdateNews()
                 m_pendingNewsUpdates += (*it)->data().name;
                 (*it)->retrieveNews();
+                (*it)->getIcon();
         }
         kdDebug(5005) << "m_pendingNewsUpdates = " << m_pendingNewsUpdates.join(",")