Changeset 225aca8 in sasview for src/sas/guiframe/local_perspectives


Ignore:
Timestamp:
Jul 28, 2015 12:14:38 PM (10 years ago)
Author:
mathieu
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
a910c788
Parents:
ae2a197 (diff), d06c34c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge pull request #3 from SasView?/standalone_cleanup

Standalone cleanup

Location:
src/sas/guiframe/local_perspectives
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • src/sas/guiframe/local_perspectives/data_loader/data_loader.py

    rf76bf17 rf21d496  
    4141class Plugin(PluginBase): 
    4242 
    43     def __init__(self, standalone=False): 
    44         PluginBase.__init__(self, name="DataLoader", standalone=standalone) 
     43    def __init__(self): 
     44        PluginBase.__init__(self, name="DataLoader") 
    4545        # Default location 
    4646        self._default_save_location = DEFAULT_OPEN_FOLDER 
  • src/sas/guiframe/local_perspectives/plotting/plotting.py

    rc039589 rf21d496  
    3636    """ 
    3737 
    38     def __init__(self, standalone=False): 
    39         PluginBase.__init__(self, name="Plotting", standalone=standalone) 
     38    def __init__(self): 
     39        PluginBase.__init__(self, name="Plotting") 
    4040 
    4141        ## Plot panels 
  • src/sas/guiframe/local_perspectives/plotting/Plotter1D.py

    rb99a4552 r098f3d2  
    564564            self._slicerpop.Append(wx_id, '&Print Image', 'Print image ') 
    565565            wx.EVT_MENU(self, wx_id, self.onPrint) 
    566             wx_id = wx.NewId() 
    567             self._slicerpop.Append(wx_id, '&Print Preview', 'Print preview') 
    568             wx.EVT_MENU(self, wx_id, self.onPrinterPreview) 
    569566 
    570567            wx_id = wx.NewId() 
  • src/sas/guiframe/local_perspectives/plotting/Plotter2D.py

    rc039589 r098f3d2  
    300300 
    301301        wx_id = wx.NewId() 
    302         slicerpop.Append(wx_id, '&Print Preview', 'Print preview') 
    303         wx.EVT_MENU(self, wx_id, self.onPrinterPreview) 
    304  
    305         wx_id = wx.NewId() 
    306302        slicerpop.Append(wx_id, '&Copy to Clipboard', 'Copy to the clipboard') 
    307303        wx.EVT_MENU(self, wx_id, self.OnCopyFigureMenu) 
  • src/sas/guiframe/local_perspectives/plotting/SimplePlot.py

    rb40ad40 r098f3d2  
    5858        slicerpop.Append(wx_id, '&Print Image', 'Print image') 
    5959        wx.EVT_MENU(self, wx_id, self.onPrint) 
    60  
    61         wx_id = wx.NewId() 
    62         slicerpop.Append(wx_id, '&Print Preview', 'Print preview') 
    63         wx.EVT_MENU(self, wx_id, self.onPrinterPreview) 
    6460 
    6561        wx_id = wx.NewId() 
     
    234230        wx.EVT_MENU(self, id, self.on_print_image) 
    235231 
    236         id = wx.NewId() 
    237         item = wx.MenuItem(menu, id, "&Print Preview") 
    238         item.SetBitmap(preview_bmp) 
    239         menu.AppendItem(item) 
    240         wx.EVT_MENU(self, id, self.on_print_preview) 
    241  
    242232        menu.AppendSeparator() 
    243233        id = wx.NewId() 
Note: See TracChangeset for help on using the changeset viewer.