From 2c75a4f1339fc81f49ccffcf6e5d336d5d717540 Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Wed, 1 Feb 2012 11:37:56 -0500 Subject: [PATCH] Removed info box for more compatibility --- src/windows/main.php | 20 -------------------- 1 file changed, 20 deletions(-) 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 *