user-accounts: Show permissions toolbar also if no users found
The permissions toolbar is not shown currently if no users are found which prevents creation of new user accounts. Let's show the toolbar also in this case. https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/988
This commit is contained in:
parent
62bc79353d
commit
ac46922b65
1 changed files with 11 additions and 5 deletions
|
@ -25,6 +25,15 @@
|
||||||
</object>
|
</object>
|
||||||
<template class="CcUserPanel" parent="CcPanel">
|
<template class="CcUserPanel" parent="CcPanel">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkBox">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="orientation">vertical</property>
|
||||||
|
<child>
|
||||||
|
<object class="CcPermissionInfobar" id="permission_infobar">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkStack" id="stack">
|
<object class="GtkStack" id="stack">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
@ -86,11 +95,6 @@
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="orientation">vertical</property>
|
<property name="orientation">vertical</property>
|
||||||
<property name="border_width">0</property>
|
<property name="border_width">0</property>
|
||||||
<child>
|
|
||||||
<object class="CcPermissionInfobar" id="permission_infobar">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<object class="CcCarousel" id="carousel">
|
<object class="CcCarousel" id="carousel">
|
||||||
|
@ -594,6 +598,8 @@
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
</template>
|
</template>
|
||||||
<object class="GtkSizeGroup">
|
<object class="GtkSizeGroup">
|
||||||
<property name="mode">both</property>
|
<property name="mode">both</property>
|
||||||
|
|
Loading…
Add table
Reference in a new issue