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:
parent
81476dedcb
commit
1f5a27d5c5
@ -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;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user