Put basename of open file into window title

This commit is contained in:
René Stadler 2007-11-26 15:42:44 +02:00 committed by Stefan Sauer
parent ffd3cbb07c
commit 4fa1150b48

View file

@ -1191,6 +1191,10 @@ class Window (object):
return
self.handle_environment_error (exc, filename)
return
basename = os.path.basename (filename)
self.gtk_window.props.title = _("%s - GStreamer Debug Viewer") % (basename,)
self.log_file.consumers.append (self)
self.log_file.start_loading ()