[nautilus/gnome-2-28] correct the value of GtkRecentData.app_exec in nautilus_recent_add_file()
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus/gnome-2-28] correct the value of GtkRecentData.app_exec in nautilus_recent_add_file()
- Date: Tue, 20 Oct 2009 11:26:06 +0000 (UTC)
commit ed75d333fc18e039f6421d2dc96166e1a3bea6a1
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]