Commit c835357030302469f00a4703c5c5feb07f937591
1 parent
e390d169
Exists in
master
and in
5 other branches
Retornando ícone de "unlocked" ao original post que conexões SSL incompletas ago…
…ra ficam com o "warning" sobreposto ao cadeado
Showing
2 changed files
with
7 additions
and
7 deletions
Show diff stats
src/pw3270/v3270/oia.c
@@ -349,12 +349,12 @@ void v3270_draw_ssl_status(cairo_t *cr, H3270 *host, struct v3270_metrics *metri | @@ -349,12 +349,12 @@ void v3270_draw_ssl_status(cairo_t *cr, H3270 *host, struct v3270_metrics *metri | ||
349 | 349 | ||
350 | case LIB3270_SSL_NEGOTIATING: /**< Negotiating SSL */ | 350 | case LIB3270_SSL_NEGOTIATING: /**< Negotiating SSL */ |
351 | gdk_cairo_set_source_color(cr,color+V3270_COLOR_OIA_STATUS_WARNING); | 351 | gdk_cairo_set_source_color(cr,color+V3270_COLOR_OIA_STATUS_WARNING); |
352 | - draw_xbm(cr,rect,unlocked_width,unlocked_height,unlocked_bits); | 352 | + draw_xbm(cr,rect,negotiated_width,negotiated_height,negotiated_bits); |
353 | break; | 353 | break; |
354 | 354 | ||
355 | case LIB3270_SSL_NEGOTIATED: /**< Connection secure, no CA or self-signed */ | 355 | case LIB3270_SSL_NEGOTIATED: /**< Connection secure, no CA or self-signed */ |
356 | gdk_cairo_set_source_color(cr,color+V3270_COLOR_OIA_STATUS_OK); | 356 | gdk_cairo_set_source_color(cr,color+V3270_COLOR_OIA_STATUS_OK); |
357 | - draw_xbm(cr,rect,negotiated_width,negotiated_height,negotiated_bits); | 357 | + draw_xbm(cr,rect,locked_width,locked_height,locked_bits); |
358 | gdk_cairo_set_source_color(cr,color+V3270_COLOR_OIA_STATUS_WARNING); | 358 | gdk_cairo_set_source_color(cr,color+V3270_COLOR_OIA_STATUS_WARNING); |
359 | draw_xbm(cr,rect,warning_width,warning_height,warning_bits); | 359 | draw_xbm(cr,rect,warning_width,warning_height,warning_bits); |
360 | break; | 360 | break; |
src/pw3270/v3270/unlocked.xbm
@@ -6,9 +6,9 @@ static unsigned char unlocked_bits[] = { | @@ -6,9 +6,9 @@ static unsigned char unlocked_bits[] = { | ||
6 | 0x00, 0x30, 0x07, 0xce, 0x00, 0x30, 0x03, 0xcc, 0x00, 0x30, 0x03, 0xcc, | 6 | 0x00, 0x30, 0x07, 0xce, 0x00, 0x30, 0x03, 0xcc, 0x00, 0x30, 0x03, 0xcc, |
7 | 0x00, 0x30, 0x03, 0xcc, 0x00, 0x30, 0x03, 0xcc, 0x00, 0x30, 0x03, 0xcc, | 7 | 0x00, 0x30, 0x03, 0xcc, 0x00, 0x30, 0x03, 0xcc, 0x00, 0x30, 0x03, 0xcc, |
8 | 0x00, 0x30, 0x03, 0xfc, 0x00, 0x30, 0x03, 0xfc, 0xff, 0xff, 0x3f, 0x00, | 8 | 0x00, 0x30, 0x03, 0xfc, 0x00, 0x30, 0x03, 0xfc, 0xff, 0xff, 0x3f, 0x00, |
9 | - 0xff, 0xff, 0x3f, 0x00, 0x03, 0x00, 0x30, 0x00, 0x03, 0x00, 0x30, 0x00, | ||
10 | - 0x03, 0x00, 0x30, 0x00, 0x03, 0x00, 0x30, 0x00, 0x03, 0x00, 0x30, 0x00, | ||
11 | - 0x03, 0x00, 0x30, 0x00, 0x03, 0x00, 0x30, 0x00, 0x03, 0x00, 0x30, 0x00, | ||
12 | - 0x03, 0x00, 0x30, 0x00, 0x03, 0x00, 0x30, 0x00, 0x03, 0x00, 0x30, 0x00, | ||
13 | - 0x03, 0x00, 0x30, 0x00, 0x03, 0x00, 0x30, 0x00, 0x03, 0x00, 0x30, 0x00, | 9 | + 0xff, 0xff, 0x3f, 0x00, 0x57, 0x55, 0x35, 0x00, 0xab, 0xaa, 0x3a, 0x00, |
10 | + 0x57, 0x55, 0x35, 0x00, 0xab, 0xaa, 0x3a, 0x00, 0x57, 0x55, 0x35, 0x00, | ||
11 | + 0xab, 0xaa, 0x3a, 0x00, 0x57, 0x55, 0x35, 0x00, 0xab, 0xaa, 0x3a, 0x00, | ||
12 | + 0x57, 0x55, 0x35, 0x00, 0xab, 0xaa, 0x3a, 0x00, 0x57, 0x55, 0x35, 0x00, | ||
13 | + 0xab, 0xaa, 0x3a, 0x00, 0x57, 0x55, 0x35, 0x00, 0xab, 0xaa, 0x3a, 0x00, | ||
14 | 0xff, 0xff, 0x3f, 0x00, 0xff, 0xff, 0x3f, 0x00 }; | 14 | 0xff, 0xff, 0x3f, 0x00, 0xff, 0xff, 0x3f, 0x00 }; |