[gnome-maps] application: Don't manually set program name



commit 4f25d272d2e71d0e82286f4584c6cd8486266084
Author: Marcus Lundblad <ml update uu se>
Date:   Mon Apr 17 21:26:40 2017 +0200

    application: Don't manually set program name
    
    Let GApplication handle setting the program name.
    This should also yield the correct WM_CLASS org.gnome.Maps
    when running under X.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=781293

 src/application.js |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/application.js b/src/application.js
index fe43c72..bb9e20f 100644
--- a/src/application.js
+++ b/src/application.js
@@ -85,7 +85,6 @@ const Application = new Lang.Class({
     _init: function() {
         /* Translators: This is the program name. */
         GLib.set_application_name(_("Maps"));
-        GLib.set_prgname('gnome-maps');
 
         /* Needed to be able to use in UI files */
         _ensuredTypes.forEach(function(type) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]