Index: kdebase-workspace-4.2.90/plasma/applets/kickoff/ui/launcher.cpp =================================================================== --- kdebase-workspace-4.2.90.orig/plasma/applets/kickoff/ui/launcher.cpp 2009-06-22 11:21:25.000000000 -0400 +++ kdebase-workspace-4.2.90/plasma/applets/kickoff/ui/launcher.cpp 2009-06-22 11:46:17.000000000 -0400 @@ -25,6 +25,8 @@ // Qt #include +#include +#include #include #include #include @@ -39,6 +41,7 @@ #include #include #include +#include #include #include #include @@ -513,6 +516,14 @@ // Add status information footer d->footer = new QWidget; + QLabel *userAvatar = new QLabel(this); + QFileInfo fi(QDir(QDir::homePath()), ".face.icon"); + if (fi.exists()) { + userAvatar->setPixmap(QPixmap(fi.absoluteFilePath()).scaled(KIconLoader::SizeMedium, KIconLoader::SizeMedium, Qt::KeepAspectRatio)); + } else { + userAvatar->setPixmap(KIcon("user-identity").pixmap(KIconLoader::SizeMedium, KIconLoader::SizeMedium)); + } + char hostname[256]; hostname[0] = '\0'; if (!gethostname(hostname, sizeof(hostname))) { @@ -536,11 +547,10 @@ QHBoxLayout *brandingLayout = new QHBoxLayout; brandingLayout->setMargin(3); - brandingLayout->addSpacing(ItemDelegate::ITEM_LEFT_MARGIN - 3); + brandingLayout->addWidget(userAvatar); brandingLayout->addWidget(d->userinfo); brandingLayout->addStretch(2); brandingLayout->addWidget(branding); - brandingLayout->addSpacing(rightHeaderMargin); d->footer->setLayout(brandingLayout); layout->addWidget(d->footer); Index: kdebase-workspace-4.2.90/plasma/applets/kickoff/ui/searchbar.cpp =================================================================== --- kdebase-workspace-4.2.90.orig/plasma/applets/kickoff/ui/searchbar.cpp 2009-06-22 11:15:37.000000000 -0400 +++ kdebase-workspace-4.2.90/plasma/applets/kickoff/ui/searchbar.cpp 2009-06-22 11:28:47.000000000 -0400 @@ -22,8 +22,6 @@ // Qt #include -#include -#include #include #include #include @@ -72,12 +70,7 @@ d->searchLabel = new QLabel(i18n("Search:"), this); QLabel *searchIcon = new QLabel(this); - QFileInfo fi(QDir(QDir::homePath()), ".face.icon"); - if (fi.exists()) { - searchIcon->setPixmap(QPixmap(fi.absoluteFilePath()).scaled(KIconLoader::SizeMedium, KIconLoader::SizeMedium, Qt::KeepAspectRatio)); - } else { - searchIcon->setPixmap(KIcon("system-search").pixmap(KIconLoader::SizeMedium, KIconLoader::SizeMedium)); - } + searchIcon->setPixmap(KIcon("system-search").pixmap(KIconLoader::SizeSmall, KIconLoader::SizeSmall)); d->editWidget = new KLineEdit(this); d->editWidget->installEventFilter(this);