diff --git a/source/ubinstall-gtk.c b/source/ubinstall-gtk.c index 579468a..dba21a2 100644 --- a/source/ubinstall-gtk.c +++ b/source/ubinstall-gtk.c @@ -12,8 +12,10 @@ void on_autohostname_check(GtkWidget *, main_window *widgets){ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widgets->HostnameSensitiveCheck),1); if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(widgets->AutoHostnameCheck))){ gtk_widget_set_sensitive(widgets->HotnameEntry,0); + gtk_entry_set_placeholder_text(GTK_ENTRY(widgets->HotnameEntry),"auto"); }else{ gtk_widget_set_sensitive(widgets->HotnameEntry,1); + gtk_entry_set_placeholder_text(GTK_ENTRY(widgets->HotnameEntry),"ublinux-install"); } }