Blob Blame History Raw
From 07118b21e400670b91093cafc677395fc59b88b4 Mon Sep 17 00:00:00 2001
From: Jakub Filak <jfilak@redhat.com>
Date: Mon, 3 Nov 2014 15:59:26 +0100
Subject: [PATCH] ureport: be able to configure ContactEmail from GUI

reporter-rhtsupport reads uReport_ContactEmail configuration option
before attaching the contact email to uReport. It is likely that users
will run the reporter from the GUI, so they must be able to configure
the reporter from the GUI too.

Related to rhbz#1150388

Signed-off-by: Jakub Filak <jfilak@redhat.com>
---
 src/plugins/report_uReport.xml.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/plugins/report_uReport.xml.in b/src/plugins/report_uReport.xml.in
index a02f484..1147880 100644
--- a/src/plugins/report_uReport.xml.in
+++ b/src/plugins/report_uReport.xml.in
@@ -20,6 +20,10 @@
             <_note-html>Adds your Bugzilla login to CC List of already reported bugs.</_note-html>
             <default-value>yes</default-value>
         </option>
+        <option type="text" name="uReport_ContactEmail">
+            <_label>Contact email address</_label>
+            <_description>Email address that can be used by ABRT server to inform you about news and updates</_description>
+        </option>
         <option type="bool" name="uReport_SSLVerify">
             <_label>Verify SSL</_label>
             <_description>Check SSL key validity</_description>
-- 
2.1.0