Commit 60c9f2d5dca2a5966099635278b878508afa8784
1 parent
ed33abb7
Exists in
master
and in
1 other branch
Using standard popup for SSL error.
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
src/terminal/callbacks.c
| @@ -378,6 +378,7 @@ static void popup_handler(H3270 *session, LIB3270_NOTIFY type, const char *title | @@ -378,6 +378,7 @@ static void popup_handler(H3270 *session, LIB3270_NOTIFY type, const char *title | ||
| 378 | g_idle_add_full(G_PRIORITY_DEFAULT_IDLE,(GSourceFunc) bg_update_oia, data, g_free); | 378 | g_idle_add_full(G_PRIORITY_DEFAULT_IDLE,(GSourceFunc) bg_update_oia, data, g_free); |
| 379 | } | 379 | } |
| 380 | 380 | ||
| 381 | + /* | ||
| 381 | static int popup_ssl_error(H3270 *session, int rc, const char *title, const char *summary, const char *body) | 382 | static int popup_ssl_error(H3270 *session, int rc, const char *title, const char *summary, const char *body) |
| 382 | { | 383 | { |
| 383 | GtkWidget *terminal = (GtkWidget *) lib3270_get_user_data(session); | 384 | GtkWidget *terminal = (GtkWidget *) lib3270_get_user_data(session); |
| @@ -427,6 +428,7 @@ static void popup_handler(H3270 *session, LIB3270_NOTIFY type, const char *title | @@ -427,6 +428,7 @@ static void popup_handler(H3270 *session, LIB3270_NOTIFY type, const char *title | ||
| 427 | 428 | ||
| 428 | return -1; | 429 | return -1; |
| 429 | } | 430 | } |
| 431 | + */ | ||
| 430 | 432 | ||
| 431 | static int popup_show(H3270 *hSession, const LIB3270_POPUP *popup, unsigned char wait) { | 433 | static int popup_show(H3270 *hSession, const LIB3270_POPUP *popup, unsigned char wait) { |
| 432 | 434 | ||
| @@ -481,7 +483,7 @@ static void popup_handler(H3270 *session, LIB3270_NOTIFY type, const char *title | @@ -481,7 +483,7 @@ static void popup_handler(H3270 *session, LIB3270_NOTIFY type, const char *title | ||
| 481 | cbk->save = save; | 483 | cbk->save = save; |
| 482 | cbk->load = load; | 484 | cbk->load = load; |
| 483 | 485 | ||
| 484 | - cbk->popup_ssl_error = popup_ssl_error; | 486 | +// cbk->popup_ssl_error = popup_ssl_error; |
| 485 | cbk->popup_show = popup_show; | 487 | cbk->popup_show = popup_show; |
| 486 | 488 | ||
| 487 | } | 489 | } |