~ubuntu-branches/ubuntu/oneiric/python2.6/oneiric

« back to all changes in this revision

Viewing changes to Lib/idlelib/aboutDialog.py

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2010-08-07 20:03:08 UTC
  • mfrom: (10.1.27 sid)
  • Revision ID: james.westby@ubuntu.com-20100807200308-bwsyymoc4donr9a9
Tags: 2.6.6~rc1-1ubuntu1
* Merge with Debian; remaining changes:
  - Regenerate the control file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
from Tkinter import *
6
6
import os
7
 
import os.path
8
 
import textView
9
 
import idlever
 
7
 
 
8
from idlelib import textView
 
9
from idlelib import idlever
10
10
 
11
11
class AboutDialog(Toplevel):
12
12
    """Modal about dialog for idle
144
144
    # test the dialog
145
145
    root = Tk()
146
146
    def run():
147
 
        import aboutDialog
 
147
        from idlelib import aboutDialog
148
148
        aboutDialog.AboutDialog(root, 'About')
149
149
    Button(root, text='Dialog', command=run).pack()
150
150
    root.mainloop()