Use thunar-launcher / thunar-menu for tree-view
- Aug 21, 2020
-
-
Alexander Schwinn authored
Provides the possibility to reuse device-related menu services by the bookmark view, instead of providing own code. Fixes #349
0009f8c9 -
Alexander Schwinn authored
Allows to use "open"/"open as tab"/"open as window" on devices in tree-view again. Provides the possibility to reuse device-related menu services by the bookmark view, instead of proivding own code.
2cf281be -
Alexander Schwinn authored
Usage of new API for the closure (now triggered by thunar-launcher) Actually there is no need to re-create the closure again and again. This patch creates one closure, coupled to the lifetime of the tree-view.
1bac5750 -
Alexander Schwinn authored
Instead of creating a foreign menu
f5aa9738 -
Alexander Schwinn authored
Introduced possibility to differ between: 1: nothing is selected --> use current folder 2: current folder is selected --> use selected folder (Required for tree-view support, where it is possible to select the current folder)
1d62ad68 -
Alexander Schwinn authored
Draw all modifying menu-items insensitive if parent folder is NULL Some launcher actions did that check before even creating the item, so that no item was shown in case "parent_folder = NULL", others did not check at all. Now there is consistency among all actions for that exotic case.
e15eed95 -
Alexander Schwinn authored55e60d59
-
Alexander Schwinn authored
Using "files_are_selected" instead of "current_directory_selected" since it is less ambiguous. "current_directory_selected" was used in the context that nothing is selected before. That would lead to trouble when used in the tree-view, where it is possible to actively select the current directory.
02eb4c97 -
Alexander Schwinn authored
The method was unused and missleading. Launcher does not store the selected_files.
3d00bd93 -
Alexander Schwinn authored
and rename related variables accordingly. In order to better reflect the usage. Even if nothing is selected, files_to_process (formaly "selected_files") will list the current directory.
aa23ba10
-