[gnome-builder] notification: set error icon for build failure
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] notification: set error icon for build failure
- Date: Fri, 10 May 2019 18:54:02 +0000 (UTC)
commit 721fbc0ea7fc354ed82b07558fc8d45b71bdcd4e
Author: Christian Hergert <chergert redhat com>
Date: Fri May 10 10:13:36 2019 -0700
notification: set error icon for build failure
src/plugins/notification/ide-notification-addin.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/plugins/notification/ide-notification-addin.c
b/src/plugins/notification/ide-notification-addin.c
index cc1285b83..518204dca 100644
--- a/src/plugins/notification/ide-notification-addin.c
+++ b/src/plugins/notification/ide-notification-addin.c
@@ -164,7 +164,10 @@ ide_notification_addin_build_failed (IdeNotificationAddin *self,
g_assert (IDE_IS_BUILD_MANAGER (build_manager));
if (self->notif)
- ide_notification_set_title (self->notif, _("Build failed"));
+ {
+ ide_notification_set_icon_name (self->notif, "dialog-error-symbolic");
+ ide_notification_set_title (self->notif, _("Build failed"));
+ }
ide_notification_addin_notify (self, FALSE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]