diff options
author | Felipe Borges <felipeborges@gnome.org> | 2023-05-10 12:30:36 +0200 |
---|---|---|
committer | Felipe Borges <felipeborges@gnome.org> | 2023-05-16 13:32:21 +0000 |
commit | 45931c783f3b561859a26052240c679ebd3e63f0 (patch) | |
tree | 8ed33ab9ce9788920fd5e1a877b2339436d9fadd | |
parent | d586df5c87597c3894419e73e724bcd782e9fc03 (diff) | |
download | gnome-control-center-45931c783f3b561859a26052240c679ebd3e63f0.tar.gz |
user-accounts: Make Administrator row use info button widget
Instead of recreating the menu button and popover.
-rw-r--r-- | panels/user-accounts/cc-user-panel.ui | 28 |
1 files changed, 2 insertions, 26 deletions
diff --git a/panels/user-accounts/cc-user-panel.ui b/panels/user-accounts/cc-user-panel.ui index 4304ad3f8..03eac75b1 100644 --- a/panels/user-accounts/cc-user-panel.ui +++ b/panels/user-accounts/cc-user-panel.ui @@ -237,33 +237,9 @@ <property name="use_underline">True</property> <property name="activatable-widget">account_type_switch</property> <child type="suffix"> - <object class="GtkMenuButton"> - <property name="tooltip-text" translatable="yes">Information</property> + <object class="CcListRowInfoButton"> <property name="valign">center</property> - <property name="icon-name">help-about-symbolic</property> - <style> - <class name="flat"/> - </style> - <accessibility> - <property name="label" translatable="yes">Information</property> - </accessibility> - <property name="popover"> - <object class="GtkPopover"> - <child> - <object class="GtkLabel"> - <property name="margin-top">6</property> - <property name="margin-bottom">6</property> - <property name="margin-start">6</property> - <property name="margin-end">6</property> - <property name="halign">center</property> - <property name="valign">center</property> - <property name="wrap">True</property> - <property name="max-width-chars">50</property> - <property name="label" translatable="yes">Administrators have extra abilities, including adding and removing users, changing login settings, and removing software. Parental controls cannot be applied to administrators.</property> - </object> - </child> - </object> - </property> + <property name="text" translatable="yes">Administrators have extra abilities, including adding and removing users, changing login settings, and removing software. Parental controls cannot be applied to administrators.</property> </object> </child> <child> |