printers: Show the CcPermissionInfobar for all views

We were only presenting the permission infobar when there were
already printers added (printer-list view).

We also want users to see the infobar when they don't have any
printers (empty-page).
This commit is contained in:
Felipe Borges 2020-02-24 11:00:11 +01:00 committed by Marek Kašík
parent 1f52822457
commit 875df8d758

View file

@ -75,6 +75,16 @@
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="orientation">GTK_ORIENTATION_VERTICAL</property>
<child>
<object class="CcPermissionInfobar" id="permission-infobar">
<property name="visible">True</property>
</object>
</child>
<child>
<object class="GtkStack" id="main-vbox">
<child>
<object class="GtkBox">
@ -95,11 +105,6 @@
<object class="GtkBox">
<property name="visible">True</property>
<property name="orientation">GTK_ORIENTATION_VERTICAL</property>
<child>
<object class="CcPermissionInfobar" id="permission-infobar">
<property name="visible">True</property>
</object>
</child>
<child>
<object class="GtkSearchBar" id="search-bar">
<property name="visible">True</property>
@ -255,6 +260,8 @@ doesnt seem to be available.</property>
</packing>
</child>
</object>
</child>
</object>
</child>
</object>