mirror of https://github.com/deavminet/gustav.git
Italicised leave message
This commit is contained in:
parent
4ab6ef6040
commit
730c5348f1
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue