mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-08 01:18:39 +00:00
Minor tweaks to interface code.
This commit is contained in:
parent
3bac6bcfc8
commit
a21ae0e9c0
1 changed files with 1 additions and 2 deletions
|
@ -841,7 +841,6 @@ class DelugeGTK:
|
||||||
|
|
||||||
# only update gui if it's needed
|
# only update gui if it's needed
|
||||||
if self.update_interface:
|
if self.update_interface:
|
||||||
|
|
||||||
# Put the generated message into the statusbar
|
# Put the generated message into the statusbar
|
||||||
# This gives plugins a chance to write to the
|
# This gives plugins a chance to write to the
|
||||||
# statusbar if they want
|
# statusbar if they want
|
||||||
|
@ -903,7 +902,7 @@ class DelugeGTK:
|
||||||
torrent_selection.select_path("0")
|
torrent_selection.select_path("0")
|
||||||
selection_count = 1
|
selection_count = 1
|
||||||
|
|
||||||
for i in range(selection_count):
|
for i in xrange(selection_count):
|
||||||
if not torrent_selection.path_is_selected(i):
|
if not torrent_selection.path_is_selected(i):
|
||||||
top_torrents_selected = False
|
top_torrents_selected = False
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue