mirror of https://github.com/deavminet/gustav.git
Clean up
This commit is contained in:
parent
0c2fd122f3
commit
0e40518dc4
60
source/app.d
60
source/app.d
|
@ -18,67 +18,14 @@ import gdk.Threads : threadsEnter, threadsLeave;
|
|||
|
||||
import gtk.SelectionData;
|
||||
import gtk.Widget;
|
||||
|
||||
|
||||
void main()
|
||||
{
|
||||
/* Initialize the framework with no arguments */
|
||||
string[] args;
|
||||
Main.initMultiThread(args);
|
||||
|
||||
// threadsEnter();
|
||||
|
||||
// /* Create the main window */
|
||||
// MainWindow main = new MainWindow("unnamed");
|
||||
|
||||
|
||||
|
||||
// Box grid = new Box(GtkOrientation.VERTICAL, 1);
|
||||
|
||||
// MenuBar menu = new MenuBar();
|
||||
|
||||
|
||||
// grid.add(menu);
|
||||
|
||||
// MenuItem fileMenu = new MenuItem("unamed");
|
||||
|
||||
// MenuItem thing1 = new MenuItem("poes");
|
||||
// Menu bruh = new Menu();
|
||||
// bruh.add(thing1);
|
||||
// fileMenu.setSubmenu(bruh);
|
||||
|
||||
// menu.add(fileMenu);
|
||||
// menu.add(new MenuItem("bruh"));
|
||||
|
||||
|
||||
// /* Status bar */
|
||||
// Statusbar statusBar = new Statusbar();
|
||||
|
||||
// statusBar.add(new Label("Gustav: Not connected"));
|
||||
|
||||
// grid.add(new Label("poo"));
|
||||
|
||||
// ListBox channels = new ListBox();
|
||||
|
||||
// Notebook tabs = new Notebook();
|
||||
// tabs.add(channels);
|
||||
// grid.add(tabs);
|
||||
|
||||
// grid.packEnd(statusBar, false, false, 0);
|
||||
|
||||
// Label k = new Label("dhjhfdjfhfjk");
|
||||
// channels.add(k);
|
||||
|
||||
// main.add(grid);
|
||||
|
||||
// /* Display the window and all its components */
|
||||
// main.showAll();
|
||||
|
||||
// k.setText("peoe");
|
||||
|
||||
// tabs.appendPage(new Label("lol"), "server2");
|
||||
|
||||
// main.showAll();
|
||||
|
||||
|
||||
|
||||
GUI gui = new GUI();
|
||||
gui.start();
|
||||
|
@ -86,9 +33,6 @@ void main()
|
|||
|
||||
/* Start the event loop */
|
||||
Main.run();
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue