From 1766952a8499919a1275b0214f6ebda8dfc812e2 Mon Sep 17 00:00:00 2001 From: polo Date: Mon, 6 Mar 2023 12:54:43 +0100 Subject: =?UTF-8?q?Config.ini=20renseigner=20''=20=3D=20valeur=20par=20d?= =?UTF-8?q?=C3=A9faut?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/view/Zenity.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/view/Zenity.php') diff --git a/src/view/Zenity.php b/src/view/Zenity.php index 72d5eed..091a2c0 100644 --- a/src/view/Zenity.php +++ b/src/view/Zenity.php @@ -9,7 +9,6 @@ abstract class ZenityCmd protected $command = 'zenity'; protected $command_type = ''; protected $rows = []; - private $title = 'ORDIPOLO'; protected $text = ''; protected $width = 300; protected $height = 200; // recalculée en fonction du contenu, vaut au minimum 150 @@ -19,7 +18,7 @@ abstract class ZenityCmd $this->text = $text; $this->rows= $rows; $this->command .= $this->command_type; - $this->command .= ' --title="' . $this->title . '"'; + $this->command .= ' --title="' . Config::$business_name . '"'; $this->command .= ' --text="' . $this->text . '"'; } -- cgit v1.2.3