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

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