From 8c74d31962eb82f7dcc07000aeb27a84a633a225 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Fri, 15 May 2009 19:42:05 +0200 Subject: [PATCH] s3-netdomjoin-gui: cosmetic fix for empty hostnames. Guenther --- source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c b/source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c index 032d65c3044..0a06a7789cb 100644 --- a/source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c +++ b/source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c @@ -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) { -- 2.34.1