[tali] Rename desktop file so we appear in GNOME Software



commit 768a35fcd4aabfd8fc145c1d9cf7415e12aa87bf
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Wed Feb 5 16:05:27 2014 -0600

    Rename desktop file so we appear in GNOME Software

 data/Makefile.am                           |    2 +-
 data/tali.appdata.xml.in                   |    2 +-
 data/{gtali.desktop.in => tali.desktop.in} |    0
 po/POTFILES.in                             |    2 +-
 src/gyahtzee.c                             |    6 ------
 5 files changed, 3 insertions(+), 9 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 1e6c18e..7b17af0 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -23,7 +23,7 @@ gsettings_SCHEMAS = org.gnome.tali.gschema.xml
 man_MANS = tali.6
 
 desktopdir = $(datadir)/applications
-desktop_in_files = gtali.desktop.in
+desktop_in_files = tali.desktop.in
 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
 
diff --git a/data/tali.appdata.xml.in b/data/tali.appdata.xml.in
index 85977dd..10241a6 100644
--- a/data/tali.appdata.xml.in
+++ b/data/tali.appdata.xml.in
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Copyright 2013 Michael Catanzaro -->
 <application>
- <id type="desktop">gtali.desktop</id>
+ <id type="desktop">tali.desktop</id>
  <licence>CC0</licence>
  <description>
   <_p>
diff --git a/data/gtali.desktop.in b/data/tali.desktop.in
similarity index 100%
rename from data/gtali.desktop.in
rename to data/tali.desktop.in
diff --git a/po/POTFILES.in b/po/POTFILES.in
index f313712..1eb3c71 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,7 +1,7 @@
 # List of source files containing translatable strings.
 # Please keep this file in alphabetical order.
 [encoding: UTF-8]
-data/gtali.desktop.in
+data/tali.desktop.in
 data/org.gnome.tali.gschema.xml
 data/tali.appdata.xml.in
 src/clist.c
diff --git a/src/gyahtzee.c b/src/gyahtzee.c
index de73efb..0e98e13 100644
--- a/src/gyahtzee.c
+++ b/src/gyahtzee.c
@@ -846,12 +846,6 @@ main (int argc, char *argv[])
   bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
   textdomain (GETTEXT_PACKAGE);
 
-  /*
-   * Required because the binary doesn't match the desktop file.
-   * Has to be before the call to g_option_context_parse.
-   */
-  g_set_prgname ("gtali");
-
   application = gtk_application_new ("org.gnome.tali", 0);
   g_signal_connect (application, "activate", G_CALLBACK (GyahtzeeCreateMainWindow), NULL);
 


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