[brasero/gnome-2-26] Fix for #595026 - crash in Open Folder
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [brasero/gnome-2-26] Fix for #595026 - crash in Open Folder
- Date: Thu, 24 Sep 2009 12:45:46 +0000 (UTC)
commit b95619de2eca050f96734548380ae68a77b81ca7
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Thu Sep 24 14:44:20 2009 +0200
Fix for #595026 - crash in Open Folder
by Lin Ma <Lin Ma Sun COM>
src/burn-basics.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/src/burn-basics.c b/src/burn-basics.c
index 02f41c5..2b48c08 100644
--- a/src/burn-basics.c
+++ b/src/burn-basics.c
@@ -93,6 +93,16 @@ brasero_burn_library_init (void)
BRASERO_MINOR_VERSION,
BRASERO_SUB);
+#if defined(HAVE_STRUCT_USCSI_CMD)
+ /* Work around: because on OpenSolaris brasero possibly be run
+ * as root for a user with 'Primary Administrator' profile,
+ * a root dbus session will be autospawned at that time.
+ * This fix is to work around
+ * http://bugzilla.gnome.org/show_bug.cgi?id=526454
+ */
+ g_setenv ("DBUS_SESSION_BUS_ADDRESS", "autolaunch:", TRUE);
+#endif
+
/* initialize all device list */
if (!medium_manager)
medium_manager = brasero_medium_monitor_get_default ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]