Remove some coding weirdness

This commit is contained in:
Timothy Warren 2012-01-30 21:06:04 -05:00
parent 85e5a75d7b
commit 8a31574421
2 changed files with 12 additions and 6 deletions

View File

@ -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();

View File

@ -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;