From 8e5ee4c532e32d5780f21e3c1a1894121e08d016 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Rameau?= Date: Wed, 9 Aug 2006 20:08:29 +0000 Subject: ephy_file_launch_desktop_file accepts now a parameter. Fix #343321. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2006-08-09 Jean-François Rameau * src/popup-commands.c: (background_download_completed): * lib/ephy-file-helpers.h: (ephy_file_launch_desktop_file): * lib/ephy-file-helpers.c: (ephy_file_launch_desktop_file): ephy_file_launch_desktop_file accepts now a parameter. Fix #343321. * src/ephy-window.c: Remove CONF_DESKTOP_BG_PICTURE #define. No need. --- lib/ephy-file-helpers.c | 3 ++- lib/ephy-file-helpers.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/ephy-file-helpers.c b/lib/ephy-file-helpers.c index ef34c9b99..f5cd19995 100644 --- a/lib/ephy-file-helpers.c +++ b/lib/ephy-file-helpers.c @@ -925,6 +925,7 @@ launch_desktop_item (const char *desktop_file, gboolean ephy_file_launch_desktop_file (const char *filename, + const char *parameter, guint32 user_time) { GError *error = NULL; @@ -947,7 +948,7 @@ ephy_file_launch_desktop_file (const char *filename, if (path != NULL) { - ret = launch_desktop_item (path, NULL, user_time, &error); + ret = launch_desktop_item (path, parameter, user_time, &error); if (ret == -1 || error != NULL) { diff --git a/lib/ephy-file-helpers.h b/lib/ephy-file-helpers.h index ef96d7b3e..8e6a381d4 100644 --- a/lib/ephy-file-helpers.h +++ b/lib/ephy-file-helpers.h @@ -80,6 +80,7 @@ void ephy_file_delete_on_exit (const char *path); EphyMimePermission ephy_file_check_mime (const char *mime_type); gboolean ephy_file_launch_desktop_file (const char *filename, + const char *parameter, guint32 user_time); gboolean ephy_file_launch_application (GnomeVFSMimeApplication *application, -- cgit v1.2.3