diff options
Diffstat (limited to 'src/ui/uploadwidget.c')
-rw-r--r-- | src/ui/uploadwidget.c | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/src/ui/uploadwidget.c b/src/ui/uploadwidget.c index e0bc3755..e11970ec 100644 --- a/src/ui/uploadwidget.c +++ b/src/ui/uploadwidget.c | |||
@@ -125,10 +125,10 @@ static const iArray *makeIdentityItems_UploadWidget_(const iUploadWidget *d) { | |||
125 | iConstForEach(PtrArray, i, listIdentities_GmCerts(certs_App(), NULL, NULL)) { | 125 | iConstForEach(PtrArray, i, listIdentities_GmCerts(certs_App(), NULL, NULL)) { |
126 | const iGmIdentity *id = i.ptr; | 126 | const iGmIdentity *id = i.ptr; |
127 | iString *str = collect_String(copy_String(name_GmIdentity(id))); | 127 | iString *str = collect_String(copy_String(name_GmIdentity(id))); |
128 | prependCStr_String(str, uiTextStrong_ColorEscape); | 128 | prependCStr_String(str, "\x1b[1m"); |
129 | if (!isEmpty_String(&id->notes)) { | 129 | if (!isEmpty_String(&id->notes)) { |
130 | appendFormat_String( | 130 | appendFormat_String( |
131 | str, "\n%s%s", escape_Color(uiTextDim_ColorId), cstr_String(&id->notes)); | 131 | str, "\x1b[0m\n%s%s", escape_Color(uiTextDim_ColorId), cstr_String(&id->notes)); |
132 | } | 132 | } |
133 | pushBack_Array( | 133 | pushBack_Array( |
134 | items, | 134 | items, |
@@ -220,12 +220,16 @@ void init_UploadWidget(iUploadWidget *d) { | |||
220 | else { | 220 | else { |
221 | useSheetStyle_Widget(w); | 221 | useSheetStyle_Widget(w); |
222 | setFlags_Widget(w, overflowScrollable_WidgetFlag, iFalse); | 222 | setFlags_Widget(w, overflowScrollable_WidgetFlag, iFalse); |
223 | addChildFlags_Widget(w, | 223 | setAllCaps_LabelWidget( |
224 | iClob(new_LabelWidget(uiHeading_ColorEscape "${heading.upload}", NULL)), | 224 | addChildFlags_Widget( |
225 | frameless_WidgetFlag); | 225 | w, |
226 | d->info = addChildFlags_Widget(w, iClob(new_LabelWidget("", NULL)), | 226 | iClob(new_LabelWidget(uiHeading_ColorEscape "${heading.upload}", NULL)), |
227 | frameless_WidgetFlag), | ||
228 | iTrue); | ||
229 | d->info = addChildFlags_Widget(w, | ||
230 | iClob(new_LabelWidget("", NULL)), | ||
227 | frameless_WidgetFlag | resizeToParentWidth_WidgetFlag | | 231 | frameless_WidgetFlag | resizeToParentWidth_WidgetFlag | |
228 | fixedHeight_WidgetFlag); | 232 | fixedHeight_WidgetFlag); |
229 | setWrap_LabelWidget(d->info, iTrue); | 233 | setWrap_LabelWidget(d->info, iTrue); |
230 | /* Tabs for input data. */ | 234 | /* Tabs for input data. */ |
231 | iWidget *tabs = makeTabs_Widget(w); | 235 | iWidget *tabs = makeTabs_Widget(w); |