From 1f5a27d5c54ff3d955da8c338f3141321bfbc6b5 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 29 Feb 2012 09:50:22 +0100 Subject: [PATCH] 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 --- js/ui/checkBox.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/ui/checkBox.js b/js/ui/checkBox.js index e66fc7952..097fe96f6 100644 --- a/js/ui/checkBox.js +++ b/js/ui/checkBox.js @@ -93,5 +93,9 @@ const CheckBox = new Lang.Class({ setLabel: function(label) { this._container.label.set_text(label); + }, + + getLabelActor: function() { + return this._container.label; } });