kov changed libgksu/trunk/ChangeLog, libgksu/trunk/libgksu/gksu-run-helper.c

Gustavo Noronha kov at alioth.debian.org
Wed Mar 4 18:51:54 UTC 2009


Mensagem de log: 
2009-03-04  Gustavo Noronha Silva  <kov at debian.org>

	* libgksu/gksu-run-helper.c: - cleanup the environment from
	ORBIT_SOCKETDIR and DBUS_SESSION_BUS_ADDRESS to acommodate recent
	changes in gconf




-----


Modified: libgksu/trunk/ChangeLog
===================================================================
--- libgksu/trunk/ChangeLog	2009-03-04 18:39:36 UTC (rev 844)
+++ libgksu/trunk/ChangeLog	2009-03-04 18:51:54 UTC (rev 845)
@@ -1,3 +1,9 @@
+2009-03-04  Gustavo Noronha Silva  <kov at debian.org>
+
+	* libgksu/gksu-run-helper.c: - cleanup the environment from
+	ORBIT_SOCKETDIR and DBUS_SESSION_BUS_ADDRESS to acommodate recent
+	changes in gconf
+
 2009-02-22  Gustavo Noronha Silva  <kov at alface>
 
 	* Release 2.0.8

Modified: libgksu/trunk/libgksu/gksu-run-helper.c
===================================================================
--- libgksu/trunk/libgksu/gksu-run-helper.c	2009-03-04 18:39:36 UTC (rev 844)
+++ libgksu/trunk/libgksu/gksu-run-helper.c	2009-03-04 18:51:54 UTC (rev 845)
@@ -127,6 +127,12 @@
   sn_id = g_strdup_printf ("%s", s->str + 10);
   setenv("DESKTOP_STARTUP_ID", sn_id, TRUE);
 
+  /* cleanup the environment; some variables we bring from the user
+   * environment make gconf-based applications misbehaving these days
+   */
+  unsetenv ("ORBIT_SOCKETDIR");
+  unsetenv ("DBUS_SESSION_BUS_ADDRESS");
+
   s = g_string_truncate(s,0);
   read_gstring_from_stdin(s);
 




More information about the gksu-commits mailing list