diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-12-01 11:15:12 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-12-01 11:15:12 (GMT) |
commit | 09f07c9a523dce7b8d7e013857f988f727f1a72b (patch) | |
tree | ca2e8badd81609070ef4aabd1b60174da7d6a114 /src/gui | |
parent | efbf67e4af709c9e9d27c288399654848a4bfda8 (diff) |
Created an extra log category for external errors.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/panels/log.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/gui/panels/log.c b/src/gui/panels/log.c index f0252e9..ffe8b42 100644 --- a/src/gui/panels/log.c +++ b/src/gui/panels/log.c @@ -292,30 +292,31 @@ static gboolean log_message(log_data *data) -1); break; - case LMT_BAD_BINARY: + case LMT_PROCESS: gtk_list_store_set(store, &iter, - LGC_PICTURE, "gtk-dialog-warning", + LGC_PICTURE, "gtk-execute", LGC_STRING, data->msg, -1); break; - case LMT_PROCESS: + case LMT_WARNING: gtk_list_store_set(store, &iter, - LGC_PICTURE, "gtk-execute", + LGC_PICTURE, "gtk-dialog-warning", LGC_STRING, data->msg, -1); break; - case LMT_ERROR: + case LMT_BAD_BINARY: gtk_list_store_set(store, &iter, - LGC_PICTURE, "gtk-dialog-error", + LGC_PICTURE, "gtk-dialog-warning", LGC_STRING, data->msg, -1); break; - case LMT_WARNING: + case LMT_ERROR: + case LMT_EXT_ERROR: gtk_list_store_set(store, &iter, - LGC_PICTURE, "gtk-dialog-warning", + LGC_PICTURE, "gtk-dialog-error", LGC_STRING, data->msg, -1); break; |