From 86c281d91c15e5cc93becc82d691c5deef90b6b7 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Thu, 22 Jul 2021 21:57:59 +0300 Subject: UploadWidget: Added UI strings --- src/ui/uploadwidget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui/uploadwidget.c') diff --git a/src/ui/uploadwidget.c b/src/ui/uploadwidget.c index 0f94d7dd..4fd35732 100644 --- a/src/ui/uploadwidget.c +++ b/src/ui/uploadwidget.c @@ -99,7 +99,7 @@ void init_UploadWidget(iUploadWidget *d) { // iWidget *hint = addChild_Widget(values, iClob(new_LabelWidget("${upload.file.drophint}", NULL))); // pad->sizeRef = hint; addChild_Widget(headings, iClob(new_LabelWidget("${upload.file.name}", NULL))); - d->filePathLabel = addChild_Widget(values, iClob(new_LabelWidget("${upload.file.drophere}", NULL))); + d->filePathLabel = addChild_Widget(values, iClob(new_LabelWidget(uiTextAction_ColorEscape "${upload.file.drophere}", NULL))); addChild_Widget(headings, iClob(new_LabelWidget("${upload.file.size}", NULL))); d->fileSizeLabel = addChild_Widget(values, iClob(new_LabelWidget("\u2014", NULL))); d->mime = new_InputWidget(0); @@ -131,7 +131,7 @@ void init_UploadWidget(iUploadWidget *d) { addChild_Widget(w, iClob(buttons)); } resizeToLargestPage_Widget(tabs); - setFocus_Widget(as_Widget(d->token)); + setFocus_Widget(as_Widget(d->input)); } void deinit_UploadWidget(iUploadWidget *d) { -- cgit v1.2.3