[nautilus/wip/antoniof/gtk4-preparation-miscellaneous: 12/15] ui: Hide state overlays by default




commit f3e1d8a46e45aa804cbccad6feef6d2b702d7478
Author: Ernestas Kulik <ernestask gnome org>
Date:   Mon Aug 13 11:39:09 2018 +0300

    ui: Hide state overlays by default
    
    They need to be shown by code anyway. This prepares for GTK+ 4, where
    widgets are shown by default unless explicitly hidden.
    
    Rebased and ammended by António Fernandes <antoniof gnome org>

 src/resources/ui/nautilus-folder-is-empty.ui   | 1 +
 src/resources/ui/nautilus-no-search-results.ui | 1 +
 src/resources/ui/nautilus-starred-is-empty.ui  | 1 +
 src/resources/ui/nautilus-trash-is-empty.ui    | 1 +
 4 files changed, 4 insertions(+)
---
diff --git a/src/resources/ui/nautilus-folder-is-empty.ui b/src/resources/ui/nautilus-folder-is-empty.ui
index a06dc4e3b..708dbf231 100644
--- a/src/resources/ui/nautilus-folder-is-empty.ui
+++ b/src/resources/ui/nautilus-folder-is-empty.ui
@@ -9,6 +9,7 @@
     <property name="hexpand">True</property>
     <property name="vexpand">True</property>
     <property name="row_spacing">36</property>
+    <property name="visible">False</property>
     <child>
       <object class="GtkImage">
         <property name="visible">True</property>
diff --git a/src/resources/ui/nautilus-no-search-results.ui b/src/resources/ui/nautilus-no-search-results.ui
index 92683bece..122d69b55 100644
--- a/src/resources/ui/nautilus-no-search-results.ui
+++ b/src/resources/ui/nautilus-no-search-results.ui
@@ -9,6 +9,7 @@
     <property name="hexpand">True</property>
     <property name="vexpand">True</property>
     <property name="row_spacing">12</property>
+    <property name="visible">False</property>
     <child>
       <object class="GtkImage">
         <property name="visible">True</property>
diff --git a/src/resources/ui/nautilus-starred-is-empty.ui b/src/resources/ui/nautilus-starred-is-empty.ui
index 85359322a..203b515d0 100644
--- a/src/resources/ui/nautilus-starred-is-empty.ui
+++ b/src/resources/ui/nautilus-starred-is-empty.ui
@@ -9,6 +9,7 @@
     <property name="hexpand">True</property>
     <property name="vexpand">True</property>
     <property name="row_spacing">36</property>
+    <property name="visible">False</property>
     <child>
       <object class="GtkImage">
         <property name="visible">True</property>
diff --git a/src/resources/ui/nautilus-trash-is-empty.ui b/src/resources/ui/nautilus-trash-is-empty.ui
index fcc9e1390..d41b93e6a 100644
--- a/src/resources/ui/nautilus-trash-is-empty.ui
+++ b/src/resources/ui/nautilus-trash-is-empty.ui
@@ -9,6 +9,7 @@
     <property name="hexpand">True</property>
     <property name="vexpand">True</property>
     <property name="row_spacing">36</property>
+    <property name="visible">False</property>
     <child>
       <object class="GtkImage">
         <property name="visible">True</property>


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