From 11ae3881854774f5330f8a367af1a7e7b2610a24 Mon Sep 17 00:00:00 2001 From: gambas Date: Fri, 5 Mar 2021 00:39:55 +0100 Subject: [PATCH] Don't set the Foreground color of Software boxes, it makes GTK+3 css system slow as hell. [DEVELOPMENT ENVIRONMENT] * NEW: Now the 'close' stock button is smaller, use its 'small' size again. * BUG: Don't set the Foreground color of Software boxes, it makes GTK+3 css system slow as hell. --- app/src/gambas3/.project | 2 +- app/src/gambas3/.src/Editor/Form/FProperty.form | 2 +- app/src/gambas3/.src/FMain.form | 4 ++-- app/src/gambas3/.src/Project/Farm/FSoftwareFarm.class | 4 ++++ app/src/gambas3/.src/Project/Farm/SoftwareBox.class | 2 +- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/app/src/gambas3/.project b/app/src/gambas3/.project index c43847a0a..78afb69e2 100644 --- a/app/src/gambas3/.project +++ b/app/src/gambas3/.project @@ -31,7 +31,7 @@ Component=gb.signal Description="Integrated Development Environment for Gambas" Authors="Benoît Minisini\nFabien Bodard\nCharlie Reinl\nJosé Luis Redrejo\nRobert Rowe\nTobias Boege" Arguments=[["-L"],["-t","/home/benoit/gambas/git/master/app/src/gambas3"],["--help"]] -Environment="GB_GUI=gb.qt5\n GTK_DEBUG=interactive" +Environment="GB_GUI=gb.gtk3\n GTK_DEBUG=interactive" TabSize=2 Translate=1 Language=en diff --git a/app/src/gambas3/.src/Editor/Form/FProperty.form b/app/src/gambas3/.src/Editor/Form/FProperty.form index fd225b9d4..e11de4d20 100644 --- a/app/src/gambas3/.src/Editor/Form/FProperty.form +++ b/app/src/gambas3/.src/Editor/Form/FProperty.form @@ -102,7 +102,7 @@ } { btnCloseHelp ToolButton MoveScaled(15,0,3,3) - Picture = Picture["icon:/tiny/close"] + Picture = Picture["icon:/small/close"] } } { Separator1 Separator diff --git a/app/src/gambas3/.src/FMain.form b/app/src/gambas3/.src/FMain.form index ea460d3ea..f18b01faf 100644 --- a/app/src/gambas3/.src/FMain.form +++ b/app/src/gambas3/.src/FMain.form @@ -1299,7 +1299,7 @@ MoveScaled(5,1,22,3) Foreground = Color.LightForeground Expand = True - Picture = Picture["icon:/tiny/close"] + Picture = Picture["icon:/small/close"] Border = False ClearButton = True Filter = True @@ -1373,7 +1373,7 @@ { btnClosePanel ToolButton MoveScaled(73,3,4,4) Ignore = True - Picture = Picture["icon:/tiny/close"] + Picture = Picture["icon:/small/close"] } } { Separator1 Separator diff --git a/app/src/gambas3/.src/Project/Farm/FSoftwareFarm.class b/app/src/gambas3/.src/Project/Farm/FSoftwareFarm.class index 41563c719..8d1b86ce5 100644 --- a/app/src/gambas3/.src/Project/Farm/FSoftwareFarm.class +++ b/app/src/gambas3/.src/Project/Farm/FSoftwareFarm.class @@ -231,6 +231,8 @@ Public Sub Request_Finished() Return Endif + 'svwFarm.Arrangement = Arrange.None + aId = Split(hReq.Result["Result"]) For Each sId In aId @@ -241,6 +243,8 @@ Public Sub Request_Finished() Next + 'svwFarm.Arrangement = Arrange.Row + CheckSoftwareCount() If $SY Then diff --git a/app/src/gambas3/.src/Project/Farm/SoftwareBox.class b/app/src/gambas3/.src/Project/Farm/SoftwareBox.class index 1ebb4c966..b1ebc9870 100644 --- a/app/src/gambas3/.src/Project/Farm/SoftwareBox.class +++ b/app/src/gambas3/.src/Project/Farm/SoftwareBox.class @@ -31,7 +31,7 @@ Public Sub _new(iId As Integer, sFarm As String) ', sLogin As String, sPassword $hInstall = Picture["icon:/16/download"].Image Endif - Me.Foreground = Color.TextForeground + 'Me.Foreground = Color.TextForeground $sFarm = sFarm $iId = iId