summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-07-22 21:57:59 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-07-22 21:57:59 +0300
commit86c281d91c15e5cc93becc82d691c5deef90b6b7 (patch)
treeb1f0a173b22e7cc173475182be87b88387fe2c1d /src/ui
parent75399ff21c356dc1afe5cafe72e6ff40b3f206d5 (diff)
UploadWidget: Added UI strings
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/uploadwidget.c4
1 files changed, 2 insertions, 2 deletions
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) {
99// iWidget *hint = addChild_Widget(values, iClob(new_LabelWidget("${upload.file.drophint}", NULL))); 99// iWidget *hint = addChild_Widget(values, iClob(new_LabelWidget("${upload.file.drophint}", NULL)));
100// pad->sizeRef = hint; 100// pad->sizeRef = hint;
101 addChild_Widget(headings, iClob(new_LabelWidget("${upload.file.name}", NULL))); 101 addChild_Widget(headings, iClob(new_LabelWidget("${upload.file.name}", NULL)));
102 d->filePathLabel = addChild_Widget(values, iClob(new_LabelWidget("${upload.file.drophere}", NULL))); 102 d->filePathLabel = addChild_Widget(values, iClob(new_LabelWidget(uiTextAction_ColorEscape "${upload.file.drophere}", NULL)));
103 addChild_Widget(headings, iClob(new_LabelWidget("${upload.file.size}", NULL))); 103 addChild_Widget(headings, iClob(new_LabelWidget("${upload.file.size}", NULL)));
104 d->fileSizeLabel = addChild_Widget(values, iClob(new_LabelWidget("\u2014", NULL))); 104 d->fileSizeLabel = addChild_Widget(values, iClob(new_LabelWidget("\u2014", NULL)));
105 d->mime = new_InputWidget(0); 105 d->mime = new_InputWidget(0);
@@ -131,7 +131,7 @@ void init_UploadWidget(iUploadWidget *d) {
131 addChild_Widget(w, iClob(buttons)); 131 addChild_Widget(w, iClob(buttons));
132 } 132 }
133 resizeToLargestPage_Widget(tabs); 133 resizeToLargestPage_Widget(tabs);
134 setFocus_Widget(as_Widget(d->token)); 134 setFocus_Widget(as_Widget(d->input));
135} 135}
136 136
137void deinit_UploadWidget(iUploadWidget *d) { 137void deinit_UploadWidget(iUploadWidget *d) {