diff --git a/source/Connection.d b/source/Connection.d index 77911e8..2ef57e1 100644 --- a/source/Connection.d +++ b/source/Connection.d @@ -258,8 +258,15 @@ public final class Connection : Thread /* Set as the `foundChannel` */ foundChannel = newChannel; + + /* Get the Widgets container for this channel and add a tab for it */ + notebookSwitcher.add(newChannel.getBox()); + + writeln("hdsjghjsd"); } + notebookSwitcher.showAll(); + /* TODO: Now add the widget */ // /* Set this as the currently selected channel */ @@ -339,7 +346,7 @@ public final class Connection : Thread // textBox.add(f); notebookSwitcher = new Notebook(); - notebookSwitcher.add(new Label("test")); + //notebookSwitcher.add(newnew Label("test")); box.add(channelBox); box.add(notebookSwitcher);