Commit 5fac79b0 authored by Robert Ancell's avatar Robert Ancell

region: Fix input source options not being applied.

This was broken in a86cf1ec (3.32) when the input options dialog was converted
into a GtkPopover. Previously two GSettings objects were used, with one set to
'delay-apply' mode. The input source option didn't apply the changes.

The 'delay-apply' mode is from the original commit d3852fc8, however code was
simplified in b3199dd6 to only set one setting. This meant that the delay is no
longer necessary.

Fixes #440
parent 725a9210
Pipeline #74189 passed with stages
in 4 minutes and 56 seconds
......@@ -951,7 +951,6 @@ set_input_settings (CcRegionPanel *self)
}
g_settings_set_value (self->input_settings, KEY_INPUT_SOURCES, g_variant_builder_end (&builder));
g_settings_apply (self->input_settings);
}
static void set_localed_input (CcRegionPanel *self);
......@@ -1204,7 +1203,6 @@ static void
setup_input_section (CcRegionPanel *self)
{
self->input_settings = g_settings_new (GNOME_DESKTOP_INPUT_SOURCES_DIR);
g_settings_delay (self->input_settings);
self->xkb_info = gnome_xkb_info_new ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment