From 6e4d7aa735033621ed5b2db85475ef52367b20a1 Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Mon, 30 Jan 2012 09:48:55 -0500 Subject: [PATCH] Removed deprecated fonction, fixes about dialog close button --- src/windows/main.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/windows/main.php b/src/windows/main.php index 459a72f..e203d96 100644 --- a/src/windows/main.php +++ b/src/windows/main.php @@ -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(); } /**