From cfc156b77a11d16aa5c4c273bfe50d74df59ecf9 Mon Sep 17 00:00:00 2001 From: Mathieu Bridon Date: Sun, 3 Dec 2017 15:40:16 +0100 Subject: Use reverse DNS naming for icon, desktop file, DBus service, app ID (#221) The convention is to use reverse DNS for the DBus service names, icons, desktop files and application ID. Flatpak enforces that convention, and even requires at least 3 components in those names. --- main/src/ui/application.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main/src/ui') diff --git a/main/src/ui/application.vala b/main/src/ui/application.vala index e4fdd9eb..e8424684 100644 --- a/main/src/ui/application.vala +++ b/main/src/ui/application.vala @@ -14,10 +14,10 @@ public class Dino.Ui.Application : Gtk.Application, Dino.Application { public SearchPathGenerator? search_path_generator { get; set; } public Application() throws Error { - Object(application_id: "im.dino", flags: ApplicationFlags.HANDLES_OPEN); + Object(application_id: "im.dino.Dino", flags: ApplicationFlags.HANDLES_OPEN); init(); Environment.set_application_name("Dino"); - Window.set_default_icon_name("dino"); + Window.set_default_icon_name("im.dino.Dino"); CssProvider provider = new CssProvider(); provider.load_from_resource("/im/dino/theme.css"); -- cgit v1.2.3-70-g09d2