[brasero/gnome-2-30] Fix the name of the application we use in burn-dbus.c as this may not be "Brasero"



commit 77d950c972f787d63ad0bed0c8eba2bebc55421b
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Sat Jul 24 21:33:43 2010 +0200

    Fix the name of the application we use in burn-dbus.c as this may not be "Brasero"

 libbrasero-burn/burn-dbus.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libbrasero-burn/burn-dbus.c b/libbrasero-burn/burn-dbus.c
index fae5ca4..0b6a058 100644
--- a/libbrasero-burn/burn-dbus.c
+++ b/libbrasero-burn/burn-dbus.c
@@ -118,7 +118,7 @@ brasero_inhibit_suspend (const char *reason)
 
 	res = dbus_g_proxy_call (proxy,
 				 "Inhibit", &error,
-				 G_TYPE_STRING, "Brasero", /* app_id */
+				 G_TYPE_STRING, g_get_application_name (), /* This is the human readable name of the application */
 				 G_TYPE_UINT, 0,           /* toplevel_xid */
 				 G_TYPE_STRING, reason,    /* reason */
 				 G_TYPE_UINT, 1 | 4,       /* flags (prevent logout, suspend) */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]