summaryrefslogtreecommitdiff
path: root/core/launcher/launcher.cpp
authormickeyl <mickeyl>2005-01-10 23:47:36 (UTC)
committer mickeyl <mickeyl>2005-01-10 23:47:36 (UTC)
commit32e8aa951218c0bd6118ee04bb22ef83b3b7ec2e (patch) (unidiff)
tree7b8bcf86b76b4c44ca96f60e2c2594995c74fbb6 /core/launcher/launcher.cpp
parentdd649f98d0010711ed3d0fac433bd9fafa4002db (diff)
downloadopie-32e8aa951218c0bd6118ee04bb22ef83b3b7ec2e.zip
opie-32e8aa951218c0bd6118ee04bb22ef83b3b7ec2e.tar.gz
opie-32e8aa951218c0bd6118ee04bb22ef83b3b7ec2e.tar.bz2
make number of icon columns in the launcher customizable per-tab
TODO: add GUI for that
Diffstat (limited to 'core/launcher/launcher.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/launcher.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/launcher/launcher.cpp b/core/launcher/launcher.cpp
index 970b8cb..4f81076 100644
--- a/core/launcher/launcher.cpp
+++ b/core/launcher/launcher.cpp
@@ -286,12 +286,13 @@ void LauncherTabWidget::setTabViewAppearance( LauncherView *v, Config &cfg )
286 if ( textCol.isEmpty() ) 286 if ( textCol.isEmpty() )
287 v->setTextColor( QColor() ); 287 v->setTextColor( QColor() );
288 else 288 else
289 v->setTextColor( QColor(textCol) ); 289 v->setTextColor( QColor(textCol) );
290// bool customFont = cfg.readBoolEntry( "CustomFont", FALSE ); 290// bool customFont = cfg.readBoolEntry( "CustomFont", FALSE );
291 291
292 v->setColNumber( cfg.readNumEntry( "Columns", 0 ) );
292 293
293 QStringList font = cfg.readListEntry( "Font", ',' ); 294 QStringList font = cfg.readListEntry( "Font", ',' );
294 if ( font.count() == 4 ) 295 if ( font.count() == 4 )
295 v->setViewFont( QFont(font[0], font[1].toInt(), font[2].toInt(), font[3].toInt()!=0) ); 296 v->setViewFont( QFont(font[0], font[1].toInt(), font[2].toInt(), font[3].toInt()!=0) );
296 297
297 // ### FIXME TabColor TabTextColor 298 // ### FIXME TabColor TabTextColor