diff --git a/GUI/gui.py b/GUI/gui.py
new file mode 100644
index 0000000..2ce2182
--- /dev/null
+++ b/GUI/gui.py
@@ -0,0 +1,38 @@
+#!/usr/bin/python2.4
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#
+# Small test to demonstrate glade.XML.signal_autoconnect on an instance
+#
+
+import pygtk
+pygtk.require('2.0')
+
+import gtk, gtk.glade
+
+import segypy
+
+class SimpleTest:
+ def __init__(self):
+ # xml = gtk.glade.XML('test2.glade')
+ xml = gtk.glade.XML('test/test.glade')
+ xml.signal_autoconnect(self)
+
+ def on_new1_activate(self, button):
+ print 'foo'
+ self.segy = segypy.readSegy('../data_4byteINT.segy')
+ print 'foo2'
+
+test = SimpleTest()
+gtk.main()
diff --git a/GUI/test/test.glade b/GUI/test/test.glade
new file mode 100644
index 0000000..111096a
--- /dev/null
+++ b/GUI/test/test.glade
@@ -0,0 +1,230 @@
+
+
+
+
+
+
+ 800
+ 600
+ True
+ SegyPY GUI
+ GTK_WINDOW_TOPLEVEL
+ GTK_WIN_POS_NONE
+ False
+ True
+ False
+ True
+ False
+ False
+ GDK_WINDOW_TYPE_HINT_NORMAL
+ GDK_GRAVITY_NORTH_WEST
+ True
+ False
+
+
+
+ True
+ 3
+ 1
+ False
+ 0
+ 0
+
+
+
+
+ 0
+ 1
+ 0
+ 1
+ fill
+
+
+
+
+
+
+ True
+ GTK_ORIENTATION_HORIZONTAL
+ GTK_TOOLBAR_BOTH
+ True
+ True
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0
+ 1
+ 1
+ 2
+ fill
+
+
+
+
+
+
+
+
diff --git a/GUI/test/test.glade.bak b/GUI/test/test.glade.bak
new file mode 100644
index 0000000..111096a
--- /dev/null
+++ b/GUI/test/test.glade.bak
@@ -0,0 +1,230 @@
+
+
+
+
+
+
+ 800
+ 600
+ True
+ SegyPY GUI
+ GTK_WINDOW_TOPLEVEL
+ GTK_WIN_POS_NONE
+ False
+ True
+ False
+ True
+ False
+ False
+ GDK_WINDOW_TYPE_HINT_NORMAL
+ GDK_GRAVITY_NORTH_WEST
+ True
+ False
+
+
+
+ True
+ 3
+ 1
+ False
+ 0
+ 0
+
+
+
+
+ 0
+ 1
+ 0
+ 1
+ fill
+
+
+
+
+
+
+ True
+ GTK_ORIENTATION_HORIZONTAL
+ GTK_TOOLBAR_BOTH
+ True
+ True
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0
+ 1
+ 1
+ 2
+ fill
+
+
+
+
+
+
+
+
diff --git a/GUI/test/test.gladep b/GUI/test/test.gladep
new file mode 100644
index 0000000..0d232b1
--- /dev/null
+++ b/GUI/test/test.gladep
@@ -0,0 +1,8 @@
+
+
+
+
+ Test
+ test
+ FALSE
+
diff --git a/GUI/test/test.gladep.bak b/GUI/test/test.gladep.bak
new file mode 100644
index 0000000..0d232b1
--- /dev/null
+++ b/GUI/test/test.gladep.bak
@@ -0,0 +1,8 @@
+
+
+
+
+ Test
+ test
+ FALSE
+