[gnome-builder/wip/gtk4-port: 188/736] icons: setup application id for .Devel icon variant




commit 665598054c3a12fd0ffa46b452d8c953d0146edc
Author: Christian Hergert <chergert redhat com>
Date:   Tue Mar 29 16:19:45 2022 -0700

    icons: setup application id for .Devel icon variant

 src/libide/gui/ide-application-actions.c          | 2 +-
 src/main.c                                        | 5 +----
 src/plugins/notification/ide-notification-addin.c | 4 ++++
 3 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/src/libide/gui/ide-application-actions.c b/src/libide/gui/ide-application-actions.c
index 4d69b5025..7b01df783 100644
--- a/src/libide/gui/ide-application-actions.c
+++ b/src/libide/gui/ide-application-actions.c
@@ -141,7 +141,7 @@ ide_application_actions_about (GSimpleAction *action,
                          "copyright", "Ā© 2014ā€“2022 Christian Hergert, et al.",
                          "documenters", ide_application_credits_documenters,
                          "license-type", GTK_LICENSE_GPL_3_0,
-                         "logo-icon-name", "org.gnome.Builder",
+                         "logo-icon-name", ide_get_application_id (),
                          "modal", TRUE,
                          "program-name", _("GNOME Builder"),
                          "transient-for", parent,
diff --git a/src/main.c b/src/main.c
index 218fd702d..362d49cba 100644
--- a/src/main.c
+++ b/src/main.c
@@ -226,11 +226,8 @@ main (gint   argc,
   g_set_prgname (ide_get_program_name ());
   g_set_application_name (_("Builder"));
 
-#if 0
-  /* TODO: allow support for parallel nightly install */
 #ifdef DEVELOPMENT_BUILD
-  ide_set_application_id ("org.gnome.Builder-Devel");
-#endif
+  ide_set_application_id ("org.gnome.Builder.Devel");
 #endif
 
   /* Early init of logging so that we get messages in a consistent
diff --git a/src/plugins/notification/ide-notification-addin.c 
b/src/plugins/notification/ide-notification-addin.c
index f9a90c31c..f3cac4fca 100644
--- a/src/plugins/notification/ide-notification-addin.c
+++ b/src/plugins/notification/ide-notification-addin.c
@@ -110,7 +110,11 @@ ide_notification_addin_notify (IdeNotificationAddin *self,
       msg_body = g_strdup_printf (_("Project ā€œ%sā€ failed to build"), project_name);
     }
 
+#ifdef DEVELOPMENT_BUILD
+  icon = g_themed_icon_new ("org.gnome.Builder.Devel-symbolic");
+#else
   icon = g_themed_icon_new ("org.gnome.Builder-symbolic");
+#endif
 
   notification = g_notification_new (msg_title);
   g_notification_set_body (notification, msg_body);


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