From 97606de14180eecf1b7c7e052ec81695fb635b79 Mon Sep 17 00:00:00 2001 From: René Stadler Date: Fri, 24 Aug 2012 00:10:05 +0200 Subject: window: set wmclass, to have a nicer app name when running uninstalled --- GstDebugViewer/GUI/window.py | 4 ++++ 1 file changed, 4 insertions(+) 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): -- cgit v1.2.3