diff options
Diffstat (limited to 'apps/shortcuts.c')
-rw-r--r-- | apps/shortcuts.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/shortcuts.c b/apps/shortcuts.c index c7e5755c1a..aa9a32bbb2 100644 --- a/apps/shortcuts.c +++ b/apps/shortcuts.c | |||
@@ -36,6 +36,7 @@ | |||
36 | #include "lang.h" | 36 | #include "lang.h" |
37 | #include "menu.h" | 37 | #include "menu.h" |
38 | #include "misc.h" | 38 | #include "misc.h" |
39 | #include "open_plugin.h" | ||
39 | #include "tree.h" | 40 | #include "tree.h" |
40 | #include "splash.h" | 41 | #include "splash.h" |
41 | #include "pathfuncs.h" | 42 | #include "pathfuncs.h" |
@@ -608,6 +609,12 @@ int do_shortcut_menu(void *ignored) | |||
608 | /* else fall through */ | 609 | /* else fall through */ |
609 | case SHORTCUT_BROWSER: | 610 | case SHORTCUT_BROWSER: |
610 | { | 611 | { |
612 | |||
613 | if(open_plugin_add_path(ID2P(LANG_SHORTCUTS), sc->u.path, NULL) != 0) | ||
614 | { | ||
615 | done = GO_TO_PLUGIN; | ||
616 | break; | ||
617 | } | ||
611 | struct browse_context browse; | 618 | struct browse_context browse; |
612 | browse_context_init(&browse, global_settings.dirfilter, 0, | 619 | browse_context_init(&browse, global_settings.dirfilter, 0, |
613 | NULL, NOICON, sc->u.path, NULL); | 620 | NULL, NOICON, sc->u.path, NULL); |