From cb6cc58655a511bbc72e759510ef19fbff679c6c Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Wed, 11 Apr 2012 08:04:55 -0400 Subject: [PATCH] Move widgets into their own folder --- index.php | 2 +- sys/widgets/db_tabs.php | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/index.php b/index.php index c06d108..bf3cad6 100644 --- a/index.php +++ b/index.php @@ -100,7 +100,7 @@ function do_include($path) { array_map('do_include', glob(BASE_DIR . "/common/*.php")); array_map('do_include', glob(BASE_DIR . "/db/*.php")); - array_map('do_include', glob(BASE_DIR . "/windows/widgets/*.php")); + array_map('do_include', glob(BASE_DIR . "/widgets/*.php")); array_map('do_include', glob(BASE_DIR . "/windows/*.php")); } diff --git a/sys/widgets/db_tabs.php b/sys/widgets/db_tabs.php index a59a164..1a9d152 100644 --- a/sys/widgets/db_tabs.php +++ b/sys/widgets/db_tabs.php @@ -86,9 +86,7 @@ class DB_tabs extends GTKNotebook { // 'Databases' Tab { - self::_add_tab($conn, 'Databases', 'Db Name', 'get_dbs', array( - 'row-activated' => array(self::$instance, '_switch_db'), - )); + self::_add_tab($conn, 'Databases', 'Db Name', 'get_dbs'); } // 'Schemas' Tab