Commit 01f45527 authored by Robert Roth's avatar Robert Roth

Use reverse domain naming schema for appdata, icon and desktop (#10)

parent a2ed0184
......@@ -18,7 +18,7 @@ install_data('swell-foop.css',
install_dir: pkgdatadir,
)
desktop = 'swell-foop.desktop'
desktop = 'org.gnome.SwellFoop.desktop'
# Desktop file
i18n.merge_file(
......@@ -30,7 +30,7 @@ i18n.merge_file(
install_dir: join_paths(datadir, 'applications'),
)
appdata = 'swell-foop.appdata.xml'
appdata = 'org.gnome.SwellFoop.appdata.xml'
# Appdata
i18n.merge_file(
......
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2013 Michael Catanzaro -->
<component type="desktop">
<id>swell-foop.desktop</id>
<id>org.gnome.SwellFoop.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0+</project_license>
<name>Swell Foop</name>
......
......@@ -4,7 +4,7 @@ Comment=Clear the screen by removing groups of colored and shaped tiles
# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
Keywords=game;logic;board;same;matching;
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
Icon=swell-foop
Icon=org.gnome.SwellFoop
Exec=swell-foop
Terminal=false
Type=Application
......
......@@ -4,9 +4,6 @@
"runtime-version" : "3.30",
"sdk" : "org.gnome.Sdk",
"command" : "swell-foop",
"rename-icon" : "swell-foop",
"rename-desktop-file" : "swell-foop.desktop",
"rename-appdata-file" : "swell-foop.appdata.xml",
"tags" : [
"nightly"
],
......
......@@ -75,7 +75,7 @@ public class SwellFoop : Gtk.Application
var stack = new Gtk.Stack ();
var first_vbox = new Gtk.Box (Gtk.Orientation.VERTICAL, 12);
load_css ();
var logo = new Gtk.Image.from_icon_name ("swell-foop", Gtk.IconSize.DIALOG);
var logo = new Gtk.Image.from_icon_name ("org.gnome.SwellFoop", Gtk.IconSize.DIALOG);
logo.set_pixel_size (96);
first_vbox.pack_start (logo, false);
var label = new Gtk.Label (_("Welcome to Swell Foop"));
......@@ -126,7 +126,7 @@ public class SwellFoop : Gtk.Application
/* Create the main window */
window = new Gtk.ApplicationWindow (this);
window.set_title (_("Swell Foop"));
window.icon_name = "swell-foop";
window.icon_name = "org.gnome.SwellFoop";
window.resizable = false;
window.set_events (window.get_events () | Gdk.EventMask.KEY_PRESS_MASK | Gdk.EventMask.KEY_RELEASE_MASK);
......@@ -467,7 +467,7 @@ public class SwellFoop : Gtk.Application
"artists", artists,
"documenters", documenters,
"translator-credits", _("translator-credits"),
"logo-icon-name", "swell-foop",
"logo-icon-name", "org.gnome.SwellFoop",
"website", Config.PACKAGE_URL,
null);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment