aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/application.vala
diff options
context:
space:
mode:
authorMathieu Bridon <bochecha@daitauha.fr>2017-12-03 15:40:16 +0100
committerfiaxh <fiaxh@users.noreply.github.com>2017-12-03 15:40:16 +0100
commitcfc156b77a11d16aa5c4c273bfe50d74df59ecf9 (patch)
treef38579cda04b22fc1bf65bb4791cf82f7cb13e10 /main/src/ui/application.vala
parentf3ca14f2d6f31c5a4b6438e64fbfca19ebad066e (diff)
downloaddino-cfc156b77a11d16aa5c4c273bfe50d74df59ecf9.tar.gz
dino-cfc156b77a11d16aa5c4c273bfe50d74df59ecf9.zip
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.
Diffstat (limited to 'main/src/ui/application.vala')
-rw-r--r--main/src/ui/application.vala4
1 files changed, 2 insertions, 2 deletions
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");