diff options
author | Felix Riemann <[email protected]> | 2011-12-15 19:36:06 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-07-03 10:39:59 +0200 |
commit | fb4446d3d00753a9918a4792e73a70b4a806ce09 (patch) | |
tree | fb4c8e3b7fe7886b94cce6fec5ce615330fad4b3 /src/eom-util.h | |
parent | 07de8758476b62430ca15f29d0d75b88afef1345 (diff) | |
download | eom-fb4446d3d00753a9918a4792e73a70b4a806ce09.tar.bz2 eom-fb4446d3d00753a9918a4792e73a70b4a806ce09.tar.xz |
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
Diffstat (limited to 'src/eom-util.h')
-rw-r--r-- | src/eom-util.h | 4 |
1 files changed, 4 insertions, 0 deletions
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__ */ |