diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-11-25 21:26:43 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-11-25 21:26:43 +0200 |
commit | 9c1fac30f92eadc292ca0b4326b93d4cf9b4008c (patch) | |
tree | 0f5f8c4c3342d60b63bb6352f1edd79521145e9d /src/ui/sidebarwidget.c | |
parent | b0895acec06cef42c15c5c47a819ed9c8a71664f (diff) |
Sidebar: Changed tab order, Bookmarks is first tab
Diffstat (limited to 'src/ui/sidebarwidget.c')
-rw-r--r-- | src/ui/sidebarwidget.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c index ab3b11cf..12c5e847 100644 --- a/src/ui/sidebarwidget.c +++ b/src/ui/sidebarwidget.c | |||
@@ -325,7 +325,7 @@ iBool setMode_SidebarWidget(iSidebarWidget *d, enum iSidebarMode mode) { | |||
325 | for (enum iSidebarMode i = 0; i < max_SidebarMode; i++) { | 325 | for (enum iSidebarMode i = 0; i < max_SidebarMode; i++) { |
326 | setFlags_Widget(as_Widget(d->modeButtons[i]), selected_WidgetFlag, i == d->mode); | 326 | setFlags_Widget(as_Widget(d->modeButtons[i]), selected_WidgetFlag, i == d->mode); |
327 | } | 327 | } |
328 | const float heights[max_SidebarMode] = { 2.333f, 1.333f, 1.333f, 3.5f, 1.2f }; | 328 | const float heights[max_SidebarMode] = { 1.333f, 2.333f, 1.333f, 3.5f, 1.2f }; |
329 | setBackgroundColor_Widget(as_Widget(d->list), | 329 | setBackgroundColor_Widget(as_Widget(d->list), |
330 | d->mode == documentOutline_SidebarMode ? tmBannerBackground_ColorId | 330 | d->mode == documentOutline_SidebarMode ? tmBannerBackground_ColorId |
331 | : uiBackground_ColorId); | 331 | : uiBackground_ColorId); |
@@ -344,16 +344,16 @@ int width_SidebarWidget(const iSidebarWidget *d) { | |||
344 | } | 344 | } |
345 | 345 | ||
346 | static const char *normalModeLabels_[max_SidebarMode] = { | 346 | static const char *normalModeLabels_[max_SidebarMode] = { |
347 | "\U00002605 Feeds", | ||
348 | "\U0001f588 Bookmarks", | 347 | "\U0001f588 Bookmarks", |
348 | "\U00002605 Feeds", | ||
349 | "\U0001f553 History", | 349 | "\U0001f553 History", |
350 | "\U0001f464 Identities", | 350 | "\U0001f464 Identities", |
351 | "\U0001f5b9 Outline", | 351 | "\U0001f5b9 Outline", |
352 | }; | 352 | }; |
353 | 353 | ||
354 | static const char *tightModeLabels_[max_SidebarMode] = { | 354 | static const char *tightModeLabels_[max_SidebarMode] = { |
355 | "\U00002605", | ||
356 | "\U0001f588", | 355 | "\U0001f588", |
356 | "\U00002605", | ||
357 | "\U0001f553", | 357 | "\U0001f553", |
358 | "\U0001f464", | 358 | "\U0001f464", |
359 | "\U0001f5b9", | 359 | "\U0001f5b9", |