summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/window.c3
-rw-r--r--src/gui/window.ui13
2 files changed, 16 insertions, 0 deletions
diff --git a/src/gui/window.c b/src/gui/window.c
index 1f10a15..193f1bf 100644
--- a/src/gui/window.c
+++ b/src/gui/window.c
@@ -30,6 +30,7 @@
#include "dialogs/about.h"
#include "panels/welcome.h"
#include "../gtkext/helpers.h"
+#include "../gtkext/statusstack.h"
@@ -78,6 +79,8 @@ static void gtk_framework_window_class_init(GtkFrameworkWindowClass *class)
widget = GTK_WIDGET_CLASS(class);
+ g_type_ensure(GTK_TYPE_STATUS_STACK);
+
gtk_widget_class_set_template_from_resource(widget, "/re/chrysalide/framework/gui/window.ui");
gtk_widget_class_bind_template_child(widget, GtkFrameworkWindow, grid);
diff --git a/src/gui/window.ui b/src/gui/window.ui
index 7055695..59b8b2c 100644
--- a/src/gui/window.ui
+++ b/src/gui/window.ui
@@ -34,11 +34,24 @@
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
+
<child>
<object class="GtkStack" id="grid">
<property name="vexpand">TRUE</property>
</object>
</child>
+
+ <child>
+ <object class="GtkSeparator">
+ <property name="orientation">horizontal</property>
+ </object>
+ </child>
+
+ <child>
+ <object class="GtkStatusStack" id="status">
+ </object>
+ </child>
+
</object>
</child>