[libnotify] notify: Also try to use the flatpak app name as notify app
- From: Marco Trevisan <marcotrevi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libnotify] notify: Also try to use the flatpak app name as notify app
- Date: Thu, 14 Jul 2022 14:56:01 +0000 (UTC)
commit 13718b6ea0284ccb5561b1465499fa5fff572ddd
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date: Tue May 17 03:46:56 2022 +0200
notify: Also try to use the flatpak app name as notify app
libnotify/notify.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/libnotify/notify.c b/libnotify/notify.c
index 92b4010..362ba3d 100644
--- a/libnotify/notify.c
+++ b/libnotify/notify.c
@@ -191,6 +191,9 @@ notify_init (const char *app_name)
GApplication *application;
app_name = _notify_get_snap_app ();
+ if (app_name == NULL) {
+ app_name = _notify_get_flatpak_app ();
+ }
if (app_name == NULL &&
(application = g_application_get_default ())) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]