seperate the resources based on different windows

This commit is contained in:
2019-01-05 19:28:10 -03:00
parent fc27f93006
commit df8cc3cfaa
6 changed files with 33 additions and 7 deletions

View File

@@ -97,7 +97,7 @@ namespace Sernatur {
// Load logo
var builder = new Gtk.Builder ();
try {
builder.add_from_resource ("/cl/cromer/ubb/sernatur/splash.ui");
builder.add_from_resource ("/cl/cromer/ubb/sernatur/main.splash.ui");
builder.connect_signals (null);
content = builder.get_object ("content_grid") as Gtk.Grid;

View File

@@ -19,11 +19,13 @@ vala_sources = files(
'tour-window.vala')
sources = vala_sources
sources += gresource
sources += main_gresource
sources += tour_gresource
sources += config_data_file
vala_args = ['--vapidir=' + join_paths(meson.source_root(), 'vapi')]
vala_args += ['--gresources=' + join_paths(meson.source_root(), 'data/ui/sernatur.gresource.xml')]
vala_args += ['--gresources=' + join_paths(meson.source_root(), 'data/ui/main.gresource.xml')]
vala_args += ['--gresources=' + join_paths(meson.source_root(), 'data/ui/tour.gresource.xml')]
inc = include_directories('../lib', './')