From 3e6ee6d293ef87325a8282254d0d47f2470f07e1 Mon Sep 17 00:00:00 2001 From: purism Date: Tue, 2 Oct 2018 17:19:10 +0000 Subject: [PATCH] main-window: Display the dialer on startup rather than empty history When call history is implemented, this should be modified to only display the dialer if the history is empty. --- src/calls-main-window.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/calls-main-window.c b/src/calls-main-window.c index 27ca8ad..d3340b5 100644 --- a/src/calls-main-window.c +++ b/src/calls-main-window.c @@ -518,6 +518,11 @@ constructed (GObject *object) G_ACTION_GROUP (simple_action_group)); g_object_unref (simple_action_group); + // FIXME: if (no history) + { + new_call_action (NULL, NULL, self); + } + parent_class->constructed (object); }