summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/main.go b/main.go
index 5f68010..ba84bdc 100644
--- a/main.go
+++ b/main.go
@@ -95,7 +95,7 @@ func (g *GUI) mkMenuBar() *gtk.MenuBar {
fileMenuItem.SetSubmenu(fileMenu)
menubar.Append(fileMenuItem)
- editMenu := gtk.NewMenu()
+ /*editMenu := gtk.NewMenu()
undo := gtk.NewMenuItemWithLabel("Undo")
undo.Connect("activate", g.undo)
@@ -103,7 +103,7 @@ func (g *GUI) mkMenuBar() *gtk.MenuBar {
editMenuItem := gtk.NewMenuItemWithLabel("Edit")
editMenuItem.SetSubmenu(editMenu)
- menubar.Append(editMenuItem)
+ menubar.Append(editMenuItem)*/
helpMenu := gtk.NewMenu()
@@ -256,9 +256,9 @@ func (g *GUI) showbiomesToggled() {
g.mapw.SetShowBiomes(g.showbiomes.GetActive())
}
-func (g *GUI) undo() {
+/*func (g *GUI) undo() {
fmt.Println("Undo")
-}
+}*/
func (g *GUI) Show() {
g.window.ShowAll()