summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2013-08-17 22:55:05 +0200
committerKevin Chabowski <kevin@kch42.de>2013-08-17 22:55:05 +0200
commit394bbc39619a4bb50cf90b4881f399956b2b2fbe (patch)
treeb1c5e1b7da8cef407a48c78a853318a4a5eabf6f
parent428a21265c4600aa4d492b6e0252a5723180a91e (diff)
downloadbiomed-394bbc39619a4bb50cf90b4881f399956b2b2fbe.tar.gz
biomed-394bbc39619a4bb50cf90b4881f399956b2b2fbe.tar.bz2
biomed-394bbc39619a4bb50cf90b4881f399956b2b2fbe.zip
fixsnowice -> fixSnowIce
-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() {