Commit 10566959 authored by Guido Gunther's avatar Guido Gunther Committed by Guido Gunther
Browse files

shell: Only show banners for apps with show-banners


Signed-off-by: Guido Gunther's avatarGuido Günther <guido.gunther@puri.sm>
parent 52345024
Pipeline #62055 passed with stages
in 37 minutes and 58 seconds
......@@ -417,7 +417,7 @@ on_new_notification (PhoshShell *self,
gtk_widget_destroy (priv->notification_banner);
}
if (phosh_notify_manager_get_show_banners (manager) &&
if (phosh_notify_manager_get_show_notification_banner (manager, notification) &&
!phosh_lockscreen_manager_get_locked (priv->lockscreen_manager) &&
phosh_panel_get_state (PHOSH_PANEL (priv->panel)) == PHOSH_PANEL_STATE_FOLDED) {
g_set_weak_pointer (&priv->notification_banner,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment