mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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
1 changed files with 4 additions and 0 deletions
|
|
@ -93,5 +93,9 @@ const CheckBox = new Lang.Class({
|
|||
|
||||
setLabel: function(label) {
|
||||
this._container.label.set_text(label);
|
||||
},
|
||||
|
||||
getLabelActor: function() {
|
||||
return this._container.label;
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue