user: add-user-dialog: Use CcListRow for row with go-next icon
This commit is contained in:
parent
14f2d0e6ef
commit
f0f2865449
2 changed files with 4 additions and 7 deletions
|
@ -28,6 +28,7 @@
|
|||
|
||||
#include "cc-add-user-dialog.h"
|
||||
#include "cc-realm-manager.h"
|
||||
#include "cc-list-row.h"
|
||||
#include "user-utils.h"
|
||||
#include "pw-utils.h"
|
||||
|
||||
|
@ -59,7 +60,7 @@ struct _CcAddUserDialog {
|
|||
GtkDialog parent_instance;
|
||||
|
||||
GtkButton *add_button;
|
||||
AdwActionRow *enterprise_button;
|
||||
CcListRow *enterprise_button;
|
||||
GtkComboBox *enterprise_domain_combo;
|
||||
GtkEntry *enterprise_domain_entry;
|
||||
GtkLabel *enterprise_domain_hint;
|
||||
|
|
|
@ -274,16 +274,12 @@
|
|||
<object class="AdwPreferencesGroup" id="enterprise_group">
|
||||
<property name="visible">False</property>
|
||||
<child>
|
||||
<object class="AdwActionRow" id="enterprise_button">
|
||||
<object class="CcListRow" id="enterprise_button">
|
||||
<property name="title" translatable="yes">Enterprise Login</property>
|
||||
<property name="subtitle" translatable="yes">User accounts which are managed by a company or organization.</property>
|
||||
<property name="activatable">True</property>
|
||||
<property name="show-arrow">True</property>
|
||||
<signal name="activated" handler="enterprise_button_toggled_cb" object="CcAddUserDialog" swapped="yes"/>
|
||||
<child>
|
||||
<object class="GtkImage">
|
||||
<property name="icon-name">go-next-symbolic</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
|
|
Loading…
Add table
Reference in a new issue