This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
abrt-addon-python3/0001-Do-not-enabled-Shortened-reporting-in-GNOME.patch
Matej Habrnal 69165ba9cc Introduce abrt-addon-python3 package
Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
2017-07-04 09:22:28 +02:00

32 lines
1 KiB
Diff

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