diff --git a/pkgs/desktops/mate/caja-extensions/default.nix b/pkgs/desktops/mate/caja-extensions/default.nix index 89061b31d5f0..1cbbd97cc484 100644 --- a/pkgs/desktops/mate/caja-extensions/default.nix +++ b/pkgs/desktops/mate/caja-extensions/default.nix @@ -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; }) ]; diff --git a/pkgs/desktops/mate/caja-extensions/hardcode-gsettings.patch b/pkgs/desktops/mate/caja-extensions/hardcode-gsettings.patch index 7b29bfe66ea8..f37124963d0d 100644 --- a/pkgs/desktops/mate/caja-extensions/hardcode-gsettings.patch +++ b/pkgs/desktops/mate/caja-extensions/hardcode-gsettings.patch @@ -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,