mirror of
https://github.com/samba-team/samba.git
synced 2025-03-12 20:58:37 +03:00
s3-netdomjoin-gui: cosmetic fix for empty hostnames.
Guenther
This commit is contained in:
parent
473bf41d20
commit
8c74d31962
@ -878,6 +878,7 @@ static void callback_enter_hostname_and_unlock(GtkWidget *widget,
|
||||
if (!entry_text || entry_text[0] == 0) {
|
||||
state->hostname_changed = FALSE;
|
||||
gtk_widget_set_sensitive(GTK_WIDGET(state->button_ok), FALSE);
|
||||
gtk_label_set_text(GTK_LABEL(state->label_full_computer_name), "");
|
||||
return;
|
||||
}
|
||||
if (strcasecmp(state->my_hostname, entry_text) == 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user