summaryrefslogtreecommitdiff
path: root/src/app.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-03-13 08:57:43 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-03-13 08:57:43 +0200
commit97d8767043174ba7901014cc904579e1a741ef30 (patch)
treef7eb54246df4aa8a8fa4ca2f2cdfab0a95325d0d /src/app.c
parent4d9c26488c25ecbadb3444f9d628a0bb6bc93fa2 (diff)
Arrange URL child indicators; widget arrangement
The indicators in the URL input field are now arranged horizontally, so they don't overlap. Improved arrangement of (un)collapsed widgets.
Diffstat (limited to 'src/app.c')
-rw-r--r--src/app.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/app.c b/src/app.c
index 9e00c408..f1ba2432 100644
--- a/src/app.c
+++ b/src/app.c
@@ -1692,7 +1692,7 @@ iBool handleCommand_App(const char *cmd) {
1692 } 1692 }
1693 setInitialScroll_DocumentWidget(doc, argfLabel_Command(cmd, "scroll")); 1693 setInitialScroll_DocumentWidget(doc, argfLabel_Command(cmd, "scroll"));
1694 setRedirectCount_DocumentWidget(doc, redirectCount); 1694 setRedirectCount_DocumentWidget(doc, redirectCount);
1695 setFlags_Widget(findWidget_App("document.progress"), hidden_WidgetFlag, iTrue); 1695 showCollapsed_Widget(findWidget_App("document.progress"), iFalse);
1696 if (prefs_App()->decodeUserVisibleURLs) { 1696 if (prefs_App()->decodeUserVisibleURLs) {
1697 urlDecodePath_String(url); 1697 urlDecodePath_String(url);
1698 } 1698 }
@@ -1920,12 +1920,11 @@ iBool handleCommand_App(const char *cmd) {
1920 return iTrue; 1920 return iTrue;
1921 } 1921 }
1922 else if (equal_Command(cmd, "feeds.update.started")) { 1922 else if (equal_Command(cmd, "feeds.update.started")) {
1923 setFlags_Widget(findWidget_App("feeds.progress"), hidden_WidgetFlag, iFalse); 1923 showCollapsed_Widget(findWidget_App("feeds.progress"), iTrue);
1924 postRefresh_App();
1925 return iFalse; 1924 return iFalse;
1926 } 1925 }
1927 else if (equal_Command(cmd, "feeds.update.finished")) { 1926 else if (equal_Command(cmd, "feeds.update.finished")) {
1928 setFlags_Widget(findWidget_App("feeds.progress"), hidden_WidgetFlag, iTrue); 1927 showCollapsed_Widget(findWidget_App("feeds.progress"), iFalse);
1929 refreshFinished_Feeds(); 1928 refreshFinished_Feeds();
1930 postRefresh_App(); 1929 postRefresh_App();
1931 return iFalse; 1930 return iFalse;