This commit is contained in:
TheShadowOfHassen 2023-06-17 19:52:22 -04:00
parent 5abe5061be
commit 59224ce19c
4 changed files with 4 additions and 2 deletions

1
.gitignore vendored
View file

@ -25,3 +25,4 @@ manuskript.log
snowflake* snowflake*
test-projects test-projects
main.pyproject.user main.pyproject.user
ui/\#general.glade\#

View file

@ -13,7 +13,7 @@ quote_file = "./resources/quotes/Quotes_English.txt" # TODO translations
def load_quotes(): def load_quotes():
file = open(quote_file, "r") file = open(quote_file, "r")
text = file.read() text = file.read()
quotes = text.split("\n") quotes = text.split("\END")
return quotes return quotes
quotes = load_quotes() quotes = load_quotes()

View file

@ -57,7 +57,7 @@ class GeneralView:
self.emailBuffer.connect("deleted-text", self._emailDeletedText) self.emailBuffer.connect("deleted-text", self._emailDeletedText)
self.emailBuffer.connect("inserted-text", self._emailInsertedText) self.emailBuffer.connect("inserted-text", self._emailInsertedText)
self.quoteLabel.set_markup(get_quote()) self.quoteLabel.set_text(get_quote())
def __titleChanged(self, buffer: Gtk.EntryBuffer): def __titleChanged(self, buffer: Gtk.EntryBuffer):

View file

@ -455,6 +455,7 @@ along with Manuskript. If not, see <http://www.gnu.org/licenses/>.
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="wrap">True</property> <property name="wrap">True</property>
<property name="selectable">True</property>
<attributes> <attributes>
<attribute name="style" value="normal"/> <attribute name="style" value="normal"/>
<attribute name="scale" value="2"/> <attribute name="scale" value="2"/>