Commit b0a8e5c7 authored by Christian Hergert's avatar Christian Hergert

core: ignore notify::completed if FALSE

Fixes #927
parent feda5a05
......@@ -502,7 +502,8 @@ ide_transfer_notification_notify_completed (IdeTransfer *self,
g_assert (IDE_IS_TRANSFER (self));
g_assert (IDE_IS_NOTIFICATION (notif));
ide_notification_withdraw_in_seconds (notif, 10);
if (ide_transfer_get_completed (self))
ide_notification_withdraw_in_seconds (notif, -1);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment