[Python-checkins] python/dist/src/Mac/Tools/IDE PackageManager.py,1.4,1.5

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
Sun, 16 Mar 2003 13:04:55 -0800


Update of /cvsroot/python/python/dist/src/Mac/Tools/IDE
In directory sc8-pr-cvs1:/tmp/cvs-serv15759

Modified Files:
	PackageManager.py 
Log Message:
- Don't ask for bring-to-front when quitting through an appleevent.
- Changed checkbox labels as suggested by Kevin Ollivier.


Index: PackageManager.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Tools/IDE/PackageManager.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** PackageManager.py	28 Feb 2003 15:19:51 -0000	1.4
--- PackageManager.py	16 Mar 2003 21:04:50 -0000	1.5
***************
*** 111,116 ****
  			
  	def quitevent(self, theAppleEvent, theReply):
- 		from Carbon import AE
- 		AE.AEInteractWithUser(50000000)
  		self._quit()
  		
--- 111,114 ----
***************
*** 273,277 ****
  	
  	def setupwidgets(self): 
! 		self.w = W.Window((580, 400), "Python Install Manager", minsize = (300, 200), tabbable = 0)
  ##		self.w.divline = W.HorizontalLine((0, 20, 0, 0))
  		self.w.titlebar = W.TextBox((4, 4, 40, 12), 'Packages:')
--- 271,275 ----
  	
  	def setupwidgets(self): 
! 		self.w = W.Window((580, 400), "Python Install Manager", minsize = (400, 200), tabbable = 0)
  ##		self.w.divline = W.HorizontalLine((0, 20, 0, 0))
  		self.w.titlebar = W.TextBox((4, 4, 40, 12), 'Packages:')
***************
*** 283,290 ****
  		self.w.message = W.TextBox((64, -48, 0, 12), '')
  		self.w.homepage_button = W.Button((4, -28, 96, 18), 'View homepage', self.do_homepage)
! 		self.w.verbose_button = W.CheckBox((-288, -26, 60, 18), 'Verbose')
! 		self.w.recursive_button = W.CheckBox((-224, -26, 80, 18), 'Recursive', self.updatestatus)
  		self.w.recursive_button.set(1)
! 		self.w.force_button = W.CheckBox((-140, -26, 60, 18), 'Force', self.updatestatus)
  		self.w.install_button = W.Button((-76, -28, 56, 18), 'Install', self.do_install)
  		self.w.open()
--- 281,288 ----
  		self.w.message = W.TextBox((64, -48, 0, 12), '')
  		self.w.homepage_button = W.Button((4, -28, 96, 18), 'View homepage', self.do_homepage)
! 		self.w.verbose_button = W.CheckBox((-358, -26, 60, 18), 'Verbose')
! 		self.w.recursive_button = W.CheckBox((-284, -26, 140, 18), 'Install dependencies', self.updatestatus)
  		self.w.recursive_button.set(1)
! 		self.w.force_button = W.CheckBox((-160, -26, 80, 18), 'Overwrite', self.updatestatus)
  		self.w.install_button = W.Button((-76, -28, 56, 18), 'Install', self.do_install)
  		self.w.open()