mirror of https://github.com/deavminet/gustav.git
Now adds, just need to sort out redrawing
This commit is contained in:
parent
e4f373ceb3
commit
695d624fe9
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue