Index: gnome-user-share-0.40/src/file-share-properties.c =================================================================== --- gnome-user-share-0.40.orig/src/file-share-properties.c +++ gnome-user-share-0.40/src/file-share-properties.c @@ -468,6 +468,9 @@ main (int argc, char *argv[]) GCONF_CLIENT_PRELOAD_RECURSIVE, NULL); + if (!g_file_test (HTTPD_PROGRAM, G_FILE_TEST_EXISTS)) + gtk_widget_hide (GTK_WIDGET (gtk_builder_get_object (builder, "frame2"))); + check = GTK_WIDGET (gtk_builder_get_object (builder, "enable_check")); password_combo = GTK_WIDGET (gtk_builder_get_object (builder, "password_combo")); password_entry = GTK_WIDGET (gtk_builder_get_object (builder, "password_entry"));