diff options
Diffstat (limited to 'USetPassword.pas')
| -rw-r--r-- | USetPassword.pas | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/USetPassword.pas b/USetPassword.pas index b64d079..cdf7fee 100644 --- a/USetPassword.pas +++ b/USetPassword.pas @@ -53,7 +53,9 @@ begin Table := TGTKTable.Create(Self); DialogIcon := TGTKImage.Create(Self); - DialogIcon.CopyFromPixbuf(StockLock48); + if gtk_style_lookup_icon_set(gtk_widget_get_style(FWidget), 'gtk-dialog-authentication') <> nil + then DialogIcon.SetFromStock('gtk-dialog-authentication', isDialog) + else DialogIcon.CopyFromPixbuf(StockLock48); Label1 := TGTKLabel.Create(Self); Label1.Caption := Format('<span size="x-large" weight="bold">%s</span>', [LANGFSetPassword_Label1_Caption]); |
