Removed deprecated fonction, fixes about dialog close button

This commit is contained in:
Timothy Warren 2012-01-30 09:48:55 -05:00
parent a3e4fa3c68
commit 6e4d7aa735

View File

@ -114,8 +114,9 @@ class Main extends GtkWindow {
function about()
{
$dlg = new GtkAboutDialog();
$dlg->set_transient_for($this);
$dlg->set_name('OpenSQLManager');
$dlg->set_program_name($this->get_title());
$dlg->set_version('0.0.1pre');
$dlg->set_copyright("Copyright (c) ".date('Y')." Timothy J. Warren");
@ -123,6 +124,8 @@ class Main extends GtkWindow {
$dlg->set_website('https://github.com/aviat4ion/OpenSQLManager');
$dlg->run();
$dlg->destroy();
}
/**