From 6c62ca4eba59eeb01dcd9d83894406e0cb30c4fd Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sat, 25 Jan 2020 19:45:16 +0100 Subject: Use embedded default stylesheet for new presentations --- src/colloquium.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/colloquium.c b/src/colloquium.c index 745ccef..5a7d4a2 100644 --- a/src/colloquium.c +++ b/src/colloquium.c @@ -62,8 +62,11 @@ static void colloquium_activate(GApplication *papp) Colloquium *app = COLLOQUIUM(papp); if ( !app->first_run ) { Narrative *n = narrative_new(); + GFile *file = g_file_new_for_uri("resource:///uk/me/bitwiz/Colloquium/default.ss"); + stylesheet_set_from_file(narrative_get_stylesheet(n), file); narrative_add_empty_item(n); narrative_window_new(n, NULL, papp); + g_object_unref(file); } } -- cgit v1.2.3