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