diff options
author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2022-05-17 03:46:56 +0200 |
---|---|---|
committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2022-06-07 03:18:38 +0200 |
commit | 13718b6ea0284ccb5561b1465499fa5fff572ddd (patch) | |
tree | db2f3f5946fe73690ad91c9dee36e6ab2251c25f | |
parent | f3eb807464e06eb68b2901e553a21e31620aba53 (diff) | |
download | libnotify-13718b6ea0284ccb5561b1465499fa5fff572ddd.tar.gz |
notify: Also try to use the flatpak app name as notify app
-rw-r--r-- | libnotify/notify.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 ())) { |