projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffd3cbb
)
Put basename of open file into window title
author
René Stadler
<mail@renestadler.de>
Mon, 26 Nov 2007 13:42:44 +0000
(15:42 +0200)
committer
Stefan Sauer
<ensonic@users.sf.net>
Thu, 11 Sep 2014 18:51:39 +0000
(20:51 +0200)
debug-viewer/GstDebugViewer/GUI.py
patch
|
blob
|
history
diff --git
a/debug-viewer/GstDebugViewer/GUI.py
b/debug-viewer/GstDebugViewer/GUI.py
index
0c37226
..
3800b26
100755
(executable)
--- a/
debug-viewer/GstDebugViewer/GUI.py
+++ b/
debug-viewer/GstDebugViewer/GUI.py
@@
-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 ()