Hello,
In my previous email I used the Resfresh function to force redrawing of the
screen.
This works with the toolkit used by the btdownloadgui in Debian stable.
The problem reappeared with python-wxgtk2.6. the patch below uses the Update
function
rather than Refresh and has the desired effect on the bittorrent-gui from
testing.
Kind regards,
Arnold Metselaar
ii python-wxgtk2. 2.6.1.2 wxWidgets Cross-platform C++ GUI toolkit (wx
ii python-wxversi 2.6.1.2 wxWidgets Cross-platform C++ GUI toolkit (wx
ii libwxgtk2.6-0 2.6.1.2 wxWidgets Cross-platform C++ GUI toolkit (GT
ii bittorrent 3.4.2-6local0. Scatter-gather network file transfer
ii bittorrent-gui 3.4.2-6local0. Scatter-gather network file transfer (GUI fi
--- bittorrent-3.4.2/btdownloadgui.py 2005-12-16 19:52:59.085915976 +0100
+++ bittorrent-3.4.2/btdownloadgui.py.merge 2005-12-16 20:46:17.104743216
+0100
@@ -183,6 +183,7 @@ class DownloadInfoFrame:
self.downTotalText.SetLabel('%.1f M' % (downTotal))
if upTotal is not None:
self.upTotalText.SetLabel('%.1f M' % (upTotal))
+ self.frame.Update()
self.last_update_time = time()
except:
print_exc()
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]