From 70afbe693135d69c3855fc2b5bb28249ce471cc9 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sun, 18 Apr 2021 14:03:05 +0300 Subject: 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 --- src/ui/util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui/util.c') 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) { const int bigGap = lineHeight_Text(uiLabel_FontId) * 3 / 4; /* General preferences. */ { appendTwoColumnPage_(tabs, "${heading.prefs.general}", '1', &headings, &values); -#if defined (LAGRANGE_DOWNLOAD_EDIT) +#if defined (LAGRANGE_ENABLE_DOWNLOAD_EDIT) addChild_Widget(headings, iClob(makeHeading_Widget("${prefs.downloads}"))); setId_Widget(addChild_Widget(values, iClob(new_InputWidget(0))), "prefs.downloads"); #endif @@ -2083,7 +2083,7 @@ iWidget *makePreferences_Widget(void) { } addChild_Widget(headings, iClob(makeHeading_Widget("${prefs.accent}"))); addChildFlags_Widget(values, iClob(accent), arrangeHorizontal_WidgetFlag | arrangeSize_WidgetFlag); -#if defined (LAGRANGE_CUSTOM_FRAME) +#if defined (LAGRANGE_ENABLE_CUSTOM_FRAME) addChild_Widget(headings, iClob(makeHeading_Widget("${prefs.customframe}"))); addChild_Widget(values, iClob(makeToggle_Widget("prefs.customframe"))); #endif -- cgit v1.2.3