Window class of terminals doesn't match the desktop file name
@gcampagna
Submitted by Giovanni Campagna Link to original bug (#685742)
Description
In current git master (future 3.8), the window class of terminals is Gnome-terminal-server, but gnome-shell expects Gnome-terminal to correctly associate desktop files.
A simple fix is to call gdk_set_program_class after GTK is initalized (i.e. in GtkApplication->startup). Alternatively, you can call g_set_prgrname before option parsing, but that would affect --help and the default log handler, so it's better to avoid it.