[gnome-chess] Fix icon displayed by gnome-shell when running from jhbuild



commit b264ab14725d8060ed7dd9f4fcfe988c57e9a772
Author: Michael Catanzaro <mike catanzaro gmail com>
Date:   Thu Jun 27 13:11:24 2013 -0500

    Fix icon displayed by gnome-shell when running from jhbuild

 src/gnome-chess.vala |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-chess.vala b/src/gnome-chess.vala
index 98bd971..8a45034 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -1829,6 +1829,9 @@ class GnomeChess
         Intl.bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
         Intl.textdomain (GETTEXT_PACKAGE);
 
+        /* This can probably be removed if the desktop file is renamed to gnome-chess.desktop */
+        Environment.set_prgname ("glchess");
+
         Gtk.init (ref args);
 
         var c = new OptionContext (/* Arguments and description for --help text */


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