diff options
author | René Stadler <mail@renestadler.de> | 2012-08-24 00:10:05 +0200 |
---|---|---|
committer | René Stadler <mail@renestadler.de> | 2012-08-24 00:10:51 +0200 |
commit | 97606de14180eecf1b7c7e052ec81695fb635b79 (patch) | |
tree | 9896443f07fd48da67dd462a87dcc45fc949bc37 /GstDebugViewer | |
parent | f617bf6dcd6feb21d1ea058ecf2b3c1af5cc535a (diff) |
window: set wmclass, to have a nicer app name when running uninstalled
Diffstat (limited to 'GstDebugViewer')
-rw-r--r-- | GstDebugViewer/GUI/window.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/GstDebugViewer/GUI/window.py b/GstDebugViewer/GUI/window.py index c785ca8..29b1853 100644 --- a/GstDebugViewer/GUI/window.py +++ b/GstDebugViewer/GUI/window.py @@ -350,6 +350,10 @@ class Window (object): self.line_view.attach (self) + # Do not translate; fallback application name for e.g. gnome-shell if + # the desktop file is not installed: + self.gtk_window.set_wmclass ("gst-debug-viewer", "GStreamer Debug Viewer") + self.gtk_window.show () def detach (self): |