if an svg is set for the icon switch to the full view on the desktop as well
svn path=/trunk/KDE/kdelibs/; revision=1115279
This commit is contained in:
parent
fbe946ca4c
commit
b6f75d6e46
@ -271,7 +271,7 @@ void PopupAppletPrivate::popupConstraintsEvent(Plasma::Constraints constraints)
|
||||
}
|
||||
|
||||
//Applet on desktop
|
||||
if (icon && !icon->icon().isNull() && ((f != Plasma::Vertical && f != Plasma::Horizontal) ||
|
||||
if (icon && (!icon->svg().isEmpty() || !icon->icon().isNull()) && ((f != Plasma::Vertical && f != Plasma::Horizontal) ||
|
||||
((f == Plasma::Vertical && parentSize.width() >= minimum.width()) ||
|
||||
(f == Plasma::Horizontal && parentSize.height() >= minimum.height())))) {
|
||||
//kDebug() << "we are expanding the popupapplet";
|
||||
|
Loading…
Reference in New Issue
Block a user