Tried to recover from KDE 4.4 no longer supporting...
...the KDE notification protocol.
This commit is contained in:
parent
6f9986d190
commit
0c427e434d
1 changed files with 5 additions and 0 deletions
|
@ -1137,6 +1137,11 @@ static uint32_t send_dbus_notification(DBusConnection *connection, uint32_t repl
|
|||
if (!ret) {
|
||||
ERR_DP << "Failed to send visual notification: " << err.message << '\n';
|
||||
dbus_error_free(&err);
|
||||
if (kde_style) {
|
||||
ERR_DP << " Retrying with the freedesktop protocol.\n";
|
||||
kde_style = false;
|
||||
return send_dbus_notification(connection, replaces_id, owner, message);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
uint32_t id;
|
||||
|
|
Loading…
Add table
Reference in a new issue