forked from cromer/pamac-classic
fix #39
This commit is contained in:
parent
dcbb6b07cd
commit
344010da89
@ -1172,6 +1172,8 @@ namespace Pamac {
|
||||
string? line = null;
|
||||
Gtk.TextIter end_iter;
|
||||
if ((Alpm.LogLevel) level == Alpm.LogLevel.WARNING) {
|
||||
// do not show warning when manjaro-system remove db.lck
|
||||
if (previous_filename != "manjaro-system") {
|
||||
if (previous_filename != "") {
|
||||
line = dgettext (null, "Warning") + ": " + previous_filename + ": " + msg;
|
||||
} else {
|
||||
@ -1179,6 +1181,7 @@ namespace Pamac {
|
||||
}
|
||||
transaction_info_dialog.textbuffer.get_end_iter (out end_iter);
|
||||
transaction_info_dialog.textbuffer.insert (ref end_iter, msg, msg.length);
|
||||
}
|
||||
} else if ((Alpm.LogLevel) level == Alpm.LogLevel.ERROR) {
|
||||
if (previous_filename != "") {
|
||||
line = dgettext (null, "Error") + ": " + previous_filename + ": " + msg;
|
||||
|
Loading…
Reference in New Issue
Block a user