change icon of certificate Dialog. see #7445
This commit is contained in:
parent
cb39f5957a
commit
489bae4100
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(),
|
'io': cert.get_notBefore(), 'eo': cert.get_notAfter(),
|
||||||
'sha1': cert.digest('sha1'),
|
'sha1': cert.digest('sha1'),
|
||||||
'sha256': cert.digest('sha256')})
|
'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_transient_for(parent)
|
||||||
self.set_title(_('Certificate for account %s') % account)
|
self.set_title(_('Certificate for account %s') % account)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue