Changeset 2174 for trunk/python


Ignore:
Timestamp:
05/18/11 15:09:53 (14 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: No (minor fix)

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs:

Put in Release Notes: No

Module(s): asapplotter, flagplotter, sdplot, and sdflag

Description: a minor fix in printing message on plot


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/customgui_tkagg.py

    r2172 r2174  
    598598    def modify_note(self):
    599599        if not self.figmgr.toolbar.mode == '': return
    600         self.figmgr.toolbar.set_message('text: select a position/text')
    601600        if self.mode == 'note':
    602601            self.bNote.config(relief='raised')
     
    604603            self.spec_show()
    605604            return
     605        self.figmgr.toolbar.set_message('text: select a position/text')
    606606        self.bNote.config(relief='sunken')
    607607        self.bRegion.config(relief='raised')
     
    613613    def select_region(self):
    614614        if not self.figmgr.toolbar.mode == '' or not self.button: return
    615         self.figmgr.toolbar.set_message('select regions: click at start and end channels')
    616615        if self.mode == 'region':
    617616            self.bRegion.config(relief='raised')
     
    619618            self.spec_show()
    620619            return
     620        self.figmgr.toolbar.set_message('select regions: click at start and end channels')
    621621        self.bNote.config(relief='raised')
    622622        self.bRegion.config(relief='sunken')
     
    629629    def select_panel(self):
    630630        if not self.figmgr.toolbar.mode == '' or not self.button: return
    631         self.figmgr.toolbar.set_message('select spectra: click on subplots')
    632631        if self.mode == 'panel':
    633632            self.bPanel.config(relief='raised')
     
    635634            self.spec_show()
    636635            return
     636        self.figmgr.toolbar.set_message('select spectra: click on subplots')
    637637        self.bNote.config(relief='raised')
    638638        self.bRegion.config(relief='raised')
Note: See TracChangeset for help on using the changeset viewer.