From 45f9353164c3aaad5dc826c5f0bee6d0e9f6916d Mon Sep 17 00:00:00 2001 From: Dorota Czaplejewicz Date: Fri, 2 Aug 2019 14:05:21 +0000 Subject: [PATCH] geometry: Use default outline by default --- data/keyboards/geometry/compact.xml | 58 ++++++++++++++--------------- eek/eek-xml-layout.c | 6 +-- 2 files changed, 30 insertions(+), 34 deletions(-) diff --git a/data/keyboards/geometry/compact.xml b/data/keyboards/geometry/compact.xml index 8d76c4a2..a1f8f58a 100644 --- a/data/keyboards/geometry/compact.xml +++ b/data/keyboards/geometry/compact.xml @@ -2,48 +2,48 @@
- - - - - - - - - - + + + + + + + + + +
- - - - - - - - - - + + + + + + + + + +
- - - - - - - + + + + + + +
- +
- + diff --git a/eek/eek-xml-layout.c b/eek/eek-xml-layout.c index 69339e28..25f0dabc 100644 --- a/eek/eek-xml-layout.c +++ b/eek/eek-xml-layout.c @@ -417,11 +417,7 @@ geometry_start_element_callback (GMarkupParseContext *pcontext, attribute = get_attribute (attribute_names, attribute_values, "oref"); if (attribute == NULL) { - g_set_error (error, - G_MARKUP_ERROR, - G_MARKUP_ERROR_MISSING_ATTRIBUTE, - "no \"oref\" attribute for \"key\""); - return; + attribute = g_strdup("default"); } g_hash_table_insert (data->key_oref_hash, data->key,