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