diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2003-03-16 21:04:50 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-03-16 21:04:50 (GMT) |
commit | f3ef03880811caa3da9f339e9a32e3ce126fa7d1 (patch) | |
tree | eb9f72a7db11b5cd18f12b7f741898e29893497b /Mac/Tools | |
parent | 3fd401321decc9b6b4f42aebd56e3e6a7284f0fd (diff) | |
download | cpython-f3ef03880811caa3da9f339e9a32e3ce126fa7d1.zip cpython-f3ef03880811caa3da9f339e9a32e3ce126fa7d1.tar.gz cpython-f3ef03880811caa3da9f339e9a32e3ce126fa7d1.tar.bz2 |
- Don't ask for bring-to-front when quitting through an appleevent.
- Changed checkbox labels as suggested by Kevin Ollivier.
Diffstat (limited to 'Mac/Tools')
-rwxr-xr-x | Mac/Tools/IDE/PackageManager.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Mac/Tools/IDE/PackageManager.py b/Mac/Tools/IDE/PackageManager.py index 6f67923..5f299bc 100755 --- a/Mac/Tools/IDE/PackageManager.py +++ b/Mac/Tools/IDE/PackageManager.py @@ -110,8 +110,6 @@ class PackageManagerMain(Wapplication.Application): runitem, homepageitem] def quitevent(self, theAppleEvent, theReply): - from Carbon import AE - AE.AEInteractWithUser(50000000) self._quit() def ignoreevent(self, theAppleEvent, theReply): @@ -272,7 +270,7 @@ class PackageBrowser(PimpInterface): self.closepimp() def setupwidgets(self): - self.w = W.Window((580, 400), "Python Install Manager", minsize = (300, 200), tabbable = 0) + 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:') data = self.getbrowserdata() @@ -282,10 +280,10 @@ class PackageBrowser(PimpInterface): self.w.message_l = W.TextBox((4, -48, 60, 12), 'Status:') 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.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((-140, -26, 60, 18), 'Force', self.updatestatus) + 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() |