4fa37714a5
Starting to push GNOME:Next... OBS-URL: https://build.opensuse.org/request/show/132722 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-user-share?expand=0&rev=57
15 lines
760 B
Diff
15 lines
760 B
Diff
Index: gnome-user-share-3.0.3/src/file-share-properties.c
|
|
===================================================================
|
|
--- 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"));
|
|
|
|
+ if (!g_file_test (HTTPD_PROGRAM, G_FILE_TEST_EXISTS))
|
|
+ gtk_widget_hide (GTK_WIDGET (gtk_builder_get_object (builder, "vbox3")));
|
|
+
|
|
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"));
|