aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRubén Beltrán del Río <jj@r.bdr.sh>2026-01-18 18:22:31 +0100
committerRubén Beltrán del Río <jj@r.bdr.sh>2026-01-18 19:07:03 +0100
commit3be89b9809561b80b35347e0030fd3a800076b50 (patch)
tree581df74966097986ade6807d1e2769fe2359f12f
parent1125b770c557886fe4a910abe1ca7deebd44d5f6 (diff)
Add prune
-rw-r--r--Makefile3
-rw-r--r--src/main.rs6
2 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 57a54a4..8e104e3 100644
--- a/Makefile
+++ b/Makefile
@@ -92,6 +92,9 @@ po/%/LC_MESSAGES/systems.tranquil.Map.mo: po/%.po
# Container Images #############################################################
build-container-%:
+ifeq ($(clean_images),1)
+ podman system prune -af
+endif
@echo "=== Building container image: $(container_image_prefix):$* ==="
podman build -t $(container_image_prefix):$* build-containers/$*
diff --git a/src/main.rs b/src/main.rs
index 4feef3b..64167f4 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -549,7 +549,11 @@ impl SimpleComponent for AppModel {
#[local_ref]
source_view -> sourceview5::View {
set_expand: true,
- set_buffer: Some(&model.source)
+ set_buffer: Some(&model.source),
+ set_top_margin: 8,
+ set_bottom_margin: 8,
+ set_left_margin: 8,
+ set_right_margin: 8
}
},