[nautilus/wip/apoos-maximus/gsoc2020] Bug-fix: permissions tab appears in recent:///



commit f3782f634c6b8878ba4f51681a35606c90be3f9d
Author: Apoorv Sachan <apoorv 99 sachan gmail com>
Date:   Sat Jul 11 20:50:06 2020 +0530

    Bug-fix: permissions tab appears in recent:///

 src/nautilus-properties-window.c               | 1 +
 src/resources/ui/nautilus-properties-window.ui | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/nautilus-properties-window.c b/src/nautilus-properties-window.c
index 1eb55b22f..84ed01422 100644
--- a/src/nautilus-properties-window.c
+++ b/src/nautilus-properties-window.c
@@ -4673,6 +4673,7 @@ create_properties_window (StartupData *startup_data)
 
     if (should_show_permissions (window))
     {
+        gtk_widget_show (window->permissions_box);
         create_permissions_page (window);
     }
 
diff --git a/src/resources/ui/nautilus-properties-window.ui b/src/resources/ui/nautilus-properties-window.ui
index 67a6fbad7..f2caa3259 100644
--- a/src/resources/ui/nautilus-properties-window.ui
+++ b/src/resources/ui/nautilus-properties-window.ui
@@ -673,7 +673,6 @@
             </child>
             <child>
               <object class="GtkBox" id="permissions_box">
-                <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="border_width">12</property>
                 <property name="orientation">vertical</property>


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