From c14fbbf835ea25a01f0286f586030229c87e6c4a Mon Sep 17 00:00:00 2001 From: papoteur-mga Date: Mon, 9 Dec 2013 22:11:41 +0100 Subject: Added Release number in the window title. --- lib/isodumper.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/isodumper.py b/lib/isodumper.py index 646e324..324b1de 100755 --- a/lib/isodumper.py +++ b/lib/isodumper.py @@ -34,6 +34,7 @@ class IsoDumper: def __init__(self): APP="isodumper" DIR="/usr/share/locale" + RELEASE="0.2" gettext.bindtextdomain(APP, DIR) gettext.textdomain(APP) @@ -48,10 +49,8 @@ class IsoDumper: self.window = self.wTree.get_widget("main_dialog") self.devicelist = self.wTree.get_widget("device_combobox") self.logview = self.wTree.get_widget("detail_text") - #eventbox = self.wTree.get_widget("eventbox") - #bgcol = gtk.gdk.color_parse("white") - #eventbox.modify_bg(gtk.STATE_NORMAL, bgcol) self.log = self.logview.get_buffer() + self.window.set_title(self.window.get_title()+' '+RELEASE) # define size of the selected device self.deviceSize=0 -- cgit v1.2.1