Add function to CheckBox to get label actor

* Allows caller to change properties of the label directly.

https://bugzilla.gnome.org/show_bug.cgi?id=671034
This commit is contained in:
Stef Walter 2012-02-29 09:50:22 +01:00
parent 81476dedcb
commit 1f5a27d5c5

View File

@ -93,5 +93,9 @@ const CheckBox = new Lang.Class({
setLabel: function(label) { setLabel: function(label) {
this._container.label.set_text(label); this._container.label.set_text(label);
},
getLabelActor: function() {
return this._container.label;
} }
}); });