[gnome-control-center/gnome-3-36] user-accounts: Show permissions toolbar also if no users found
- From: Ondrej Holy <oholy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gnome-3-36] user-accounts: Show permissions toolbar also if no users found
- Date: Tue, 5 May 2020 11:44:07 +0000 (UTC)
commit 854191df4bbb241fcc2c611690fc22b5f56d1ca6
Author: Ondrej Holy <oholy redhat com>
Date: Tue May 5 06:49:10 2020 +0000
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
(cherry picked from commit ac46922b65e99224422a18b21e58b94269fd323a)
panels/user-accounts/cc-user-panel.ui | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/panels/user-accounts/cc-user-panel.ui b/panels/user-accounts/cc-user-panel.ui
index 84f4b5aa8..2352ca31a 100644
--- a/panels/user-accounts/cc-user-panel.ui
+++ b/panels/user-accounts/cc-user-panel.ui
@@ -25,6 +25,15 @@
</object>
<template class="CcUserPanel" parent="CcPanel">
<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>
<object class="GtkStack" id="stack">
<property name="visible">True</property>
@@ -86,11 +95,6 @@
<property name="visible">True</property>
<property name="orientation">vertical</property>
<property name="border_width">0</property>
- <child>
- <object class="CcPermissionInfobar" id="permission_infobar">
- <property name="visible">True</property>
- </object>
- </child>
<child>
<object class="CcCarousel" id="carousel">
@@ -594,6 +598,8 @@
</child>
</object>
</child>
+ </object>
+ </child>
</template>
<object class="GtkSizeGroup">
<property name="mode">both</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]