2018-06-18 11:15:50 +02:00
|
|
|
--- a/deja-dup/nautilus/NautilusExtension.c
|
|
|
|
+++ b/deja-dup/nautilus/NautilusExtension.c
|
2019-11-19 16:15:20 +01:00
|
|
|
@@ -313,7 +313,12 @@
|
2018-06-18 11:15:50 +02:00
|
|
|
bindtextdomain(GETTEXT_PACKAGE, LOCALE_DIR);
|
|
|
|
bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
|
|
|
|
|
2019-11-19 16:15:20 +01:00
|
|
|
- settings = g_settings_new(APPLICATION_ID);
|
|
|
|
+ g_autoptr (GSettingsSchemaSource) schema_source = g_settings_schema_source_new_from_directory ("@DEJA_DUP_GSETTINGS_PATH@",
|
2018-06-18 11:15:50 +02:00
|
|
|
+ g_settings_schema_source_get_default (), TRUE, NULL);
|
|
|
|
+
|
2019-11-19 16:15:20 +01:00
|
|
|
+ g_autoptr (GSettingsSchema) schema = g_settings_schema_source_lookup (schema_source, APPLICATION_ID, FALSE);
|
2018-06-18 11:15:50 +02:00
|
|
|
+
|
|
|
|
+ settings = g_settings_new_full (schema, NULL, NULL);
|
|
|
|
g_signal_connect(settings, "changed::include-list",
|
|
|
|
update_include_excludes, NULL);
|
|
|
|
g_signal_connect(settings, "changed::exclude-list",
|