Skip to content

Commit

Permalink
warpinator.py: Don't inhibit the session until the transfer starts.
Browse files Browse the repository at this point in the history
The session would be already inhibited (for both users) while
waiting for the recipient to approve the transfer.
  • Loading branch information
mtwebster committed Feb 8, 2024
1 parent 5c22583 commit f0cbc3b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/warpinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@
ICON_OFFLINE = "network-offline-symbolic"
ICON_UNREACHABLE = "network-error-symbolic"

INHIBIT_STATES = (OpStatus.CALCULATING,
OpStatus.WAITING_PERMISSION,
OpStatus.TRANSFERRING,
INHIBIT_STATES = (OpStatus.TRANSFERRING,
OpStatus.PAUSED)

ALL_BUTTONS = ("transfer_accept", \
Expand Down

0 comments on commit f0cbc3b

Please sign in to comment.