Changes in / [5e326a6:83eff66] in sasview


Ignore:
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • sasview/local_config.py

    r3a39c2e rf53cd30  
    77import sas.sasview 
    88import logging 
     9from sas.guiframe.config import _do_acknowledge 
    910 
    1011# Version of the application 
     
    2930# About box info 
    3031_do_aboutbox = True 
     32_do_acknowledge = True 
    3133_do_tutorial = True 
     34_acknowledgement_preamble =\ 
     35'''If you found this software useful to your work please remember to acknowledge  
     36its use in your publications as suggested below and reference the SasView website:  
     37http://www.sasview.org/index.html. Please also consider letting us know by sending us the  
     38reference to your work. This will help us to ensure the long term support and  
     39development of the software. 
     40''' 
     41_acknowledgement_publications = \ 
     42'''This work originally developed as part of the DANSE project funded by the NSF 
     43under grant DMR-0520547, and currently maintained by NIST, UMD, ORNL, ISIS, ESS  
     44and ILL. 
     45''' 
    3246_acknowledgement =  \ 
    3347'''This work originally developed as part of the DANSE project funded by the NSF 
  • src/sas/guiframe/config.py

    rfd5ac0d rf53cd30  
    2626# About box info 
    2727_do_aboutbox = True 
     28_do_acknowledge = True 
    2829_do_tutorial = True 
     30_acknowledgement_preamble =\ 
     31'''If you found this software useful to your work please remember to acknowledge  
     32its use in your publications as suggested below and reference the SasView website:  
     33http://www.sasview.org/index.html. Please also consider letting us know by sending us the  
     34reference to your work. This will help us to ensure the long term support and  
     35development of the software. 
     36''' 
     37_acknowledgement_publications = \ 
     38'''This work originally developed as part of the DANSE project funded by the NSF 
     39under grant DMR-0520547, and currently maintained by NIST, UMD, ORNL, ISIS, ESS  
     40and ILL. 
     41''' 
    2942_acknowledgement =  \ 
    3043'''This software was developed by the University of Tennessee as part of the 
  • src/sas/guiframe/gui_manager.py

    r8729965 rf53cd30  
    13511351            wx.EVT_MENU(self, id, self._onTutorial) 
    13521352             
     1353        if config._do_acknowledge: 
     1354            self._help_menu.AppendSeparator() 
     1355            self._help_menu.Append(id, '&Acknowledge', 'Acknowledging SasView') 
     1356            wx.EVT_MENU(self, id, self._onAcknowledge) 
     1357         
    13531358        if config._do_aboutbox: 
    13541359            self._help_menu.AppendSeparator() 
     
    20982103                self.SetStatusText(msg) 
    20992104                     
     2105    def _onAcknowledge(self, evt): 
     2106        """ 
     2107        Pop up the acknowledge dialog 
     2108         
     2109        :param evt: menu event 
     2110         
     2111        """ 
     2112        if config._do_acknowledge: 
     2113            import sas.guiframe.acknowledgebox as AcknowledgeBox 
     2114            dialog = AcknowledgeBox.DialogAcknowledge(None, -1, "") 
     2115            dialog.ShowModal() 
     2116                      
    21002117    def _onAbout(self, evt): 
    21012118        """ 
Note: See TracChangeset for help on using the changeset viewer.