From: <sir...@us...> - 2003-03-02 16:36:31
|
Update of /cvsroot/btplusplus/BT++/src/DlgMain In directory sc8-pr-cvs1:/tmp/cvs-serv16972/src/DlgMain Modified Files: ToolBar.py DlgMain.py Log Message: - Added a set of new images for the toolbar(not yet all) - Reimplemented grid right click menu(no move yet). - Added a few images to the grid right click menu. - Changes to reflect the move of Loader + Manager. Index: ToolBar.py =================================================================== RCS file: /cvsroot/btplusplus/BT++/src/DlgMain/ToolBar.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ToolBar.py 22 Feb 2003 13:37:16 -0000 1.2 --- ToolBar.py 2 Mar 2003 16:36:28 -0000 1.3 *************** *** 15,19 **** def __init__(self, parent): ! wxToolBar.__init__(self, parent, -1, style = wxTB_FLAT | wxTB_TEXT) self.Parent = parent --- 15,19 ---- def __init__(self, parent): ! wxToolBar.__init__(self, parent, -1, style = wxTB_FLAT | wxTB_TEXT | wxTB_NODIVIDER) self.Parent = parent *************** *** 26,30 **** self.AddSeparator() ! self.AddLabelTool( 5, 'Help', GetBitmap('ToolBar_About'), shortHelp = "Click me and then click other objects to find out what they do." ) self.AddLabelTool( 6, 'Add Torrent', GetBitmap('ToolBar_AddTor'), shortHelp = "Opens a window, that lets you add torrents." ) self.AddLabelTool( 7, 'Preferences', GetBitmap('ToolBar_Preferences'), shortHelp = "Click here to edit your BT++ preferences." ) --- 26,30 ---- self.AddSeparator() ! self.AddLabelTool( 5, 'Help', GetBitmap('ToolBar_Help'), shortHelp = "Click me and then click other objects to find out what they do." ) self.AddLabelTool( 6, 'Add Torrent', GetBitmap('ToolBar_AddTor'), shortHelp = "Opens a window, that lets you add torrents." ) self.AddLabelTool( 7, 'Preferences', GetBitmap('ToolBar_Preferences'), shortHelp = "Click here to edit your BT++ preferences." ) *************** *** 78,79 **** --- 78,81 ---- elif i == 2: p.SwitchTab('Log') + elif i == 3: + p.SwitchTab('History') Index: DlgMain.py =================================================================== RCS file: /cvsroot/btplusplus/BT++/src/DlgMain/DlgMain.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** DlgMain.py 22 Feb 2003 18:02:12 -0000 1.4 --- DlgMain.py 2 Mar 2003 16:36:28 -0000 1.5 *************** *** 7,12 **** from MaxSizer import MaxSizer ! from TabTrans.TabTrans import TabTrans ! from TabLog.TabLog import TabLog if wxPlatform == '__WXMSW__': --- 7,13 ---- from MaxSizer import MaxSizer ! from TabTrans.TabTrans import TabTrans ! from TabLog.TabLog import TabLog ! from TabHistory.TabHistory import TabHistory if wxPlatform == '__WXMSW__': *************** *** 83,87 **** self.Tabs = { 'Transfer': TabTrans( self ), ! 'Log': TabLog( self ) } --- 84,89 ---- self.Tabs = { 'Transfer': TabTrans( self ), ! 'Log': TabLog( self ), ! 'History': TabHistory( self ) } |