Fixed bug

This commit is contained in:
Tristan B. Kildaire 2021-01-28 14:17:21 +02:00
parent 13d5176a89
commit 40342772c2
2 changed files with 4 additions and 5 deletions

View File

@ -290,6 +290,8 @@ public final class Connection : Thread
/* Set as the `foundChannel` */ /* Set as the `foundChannel` */
foundUser = newUser; foundUser = newUser;
gprintln(newUser.getBox());
/* Get the Widgets container for this channel and add a tab for it */ /* Get the Widgets container for this channel and add a tab for it */
notebookSwitcher.add(newUser.getBox()); notebookSwitcher.add(newUser.getBox());
notebookSwitcher.setTabReorderable(newUser.getBox(), true); notebookSwitcher.setTabReorderable(newUser.getBox(), true);

View File

@ -33,11 +33,6 @@ public final class User : MessageArea
*/ */
private string username; private string username;
/**
* The container for this User
*/
private Box box;
/** /**
* UI components * UI components
* *
@ -65,6 +60,8 @@ public final class User : MessageArea
private void initializeBox() private void initializeBox()
{ {
box = new Box(GtkOrientation.HORIZONTAL, 1);
box.add(new Label("poes"));
} }
} }