summaryrefslogtreecommitdiff
path: root/src/framework.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/framework.c')
-rw-r--r--src/framework.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/framework.c b/src/framework.c
index 96c97c3..9e4f81c 100644
--- a/src/framework.c
+++ b/src/framework.c
@@ -26,6 +26,7 @@
#include <gtk/gtk.h>
+#include "app.h" // REMME
#include "framework.h"
#include "glibext/helpers.h"
#include "gui/core/core.h"
@@ -37,6 +38,9 @@
/* --------------------- DEFINITION D'APPLICATION PERSONNALISEE --------------------- */
+#define CHRYSALIDE_APP_ID "re.chrysalide.framework.gui"
+
+
/* Définition de l'application principale graphique (instance) */
struct _GtkChrysalideFramework
{
@@ -197,7 +201,7 @@ GtkChrysalideFramework *gtk_chrysalide_framework_new(void)
GtkChrysalideFramework *result; /* Instance à retourner */
result = g_object_new(GTK_TYPE_CHRYSALIDE_FRAMEWORK,
- "application-id", "re.chrysalide.framework",
+ "application-id", CHRYSALIDE_APP_ID,
"flags", G_APPLICATION_DEFAULT_FLAGS,
NULL);
@@ -348,6 +352,8 @@ int main(int argc, char **argv)
if (!load_gui_components(AGC_BUFFER_FEATURES))
return EXIT_FAILURE;
+ ensure_wm_icon_and_name();
+
app = gtk_chrysalide_framework_new();
result = g_application_run(G_APPLICATION(app), argc, argv);