The following commit has been merged in the gui branch:
commit 1edb7544c79b567da7bbdacc2f2363529551e3a8
Author: Jon Dowland <[email protected]>
Date:   Wed Sep 23 15:04:17 2009 +0100

    activate quit button

diff --git a/gdp.glade b/gdp.glade
index 1f1d1cd..b8d9168 100644
--- a/gdp.glade
+++ b/gdp.glade
@@ -45,7 +45,7 @@
           <object class="GtkHBox" id="hbox1">
             <property name="visible">True</property>
             <child>
-              <object class="GtkButton" id="button1">
+              <object class="GtkButton" id="quitbutton">
                 <property name="label">gtk-quit</property>
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
diff --git a/gdp.py b/gdp.py
index 943d018..c4e660a 100644
--- a/gdp.py
+++ b/gdp.py
@@ -28,6 +28,9 @@ class View:
                self.builder.add_from_file("gdp.glade")
                self.window = self.builder.get_object("window1")
                self.window.connect("destroy", gtk.main_quit)
+               self.builder.get_object("quitbutton").connect("clicked", 
gtk.main_quit)
+
+               treeview = self.builder.get_object("treeview1")
 
                treeview = self.builder.get_object("treeview1")
                cell = gtk.CellRendererText()

-- 
Installer for game data files

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to