[calls] sip: account-widget: Emit "widget-edit-done" when done editting



commit 0e5366ddbb540456bae69616b2d7183e3f101cac
Author: Evangelos Ribeiro Tzaras <evangelos tzaras puri sm>
Date:   Tue Jul 13 01:17:38 2021 +0200

    sip: account-widget: Emit "widget-edit-done" when done editting
    
    This let's top level containers know to take appropriate action (i.e. hide).

 plugins/sip/calls-sip-account-widget.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/plugins/sip/calls-sip-account-widget.c b/plugins/sip/calls-sip-account-widget.c
index c7d4fb40..8bca7b96 100644
--- a/plugins/sip/calls-sip-account-widget.c
+++ b/plugins/sip/calls-sip-account-widget.c
@@ -263,6 +263,7 @@ on_login_clicked (CallsSipAccountWidget *self)
 
   self->origin = origin;
   update_header (self);
+  g_signal_emit_by_name (self->provider, "widget-edit-done");
 }
 
 
@@ -275,6 +276,7 @@ on_delete_clicked (CallsSipAccountWidget *self)
   self->origin = NULL;
 
   update_header (self);
+  g_signal_emit_by_name (self->provider, "widget-edit-done");
 }
 
 
@@ -293,6 +295,7 @@ on_apply_clicked (CallsSipAccountWidget *self)
                                     TRUE);
 
   update_header (self);
+  g_signal_emit_by_name (self->provider, "widget-edit-done");
 }
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]