[dconf-editor] Add a placeholder.



commit af4b454ebc403a537dca517bd9dff77a5137494c
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Sun Oct 4 09:38:48 2015 +0200

    Add a placeholder.

 editor/dconf-editor.ui |   33 +++++++++++++++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)
---
diff --git a/editor/dconf-editor.ui b/editor/dconf-editor.ui
index 79c1832..6b92d3a 100644
--- a/editor/dconf-editor.ui
+++ b/editor/dconf-editor.ui
@@ -129,6 +129,39 @@
                     <property name="activate-on-single-click">True</property>
                     <property name="selection-mode">browse</property><!-- permits to not have an item 
selected -->
                     <signal name="row-activated" handler="row_activated_cb"/>
+                    <child type="placeholder">      <!-- see nautilus/src/nautilus-folder-is-empty.ui -->
+                      <object class="GtkGrid">
+                        <property name="visible">True</property>
+                        <property name="row-spacing">12</property>
+                        <property name="expand">True</property>
+                        <property name="halign">center</property>
+                        <property name="valign">center</property>
+                        <property name="orientation">vertical</property>
+                        <style>
+                          <class name="dim-label"/>
+                        </style>
+                        <child>
+                          <object class="GtkImage">
+                            <property name="visible">True</property>
+                            <property name="icon-name">dconf-editor-symbolic</property>
+                            <property name="pixel-size">72</property>
+                            <style>
+                              <class name="dim-label"/>
+                            </style>
+                          </object>
+                        </child>
+                        <child>
+                          <object class="GtkLabel">
+                            <property name="visible">True</property>
+                            <property name="label" translatable="yes">No keys in this path</property>
+                            <attributes>
+                              <attribute name="weight" value="bold"/>
+                              <attribute name="scale" value="1.44"/>
+                            </attributes>
+                          </object>
+                        </child>
+                      </object>
+                    </child>
                   </object>
                 </child>
               </object>


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