mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 05:45:58 +00:00
Put basename of open file into window title
This commit is contained in:
parent
ffd3cbb07c
commit
4fa1150b48
1 changed files with 4 additions and 0 deletions
|
@ -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 ()
|
||||
|
||||
|
|
Loading…
Reference in a new issue