From 7d3df125fc48b9af8ff11873f865dcf99151dd04 Mon Sep 17 00:00:00 2001 From: astrgl Date: Tue, 23 Apr 2024 14:11:26 +0200 Subject: [PATCH] =?UTF-8?q?Versione=204.1.10=20-=20Inserita=20routine=20di?= =?UTF-8?q?=20fall=20back=20in=20caso=20icone=20=20posizionate=20in=20/usr?= =?UTF-8?q?/share/dnfdrake=20anzich=C3=A8=20/usr/share/dnfdrake/icons/?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -Correzione bug selezione "Your choice: ....." ora รจ possibile inserire la selezione --- .project | 2 +- .src/FABOUT.form | 2 +- .src/Fmain.class | 10 ++++++++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.project b/.project index edd1fdc..5e3e965 100644 --- a/.project +++ b/.project @@ -2,7 +2,7 @@ Title=DnfDrake Startup=Fmain Icon=dnfdrake.svg -Version=4.1.9 +Version=4.1.10 Component=gb.image Component=gb.gui Component=gb.form diff --git a/.src/FABOUT.form b/.src/FABOUT.form index 853ad7a..68b038c 100644 --- a/.src/FABOUT.form +++ b/.src/FABOUT.form @@ -19,7 +19,7 @@ MoveScaled(0,0,51,5) Font = Font["+7"] Alignment = Align.Center - Text = ("DnfDrake 4.1.9") + Text = ("DnfDrake 4.1.10") } } } diff --git a/.src/Fmain.class b/.src/Fmain.class index 7805d80..4073c6c 100644 --- a/.src/Fmain.class +++ b/.src/Fmain.class @@ -2623,8 +2623,14 @@ Private Sub DSTUPDATE() End Public Sub LOADICONS() - - BTNAUTOREMOVE.Picture = Picture.Load($PATHICONS & "trash" & $THEMESSUFFIX) +'GESTIONE ERRORE PER ASSENZA ICONE A CAUSA DI SPEC ERRATO IN OPENMANDRIVA *********** + Try BTNAUTOREMOVE.Picture = Picture.Load($PATHICONS & "trash" & $THEMESSUFFIX) + If Error Then + $PATHICONS = "/usr/share/dnfdrake/" + BTNAUTOREMOVE.Picture = Picture.Load($PATHICONS & "trash" & $THEMESSUFFIX) + Endif +'************************************************************************************** + 'BTNAUTOREMOVE.Picture = Picture.Load($PATHICONS & "trash" & $THEMESSUFFIX) PICEXCLUDE.Picture = Picture.Load($PATHICONS & "lock" & $THEMESSUFFIX) BTNRESIZE.Picture = Picture.Load($PATHICONS & "restore" & $THEMESSUFFIX) BTNFULLSCREEN.Picture = Picture.Load($PATHICONS & "fullscreen" & $THEMESSUFFIX)