ui: Don't forget the "URIs" label
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Sun, 27 Sep 2009 23:13:20 +0000 (02:13 +0300)
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Sun, 27 Sep 2009 23:13:20 +0000 (02:13 +0300)
Don't forget to put "URIs" label of MediaExport to widget list.

src/ui/rygel-media-export-pref-section.vala

index 59cb5ae..eac5f96 100644 (file)
@@ -26,6 +26,7 @@ using Gee;
 public class Rygel.MediaExportPrefSection : Rygel.PluginPrefSection {
     const string NAME = "MediaExport";
     const string URIS_KEY = "uris";
+    const string URIS_LABEL = URIS_KEY + "-label";
     const string URIS_TEXTVIEW = URIS_KEY + "-treeview";
     const string URIS_LISTSTORE = URIS_KEY + "-liststore";
     const string URIS_DIALOG = URIS_KEY + "-dialog";
@@ -81,6 +82,10 @@ public class Rygel.MediaExportPrefSection : Rygel.PluginPrefSection {
         button.clicked += this.on_clear_button_clicked;
         this.widgets.add (button);
 
+        var label = (Label) builder.get_object (URIS_LABEL);
+        assert (label != null);
+        this.widgets.add (label);
+
         // Initialize the sensitivity of all widgets
         this.reset_widgets_sensitivity ();
     }