mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-06-05 12:34:36 +12:00
Upated
This commit is contained in:
parent
5abe5061be
commit
59224ce19c
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -25,3 +25,4 @@ manuskript.log
|
||||||
snowflake*
|
snowflake*
|
||||||
test-projects
|
test-projects
|
||||||
main.pyproject.user
|
main.pyproject.user
|
||||||
|
ui/\#general.glade\#
|
||||||
|
|
|
@ -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()
|
||||||
|
|
|
@ -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):
|
||||||
|
|
|
@ -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"/>
|
||||||
|
|
Loading…
Reference in a new issue