summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui/sidebarwidget.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c
index 0ec43249..f089f48d 100644
--- a/src/ui/sidebarwidget.c
+++ b/src/ui/sidebarwidget.c
@@ -250,14 +250,14 @@ static void updateItems_SidebarWidget_(iSidebarWidget *d) {
250 if (isEmpty_ListWidget(d->list)) { 250 if (isEmpty_ListWidget(d->list)) {
251 if (d->mode == identities_SidebarMode) { 251 if (d->mode == identities_SidebarMode) {
252 iWidget *div = makeVDiv_Widget(); 252 iWidget *div = makeVDiv_Widget();
253 setPadding_Widget(div, 3 * gap_UI, 0, 3 * gap_UI, 0); 253 setPadding_Widget(div, 3 * gap_UI, 0, 3 * gap_UI, 2 * gap_UI);
254 addChildFlags_Widget(div, iClob(new_Widget()), expand_WidgetFlag); /* pad */ 254 addChildFlags_Widget(div, iClob(new_Widget()), expand_WidgetFlag); /* pad */
255 iLabelWidget *msg = new_LabelWidget("No Identities", 0, 0, NULL); 255 iLabelWidget *msg = new_LabelWidget("No Identities", 0, 0, NULL);
256 setFont_LabelWidget(msg, uiLabelLarge_FontId); 256 setFont_LabelWidget(msg, uiLabelLarge_FontId);
257 addChildFlags_Widget(div, iClob(msg), frameless_WidgetFlag); 257 addChildFlags_Widget(div, iClob(msg), frameless_WidgetFlag);
258 addChild_Widget(div, iClob(makePadding_Widget(3 * gap_UI))); 258 addChild_Widget(div, iClob(makePadding_Widget(3 * gap_UI)));
259 addChild_Widget(div, iClob(new_LabelWidget("New Identity...", 0, 0, "ident.new"))); 259 addChild_Widget(div, iClob(new_LabelWidget("New Identity...", 0, 0, "ident.new")));
260 addChild_Widget(div, iClob(makePadding_Widget(3 * gap_UI))); 260 addChildFlags_Widget(div, iClob(new_Widget()), expand_WidgetFlag); /* pad */
261 addChildFlags_Widget( 261 addChildFlags_Widget(
262 div, 262 div,
263 iClob(new_LabelWidget("See " uiTextStrong_ColorEscape "Help" uiText_ColorEscape 263 iClob(new_LabelWidget("See " uiTextStrong_ColorEscape "Help" uiText_ColorEscape
@@ -266,7 +266,6 @@ static void updateItems_SidebarWidget_(iSidebarWidget *d) {
266 0, 266 0,
267 "!open newtab:1 gotoheading:Identities url:about:help")), 267 "!open newtab:1 gotoheading:Identities url:about:help")),
268 frameless_WidgetFlag | fixedHeight_WidgetFlag | wrapText_WidgetFlag); 268 frameless_WidgetFlag | fixedHeight_WidgetFlag | wrapText_WidgetFlag);
269 addChildFlags_Widget(div, iClob(new_Widget()), expand_WidgetFlag); /* pad */
270 addChild_Widget(d->blank, iClob(div)); 269 addChild_Widget(d->blank, iClob(div));
271 } 270 }
272 arrange_Widget(d->blank); 271 arrange_Widget(d->blank);