2012-09-07 23:54:24 +02:00
|
|
|
Index: gnome-user-share-3.0.3/src/file-share-properties.c
|
2008-11-24 04:35:01 +01:00
|
|
|
===================================================================
|
2012-09-07 23:54:24 +02:00
|
|
|
--- gnome-user-share-3.0.3.orig/src/file-share-properties.c
|
|
|
|
+++ gnome-user-share-3.0.3/src/file-share-properties.c
|
|
|
|
@@ -358,6 +358,9 @@ create_window (void)
|
|
|
|
|
|
|
|
window = GTK_WIDGET (gtk_builder_get_object (builder, "user_share_dialog"));
|
2008-11-24 04:35:01 +01:00
|
|
|
|
|
|
|
+ if (!g_file_test (HTTPD_PROGRAM, G_FILE_TEST_EXISTS))
|
2010-08-10 01:20:27 +02:00
|
|
|
+ gtk_widget_hide (GTK_WIDGET (gtk_builder_get_object (builder, "vbox3")));
|
2008-11-24 04:35:01 +01:00
|
|
|
+
|
|
|
|
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"));
|