1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-11-05 08:01:19 +00:00

new-call-box: Clear entry after dialing

Closes #332

(cherry picked from commit 528fb11dcd)
This commit is contained in:
Evangelos Ribeiro Tzaras 2021-09-14 10:16:01 +02:00
parent eed45bd168
commit bfb7e2696a

View file

@ -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, "");
}