summaryrefslogtreecommitdiff
path: root/src/ui/util.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-04-18 14:03:05 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-04-18 14:03:05 +0300
commit70afbe693135d69c3855fc2b5bb28249ce471cc9 (patch)
treee8ba5592e5c82f1ddf9ff45b660d178514f01ae1 /src/ui/util.c
parent9fd5f867ae1a3d5ed8278359582cd99ca89a0318 (diff)
Added build option to disable IPC
It may take a while to add D-Bus support, so adding a way to disable the incompatible IPC mechanism for Flatpak builds. IssueID #245
Diffstat (limited to 'src/ui/util.c')
-rw-r--r--src/ui/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/util.c b/src/ui/util.c
index cc17a0d3..8849b289 100644
--- a/src/ui/util.c
+++ b/src/ui/util.c
@@ -2006,7 +2006,7 @@ iWidget *makePreferences_Widget(void) {
2006 const int bigGap = lineHeight_Text(uiLabel_FontId) * 3 / 4; 2006 const int bigGap = lineHeight_Text(uiLabel_FontId) * 3 / 4;
2007 /* General preferences. */ { 2007 /* General preferences. */ {
2008 appendTwoColumnPage_(tabs, "${heading.prefs.general}", '1', &headings, &values); 2008 appendTwoColumnPage_(tabs, "${heading.prefs.general}", '1', &headings, &values);
2009#if defined (LAGRANGE_DOWNLOAD_EDIT) 2009#if defined (LAGRANGE_ENABLE_DOWNLOAD_EDIT)
2010 addChild_Widget(headings, iClob(makeHeading_Widget("${prefs.downloads}"))); 2010 addChild_Widget(headings, iClob(makeHeading_Widget("${prefs.downloads}")));
2011 setId_Widget(addChild_Widget(values, iClob(new_InputWidget(0))), "prefs.downloads"); 2011 setId_Widget(addChild_Widget(values, iClob(new_InputWidget(0))), "prefs.downloads");
2012#endif 2012#endif
@@ -2083,7 +2083,7 @@ iWidget *makePreferences_Widget(void) {
2083 } 2083 }
2084 addChild_Widget(headings, iClob(makeHeading_Widget("${prefs.accent}"))); 2084 addChild_Widget(headings, iClob(makeHeading_Widget("${prefs.accent}")));
2085 addChildFlags_Widget(values, iClob(accent), arrangeHorizontal_WidgetFlag | arrangeSize_WidgetFlag); 2085 addChildFlags_Widget(values, iClob(accent), arrangeHorizontal_WidgetFlag | arrangeSize_WidgetFlag);
2086#if defined (LAGRANGE_CUSTOM_FRAME) 2086#if defined (LAGRANGE_ENABLE_CUSTOM_FRAME)
2087 addChild_Widget(headings, iClob(makeHeading_Widget("${prefs.customframe}"))); 2087 addChild_Widget(headings, iClob(makeHeading_Widget("${prefs.customframe}")));
2088 addChild_Widget(values, iClob(makeToggle_Widget("prefs.customframe"))); 2088 addChild_Widget(values, iClob(makeToggle_Widget("prefs.customframe")));
2089#endif 2089#endif