[calls/gnome-41] new-call-box: Clear entry after dialing



commit bfb7e2696a200ee50561a244339c52a960670d4b
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date:   Tue Sep 14 10:16:01 2021 +0200

    new-call-box: Clear entry after dialing
    
    Closes #332
    
    (cherry picked from commit 528fb11dcdb505b57c120317ee6297a24e80bd91)

 src/calls-new-call-box.c | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/src/calls-new-call-box.c b/src/calls-new-call-box.c
index 3d2788f1..6709641b 100644
--- a/src/calls-new-call-box.c
+++ b/src/calls-new-call-box.c
@@ -207,6 +207,8 @@ dial_clicked_cb (CallsNewCallBox *self)
     calls_main_window_dial (CALLS_MAIN_WINDOW (window), text);
   else
     calls_new_call_box_dial (self, text);
+
+  gtk_entry_set_text (entry, "");
 }
 
 static void
@@ -219,6 +221,8 @@ dial_result_clicked_cb (CallsNewCallBox *self)
     calls_origin_dial (origin, address);
   else
     g_warning ("No suitable origin found. How was this even clicked?");
+
+  gtk_entry_set_text (self->address_entry, "");
 }
 
 


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