Misc changes
Position db add window in the center of the screen, minor changes to bootstrap file
This commit is contained in:
parent
69b8f446c4
commit
7ec35088b1
@ -21,7 +21,7 @@
|
|||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
|
||||||
// Suppress errors that php-gtk puts out
|
// Suppress errors that php-gtk puts out
|
||||||
error_reporting(-1 & ~(E_STRICT | E_DEPRECATED));
|
error_reporting(-1 & ~(E_STRICT));
|
||||||
|
|
||||||
// Set the stupid timezone so PHP shuts up.
|
// Set the stupid timezone so PHP shuts up.
|
||||||
date_default_timezone_set('GMT');
|
date_default_timezone_set('GMT');
|
||||||
@ -56,7 +56,7 @@ register_shutdown_function('log_fatal');
|
|||||||
// Make sure php-gtk works
|
// Make sure php-gtk works
|
||||||
if ( ! class_exists('gtk'))
|
if ( ! class_exists('gtk'))
|
||||||
{
|
{
|
||||||
trigger_error("PHP-gtk not found. Please load the php-gtk2 module in your php.ini", E_USER_ERROR);
|
trigger_error("PHP-gtk not found. Please load the php-gtk2 extension in your php.ini", E_USER_ERROR);
|
||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -25,6 +25,7 @@ class Add_DB extends GtkWindow {
|
|||||||
|
|
||||||
$this->settings = new Settings();
|
$this->settings = new Settings();
|
||||||
|
|
||||||
|
$this->set_position(Gtk::WIN_POS_CENTER);
|
||||||
$this->set_title("Add Database Connection");
|
$this->set_title("Add Database Connection");
|
||||||
|
|
||||||
// Add the Vbox, and show the window
|
// Add the Vbox, and show the window
|
||||||
|
Loading…
Reference in New Issue
Block a user