[gnome-maps] application: Set program name to gnome-maps



commit 556475b52a82396078e44b37566c1dde5a8a4626
Author: Jonas Danielsson <jonas threetimestwo org>
Date:   Mon Jan 25 17:15:38 2016 +0100

    application: Set program name to gnome-maps
    
    This will make the command...
        gnome-maps --help
    
    ... report the correct name in usage output.

 src/application.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/application.js b/src/application.js
index f5da10b..4a61e66 100644
--- a/src/application.js
+++ b/src/application.js
@@ -77,6 +77,7 @@ const Application = new Lang.Class({
     _init: function() {
         /* Translators: This is the program name. */
         GLib.set_application_name(_("Maps"));
+        GLib.set_prgname('gnome-maps');
 
         this.parent({ application_id: 'org.gnome.Maps',
                       flags: Gio.ApplicationFlags.HANDLES_OPEN });


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