From 7330fe11fd018fb3a60ca2a69a7370600365ba6a Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Fri, 27 Aug 2021 16:41:27 +0200 Subject: [PATCH] account-widget: Fix apply button not becoming sensitive when only the transport protocol has been changed. --- plugins/sip/calls-sip-account-widget.c | 4 ++-- plugins/sip/sip-account-widget.ui | 11 ++++++----- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/plugins/sip/calls-sip-account-widget.c b/plugins/sip/calls-sip-account-widget.c index dbd3115..f0de40a 100644 --- a/plugins/sip/calls-sip-account-widget.c +++ b/plugins/sip/calls-sip-account-widget.c @@ -104,7 +104,7 @@ is_form_filled (CallsSipAccountWidget *self) static void -on_text_changed (CallsSipAccountWidget *self) +on_user_changed (CallsSipAccountWidget *self) { g_assert (CALLS_IS_SIP_ACCOUNT_WIDGET (self)); @@ -505,7 +505,7 @@ calls_sip_account_widget_class_init (CallsSipAccountWidgetClass *klass) gtk_widget_class_bind_template_callback (widget_class, on_login_clicked); gtk_widget_class_bind_template_callback (widget_class, on_delete_clicked); gtk_widget_class_bind_template_callback (widget_class, on_apply_clicked); - gtk_widget_class_bind_template_callback (widget_class, on_text_changed); + gtk_widget_class_bind_template_callback (widget_class, on_user_changed); gtk_widget_class_bind_template_callback (widget_class, on_port_entry_insert_text); gtk_widget_class_bind_template_callback (widget_class, on_port_entry_after_insert_text); } diff --git a/plugins/sip/sip-account-widget.ui b/plugins/sip/sip-account-widget.ui index 2363382..751033d 100644 --- a/plugins/sip/sip-account-widget.ui +++ b/plugins/sip/sip-account-widget.ui @@ -93,7 +93,7 @@ True center - + @@ -112,7 +112,7 @@ True center - + @@ -130,7 +130,7 @@ True center - + @@ -145,7 +145,7 @@ center password False - + @@ -164,7 +164,7 @@ True center digits - + @@ -175,6 +175,7 @@ True Transport +