Added About Dialog
This commit is contained in:
parent
eb6edfa6c3
commit
665ffe8c21
@ -25,7 +25,10 @@ if ( ! class_exists('gtk'))
|
|||||||
die("Please load the php-gtk2 module in your php.ini\r\n");
|
die("Please load the php-gtk2 module in your php.ini\r\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Wrapper workaround for PHP < 5.4
|
// Set the stupid timezone so PHP shuts up.
|
||||||
|
date_default_timezone_set('GMT');
|
||||||
|
|
||||||
|
// Bulk loading wrapper workaround for PHP < 5.4
|
||||||
function do_include($path)
|
function do_include($path)
|
||||||
{
|
{
|
||||||
require_once($path);
|
require_once($path);
|
||||||
|
@ -113,7 +113,16 @@ class Main extends GtkWindow {
|
|||||||
*/
|
*/
|
||||||
function about()
|
function about()
|
||||||
{
|
{
|
||||||
|
$dlg = new GtkAboutDialog();
|
||||||
|
|
||||||
|
$dlg->set_name('OpenSQLManager');
|
||||||
|
$dlg->set_version('0.0.1pre');
|
||||||
|
|
||||||
|
$dlg->set_copyright("Copyright (c) ".date('Y')." Timothy J. Warren");
|
||||||
|
|
||||||
|
$dlg->set_website('https://github.com/aviat4ion/OpenSQLManager');
|
||||||
|
|
||||||
|
$dlg->run();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user