diff options
author | Rajeesh K Nambiar <rajeeshknambiar@gmail.com> | 2009-02-01 19:11:25 +0530 |
---|---|---|
committer | Rajeesh K Nambiar <rajeeshknambiar@gmail.com> | 2009-02-01 19:11:25 +0530 |
commit | a8d3aa77b0bbf70b4230752da9ff0c4ec57730ee (patch) | |
tree | f6eff244185ee97bfb6adc3293721031d304e4c7 /pychathans/chathans.py | |
parent | e25411a0451ce78b31350d42bd9527dad59d59ba (diff) | |
download | Rachana.git-a8d3aa77b0bbf70b4230752da9ff0c4ec57730ee.tar.gz Rachana.git-a8d3aa77b0bbf70b4230752da9ff0c4ec57730ee.tar.xz Rachana.git-a8d3aa77b0bbf70b4230752da9ff0c4ec57730ee.zip |
Chathans: Show filenames in ASCII/Unicode file chooser buttons
Diffstat (limited to 'pychathans/chathans.py')
-rwxr-xr-x | pychathans/chathans.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pychathans/chathans.py b/pychathans/chathans.py index dc90840..ebc6b2a 100755 --- a/pychathans/chathans.py +++ b/pychathans/chathans.py @@ -168,8 +168,10 @@ class Chathans (gtk.Window): if response == gtk.RESPONSE_ACCEPT: if in_data == "a": self.AsciiFile = dialog.get_filename() + self.ascii_btn.set_label(os.path.basename(self.AsciiFile)) else: self.UnicodeFile = dialog.get_filename() + self.unicode_btn.set_label(os.path.basename(self.UnicodeFile)) def __choose_unicode_file(self, event): if self.a2u_radio.get_active() == True: |