Use a custom notification for not supported effects instead of a generic notification.
svn path=/trunk/KDE/kdebase/workspace/; revision=949998
This commit is contained in:
parent
253793dfff
commit
dd0ee8f1e0
2 changed files with 6 additions and 1 deletions
|
@ -647,7 +647,7 @@ void KWinCompositingConfig::configChanged(bool reinitCompositing)
|
|||
message.append( "</li>" );
|
||||
}
|
||||
message.append( "</ul>" );
|
||||
KNotification::event( KNotification::Notification, message );
|
||||
KNotification::event( "effectsnotsupported", message, QPixmap(), NULL, KNotification::CloseOnTimeout, KComponentData( "kwin" ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -6118,3 +6118,8 @@ Action=Popup
|
|||
Name=Compositing has been suspended
|
||||
Comment=Another application has requested to suspend compositing
|
||||
Action=Popup
|
||||
|
||||
[Event/effectsnotsupported]
|
||||
Name=Effects not supported
|
||||
Comment=Some effects are not supported by backend or hardware
|
||||
Action=Popup
|
||||
|
|
Loading…
Reference in a new issue