From faaa7b79330fe3c5647182fafdb2bb584dc70638 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Thu, 17 Feb 2005 14:26:43 +0000 Subject: The response to the static background pixmap was overwhelmingly positive, hence: * fix static background pixmap also for tiled pixmaps * make it customizable via LauncherSettings * enable it per default --- (limited to 'core/launcher/launcher.cpp') diff --git a/core/launcher/launcher.cpp b/core/launcher/launcher.cpp index 4255b44..4ec5f4c 100644 --- a/core/launcher/launcher.cpp +++ b/core/launcher/launcher.cpp @@ -456,6 +456,14 @@ void LauncherTabWidget::launcherMessage( const QCString &msg, const QByteArray & int id; stream >> id; odebug << "Doctab enabled " << id << oendl; reCheckDoctab(id); + } else if ( msg == "setStaticBackground(bool)" ) { + int set; stream >> set; + odebug << "setStaticBackground " << set << oendl; + for (int i = 0; i < categoryBar->count(); i++ ) + { + LauncherView* view = static_cast( categoryBar->tab(i) )->view; + view->iconView()->setStaticBackgroundPicture( set ); + } } } -- cgit v0.9.0.2