home
·
contact
·
privacy
projects
/
stable_plom
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1550c20
)
In browser, make metadata text non-editable.
author
Christian Heller
<c.heller@plomlompom.de>
Thu, 12 Sep 2024 19:06:20 +0000
(21:06 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Thu, 12 Sep 2024 19:06:20 +0000
(21:06 +0200)
browser.py
patch
|
blob
|
history
diff --git
a/browser.py
b/browser.py
index 7639a0f720c7a185e63f1ef22cd82daceffc41ce..7849f6ba89b153b60f17068a9d344ad8b3a41302 100755
(executable)
--- a/
browser.py
+++ b/
browser.py
@@
-156,8
+156,8
@@
class MainWindow(Gtk.Window):
return scroller
def init_metadata_box():
- text_view = Gtk.TextView(
)
-
text_view.set_wrap_mode(Gtk.WrapMode.WORD_CHAR
)
+ text_view = Gtk.TextView(
wrap_mode=Gtk.WrapMode.WORD_CHAR,
+
editable=False
)
text_view.set_size_request(200, -1)
self.metadata = text_view.get_buffer()
metadata_box = Gtk.Box(orientation=OR_V)