summaryrefslogtreecommitdiff
path: root/src/file-share-properties.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/file-share-properties.c')
-rw-r--r--src/file-share-properties.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/file-share-properties.c b/src/file-share-properties.c
index 4886ef3..27669f6 100644
--- a/src/file-share-properties.c
+++ b/src/file-share-properties.c
@@ -587,8 +587,6 @@ main (int argc, char *argv[])
g_object_unref (store);
#endif /* HAVE_BLUETOOTH */
- update_ui ();
-
g_signal_connect (check,
"toggled", G_CALLBACK (enable_check_toggled), NULL);
g_signal_connect (password_combo,
@@ -614,7 +612,6 @@ main (int argc, char *argv[])
"clicked", G_CALLBACK (help_button_clicked),
gtk_builder_get_object (builder, "user_share_dialog"));
-
g_signal_connect (settings,
"changed::" GSETTINGS_KEY_FILE_SHARING_ENABLED,
G_CALLBACK (file_sharing_enabled_changed), NULL);
@@ -642,6 +639,7 @@ main (int argc, char *argv[])
G_CALLBACK (file_sharing_bluetooth_obexpush_notify_changed), NULL);
#endif /* HAVE_BLUETOOTH */
+ update_ui ();
gtk_widget_show (GTK_WIDGET (gtk_builder_get_object (builder, "user_share_dialog")));