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:
parent
1f52822457
commit
875df8d758
1 changed files with 12 additions and 5 deletions
|
@ -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 @@ doesn’t seem to be available.</property>
|
|||
</packing>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
|
||||
</child>
|
||||
</object>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue