diff --git a/src/windows/main.php b/src/windows/main.php index 6110055..89de534 100644 --- a/src/windows/main.php +++ b/src/windows/main.php @@ -102,9 +102,6 @@ class Main extends GtkWindow { // Add the menubar $main_vbox->pack_start($this->_create_menu(), FALSE, FALSE); - // Add the info box - $main_vbox->pack_start($this->_create_infobox(), FALSE, FALSE); - // Add the main interface area hbox $main_vbox->pack_start($main_hbox); @@ -178,23 +175,6 @@ class Main extends GtkWindow { // -------------------------------------------------------------------------- - /** - * Display Info box for errors/message - */ - private function _create_infobox() - { - $infobar = new GtkInfoBar(); - $messagelabel = new GtkLabel('Welcome to OpenSQLManager!'); - $contentarea = $infobar->get_content_area(); - $contentarea->add($messagelabel); - $infobar->add_button(GTK::STOCK_OK, GTK::RESPONSE_OK); - $infobar->connect_simple('response', array($infobar, 'hide')); - - return ($infobar); - } - - // -------------------------------------------------------------------------- - /** * Lays out the left sidebar in the main window *