Blame SOURCES/0001-Do-not-enabled-Shortened-reporting-in-GNOME.patch

a60cd7
From 815de5d1c1c230600fdf63ee1c95fae9fe7d49a2 Mon Sep 17 00:00:00 2001
a60cd7
From: Jakub Filak <jfilak@redhat.com>
a60cd7
Date: Wed, 8 Jan 2014 20:32:40 +0100
a60cd7
Subject: [ABRT PATCH 1/6] Do not enabled Shortened reporting in GNOME
a60cd7
a60cd7
Related to #918041
a60cd7
a60cd7
Signed-off-by: Jakub Filak <jfilak@redhat.com>
a60cd7
---
a60cd7
 src/lib/abrt_conf.c | 6 +-----
a60cd7
 1 file changed, 1 insertion(+), 5 deletions(-)
a60cd7
a60cd7
diff --git a/src/lib/abrt_conf.c b/src/lib/abrt_conf.c
a60cd7
index f7fdc6d..5eb69e2 100644
a60cd7
--- a/src/lib/abrt_conf.c
a60cd7
+++ b/src/lib/abrt_conf.c
a60cd7
@@ -100,11 +100,7 @@ static void ParseCommon(map_string_t *settings, const char *conf_filename)
a60cd7
         remove_map_string_item(settings, "ShortenedReporting");
a60cd7
     }
a60cd7
     else
a60cd7
-    {
a60cd7
-        /* Default: enabled for GNOME desktop, else disabled */
a60cd7
-        const char *desktop_env = getenv("DESKTOP_SESSION");
a60cd7
-        g_settings_shortenedreporting = (desktop_env && strcasestr(desktop_env, "gnome") != NULL);
a60cd7
-    }
a60cd7
+        g_settings_shortenedreporting = 0;
a60cd7
 
a60cd7
     GHashTableIter iter;
a60cd7
     const char *name;
a60cd7
-- 
a60cd7
1.8.3.1
a60cd7