Commit 875df8d7 authored by Felipe Borges's avatar Felipe Borges Committed by Marek Kašík
Browse files

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).
parent 1f528224
...@@ -75,6 +75,16 @@ ...@@ -75,6 +75,16 @@
</child> </child>
<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"> <object class="GtkStack" id="main-vbox">
<child> <child>
<object class="GtkBox"> <object class="GtkBox">
...@@ -95,11 +105,6 @@ ...@@ -95,11 +105,6 @@
<object class="GtkBox"> <object class="GtkBox">
<property name="visible">True</property> <property name="visible">True</property>
<property name="orientation">GTK_ORIENTATION_VERTICAL</property> <property name="orientation">GTK_ORIENTATION_VERTICAL</property>
<child>
<object class="CcPermissionInfobar" id="permission-infobar">
<property name="visible">True</property>
</object>
</child>
<child> <child>
<object class="GtkSearchBar" id="search-bar"> <object class="GtkSearchBar" id="search-bar">
<property name="visible">True</property> <property name="visible">True</property>
...@@ -255,6 +260,8 @@ doesn’t seem to be available.</property> ...@@ -255,6 +260,8 @@ doesn’t seem to be available.</property>
</packing> </packing>
</child> </child>
</object> </object>
</child>
</object>
</child> </child>
</object> </object>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment