[gnome-control-center/wip/oholy/no-users-fixes: 1/3] 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/wip/oholy/no-users-fixes: 1/3] user-accounts: Show permissions toolbar also if no users found
- Date: Tue, 5 May 2020 07:19:18 +0000 (UTC)
commit 8fd1fc393e370777dba17253b5cf4ab974ddbbe4
Author: Ondrej Holy <oholy redhat com>
Date: Tue May 5 08:49:10 2020 +0200
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
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]