 		element = @getElement()
 		element.addClass 'b7o7Ic'
 		@append new GMailUI.Separator
-		obj =
+
+		@setContainer element.append $ GMailUI.ErrorSection.template
 			message: message
-		@setContainer element.append $ GMailUI.ErrorSection.template obj
-
 	setMessage: (message) ->
 		@getContainer().html message
 		return

	@hoverClass: 'J-JK-JT'

	constructor: (label, tooltip = '', title = '') ->
		obj =
			label:		label
			tooltip:	tooltip
			title:		title
		element = @setElement GMailUI.Button.template obj
		super GMailUI.Button.hoverClass

class GMailUI.ButtonBarButton extends GMailUI.OnAble

	@selectedClass: 'J-LC-JR-Jp'

	constructor: (label, selected = false, tooltip = '', title = '') ->
		element = @setElement GMailUI.PopupCheckbox.template
			label:		label
			title: 		title
			tooltip: 	tooltip
		super GMailUI.PopupCheckbox.hoverClass, GMailUI.PopupCheckbox.selectedClass
		@setSelected selected