Rename desktop file so we appear in GNOME Software
This commit is contained in:
parent
724ddb0fb4
commit
07854cd113
4 changed files with 2 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
SUBDIRS = icons pieces textures
|
||||
|
||||
desktopdir = $(datadir)/applications
|
||||
desktop_in_files = glchess.desktop.in
|
||||
desktop_in_files = gnome-chess.desktop.in
|
||||
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
|
||||
@INTLTOOL_DESKTOP_RULE@
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# List of source files containing translatable strings.
|
||||
# Please keep this file in alphabetical order.
|
||||
[encoding: UTF-8]
|
||||
data/glchess.desktop.in
|
||||
data/gnome-chess.appdata.xml.in
|
||||
data/gnome-chess.desktop.in
|
||||
[type: gettext/glade]data/gnome-chess.ui
|
||||
[type: gettext/glade]data/menu.ui
|
||||
data/org.gnome.gnome-chess.gschema.xml
|
||||
|
|
|
@ -2127,9 +2127,6 @@ 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");
|
||||
|
||||
var c = new OptionContext (/* Arguments and description for --help text */
|
||||
_("[FILE] - Play Chess"));
|
||||
c.add_main_entries (options, GETTEXT_PACKAGE);
|
||||
|
|
Loading…
Reference in a new issue