Author mark
Recipients mark
Date 2008-05-15.07:45:02
SpamBayes Score 0.0730007
Marked as misclassified No
Message-id <1210837536.09.0.717743690606.issue2806@psf.upfronthosting.co.za>
In-reply-to
Content
This bug can be worked around by using the more modern style of menu
creation. If the program that exhibits the bug has its __init__()
replaced as follows it works correctly on both Linux and Windows:

    def __init__(self, parent):
        self.parent = parent
        menu = Menu(self.parent)
        self.parent.config(menu=menu)
        fileMenu = Menu(menu)
        for label, command in (
                ("New...", self.fileNew),
                ("Open...", self.fileOpen),
                ("Quit", self.fileQuit)):
            fileMenu.add_command(label=label, command=command)
        menu.add_cascade(label="File", menu=fileMenu, underline=0)
History
Date User Action Args
2008-05-15 07:45:42marksetspambayes_score: 0.0730007 -> 0.0730007
recipients: + mark
2008-05-15 07:45:36marksetspambayes_score: 0.0730007 -> 0.0730007
messageid: <1210837536.09.0.717743690606.issue2806@psf.upfronthosting.co.za>
2008-05-15 07:45:19marklinkissue2806 messages
2008-05-15 07:45:16markcreate