mate.caja-extensions: Fix wrong schema path
Some schema comes from the mate-desktop package: - org.mate.applications-terminal - org.mate.background
This commit is contained in:
parent
aa3396dc32
commit
8d9763d043
2 changed files with 4 additions and 4 deletions
|
@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
|
|||
(substituteAll {
|
||||
src = ./hardcode-gsettings.patch;
|
||||
caja_gsetttings_path = glib.getSchemaPath mate.caja;
|
||||
term_gsetttings_path = glib.getSchemaPath mate.mate-terminal;
|
||||
desktop_gsetttings_path = glib.getSchemaPath mate.mate-desktop;
|
||||
})
|
||||
];
|
||||
|
||||
|
|
|
@ -74,7 +74,7 @@ index e14a9bf..691afab 100644
|
|||
+ GSettingsSchemaSource* schema_source;
|
||||
+ GSettingsSchema* schema;
|
||||
+
|
||||
+ schema_source = g_settings_schema_source_new_from_directory("@term_gsetttings_path@",
|
||||
+ schema_source = g_settings_schema_source_new_from_directory("@desktop_gsetttings_path@",
|
||||
+ g_settings_schema_source_get_default(),
|
||||
+ TRUE, NULL);
|
||||
+ schema = g_settings_schema_source_lookup(schema_source,
|
||||
|
@ -95,7 +95,7 @@ index e14a9bf..691afab 100644
|
|||
+ GSettingsSchemaSource* schema_source;
|
||||
+ GSettingsSchema* schema;
|
||||
+
|
||||
+ schema_source = g_settings_schema_source_new_from_directory("@term_gsetttings_path@",
|
||||
+ schema_source = g_settings_schema_source_new_from_directory("@desktop_gsetttings_path@",
|
||||
+ g_settings_schema_source_get_default(),
|
||||
+ TRUE, NULL);
|
||||
+ schema = g_settings_schema_source_lookup(schema_source,
|
||||
|
@ -155,7 +155,7 @@ index 3119e9f..4f80c88 100644
|
|||
filename = g_filename_from_uri(uri, NULL, NULL);
|
||||
|
||||
- settings = g_settings_new (WP_SCHEMA);
|
||||
+ schema_source = g_settings_schema_source_new_from_directory("@GSETTINGS_PATH@",
|
||||
+ schema_source = g_settings_schema_source_new_from_directory("@desktop_gsetttings_path@",
|
||||
+ g_settings_schema_source_get_default(),
|
||||
+ TRUE, NULL);
|
||||
+ schema = g_settings_schema_source_lookup(schema_source,
|
||||
|
|
Loading…
Reference in a new issue