bug fixes and docs update
This commit is contained in:
parent
3668088f3e
commit
47b710acdd
@ -32,7 +32,9 @@ Run app using ``toxygen`` command.
|
|||||||
|
|
||||||
## Packages
|
## Packages
|
||||||
|
|
||||||
Coming soon.
|
Arch Linux: [AUR](https://aur.archlinux.org/packages/toxygen-git/)
|
||||||
|
|
||||||
|
Debian/Ubuntu: [tox.chat](https://tox.chat/download.html#gnulinux)
|
||||||
|
|
||||||
## From source code (recommended for developers)
|
## From source code (recommended for developers)
|
||||||
|
|
||||||
|
@ -260,7 +260,7 @@ class MainWindow(QtGui.QMainWindow, Singleton):
|
|||||||
self.messages.setSpacing(1)
|
self.messages.setSpacing(1)
|
||||||
self.messages.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn)
|
self.messages.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn)
|
||||||
self.messages.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
|
self.messages.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
|
||||||
# self.messages.setFocusPolicy(QtCore.Qt.NoFocus)
|
self.messages.focusOutEvent = lambda event: self.messages.clearSelection()
|
||||||
|
|
||||||
def load(pos):
|
def load(pos):
|
||||||
if not pos:
|
if not pos:
|
||||||
|
@ -313,7 +313,7 @@ class Profile(contact.Contact, Singleton):
|
|||||||
ft = self._file_transfers[(friend_num, file_num)]
|
ft = self._file_transfers[(friend_num, file_num)]
|
||||||
if type(ft) is SendTransfer:
|
if type(ft) is SendTransfer:
|
||||||
self._paused_file_transfers[ft.get_id()] = [ft.get_path(), friend_num, False, -1]
|
self._paused_file_transfers[ft.get_id()] = [ft.get_path(), friend_num, False, -1]
|
||||||
elif type(ft) is ReceiveTransfer:
|
elif type(ft) is ReceiveTransfer and ft.state != TOX_FILE_TRANSFER_STATE['INCOMING_NOT_STARTED']:
|
||||||
self._paused_file_transfers[ft.get_id()] = [ft.get_path(), friend_num, True, ft.total_size()]
|
self._paused_file_transfers[ft.get_id()] = [ft.get_path(), friend_num, True, ft.total_size()]
|
||||||
self.cancel_transfer(friend_num, file_num, True)
|
self.cancel_transfer(friend_num, file_num, True)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user