about = aTree.get_widget("about")
about.set_property("name", "Ghextris")
about.set_property("version", VERSION)
about = aTree.get_widget("about")
about.set_property("name", "Ghextris")
about.set_property("version", VERSION)
def main(self):
gnome.init("Ghextris", VERSION)
gettext.install("ghextris")
def main(self):
gnome.init("Ghextris", VERSION)
gettext.install("ghextris")
- self.glade = os.path.join(SHAREDIR, "ghextris.glade")
-
- wTree = Gtk.glade.XML(self.glade, "GhextrisApp")
+ self.builder = Gtk.Builder()
+ self.builder.add_from_file(os.path.join(SHAREDIR, "ghextris.builder"))
+ wTree =self.builder.get_object("GhextrisApp")
dic = {"on_new_activate": self.on_new_activate,
"on_pause_game_activate": self.on_pause_game_activate,
"on_quit_activate": self.on_quit_activate,
dic = {"on_new_activate": self.on_new_activate,
"on_pause_game_activate": self.on_pause_game_activate,
"on_quit_activate": self.on_quit_activate,