diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2022-01-12 11:12:01 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2022-01-12 11:12:32 +0100 |
commit | 757bc9beaabb8470a0d6cf2628269dbf720fbf31 (patch) | |
tree | 53529bf9b7da06d6b9e6555f72b686839e37c135 /fiv.c | |
parent | f632510d2a8b96e25f529c9f408fa1bef9693557 (diff) | |
download | fiv-757bc9beaabb8470a0d6cf2628269dbf720fbf31.tar.gz fiv-757bc9beaabb8470a0d6cf2628269dbf720fbf31.tar.xz fiv-757bc9beaabb8470a0d6cf2628269dbf720fbf31.zip |
Fully support GNOME's inode/directory mechanism
Diffstat (limited to 'fiv.c')
-rw-r--r-- | fiv.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -880,11 +880,12 @@ open_any_file(GFile *file, gboolean force_browser) } else if (type == G_FILE_TYPE_DIRECTORY) { load_directory(uri); } else if (force_browser) { - // GNOME, e.g., invokes this as a hint to focus the particular file, - // which we can't currently do yet. + // GNOME, e.g., invokes this as a hint to focus the particular file. gchar *parent = parent_uri(file); load_directory(parent); g_free(parent); + + fiv_browser_select(FIV_BROWSER(g.browser), uri); } else { open(uri); } |