user-accounts: Fix hint for wrong enterprise user/password
A variable of label widget, used for a hint when wrong enterprise user/password is used, is not properly initialized and thus criticals are shown instead of the hint when user/password is wrong. Let's bind the variable properly.
This commit is contained in:
parent
949f8cb227
commit
f4b1fb66a4
2 changed files with 3 additions and 2 deletions
|
@ -538,7 +538,7 @@
|
|||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel" id="enterprise-hint">
|
||||
<object class="GtkLabel" id="enterprise_hint">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="yalign">0</property>
|
||||
|
@ -810,7 +810,7 @@
|
|||
<widget name="enterprise_domain_hint"/>
|
||||
<widget name="enterprise_login"/>
|
||||
<widget name="enterprise_password"/>
|
||||
<widget name="enterprise-hint"/>
|
||||
<widget name="enterprise_hint"/>
|
||||
</widgets>
|
||||
</object>
|
||||
<object class="GtkSizeGroup">
|
||||
|
|
|
@ -1580,6 +1580,7 @@ um_account_dialog_class_init (UmAccountDialogClass *klass)
|
|||
gtk_widget_class_bind_template_child (widget_class, UmAccountDialog, enterprise_login);
|
||||
gtk_widget_class_bind_template_child (widget_class, UmAccountDialog, enterprise_password);
|
||||
gtk_widget_class_bind_template_child (widget_class, UmAccountDialog, enterprise_domain_hint);
|
||||
gtk_widget_class_bind_template_child (widget_class, UmAccountDialog, enterprise_hint);
|
||||
}
|
||||
|
||||
UmAccountDialog *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue