From a8d3aa77b0bbf70b4230752da9ff0c4ec57730ee Mon Sep 17 00:00:00 2001 From: Rajeesh K Nambiar Date: Sun, 1 Feb 2009 19:11:25 +0530 Subject: Chathans: Show filenames in ASCII/Unicode file chooser buttons --- pychathans/chathans.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pychathans') 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: -- cgit