Fixed error message shown when you attempt to set your status and are not connected to any server

This commit is contained in:
Tristan B. Kildaire 2021-01-27 22:37:49 +02:00
parent ce9a675da0
commit 97295cf042
1 changed files with 1 additions and 1 deletions

View File

@ -554,7 +554,7 @@ public class GUI : Thread
else
{
import gtk.MessageDialog;
MessageDialog errorDialog = new MessageDialog(mainWindow, GtkDialogFlags.MODAL, GtkMessageType.ERROR, GtkButtonsType.CLOSE, false, "Cannot list channels\n\nYou are not connected to a server");
MessageDialog errorDialog = new MessageDialog(mainWindow, GtkDialogFlags.MODAL, GtkMessageType.ERROR, GtkButtonsType.CLOSE, false, "Cannot set status\n\nYou are not connected to a server");
errorDialog.setIconName("user-available");
// errorDialog.set
errorDialog.run();