Use a custom notification for not supported effects instead of a generic notification.

svn path=/trunk/KDE/kdebase/workspace/; revision=949998
remotes/origin/Plasma/5.0
Martin Gräßlin 17 years ago
parent 253793dfff
commit dd0ee8f1e0
  1. 2
      kcmkwin/kwincompositing/main.cpp
  2. 5
      kwin.notifyrc

@ -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…
Cancel
Save