mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: Shrink big bitmaps before putting them into PixmapManager under GTK2
This commit is contained in:
parent
9d3e8ad1d3
commit
55b304bc70
1 changed files with 1 additions and 1 deletions
|
|
@ -404,7 +404,7 @@ begin
|
|||
Result:= FPixbufList.IndexOf(sName);
|
||||
if Result < 0 then
|
||||
begin
|
||||
pbPicture := gdk_pixbuf_new_from_file(PChar(sFileName), nil);
|
||||
pbPicture := gdk_pixbuf_new_from_file_at_size(PChar(sFileName), gIconsSize, gIconsSize, nil);
|
||||
if pbPicture = nil then
|
||||
begin
|
||||
DebugLn(Format('Error: pixmap [%s] not loaded!', [sFileName]));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue