change icon of certificate Dialog. see #7445
This commit is contained in:
parent
cb39f5957a
commit
489bae4100
2 changed files with 6 additions and 0 deletions
BIN
icons/hicolor/32x32/mimetypes/application-certificate.png
Normal file
BIN
icons/hicolor/32x32/mimetypes/application-certificate.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
|
@ -5468,6 +5468,12 @@ SHA256 Fingerprint: %(sha256)s
|
|||
'io': cert.get_notBefore(), 'eo': cert.get_notAfter(),
|
||||
'sha1': cert.digest('sha1'),
|
||||
'sha256': cert.digest('sha256')})
|
||||
pix = gtkgui_helpers.get_icon_pixmap('application-certificate', size=32,
|
||||
quiet=True)
|
||||
if pix:
|
||||
img = Gtk.Image.new_from_pixbuf(pix)
|
||||
img.show_all()
|
||||
self.set_image(img)
|
||||
self.set_transient_for(parent)
|
||||
self.set_title(_('Certificate for account %s') % account)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue