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

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