@@ -133,7 +133,7 @@ dialog_pipe() {
133133 local SubTitle=${2:- }
134134 local TimeOut=${3:- 0}
135135 if [[ -z ${DC["_defined_"]-} ]]; then
136- run_script ' apply_theme '
136+ run_script ' config_theme '
137137 fi
138138 Title=" $( strip_ansi_colors " ${Title} " ) "
139139 SubTitle=" $( strip_ansi_colors " ${SubTitle} " ) "
@@ -153,7 +153,7 @@ run_script_dialog() {
153153 shift 4
154154 if use_dialog_box; then
155155 if [[ -z ${DC["_defined_"]-} ]]; then
156- run_script ' apply_theme '
156+ run_script ' config_theme '
157157 fi
158158 # Using the GUI, pipe output to a dialog box
159159 coproc {
@@ -197,7 +197,7 @@ dialog_info() {
197197 Title=" $( strip_ansi_colors " ${Title} " ) "
198198 Message=" $( strip_ansi_colors " ${Message} " ) "
199199 if [[ -z ${DC["_defined_"]-} ]]; then
200- run_script ' apply_theme '
200+ run_script ' config_theme '
201201 fi
202202 _dialog_ \
203203 --title " ${Title} " \
@@ -212,7 +212,7 @@ dialog_message() {
212212 Title=" $( strip_ansi_colors " ${Title} " ) "
213213 Message=" $( strip_ansi_colors " ${Message} " ) "
214214 if [[ -z ${DC["_defined_"]-} ]]; then
215- run_script ' apply_theme '
215+ run_script ' config_theme '
216216 fi
217217 _dialog_ \
218218 --title " ${Title} " \
@@ -226,7 +226,7 @@ dialog_error() {
226226 local Message=${2:- }
227227 local TimeOut=${3:- 0}
228228 if [[ -z ${DC["_defined_"]-} ]]; then
229- run_script ' apply_theme '
229+ run_script ' config_theme '
230230 fi
231231 dialog_message " ${DC["TitleError"]-}${Title} " " ${Message} " " ${TimeOut} "
232232}
@@ -235,7 +235,7 @@ dialog_warning() {
235235 local Message=${2:- }
236236 local TimeOut=${3:- 0}
237237 if [[ -z ${DC["_defined_"]-} ]]; then
238- run_script ' apply_theme '
238+ run_script ' config_theme '
239239 fi
240240 dialog_message " ${DC["TitleWarning"]-}${Title} " " ${Message} " " ${TimeOut} "
241241}
@@ -244,7 +244,7 @@ dialog_success() {
244244 local Message=${2:- }
245245 local TimeOut=${3:- 0}
246246 if [[ -z ${DC["_defined_"]-} ]]; then
247- run_script ' apply_theme '
247+ run_script ' config_theme '
248248 fi
249249 dialog_message " ${DC["TitleSuccess"]-}${Title} " " ${Message} " " ${TimeOut} "
250250}
0 commit comments