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

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