Italicised leave message

This commit is contained in:
Tristan B. Kildaire 2020-10-19 13:48:39 +02:00
parent 4ab6ef6040
commit 730c5348f1
1 changed files with 2 additions and 1 deletions

View File

@ -252,8 +252,9 @@ public final class Channel
public void channelLeave(string username) public void channelLeave(string username)
{ {
/* The label to add */ /* The label to add */
Label leaveLabel = new Label("<-- "~username~" left the channel"); Label leaveLabel = new Label("<-- <i>"~username~" left the channel</i>");
leaveLabel.setHalign(GtkAlign.START); leaveLabel.setHalign(GtkAlign.START);
leaveLabel.setUseMarkup(true);
/* Add leave message to message log */ /* Add leave message to message log */
textArea.add(leaveLabel); textArea.add(leaveLabel);