From 08f09e4a5ce767fb28662b55e28962cb8bdda7c3 Mon Sep 17 00:00:00 2001 From: yggverse Date: Fri, 5 Jul 2024 01:37:53 +0300 Subject: [PATCH] trim spaces on setTitle --- src/Entity/Window/Header.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Entity/Window/Header.php b/src/Entity/Window/Header.php index 2daf063c..865e27f3 100644 --- a/src/Entity/Window/Header.php +++ b/src/Entity/Window/Header.php @@ -37,7 +37,9 @@ class Header $this->gtk->set_title( is_null($title) ? $this->_title : sprintf( '%s - %s', - $title, + trim( + $title + ), $this->_title ) );