diff --git a/source/uCEFChromiumCore.pas b/source/uCEFChromiumCore.pas index 9a91433f..0368db0f 100644 --- a/source/uCEFChromiumCore.pas +++ b/source/uCEFChromiumCore.pas @@ -7054,7 +7054,10 @@ begin UpdatePreference(aBrowser, 'performance_tuning.battery_saver_mode.state', integer(FBatterySaverModeState)); if (FDownloadBubble <> STATE_DEFAULT) then - UpdatePreference(aBrowser, 'download_bubble_enabled', (FDownloadBubble = STATE_ENABLED)); + begin + UpdatePreference(aBrowser, 'download_bubble.partial_view_enabled', (FDownloadBubble = STATE_ENABLED)); + UpdatePreference(aBrowser, 'download_bubble_enabled', (FDownloadBubble = STATE_ENABLED)); + end; if assigned(FOnPrefsUpdated) then FOnPrefsUpdated(self); diff --git a/source/uCEFLinuxFunctions.pas b/source/uCEFLinuxFunctions.pas index 5d078376..b6504795 100644 --- a/source/uCEFLinuxFunctions.pas +++ b/source/uCEFLinuxFunctions.pas @@ -21,6 +21,12 @@ uses {$ENDIF} uCEFLinuxTypes, uCEFTypes; +{$IFNDEF FPC} +const + // We define this constant only to avoid warnings in Delphi + LCL_FULLVERSION = 3000001; +{$ENDIF} + {$IFDEF LINUX} procedure GdkEventKeyToCEFKeyEvent(GdkEvent: PGdkEventKey; var aCEFKeyEvent : TCEFKeyEvent); function KeyboardCodeFromXKeysym(keysym : uint32) : integer; diff --git a/update_CEF4Delphi.json b/update_CEF4Delphi.json index 3c5faf8a..c6be975b 100644 --- a/update_CEF4Delphi.json +++ b/update_CEF4Delphi.json @@ -2,7 +2,7 @@ "UpdateLazPackages" : [ { "ForceNotify" : true, - "InternalVersion" : 611, + "InternalVersion" : 612, "Name" : "cef4delphi_lazarus.lpk", "Version" : "125.0.22" }