From bfb3b242c7e52e9f0769e9efb3d3b3bdf3d17163 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Stadler?= Date: Fri, 24 Aug 2012 00:10:05 +0200 Subject: [PATCH] window: set wmclass, to have a nicer app name when running uninstalled --- debug-viewer/GstDebugViewer/GUI/window.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debug-viewer/GstDebugViewer/GUI/window.py b/debug-viewer/GstDebugViewer/GUI/window.py index c785ca8bc2..29b1853c25 100644 --- a/debug-viewer/GstDebugViewer/GUI/window.py +++ b/debug-viewer/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):