Commit 4afc4a584b450195481447917bae0292d35bac9b

Authored by perry.werneck@gmail.com
1 parent 35978683
Exists in master and in 1 other branch develop

Titulo da janela não estava atualizando corretamente quando o toggle "autoconnect" estava ativo

Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
widget.c
... ... @@ -716,6 +716,8 @@ static void update_connect(H3270 *session, unsigned char connected)
716 716 {
717 717 v3270 *widget = GTK_V3270(session->widget);
718 718  
  719 + trace("%s - %s",__FUNCTION__,connected ? "Connected" : "Disconnected");
  720 +
719 721 if(connected)
720 722 {
721 723 widget->cursor.show |= 2;
... ... @@ -1513,7 +1515,7 @@ gboolean v3270_is_connected(GtkWidget *widget)
1513 1515 g_return_val_if_fail(GTK_IS_V3270(widget),FALSE);
1514 1516 return lib3270_connected(GTK_V3270(widget)->host) ? TRUE : FALSE;
1515 1517 }
1516   -
  1518 +
1517 1519 GtkWidget * v3270_get_default_widget(void)
1518 1520 {
1519 1521 H3270 * hSession = lib3270_get_default_session_handle();
... ...