From c6f3a904d5ce508997b36c140f1676ff8995e5a7 Mon Sep 17 00:00:00 2001 From: TheShadowOfHassen <94244235+TheShadowOfHassen@users.noreply.github.com> Date: Tue, 10 Jan 2023 07:39:27 -0500 Subject: [PATCH] Added all the files deleted extra saved things Deleted backups Delete character_details_template_editor.glade~ --- test_io.py | 24 +++ ui/about.glade | 8 +- ui/character_details_template_editor.glade | 202 +++++++++++++++++++++ ui/characters.glade | 15 +- ui/general.glade | 17 +- ui/main.glade | 8 + ui/quote_of_the_day.glade | 71 ++++++++ 7 files changed, 340 insertions(+), 5 deletions(-) create mode 100644 test_io.py create mode 100644 ui/character_details_template_editor.glade create mode 100644 ui/quote_of_the_day.glade diff --git a/test_io.py b/test_io.py new file mode 100644 index 00000000..a4971543 --- /dev/null +++ b/test_io.py @@ -0,0 +1,24 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# I put this here because otherwise I couldn't run it. +# I also added some tests and had to modify this to get it to run -- ShadowOfHassen +import os +import sys + +# gi +import gi +gi.require_version('GdkPixbuf', '2.0') +from gi.repository import GdkPixbuf + +realpath = os.path.realpath(__file__) +LOGO_FILE = 'icons/Manuskript/manuskript.svg' +#sys.path.insert(1, os.path.join(os.path.dirname(realpath), '..')) + +from manuskript.ui import MainWindow + + +window = MainWindow("sample-projects/book-of-acts" + ".msk") +# Let's make this a bit fancier +window.window.set_icon(GdkPixbuf.Pixbuf.new_from_file(LOGO_FILE)) + +window.run() diff --git a/ui/about.glade b/ui/about.glade index b96638e1..b29464fd 100644 --- a/ui/about.glade +++ b/ui/about.glade @@ -1,5 +1,5 @@ - + + + + + + + + + + + + + False + + + True + False + vertical + + + True + False + + + True + False + Edit Charecter Details Template + + + True + True + True + 4 + 4 + 4 + 4 + + + True + False + go-previous-symbolic + + + + + + + + + False + True + 0 + + + + + True + False + + + True + False + vertical + + + 200 + True + False + True + True + 0 + 0 + + + True + True + in + + + True + False + + + True + True + details_store + True + 0 + both + + + + + + Name + + + True + + + 0 + + + + + + + Value + + + True + + + 1 + + + + + + + + + + + + + + + + True + True + 0 + + + + + True + False + 4 + + + True + True + True + + + True + False + list-add + + + + + False + True + 0 + + + + + True + True + True + + + True + False + list-remove + + + + + False + True + 1 + + + + + + + + False + False + 1 + + + + + + + False + True + 1 + + + + + + diff --git a/ui/characters.glade b/ui/characters.glade index e17aae5b..a1559d09 100644 --- a/ui/characters.glade +++ b/ui/characters.glade @@ -933,10 +933,23 @@ summary False True - end 3 + + + Append Detail Template + True + True + True + + + + False + True + 4 + + False diff --git a/ui/general.glade b/ui/general.glade index 7f894133..44c04442 100644 --- a/ui/general.glade +++ b/ui/general.glade @@ -1,5 +1,5 @@ - + + + + True + False + + + True + False + + + -1 + + + + + + True + False + True + 20 + True + + + True + False + label + + + 2 + 1 + + + + + True + False + label + + + 2 + 2 + + + + + + + + + + + + + + + + + + + + + + + + + + +