summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/main.go b/main.go
index d6ea47e..0b24be6 100644
--- a/main.go
+++ b/main.go
@@ -14,7 +14,7 @@ type GUI struct {
statusbar *gtk.Statusbar
showbiomes *gtk.CheckButton
- fixsnowice *gtk.CheckButton
+ fixSnowIce *gtk.CheckButton
statusContext uint
lastStatus string
@@ -157,10 +157,10 @@ func (g *GUI) mkSidebar() *gtk.ScrolledWindow {
g.showbiomes.Connect("toggled", g.showbiomesToggled)
vbox.PackStart(g.showbiomes, false, false, 3)
- g.fixsnowice = gtk.NewCheckButtonWithLabel("Fix Snow/Ice")
- g.fixsnowice.SetTooltipText("Add Snow/Ice for Taiga/Ice Plains. Remove Snow/Ice for other biomes.")
- g.fixsnowice.Connect("toggled", g.fixsnowiceToggled)
- vbox.PackStart(g.fixsnowice, false, false, 3)
+ g.fixSnowIce = gtk.NewCheckButtonWithLabel("Fix Snow/Ice")
+ g.fixSnowIce.SetTooltipText("Add Snow/Ice for Taiga/Ice Plains. Remove Snow/Ice for other biomes.")
+ g.fixSnowIce.Connect("toggled", g.fixSnowIceToggled)
+ vbox.PackStart(g.fixSnowIce, false, false, 3)
fill := gtk.NewRadioButtonWithLabel(nil, "Fill")
fill.SetActive(true)
@@ -281,8 +281,8 @@ func (g *GUI) showbiomesToggled() {
g.mapw.SetShowBiomes(g.showbiomes.GetActive())
}
-func (g *GUI) fixsnowiceToggled() {
- g.mapw.SetFixSnowIce(g.fixsnowice.GetActive())
+func (g *GUI) fixSnowIceToggled() {
+ g.mapw.SetFixSnowIce(g.fixSnowIce.GetActive())
}
/*func (g *GUI) undo() {