From f6f114f25bae2779da8616783f7680d1fb8c3f24 Mon Sep 17 00:00:00 2001 From: "Zeeshan Ali (Khattak)" Date: Mon, 28 Sep 2009 00:50:22 +0300 Subject: [PATCH] ui: Set sensitivity of buttons too Sensitivity of buttons should be attached to status of MediaExport checkbox. --- src/ui/rygel-media-export-pref-section.vala | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ui/rygel-media-export-pref-section.vala b/src/ui/rygel-media-export-pref-section.vala index 2393f1d..2dc7421 100644 --- a/src/ui/rygel-media-export-pref-section.vala +++ b/src/ui/rygel-media-export-pref-section.vala @@ -108,6 +108,9 @@ public class Rygel.MediaExportPrefSection : Rygel.PluginPrefSection { base.on_enabled_check_toggled (enabled_check); this.treeview.sensitive = enabled_check.active; + foreach (var button in this.buttons) { + button.sensitive = enabled_check.active; + } } private void on_add_button_clicked (Button button) { -- 2.7.4