diff options
author | Günther Deschner <gd@samba.org> | 2009-05-15 19:42:05 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-05-15 19:51:02 +0200 |
commit | 8c74d31962eb82f7dcc07000aeb27a84a633a225 (patch) | |
tree | 3af5de02a9ee2f02bf5f4f21addfe547b40e6d4e /source3/lib | |
parent | 473bf41d20b25bd7d98ea6647e6295b3fb6f34e1 (diff) | |
download | samba-8c74d31962eb82f7dcc07000aeb27a84a633a225.tar.gz samba-8c74d31962eb82f7dcc07000aeb27a84a633a225.tar.bz2 samba-8c74d31962eb82f7dcc07000aeb27a84a633a225.zip |
s3-netdomjoin-gui: cosmetic fix for empty hostnames.
Guenther
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c b/source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c index 032d65c304..0a06a7789c 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) { |