[rygel] ui: Don't forget the "URIs" label



commit 40b4cf0c004c093ee1f6b498e53be2feb54dc8a7
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Mon Sep 28 02:13:20 2009 +0300

    ui: Don't forget the "URIs" label
    
    Don't forget to put "URIs" label of MediaExport to widget list.

 src/ui/rygel-media-export-pref-section.vala |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/ui/rygel-media-export-pref-section.vala b/src/ui/rygel-media-export-pref-section.vala
index 59cb5ae..eac5f96 100644
--- a/src/ui/rygel-media-export-pref-section.vala
+++ b/src/ui/rygel-media-export-pref-section.vala
@@ -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 ();
     }



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