Set correct application title in GNOME shell
Prior to this change, the application will show up as "Threadscope" (lower-case "s") instead of "ThreadScope" in GNOME shell (e.g. Ubuntu). This change makes the capitalization of the application name consistent in the UI. I have not, yet, figured out how to get the application name to show up consistently under macOS.
It seems that setProgramName (i.e. g_set_prgname) is usually used with an application ID (typically something like org.gnome.Terminal etc) and the name of the application is set by setApplicationName (i.e. g_set_application_name). Maybe we can follow the standard here: the program name is org.haskell.ThreadScope and the application name is ThreadScope.
I tried setApplicationName and that doesn't work while setProgramName does.
If I call Gtk.initGUI before a call to setApplicationName it seems to work. Could you confirm?
I don't have a Mac right now but I can check the behavior later.