diff options
Diffstat (limited to 'kdm/kfrontend/kgreeter.cpp')
-rw-r--r-- | kdm/kfrontend/kgreeter.cpp | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/kdm/kfrontend/kgreeter.cpp b/kdm/kfrontend/kgreeter.cpp index 74fc6b090..fb3a3aacc 100644 --- a/kdm/kfrontend/kgreeter.cpp +++ b/kdm/kfrontend/kgreeter.cpp @@ -84,11 +84,13 @@ class UserListView : public KListView { addColumn( TQString::null ); setColumnAlignment( 0, AlignVCenter ); setResizeMode( TQListView::LastColumn ); - if (themed) { - setBackgroundMode( Qt::NoBackground ); - viewport()->setBackgroundMode( Qt::NoBackground ); - setFrameStyle( TQFrame::NoFrame ); - } + // FIXME: This must be configurable, so disable + // painting of list background for now. +// if (themed) { +// setBackgroundMode( Qt::NoBackground ); +// viewport()->setBackgroundMode( Qt::NoBackground ); +// setFrameStyle( TQFrame::NoFrame ); +// } } bool themed; @@ -127,6 +129,10 @@ public: if (!themed) return KListView::paintEmptyArea(p, rect ); + // FIXME: This must be configurable, so disable + // painting of list background for now. + return KListView::paintEmptyArea(p, rect ); + const TQPixmap *pm = paletteBackgroundPixmap(); if (!pm || pm->isNull()) return; @@ -1049,7 +1055,7 @@ KThemedGreeter::pluginSetup() inherited::pluginSetup(); if (userView && verify->entitiesLocal() && verify->entityPresettable() && userlist_rect) { - userView->setMaximumHeight( userView->sumHeight() ); +// userView->setMaximumHeight( userView->sumHeight() ); userlist_rect->setWidget( userView ); } else { if (userView) |