From eab49db8d44d3fa4df3fbab0386d2b6ab5eaaa4b Mon Sep 17 00:00:00 2001 From: Markus Rosenstihl Date: Mon, 6 Jul 2026 16:10:56 +0200 Subject: [PATCH] gtksourceview: minimum-word-size needs to be >= 2 otherwise a warning is triggered. (Fixes #28) --- src/damaris/gui/DamarisGUI.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/damaris/gui/DamarisGUI.py b/src/damaris/gui/DamarisGUI.py index eb3d2d3..31ec1c1 100644 --- a/src/damaris/gui/DamarisGUI.py +++ b/src/damaris/gui/DamarisGUI.py @@ -1174,7 +1174,7 @@ get_ylabel set_ylabel""" self.compwgen = gtksourceview2.CompletionWords.new("Keywords", None) self.compwgen.register(self.keywordsbuffer) - self.compwgen.set_property("minimum-word-size", 1) + self.compwgen.set_property("minimum-word-size", 2) self.compwexp = gtksourceview2.CompletionWords.new("Words", None) self.compwexp.register(self.experiment_script_textbuffer) @@ -2930,7 +2930,7 @@ class MonitorWidgets: x_scale = self.display_x_scaling_combobox.get_active_text() y_scale = self.display_y_scaling_combobox.get_active_text() - print(x_scale) + if x_scale == "lin": self.matplot_axes.set_xscale("linear") elif x_scale == "log10":