summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2011-03-29 16:50:12 +1100
committerRobert Ancell <robert.ancell@canonical.com>2011-03-29 16:50:12 +1100
commit0d00a6ad3385e08eff0c50efe970af8d5d63c536 (patch)
tree12f37f18f90a5e83b1a1787e3f1bb3f6516e7a85
parent673a51e8e316ea0b9248b4f5e3414f03082f9430 (diff)
downloaddconf-0d00a6ad3385e08eff0c50efe970af8d5d63c536.tar.gz
editor: Load *.enums.xml as well as *.gschema.xml. This was stopping some enums from being loaded.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=636880
-rw-r--r--editor/dconf-schema.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/dconf-schema.vala b/editor/dconf-schema.vala
index 2b34e28..c2654b5 100644
--- a/editor/dconf-schema.vala
+++ b/editor/dconf-schema.vala
@@ -371,7 +371,7 @@ public class SchemaList
while ((info = i.next_file (null)) != null) {
string name = info.get_name();
- if (!name.has_suffix(".gschema.xml"))
+ if (!name.has_suffix(".gschema.xml") && !name.has_suffix(".enums.xml"))
continue;
string path = Path.build_filename(dir, name, null);