From 394bbc39619a4bb50cf90b4881f399956b2b2fbe Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Sat, 17 Aug 2013 22:55:05 +0200 Subject: fixsnowice -> fixSnowIce --- main.go | 14 +++++++------- 1 file 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() { -- cgit v1.2.3-70-g09d2