notify-manager: Use desktop_id to determine if banner should be shown.

This helps in situations where we couldn't get an app info (e.g. because
the given desktop_id in the DBus call didn't match the actual desktop file
name).

Signed-off-by: Guido Günther <guido.gunther@puri.sm>
9 jobs for allow-to-disable-notifications in 74 minutes and 50 seconds (queued for 1 minute and 55 seconds)
latest
Status Job ID Name Coverage
  Build
passed #359988
librem5
build:cross-debian-bullseye:i386

00:15:42

passed #359989
librem5
build:native-alpinelinux-edge

00:12:21

passed #359987
librem5
build:native-debian-bullseye

00:17:23

 
  Test+Docs
passed #359991
librem5
build-gtkdoc

00:14:45

passed #359993
librem5
check-license-headers

00:03:28

passed #359992
librem5
check-po

00:00:40

passed #359994
librem5
unit-test:native-alpinelinux-edge

00:11:50

passed #359990
librem5
unit-test:native-debian-bullseye

00:20:25

53.2%
 
  Package
passed #359995
librem5:arm64
package:deb-pureos-byzantium:arm64

00:19:18