[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/konqueror
From: Stephan Binner <binner () kde ! org>
Date: 2004-01-30 14:07:32
Message-ID: 20040130140732.C4E9398F4 () office ! kde ! org
[Download RAW message or body]
CVS commit by binner:
Fixed Bug 71026: uncached url image not displayed in tabs
M +1 -0 konq_mainwindow.cc 1.1280
M +15 -0 konq_viewmgr.cc 1.255
M +6 -0 konq_viewmgr.h 1.77
--- kdebase/konqueror/konq_mainwindow.cc #1.1279:1.1280
@@ -1396,4 +1396,5 @@ void KonqMainWindow::slotIconsChanged()
{
m_combo->updatePixmaps();
+ m_pViewManager->updatePixmaps();
setIcon( KonqPixmapProvider::self()->pixmapFor( m_combo->currentText() ));
}
--- kdebase/konqueror/konq_viewmgr.cc #1.254:1.255
@@ -720,4 +720,19 @@ void KonqViewManager::showTab( KonqView
}
+void KonqViewManager::updatePixmaps()
+{
+ if (m_pDocContainer == 0L) return;
+ if (m_pDocContainer->frameType() != "Tabs") return;
+
+ KonqFrameTabs* tabContainer = static_cast<KonqFrameTabs*>(m_pDocContainer);
+
+ QPtrList<KonqView> viewList;
+ QPtrListIterator<KonqView> it( viewList );
+
+ tabContainer->listViews( &viewList );
+ for ( it.toFirst(); it != 0L; ++it )
+ it.current()->setTabIcon( it.current()->locationBarURL() );
+}
+
void KonqViewManager::removeView( KonqView *view )
{
--- kdebase/konqueror/konq_viewmgr.h #1.76:1.77
@@ -158,4 +158,10 @@ public:
/**
+ * Updates favicon pixmaps used in tabs
+ *
+ */
+ void updatePixmaps();
+
+ /**
* Saves the current view layout to a config file.
* Remove config file before saving, especially if saveURLs is false.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic