summaryrefslogtreecommitdiffstats
path: root/pychathans
diff options
context:
space:
mode:
authorRajeesh K Nambiar <rajeeshknambiar@gmail.com>2009-02-01 19:11:25 +0530
committerRajeesh K Nambiar <rajeeshknambiar@gmail.com>2009-02-01 19:11:25 +0530
commita8d3aa77b0bbf70b4230752da9ff0c4ec57730ee (patch)
treef6eff244185ee97bfb6adc3293721031d304e4c7 /pychathans
parente25411a0451ce78b31350d42bd9527dad59d59ba (diff)
downloadAnjaliOldLipi.git-a8d3aa77b0bbf70b4230752da9ff0c4ec57730ee.tar.gz
AnjaliOldLipi.git-a8d3aa77b0bbf70b4230752da9ff0c4ec57730ee.tar.xz
AnjaliOldLipi.git-a8d3aa77b0bbf70b4230752da9ff0c4ec57730ee.zip
Chathans: Show filenames in ASCII/Unicode file chooser buttons
Diffstat (limited to 'pychathans')
-rwxr-xr-xpychathans/chathans.py2
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: