libreport/0013-report-gtk-don-t-log-THANKYOU-message.patch

35 lines
1.1 KiB
Diff
Raw Normal View History

From 5f91ab6a3db9159596839956eb9c396a87977574 Mon Sep 17 00:00:00 2001
From: Jakub Filak <jfilak@redhat.com>
Date: Mon, 13 Aug 2012 17:11:58 +0200
Subject: [LIBREPORT PATCH 13/16] report-gtk: don't log THANKYOU message
Signed-off-by: Jakub Filak <jfilak@redhat.com>
---
src/gui-wizard-gtk/wizard.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gui-wizard-gtk/wizard.c b/src/gui-wizard-gtk/wizard.c
index 5d399f4..16728b6 100644
--- a/src/gui-wizard-gtk/wizard.c
+++ b/src/gui-wizard-gtk/wizard.c
@@ -1320,7 +1320,6 @@ static void run_event_gtk_error(const char *error_line, void *param)
static char *run_event_gtk_logging(char *log_line, void *param)
{
struct analyze_event_data *evd = (struct analyze_event_data *)param;
- update_command_run_log(log_line, evd);
if (strcmp(log_line, "THANKYOU") == 0)
{
@@ -1329,6 +1328,8 @@ static char *run_event_gtk_logging(char *log_line, void *param)
if (!g_expert_mode)
evd->success_msg = _("Processing finished.");
}
+ else
+ update_command_run_log(log_line, evd);
return log_line;
}
--
1.7.11.2