WIP separating fs actions

This commit is contained in:
2022-12-06 23:36:10 -06:00
parent 6d4279c871
commit 9eeb24e19a
14 changed files with 389 additions and 311 deletions

View File

@@ -123,8 +123,8 @@ class Plugin(PluginBase):
GLib.idle_add(self._process_changes, (state))
def _process_changes(self, state):
if len(state.selected_files) == 1:
uri = state.selected_files[0]
if len(state.uris) == 1:
uri = state.uris[0]
path = state.tab.get_current_directory()