From 4547ebfe4ea664273edbc4f5dbc819f202e30394 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Tue, 23 Apr 2024 11:13:24 +0600 Subject: [PATCH] Fixes for domain window --- source/ubl-settings-system.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/ubl-settings-system.c b/source/ubl-settings-system.c index d90fe16..a11cb58 100644 --- a/source/ubl-settings-system.c +++ b/source/ubl-settings-system.c @@ -479,7 +479,6 @@ void on_domain_connect(GtkWidget *self, dictionary *dict){ yon_ubl_status_highlight_incorrect(window->AdressEntry); return; } - g_source_remove(window->timer_id); char *login = (char*)gtk_entry_get_text(GTK_ENTRY(window->LoginEntry)); char *password = (char*)gtk_entry_get_text(GTK_ENTRY(window->PasswordEntry)); char *kerberos = (char*)gtk_entry_get_text(GTK_ENTRY(window->KerberosServerEntry)); @@ -579,7 +578,7 @@ connection_window *yon_connection_window_new(){ g_signal_connect(G_OBJECT(window->CancelButton),"clicked",G_CALLBACK(on_subwindow_close),NULL); g_signal_connect(G_OBJECT(window->StatusEntry),"clicked",G_CALLBACK(on_status_clicked),window); g_signal_connect(G_OBJECT(window->FindEntry),"clicked",G_CALLBACK(on_find_domains_clicked),window); - g_signal_connect(G_OBJECT(window->FindEntry),"focus-out-event",G_CALLBACK(yon_update_thread),window); + g_signal_connect(G_OBJECT(window->AdressEntry),"focus-out-event",G_CALLBACK(yon_update_thread),window); if (!yon_char_is_empty((char*)gtk_entry_get_text(GTK_ENTRY(window->AdressEntry)))){ yon_update_thread(NULL,NULL,window); }