abrt/abrt-2.1.1-dont_enable_shortened_reporting_in_gnome.patch
2013-03-05 12:27:57 +01:00

15 lines
526 B
Diff

diff -ur abrt-2.1.1/src/applet/applet.c abrt-2.1.1.new/src/applet/applet.c
--- abrt-2.1.1/src/applet/applet.c 2013-02-01 17:05:40.000000000 +0100
+++ abrt-2.1.1.new/src/applet/applet.c 2013-03-05 12:04:38.840227170 +0100
@@ -117,9 +117,7 @@
if (configured)
return string_to_bool(configured);
- /* Default: enabled for GNOME desktop, else disabled */
- const char *desktop_env = getenv("DESKTOP_SESSION");
- return (desktop_env && strcasestr(desktop_env, "gnome") != NULL);
+ return false;
}
/*