diff --git a/src/calls-history-box.c b/src/calls-history-box.c index c0d8444..1b50577 100644 --- a/src/calls-history-box.c +++ b/src/calls-history-box.c @@ -37,12 +37,12 @@ struct _CallsHistoryBox { - GtkTreeView parent_instance; + GtkStack parent_instance; GtkListStore *history_store; }; -G_DEFINE_TYPE (CallsHistoryBox, calls_history_box, GTK_TYPE_TREE_VIEW); +G_DEFINE_TYPE (CallsHistoryBox, calls_history_box, GTK_TYPE_STACK) static void diff --git a/src/calls-history-box.h b/src/calls-history-box.h index 77196b5..5037046 100644 --- a/src/calls-history-box.h +++ b/src/calls-history-box.h @@ -34,7 +34,7 @@ G_BEGIN_DECLS #define CALLS_TYPE_HISTORY_BOX (calls_history_box_get_type ()) -G_DECLARE_FINAL_TYPE (CallsHistoryBox, calls_history_box, CALLS, HISTORY_BOX, GtkTreeView); +G_DECLARE_FINAL_TYPE (CallsHistoryBox, calls_history_box, CALLS, HISTORY_BOX, GtkStack) G_END_DECLS diff --git a/src/ui/history-box.ui b/src/ui/history-box.ui index 5de67f4..8344553 100644 --- a/src/ui/history-box.ui +++ b/src/ui/history-box.ui @@ -4,12 +4,47 @@ -