]> granicus.if.org Git - python/commitdiff
- Don't ask for bring-to-front when quitting through an appleevent.
authorJack Jansen <jack.jansen@cwi.nl>
Sun, 16 Mar 2003 21:04:50 +0000 (21:04 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Sun, 16 Mar 2003 21:04:50 +0000 (21:04 +0000)
- Changed checkbox labels as suggested by Kevin Ollivier.

Mac/Tools/IDE/PackageManager.py

index 6f679233aa8fa46862ed93227cec9a7145824abc..5f299bcc480ab8d647f79ceb8e615e05ed65f054 100755 (executable)
@@ -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()