[nautilus] correct the value of GtkRecentData.app_exec in nautilus_recent_add_file()



commit f28404dd6af7e95c8038e9f73a31f19398b148c2
Author: Xu Li <xu li intel com>
Date:   Fri Jul 17 15:17:27 2009 +0800

    correct the value of GtkRecentData.app_exec in nautilus_recent_add_file()

 libnautilus-private/nautilus-recent.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libnautilus-private/nautilus-recent.c b/libnautilus-private/nautilus-recent.c
index 3a44585..1091ac0 100644
--- a/libnautilus-private/nautilus-recent.c
+++ b/libnautilus-private/nautilus-recent.c
@@ -61,7 +61,7 @@ nautilus_recent_add_file (NautilusFile *file,
 	recent_data.app_name = g_strdup (g_get_application_name ());
 
 	if (application != NULL)
-		recent_data.app_exec = g_strdup (g_app_info_get_executable (application));
+		recent_data.app_exec = g_strdup (g_app_info_get_commandline (application));
 	else
 		recent_data.app_exec = g_strdup (DEFAULT_APP_EXEC);
 



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