Skip to content

Commit

Permalink
gio: limit notifications to the primary application
Browse files Browse the repository at this point in the history
  • Loading branch information
frankmorgner committed Apr 24, 2018
1 parent b9d1fdc commit 13eac8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ui/notify.c
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,8 @@ static void notify_gio(struct sc_context *ctx,
const char *title, const char *text, const char *icon,
const char *group)
{
if (application) {
if (application && FALSE == g_application_get_is_remote(application)) {
/* TODO properly implement notifications on remote application */
GIcon *gicon = NULL;
GNotification *notification = g_notification_new (title);
if (!notification) {
Expand Down

0 comments on commit 13eac8a

Please sign in to comment.