[rygel] ui: Initialize sensitivity of trancoding checkboxes



commit e93a94d12e3f7eba799a5b2effcd10c949b21636
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Thu Sep 24 20:28:28 2009 +0300

    ui: Initialize sensitivity of trancoding checkboxes
    
    Initialize sensitivity of trancoding checkboxes to the same value
    as that of "Transcoding Support" checkbox.

 src/ui/rygel-general-pref-section.vala |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/ui/rygel-general-pref-section.vala b/src/ui/rygel-general-pref-section.vala
index bccb21a..03343ab 100644
--- a/src/ui/rygel-general-pref-section.vala
+++ b/src/ui/rygel-general-pref-section.vala
@@ -99,6 +99,9 @@ public class Rygel.GeneralPrefSection : PreferencesSection {
                                         this.on_context_available);
         this.context_manager.context_unavailable.connect (
                                         this.on_context_unavailable);
+
+        // Set the sensitivity of dependent widgets
+        on_trans_check_toggled (this.trans_check);
     }
 
     public override void save () {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]