[Dev] Re: [commits] (morgen) [6150] Added --nosplash command line argument to disable the splash screen

John Anderson john at osafoundation.org
Tue Jul 26 09:20:27 PDT 2005


Now that we have an extra option for skipping the splash screen it 
doesn't make much sense to have nocatch also skip the splash when debug 
is True, so what do you think about not skipping the splash screen in 
nocatch debug.

John

Morgen Sagen wrote:

> "No-splash" is a fairly common command line argument for applications  
> (Mozilla, Eclipse, VisualStudio, WinZip) that I think is useful in  
> more than just debug mode.  I don't typically run in debug mode as  
> it's pretty slow (over 2 minutes to start up versus 35 seconds for  
> release mode).   I didn't want to interfere with the way you guys  
> were using nocatch just in debug mode, so I added --nosplash instead  
> which works in debug/release.
>
> ~morgen
>
> On Jul 26, 2005, at 6:33 AM, John Anderson wrote:
>
>> Hi Morgen:
>>
>> I was curious why you thought that nocatch wasn't good enough to  
>> avoid the splash screen. I think we're getting overloaded with too  
>> many command line options that are only useful for debugging.  
>> Perhaps we should make them debug only.
>>
>> John
>>
>>
>> commits at osafoundation.org wrote:
>>
>>> Revision6150AuthormorgenDate2005-07-25 10:20:37 -0700 (Mon, 25 Jul  
>>> 2005)Log MessageAdded --nosplash command line argument to disable  
>>> the splash screenModified Paths
>>> trunk/chandler/application/Application.py
>>> trunk/chandler/application/Utility.py
>>> Diff
>>> Modified: trunk/chandler/application/Application.py (6149 =>  
>>> 6150)--- trunk/chandler/application/Application.py   2005-07-25  
>>> 17:05:34 UTC (rev 6149) +++ trunk/chandler/application/ 
>>> Application.py   2005-07-25 17:20:37 UTC (rev 6150)@@ -167,7  +167,8 
>>> @@         splash screen.          """          splash =  
>>> None-        if not (__debug__ and Globals.options.nocatch): 
>>> +        if not Globals.options.nosplash or \ +             
>>> (__debug__ and Globals.options.nocatch):             splashBitmap  = 
>>> self.GetImage ("splash.png")              splash=StartupSplash 
>>> (None, splashBitmap)              splash.Show()
>>> Modified: trunk/chandler/application/Utility.py (6149 => 6150)---  
>>> trunk/chandler/application/Utility.py       2005-07-25 17:05:34  UTC 
>>> (rev 6149) +++ trunk/chandler/application/Utility.py        
>>> 2005-07-25 17:20:37 UTC (rev 6150)@@ -111,6 +111,7 @@          
>>> 'refreshui':  ('-u', '--refresh-ui', 'b', False, None, 'Refresh  the 
>>> UI from the repository during startup'),           'locale':     
>>> ('-l', '--locale',     's', None,  None, 'Set the  default 
>>> locale'),          'encrypt':    ('-S', '--encrypt',     'b', False, 
>>> None, 'Request prompt for password for repository  
>>> encryption'),+        'nosplash':    ('-N', '--nosplash',  'b',  
>>> False, 'CHANDLERNOSPLASH', ''),     }
>>> _______________________________________________ Commits mailing  
>>> list Commits at osafoundation.org http://lists.osafoundation.org/ 
>>> mailman/listinfo/commits
>>
>>
>


More information about the Dev mailing list