[gnome-mines] Rename desktop file so we appear in GNOME Software
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-mines] Rename desktop file so we appear in GNOME Software
- Date: Wed, 5 Feb 2014 21:49:48 +0000 (UTC)
commit bc0ac4c12446d5977841917eb5d0e630023c72c6
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Wed Feb 5 15:49:25 2014 -0600
Rename desktop file so we appear in GNOME Software
data/Makefile.am | 2 +-
data/gnome-mines.appdata.xml.in | 2 +-
.../{gnomine.desktop.in => gnome-mines.desktop.in} | 0
po/POTFILES.in | 2 +-
src/gnome-mines.vala | 3 ---
5 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index cc6de43..3134221 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -9,7 +9,7 @@ pixmapdir = $(datadir)/gnome-mines
pixmap_DATA = flag.svg flag-question.svg mine.svg bang.svg warning.svg
desktopdir = $(datadir)/applications
-desktop_in_files = gnomine.desktop.in
+desktop_in_files = gnome-mines.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
diff --git a/data/gnome-mines.appdata.xml.in b/data/gnome-mines.appdata.xml.in
index a5c9949..0814b19 100644
--- a/data/gnome-mines.appdata.xml.in
+++ b/data/gnome-mines.appdata.xml.in
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2013 Michael Catanzaro -->
<application>
- <id type="desktop">gnomine.desktop</id>
+ <id type="desktop">gnome-mines.desktop</id>
<licence>CC0</licence>
<_name>GNOME Mines</_name>
<description>
diff --git a/data/gnomine.desktop.in b/data/gnome-mines.desktop.in
similarity index 100%
rename from data/gnomine.desktop.in
rename to data/gnome-mines.desktop.in
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 57d168e..9207df4 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -2,7 +2,7 @@
# Please keep this file in alphabetical order.
[encoding: UTF-8]
data/gnome-mines.appdata.xml.in
-data/gnomine.desktop.in
+data/gnome-mines.desktop.in
data/org.gnome.mines.gschema.xml
src/gnome-mines.vala
src/history.vala
diff --git a/src/gnome-mines.vala b/src/gnome-mines.vala
index 92f3a44..1a7cf60 100644
--- a/src/gnome-mines.vala
+++ b/src/gnome-mines.vala
@@ -894,9 +894,6 @@ public class Mines : Gtk.Application
Intl.bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
Intl.textdomain (GETTEXT_PACKAGE);
- /* Required if the desktop file does not match the binary */
- Environment.set_prgname ("gnomine");
-
var context = new OptionContext (null);
context.set_translation_domain (GETTEXT_PACKAGE);
context.add_group (Gtk.get_option_group (true));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]