Changeset 1942


Ignore:
Timestamp:
10/08/10 15:00:42 (14 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: No (a minor bug fix)

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs:

Put in Release Notes: No

Module(s): sdplot, asapplotter

Description:

Fixed a minor bug for log out put.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/notationwindow.py

    r1912 r1942  
    192192                    msg = "Fig loop: a text, '"+textobj.get_text()+"', at "
    193193                    msg += str(textobj.get_position())+" detected"
    194                     print msg
     194                    #print msg
    195195        for ax in self.canvas.figure.axes:
    196196            for textobj in ax.texts:
     
    205205                        msg = "Ax loop: a text, '"+textobj.get_text()+"', at "
    206206                        msg += str(textobj.get_position())+" detected"
    207                         print msg
     207                        #print msg
    208208
    209209        if selected:
    210             msg = "Selected (modify/delete): '"+textobj.get_text()
    211             msg += "' @"+str(textobj.get_position())
     210            msg = "Selected (modify/delete): '"+selected['textobj'].get_text()
     211            msg += "' @"+str(selected['textobj'].get_position())
    212212            msg += " ("+selected['anchor']+"-coord)"
    213213            asaplog.push(msg)
     
    314314                          height=2,width=20,cursor="xterm",
    315315                          padx=2,pady=2,undo=True,maxundo=10,
    316                           relief='sunken',borderwidth=3)
     316                          relief='sunken',borderwidth=3,
     317                          state=Tk.NORMAL,takefocus=1)
    317318        return textbox
    318319
Note: See TracChangeset for help on using the changeset viewer.