From fb4446d3d00753a9918a4792e73a70b4a806ce09 Mon Sep 17 00:00:00 2001 From: Felix Riemann Date: Thu, 15 Dec 2011 19:36:06 +0100 Subject: Use new DBus API to show the current image in the file browser This improves the functionality implemented with commit 9df5fd43. The new API that will be included in Nautilus 3.3.4 not only opens a view for the containing folder but also marks the image in the view. The old behaviour is still available as fallback if the new API is not offered on the system. https://bugzilla.gnome.org/show_bug.cgi?id=650402 origin commit: https://git.gnome.org/browse/eog/commit/?h=gnome-3-4&id=fa74473 --- src/eom-util.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/eom-util.h') diff --git a/src/eom-util.h b/src/eom-util.h index 9e9ef6b..3d0f40c 100644 --- a/src/eom-util.h +++ b/src/eom-util.h @@ -63,6 +63,10 @@ char * eom_util_filename_get_extension (const char * filename_with_extensi G_GNUC_INTERNAL gboolean eom_util_file_is_persistent (GFile *file); +G_GNUC_INTERNAL +void eom_util_show_file_in_filemanager (GFile *file, + GdkScreen *screen); + G_END_DECLS #endif /* __EOM_UTIL_H__ */ -- cgit v1.2.1