From e07df08fe0c6d6d9e63929867e2ae5d4dfe2a2e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <ballogyor@gmail.com>
Date: Sat, 26 Apr 2025 09:32:48 +0200
Subject: [PATCH] Set prgname to application ID

Using the application ID ensures that Wayland compositors could match the
window with the application and show the appropriate icon for them.
---
 src/disks/gduapplication.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/disks/gduapplication.c b/src/disks/gduapplication.c
index 70b70076b..e2f4f71a2 100644
--- a/src/disks/gduapplication.c
+++ b/src/disks/gduapplication.c
@@ -421,6 +421,8 @@ gdu_application_startup (GApplication *_app)
   if (G_APPLICATION_CLASS (gdu_application_parent_class)->startup != NULL)
     G_APPLICATION_CLASS (gdu_application_parent_class)->startup (_app);
 
+  g_set_prgname ("org.gnome.DiskUtility");
+
   hdy_init ();
   hdy_style_manager_set_color_scheme (hdy_style_manager_get_default (),
                                       HDY_COLOR_SCHEME_PREFER_LIGHT);
-- 
GitLab

