aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ephy-file-helpers.c3
-rw-r--r--lib/ephy-file-helpers.h1
2 files changed, 3 insertions, 1 deletions
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,