[gtk+/wip/baedert/progressbar: 9/21] widget-factory: Add dummy listbox placeholder



commit 760fcac9b77fefb146c5b2909976e6b135c49a50
Author: Timm Bäder <mail baedert org>
Date:   Fri Apr 7 18:57:15 2017 +0200

    widget-factory: Add dummy listbox placeholder
    
    It doesn't do anything and isn't visible anyway, but it tests that
    adding and removing placeholders works

 demos/widget-factory/widget-factory.ui |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/demos/widget-factory/widget-factory.ui b/demos/widget-factory/widget-factory.ui
index dad8e90..ec0a394 100644
--- a/demos/widget-factory/widget-factory.ui
+++ b/demos/widget-factory/widget-factory.ui
@@ -1813,6 +1813,11 @@ microphone-sensitivity-medium-symbolic</property>
                             <child>
                               <object class="GtkListBox" id="listbox">
                                 <property name="selection-mode">none</property>
+                                <child type="placeholder">
+                                  <object class="GtkLabel">
+                                    <property name="label">No rows found</property>
+                                  </object>
+                                </child>
                                 <child>
                                   <object class="GtkListBoxRow" id="listboxrow1">
                                     <property name="activatable">0</property>


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