diff --git a/.gitignore b/.gitignore
index 66c032c..8aa6cff 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,5 @@ todo-d-test-*
*.o
*.obj
*.lst
+*.glade~
+*.gresource
\ No newline at end of file
diff --git a/dub.json b/dub.json
index 7edeced..614ab67 100644
--- a/dub.json
+++ b/dub.json
@@ -6,6 +6,12 @@
"dependencies": {
"gtk-d": "~>3.10.0"
},
+ "stringImportPaths": [
+ "resources"
+ ],
+ "preBuildCommands": [
+ "glib-compile-resources --sourcedir=resources --target=resources/resources.gresource resources/gresource.xml"
+ ],
"description": "A simple to-do list, implemented as a desktop application in D.",
"license": "MIT",
"name": "todo-d"
diff --git a/gresource.xml b/resources/gresource.xml
similarity index 100%
rename from gresource.xml
rename to resources/gresource.xml
diff --git a/todo-ui.glade b/resources/todo-ui.glade
similarity index 74%
rename from todo-ui.glade
rename to resources/todo-ui.glade
index 1fafd2e..2b8cad7 100644
--- a/todo-ui.glade
+++ b/resources/todo-ui.glade
@@ -35,6 +35,8 @@
False
True
True
+
+
@@ -44,24 +46,28 @@
False
True
True
+
-
-
@@ -84,56 +90,6 @@
-
-
-