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