diff libgui/src/files-dock-widget.h @ 27273:aaf788e496a3

add file browser context menu for removing dirs from path (bug #55623) * files-dock-widget.cc (contextmenu_requested): add menu with submenus for removing dirs and dirs with subdirs from path; (contextmenu_add_to_path): additional parameter for removing dirs from path; (contextmenu_rm_from_path, contextmenu_rm_from_path_subdirs): new methods calling contextmenu_add_to_path with flags for removing and for subdirs * files-dock-widget.h: new parameter for contextmenu_add_to_path, new methods contextmenu_rm_from_path, contextmenu_rm_from_path_subdirs
author Torsten Lilge <ttl-octave@mailbox.org>
date Sun, 21 Jul 2019 15:46:19 +0200
parents 6a6b5ae3d58d
children 82ace1225a9c
line wrap: on
line diff
--- a/libgui/src/files-dock-widget.h	Sun Jul 21 12:43:19 2019 +0200
+++ b/libgui/src/files-dock-widget.h	Sun Jul 21 15:46:19 2019 +0200
@@ -113,8 +113,10 @@
     void contextmenu_newfile (bool);
     void contextmenu_newdir (bool);
     void contextmenu_setcurrentdir (bool);
-    void contextmenu_add_to_path (bool, bool subdirs=false);
+    void contextmenu_add_to_path (bool, bool rm=false, bool subdirs=false);
     void contextmenu_add_to_path_subdirs (bool);
+    void contextmenu_rm_from_path (bool);
+    void contextmenu_rm_from_path_subdirs (bool);
     void contextmenu_findfiles (bool);
     //!@}