fix build cancellation

This commit is contained in:
guinux 2017-02-24 12:35:19 +01:00
parent df8287f08f
commit 89f92b72b9

View File

@ -379,7 +379,8 @@ namespace Pamac {
}
} catch (Error e) {
// cancelled
process.send_signal (Posix.SIGTERM);
process.send_signal (Posix.SIGINT);
process.send_signal (Posix.SIGKILL);
}
Idle.add ((owned) callback);
});
@ -1095,7 +1096,7 @@ namespace Pamac {
stderr.printf ("IOError: %s\n", e.message);
}
}
show_in_term (dgettext (null, "Transaction cancelled") + ".\n");
show_in_term ("\n" + dgettext (null, "Transaction cancelled") + ".\n");
warning_textbuffer = new StringBuilder ();
}