|
CVS: BitTorrent btdownloadgui.py,1.49,1.50: msg#00205network.bit-torrent.general
Update of /cvsroot/bittorrent/BitTorrent In directory sc8-pr-cvs1:/tmp/cvs-serv17594 Modified Files: btdownloadgui.py Log Message: added donation link to the download dialog Index: btdownloadgui.py =================================================================== RCS file: /cvsroot/bittorrent/BitTorrent/btdownloadgui.py,v retrieving revision 1.49 retrieving revision 1.50 diff -C2 -d -r1.49 -r1.50 *** btdownloadgui.py 17 Mar 2003 19:26:39 -0000 1.49 --- btdownloadgui.py 27 Mar 2003 23:57:30 -0000 1.50 *************** *** 14,17 **** --- 14,18 ---- from wxPython.wx import * from time import strftime + from webbrowser import open_new def hours(n): *************** *** 43,46 **** --- 44,50 ---- self.kwargs = kwargs + def pr(event): + print 'augh!' + class DownloadInfoFrame: def __init__(self, flag): *************** *** 54,59 **** colSizer = wxFlexGridSizer(cols = 1, vgap = 3) self.fileNameText = wxStaticText(panel, -1, '', style = wxALIGN_LEFT) ! colSizer.Add(self.fileNameText, 0, wxEXPAND) self.gauge = wxGauge(panel, -1, range = 1000, style = wxGA_SMOOTH) --- 58,70 ---- colSizer = wxFlexGridSizer(cols = 1, vgap = 3) + fnsizer = wxBoxSizer(wxHORIZONTAL) + self.fileNameText = wxStaticText(panel, -1, '', style = wxALIGN_LEFT) ! fnsizer.Add(self.fileNameText, 1, wxALIGN_BOTTOM) ! self.aboutText = wxStaticText(panel, -1, 'about', style = wxALIGN_RIGHT) ! self.aboutText.SetForegroundColour('Blue') ! self.aboutText.SetFont(wxFont(14, wxNORMAL, wxNORMAL, wxNORMAL, true)) ! fnsizer.Add(self.aboutText, 1, wxEXPAND) ! colSizer.Add(fnsizer, 0, wxEXPAND) self.gauge = wxGauge(panel, -1, range = 1000, style = wxGA_SMOOTH) *************** *** 94,100 **** --- 105,118 ---- panel.SetAutoLayout(true) + EVT_LEFT_DOWN(self.aboutText, self.donate) EVT_CLOSE(frame, self.done) EVT_BUTTON(frame, self.cancelButton.GetId(), self.done) EVT_INVOKE(frame, self.onInvoke) + + def donate(self, event): + Thread(target = self.donate2).start() + + def donate2(self): + open_new('http://bitconjurer.org/BitTorrent/donate.html') def onInvoke(self, event): ------------------------ Yahoo! Groups Sponsor ---------------------~--> Get 128 Bit SSL Encryption! http://us.click.yahoo.com/xaxhjB/hdqFAA/xGHJAA/dkFolB/TM ---------------------------------------------------------------------~-> To unsubscribe from this group, send an email to: BitTorrent-unsubscribe@xxxxxxxxxxxxxxx Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | CVS: BitTorrent/BitTorrent download.py,1.133,1.134: 00205, Bram Cohen |
|---|---|
| Next by Date: | CVS: BitTorrent/BitTorrent zurllib.py,NONE,1.1 HTTPHandler.py,1.8,1.9 Rerequester.py,1.16,1.17 download.py,1.134,1.135 track.py,1.46,1.47: 00205, Bram Cohen |
| Previous by Thread: | CVS: BitTorrent/BitTorrent download.py,1.133,1.134i: 00205, Bram Cohen |
| Next by Thread: | CVS: BitTorrent/BitTorrent zurllib.py,NONE,1.1 HTTPHandler.py,1.8,1.9 Rerequester.py,1.16,1.17 download.py,1.134,1.135 track.py,1.46,1.47: 00205, Bram Cohen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |