Changeset 1921 for trunk/python


Ignore:
Timestamp:
09/09/10 22:19:48 (14 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: Yes (CAS-1822)

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs: load ASAP plotter

Put in Release Notes: No

Module(s): ASAP plotter

Description: removed "- page" button which is not available now yet.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/casatoolbar.py

    r1914 r1921  
    211211                                   text='notation',
    212212                                   command=self.modify_note)
    213         self.bPrev=self._NewButton(master=self,
    214                                    text='- page',
    215                                    command=self.prev_page)
     213        #self.bPrev=self._NewButton(master=self,
     214        #                           text='- page',
     215        #                           command=self.prev_page)
    216216        self.bNext=self._NewButton(master=self,
    217217                                   text='+ page',
    218218                                   command=self.next_page)
    219219        if os.uname()[0] != 'Darwin':
    220             self.bPrev.config(padx=5)
     220            #self.bPrev.config(padx=5)
    221221            self.bNext.config(padx=5)
    222222        self.bQuit=self._NewButton(master=self,
     
    299299        self.bStat.config(relief='raised', state=Tk.DISABLED)
    300300        self.bSpec.config(relief='raised', state=Tk.DISABLED)
    301         self.bPrev.config(state=Tk.DISABLED)
     301        #self.bPrev.config(state=Tk.DISABLED)
    302302        #self.bNext.config(state=Tk.DISABLED)
    303303        self.button=False
     
    312312
    313313    def enable_prev(self):
    314         self.bPrev.config(state=Tk.NORMAL)
     314        #self.bPrev.config(state=Tk.NORMAL)
     315        pass
    315316
    316317    def disable_prev(self):
    317         self.bPrev.config(state=Tk.DISABLED)
     318        #self.bPrev.config(state=Tk.DISABLED)
     319        pass
    318320
    319321    def delete_bar(self):
Note: See TracChangeset for help on using the changeset viewer.