From 8a315744215fa2ca011d55f1745866713be4caa5 Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Mon, 30 Jan 2012 21:06:04 -0500 Subject: [PATCH] Remove some coding weirdness --- src/index.php | 10 ++++++++-- src/windows/main.php | 8 ++++---- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src/index.php b/src/index.php index ec7d14b..93eaa0a 100644 --- a/src/index.php +++ b/src/index.php @@ -39,10 +39,16 @@ function do_include($path) $dir = dirname(__FILE__); // Load modules -{ +//{ array_map('do_include', glob("{$dir}/databases/*.php")); array_map('do_include', glob("{$dir}/windows/*.php")); -} +//} + + + +//$gtk = new GTKSettings(); + +//print_r($gtk); // Create the main window $wnd = new Main(); diff --git a/src/windows/main.php b/src/windows/main.php index 52f8e86..40be9f3 100644 --- a/src/windows/main.php +++ b/src/windows/main.php @@ -147,7 +147,7 @@ class Main extends GtkWindow { //File Menu - { + //{ //Set up the open item //$open = new GtkImageMenuItem(GTK::STOCK_OPEN); //$file_menu->append($open); @@ -159,10 +159,10 @@ class Main extends GtkWindow { // Add the top level menu to the menubar $menu_bar->append($top_file_menu); - } + //} //Help Menu - { + //{ //Set up the about item $about = new GtkImageMenuItem(GTK::STOCK_ABOUT); $about->connect_simple('activate', array($this, 'about')); @@ -170,7 +170,7 @@ class Main extends GtkWindow { // Add the top level menu to the menubar $menu_bar->append($top_help_menu); - } + //} return $menu_bar;