main-window: Use a new call box

Replace the custom inplementation of a call box by a CallsNewCallBox
which is used to dial new calls and not to send DTMF tones as the call
display can now handle that.
This commit is contained in:
Adrien Plazas
2018-08-01 11:41:25 +02:00
parent 22d79bfbbf
commit b05c6e34e2
3 changed files with 23 additions and 158 deletions

View File

@@ -31,6 +31,7 @@
#include "calls-history-box.h"
#include "calls-main-window.h"
#include "calls-mm-provider.h"
#include "calls-new-call-box.h"
static void
show_window (GtkApplication *app)
@@ -42,6 +43,7 @@ show_window (GtkApplication *app)
CALLS_TYPE_ENCRYPTION_INDICATOR;
CALLS_TYPE_HISTORY_BOX;
CALLS_TYPE_NEW_CALL_BOX;
HDY_TYPE_DIALER;
connection = g_bus_get_sync (G_BUS_TYPE_SYSTEM, NULL, &error);