On 06.10.2011 10:41, Nikola Pajkovsky wrote:
Michal Toman<mtoman(a)redhat.com> writes:
> Hide the ugly log window, add a progress bar and update label on the
> fly. Please review.
>
> M
>
> @@ -1396,6 +1400,8 @@ static gboolean consume_cmd_output(GIOChannel *source,
GIOCondition condition, g
> {
> append_to_textview(evd->tv_log, msg);
> save_to_event_log(evd, msg);
> + /* cuts off \n from msg */
> + gtk_label_set_text(g_lbl_analyze_log, strtrim(msg));
strtrim doesn't cut off \n from message. it just trim white-space around
the msg.
I know, just a note for me - message originally ended by \n, now it does
not.
Patch looks good. what I don't like is that the whole 'analyze page'
is greyout when it's working.
it's a bit of work, I can fix that in the
future.