region: Fix input source options not being applied.
This was broken ina86cf1eca2
(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 commitd3852fc831
, however code was simplified inb3199dd
to only set one setting. This meant that the delay is no longer necessary. Fixes #440
This commit is contained in:
parent
ece0d9c26e
commit
d34bbda386
1 changed files with 0 additions and 2 deletions
|
@ -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_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);
|
static void set_localed_input (CcRegionPanel *self);
|
||||||
|
@ -1204,7 +1203,6 @@ static void
|
||||||
setup_input_section (CcRegionPanel *self)
|
setup_input_section (CcRegionPanel *self)
|
||||||
{
|
{
|
||||||
self->input_settings = g_settings_new (GNOME_DESKTOP_INPUT_SOURCES_DIR);
|
self->input_settings = g_settings_new (GNOME_DESKTOP_INPUT_SOURCES_DIR);
|
||||||
g_settings_delay (self->input_settings);
|
|
||||||
|
|
||||||
self->xkb_info = gnome_xkb_info_new ();
|
self->xkb_info = gnome_xkb_info_new ();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue