Index: src/obexpush.c
===================================================================
--- src/obexpush.c	(révision 245)
+++ src/obexpush.c	(copie de travail)
@@ -96,6 +96,46 @@
 }
 
 static void
+open_parent_folder_for_file (NotifyNotification *notification, const char *action, const char *file_uri)
+{
+	GFile *file;
+	GFile *parent;
+	gchar *parent_uri;
+	GdkScreen *screen;
+        GAppLaunchContext *ctx;
+	GTimeVal val;
+
+        g_assert (action != NULL);
+   
+	g_get_current_time (&val);
+	
+	file = g_file_new_for_uri (file_uri);
+	parent = g_file_get_parent (file);
+	parent_uri = g_file_get_uri (parent);
+	g_object_unref (file);
+	g_object_unref (parent);
+
+#if GTK_CHECK_VERSION(2,13,2)
+	ctx = G_APP_LAUNCH_CONTEXT (gdk_app_launch_context_new ());
+	screen = gdk_screen_get_default ();
+	gdk_app_launch_context_set_screen (GDK_APP_LAUNCH_CONTEXT (ctx), screen);
+	gdk_app_launch_context_set_timestamp (GDK_APP_LAUNCH_CONTEXT (ctx), val.tv_sec);
+#else
+	ctx = NULL;
+	screen = NULL;
+#endif
+	g_message ("%s", parent_uri);
+	if (!g_app_info_launch_default_for_uri (parent_uri, ctx, NULL)) {
+		g_warning ("Could not launch the file manager\n");
+	}
+
+	g_free (parent_uri);
+        notify_notification_close (notification, NULL);
+	g_object_unref (notification);
+        hide_statusicon ();
+}
+
+static void
 show_notification (const char *filename)
 {
 	char *file_uri, *notification_text, *display;
@@ -103,7 +143,7 @@
 
 	file_uri = g_filename_to_uri (filename, NULL, NULL);
 	if (file_uri == NULL) {
-		g_warning ("Couldn't make a filename from '%s'", filename);
+		g_warning ("Could not make a filename from '%s'", filename);
 		return;
 	}
 
@@ -117,7 +157,12 @@
 
 	notify_notification_set_timeout (notification, NOTIFY_EXPIRES_DEFAULT);
 	notify_notification_add_action (notification, "display", _("Open File"),
-					(NotifyActionCallback) launch_viewer_for_file, (gpointer) file_uri, (GFreeFunc) g_free);
+					(NotifyActionCallback) launch_viewer_for_file,
+					(gpointer) file_uri, (GFreeFunc) g_free);
+	// FIXME: to change on bug #498506 is fixed
+	notify_notification_add_action (notification, "reveal", _("Reveal File"),
+					(NotifyActionCallback) open_parent_folder_for_file,
+					(gpointer) file_uri, (GFreeFunc) g_free);
 	
 	g_signal_connect (G_OBJECT (notification), "closed", G_CALLBACK (on_close_notification), notification);
 
