[gnome-builder: 1/2] message-panel: add needs-attention when a new message arrives



commit db10029fe65f20b7c67541ac22314276d3b08e72
Author: vanadiae <vanadiae35 gmail com>
Date:   Sun Jun 7 21:23:47 2020 +0200

    message-panel: add needs-attention when a new message arrives

 src/plugins/messages/gbp-messages-panel.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/plugins/messages/gbp-messages-panel.c b/src/plugins/messages/gbp-messages-panel.c
index a9db8fbf9..a17452f53 100644
--- a/src/plugins/messages/gbp-messages-panel.c
+++ b/src/plugins/messages/gbp-messages-panel.c
@@ -50,6 +50,7 @@ gbp_messages_panel_log_cb (GbpMessagesPanel *self,
 
   vte_terminal_feed (VTE_TERMINAL (self->terminal), message, -1);
   vte_terminal_feed (VTE_TERMINAL (self->terminal), "\r\n", 2);
+  dzl_dock_item_needs_attention (DZL_DOCK_ITEM (&self->parent_instance));
   gtk_widget_show (GTK_WIDGET (self));
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]