window: set wmclass, to have a nicer app name when running uninstalled

This commit is contained in:
René Stadler 2012-08-24 00:10:05 +02:00 committed by Stefan Sauer
parent 66e87f752a
commit bfb3b242c7

View file

@ -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):