diff --git a/src/common/datagrid.php b/src/common/datagrid.php new file mode 100644 index 0000000..ea2928e --- /dev/null +++ b/src/common/datagrid.php @@ -0,0 +1,37 @@ +model = new GtkTreeStore(GObject::TYPE_PHP_VALUE, GObject::TYPE_STRING); + parent::__construct($this->model); + } + + function __get($key) + { + + } + + function __set($key, $val) + { + + } +} \ No newline at end of file diff --git a/src/databases/firebird.php b/src/databases/firebird.php index 45d84e0..618763c 100644 --- a/src/databases/firebird.php +++ b/src/databases/firebird.php @@ -161,6 +161,9 @@ class firebird { } +/** + * Database manipulation class + */ class firebird_manip extends firebird { function __construct($db, $user="sysdba", $pass="masterkey") diff --git a/src/windows/main.php b/src/windows/main.php index 55e0b6f..3c744be 100644 --- a/src/windows/main.php +++ b/src/windows/main.php @@ -48,7 +48,7 @@ class Main extends GtkWindow { $dlg = new GtkAboutDialog(); $dlg->set_transient_for($this); - $dlg->set_name($this->get_title()); + $dlg->set_program_name($this->get_title()); $dlg->set_version('0.1.0pre'); $dlg->set_copyright("Copyright (c) ".date('Y')." Timothy J. Warren"); @@ -60,12 +60,12 @@ class Main extends GtkWindow { $dlg->set_authors(array( 'Timothy J. Warren', - 'Nathan Dupuie', + //'Nathan Dupuie', )); - $dlg->set_artists(array( + /*$dlg->set_artists(array( 'Nathan Dupuie', - )); + ));*/ $dlg->run(); @@ -108,9 +108,11 @@ class Main extends GtkWindow { // Add the main interface area hbox $main_vbox->pack_start($hpane); + + // Add the left column to the hpane $hpane->pack1($this->_connection_sidebar(), FALSE); - $hpane->pack2(new GtkVBox()); + $hpane->pack2(new DataGrid()); // Add the Vbox, and show the window $this->add($main_vbox);