libreport/0025-rhtsupport-move-RH-Portal-URL-c.-o.-to-Advanced-sect.patch

54 lines
2.1 KiB
Diff

From 1bf4d7cee7aaeeb777b7244f441fb4c603864e48 Mon Sep 17 00:00:00 2001
From: Jakub Filak <jfilak@redhat.com>
Date: Mon, 3 Nov 2014 16:15:45 +0100
Subject: [PATCH] rhtsupport: move RH Portal URL c. o. to Advanced section
It is unlikely that a regular user will ever want to edit that
configuration option.
Related to rhbz#1139987
Signed-off-by: Jakub Filak <jfilak@redhat.com>
Conflicts:
src/plugins/report_RHTSupport.xml.in
---
src/plugins/report_RHTSupport.xml.in | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/src/plugins/report_RHTSupport.xml.in b/src/plugins/report_RHTSupport.xml.in
index 4efc4dc..a612a1e 100644
--- a/src/plugins/report_RHTSupport.xml.in
+++ b/src/plugins/report_RHTSupport.xml.in
@@ -12,12 +12,8 @@
<gui-review-elements>yes</gui-review-elements>
<options>
- <option type="text" name="RHTSupport_URL">
- <_label>RH Portal URL</_label>
- <allow-empty>no</allow-empty>
- <_description>Address of the Red Hat support portal</_description>
- <default-value>https://api.access.redhat.com/rs</default-value>
- </option>
+ <import-event-options event="report_uReport"/>
+
<option type="text" name="RHTSupport_Login">
<_label>Username</_label>
<_description>Red Hat customer user name</_description>
@@ -39,6 +35,12 @@
<_note-html>Submit &lt;a href="https://access.redhat.com/articles/642323"&gt;micro-report&lt;/a&gt; when creating a new case. </_note-html>
<default-value>yes</default-value>
</option>
+ <option type="text" name="RHTSupport_URL">
+ <_label>RH Portal URL</_label>
+ <allow-empty>no</allow-empty>
+ <_description>Address of the Red Hat support portal</_description>
+ <default-value>https://api.access.redhat.com/rs</default-value>
+ </option>
<option type="text" name="http_proxy">
<_label>HTTP Proxy</_label>
<allow-empty>yes</allow-empty>
--
2.1.0