Browse Source

Add progress bar to Thunar actions

herypt 2 years ago
parent
commit
df928ba7cb
2 changed files with 4 additions and 6 deletions
  1. 2 4
      qubes-rpc/thunar/qvm-actions.sh
  2. 2 2
      rpm_spec/core-agent.spec.in

+ 2 - 4
qubes-rpc/thunar/qvm-actions.sh

@@ -13,12 +13,10 @@ shift
 # copy and move handle a list of files where other actions don't
 case "$action" in
     copy)
-        #shellcheck disable=SC2016
-        qvm-copy-to-vm '$default' "$@" | zenity --notification --text="Copying files..." --timeout 3
+        /usr/lib/qubes/qvm-copy-to-vm.gnome "$@"
         ;;
     move)
-        #shellcheck disable=SC2016
-        qvm-move-to-vm '$default' "$@" | zenity --notification --text="Moving files..." --timeout 3
+        /usr/lib/qubes/qvm-move-to-vm.gnome "$@"
         ;;
     img)
         for file in "$@"

+ 2 - 2
rpm_spec/core-agent.spec.in

@@ -707,7 +707,9 @@ rm -f %{name}-%{version}
 /usr/lib/qubes/qopen-in-vm
 /usr/lib/qubes/qrun-in-vm
 /usr/lib/qubes/qubes-trigger-sync-appmenus.sh
+/usr/lib/qubes/qvm-copy-to-vm.gnome
 /usr/lib/qubes/qvm-copy-to-vm.kde
+/usr/lib/qubes/qvm-move-to-vm.gnome
 /usr/lib/qubes/qvm-move-to-vm.kde
 /usr/lib/qubes/tar2qfile
 /usr/lib/qubes/vm-file-editor
@@ -774,8 +776,6 @@ rm -f %{name}-%{version}
 %endif
 
 %files nautilus
-/usr/lib/qubes/qvm-copy-to-vm.gnome
-/usr/lib/qubes/qvm-move-to-vm.gnome
 /usr/share/nautilus-python/extensions/qvm_copy_nautilus.py*
 /usr/share/nautilus-python/extensions/qvm_move_nautilus.py*
 /usr/share/nautilus-python/extensions/qvm_dvm_nautilus.py*