[rygel/config] Don't put label as part of CheckButton.
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Subject: [rygel/config] Don't put label as part of CheckButton.
- Date: Tue, 21 Apr 2009 12:49:38 -0400 (EDT)
commit 013b7b3d64053c2afbd72233e9fbeb57a7c7bd74
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Mon Apr 20 17:31:28 2009 +0300
Don't put label as part of CheckButton.
---
src/ui/rygel-preferences.vala | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/ui/rygel-preferences.vala b/src/ui/rygel-preferences.vala
index 1a68cf1..ac18ff2 100644
--- a/src/ui/rygel-preferences.vala
+++ b/src/ui/rygel-preferences.vala
@@ -96,10 +96,13 @@ public class Rygel.Preferences : Dialog {
string tooltip) {
var hbox = new HBox (true, 6);
- var check = new CheckButton.with_label (name);
+ var label = new Label (name);
+
+ var check = new CheckButton ();
check.active = current_value;
+ hbox.add (label);
hbox.add (check);
this.add_pref_widget (hbox, tooltip);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]