-rw-r--r-- | core/launcher/launcher.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/launcher/launcher.cpp b/core/launcher/launcher.cpp index dc81c9e..1bd1156 100644 --- a/core/launcher/launcher.cpp +++ b/core/launcher/launcher.cpp | |||
@@ -250,35 +250,35 @@ void CategoryTabWidget::initializeCategories(AppLnkSet* rootFolder, | |||
250 | categoryBar->show(); | 250 | categoryBar->show(); |
251 | stack->show(); | 251 | stack->show(); |
252 | } | 252 | } |
253 | 253 | ||
254 | void CategoryTabWidget::setTabAppearance( const QString &id, Config &cfg ) | 254 | void CategoryTabWidget::setTabAppearance( const QString &id, Config &cfg ) |
255 | { | 255 | { |
256 | QString grp( "Tab %1" ); // No tr | 256 | QString grp( "Tab %1" ); // No tr |
257 | cfg.setGroup( grp.arg(id) ); | 257 | cfg.setGroup( grp.arg(id) ); |
258 | LauncherView *v = view( id ); | 258 | LauncherView *v = view( id ); |
259 | int idx = ids.findIndex( id ); | 259 | int idx = ids.findIndex( id ); |
260 | CategoryTab *tab = (CategoryTab *)categoryBar->tab( idx ); | 260 | CategoryTab *tab = (CategoryTab *)categoryBar->tab( idx ); |
261 | 261 | ||
262 | // View | 262 | // View |
263 | QString view = cfg.readEntry( "View", "Icon" ); | 263 | QString view = cfg.readEntry( "View", "Icon" ); |
264 | if ( view == "List" ) // No tr | 264 | if ( view == "List" ) // No tr |
265 | v->setViewMode( LauncherView::List ); | 265 | v->setViewMode( LauncherView::List ); |
266 | QString bgType = cfg.readEntry( "BackgroundType", "Ruled" ); | 266 | QString bgType = cfg.readEntry( "BackgroundType", "Image" ); |
267 | if ( bgType == "Image" ) { // No tr | 267 | if ( bgType == "Image" ) { // No tr |
268 | QString pm = cfg.readEntry( "BackgroundImage", "wallpaper/marble" ); | 268 | QString pm = cfg.readEntry( "BackgroundImage", "launcher/opie-background" ); |
269 | v->setBackgroundType( LauncherView::Image, pm ); | 269 | v->setBackgroundType( LauncherView::Image, pm ); |
270 | } else if ( bgType == "SolidColor" ) { | 270 | } else if ( bgType == "SolidColor" ) { |
271 | QString c = cfg.readEntry( "BackgroundColor" ); | 271 | QString c = cfg.readEntry( "BackgroundColor" ); |
272 | v->setBackgroundType( LauncherView::SolidColor, c ); | 272 | v->setBackgroundType( LauncherView::SolidColor, c ); |
273 | } | 273 | } |
274 | QString textCol = cfg.readEntry( "TextColor" ); | 274 | QString textCol = cfg.readEntry( "TextColor" ); |
275 | if ( textCol.isEmpty() ) | 275 | if ( textCol.isEmpty() ) |
276 | v->setTextColor( QColor() ); | 276 | v->setTextColor( QColor() ); |
277 | else | 277 | else |
278 | v->setTextColor( QColor(textCol) ); | 278 | v->setTextColor( QColor(textCol) ); |
279 | QStringList font = cfg.readListEntry( "Font", ',' ); | 279 | QStringList font = cfg.readListEntry( "Font", ',' ); |
280 | if ( font.count() == 4 ) | 280 | if ( font.count() == 4 ) |
281 | v->setViewFont( QFont(font[0], font[1].toInt(), font[2].toInt(), font[3].toInt()!=0) ); | 281 | v->setViewFont( QFont(font[0], font[1].toInt(), font[2].toInt(), font[3].toInt()!=0) ); |
282 | 282 | ||
283 | // Tabs | 283 | // Tabs |
284 | QString tabCol = cfg.readEntry( "TabColor" ); | 284 | QString tabCol = cfg.readEntry( "TabColor" ); |