[gnome-builder: 8/17] fix notification subtitle
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder: 8/17] fix notification subtitle
- Date: Mon, 22 Jun 2020 19:23:16 +0000 (UTC)
commit 547c915a8683078e1de31036aa878fd57e6fa62f
Author: Günther Wagner <info gunibert de>
Date: Tue May 19 21:21:42 2020 +0200
fix notification subtitle
src/libide/lsp/ide-lsp-client.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libide/lsp/ide-lsp-client.c b/src/libide/lsp/ide-lsp-client.c
index 8f2b5a65c..7b81c83fa 100644
--- a/src/libide/lsp/ide-lsp-client.c
+++ b/src/libide/lsp/ide-lsp-client.c
@@ -777,14 +777,14 @@ ide_lsp_client_real_notification (IdeLspClient *self,
ide_notification_set_has_progress (notification, TRUE);
ide_notification_set_progress_is_imprecise (notification, TRUE);
ide_notification_set_title (notification, title);
- ide_notification_set_urgent (notification, TRUE);
+ ide_notification_set_body (notification, message != NULL ? message : title);
ide_notification_attach (notification, IDE_OBJECT (context));
}
else
{
notification = ide_notifications_find_by_id (notifications, token);
if (message != NULL && notification != NULL)
- ide_notification_set_title (notification, message);
+ ide_notification_set_body (notification, message);
}
if (ide_str_equal0 (kind, "end") && notification != NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]