aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2024-05-15 23:09:33 +0200
committerPapoteur <papoteur@mageia.org>2024-05-15 23:10:30 +0200
commita36f706d2980ac277082c6dd494e2449836d8597 (patch)
tree26cfda8cc339c709c39c53a398c61edfbdf3bebd
parent2a1db6b52214ea916e499f3dbd8915a7808c793e (diff)
downloadmsec-a36f706d2980ac277082c6dd494e2449836d8597.tar
msec-a36f706d2980ac277082c6dd494e2449836d8597.tar.gz
msec-a36f706d2980ac277082c6dd494e2449836d8597.tar.bz2
msec-a36f706d2980ac277082c6dd494e2449836d8597.tar.xz
msec-a36f706d2980ac277082c6dd494e2449836d8597.zip
Fix further warnings
-rwxr-xr-xsrc/msec/msecgui.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/msec/msecgui.py b/src/msec/msecgui.py
index 97424fd..ac66fb6 100755
--- a/src/msec/msecgui.py
+++ b/src/msec/msecgui.py
@@ -1648,7 +1648,9 @@ class MsecGui:
# new value
hbox = Gtk.HBox()
- hbox.pack_start(Gtk.Label(_("New value:")), True, True, 0)
+ alignment = Gtk.Alignment.new(xvalign=0.5, yvalign=0.5, xscale=1.0, yscale=1.0)
+ alignment.add(Gtk.Label(_("New value:")))
+ hbox.add(alignment)
if '*' in params:
# string parameter
entry = Gtk.Entry()