← Back to team overview

elementary-dev-community team mailing list archive

Applying settings (GSettings, Vala)

 

Hey guys,

I've been having an issue with Pantheon Terminal. I have an option in the
preferences dialog that shows/hides the toolbar. The switch is linked to a
GSetting. So, when I change the switch to true or false, the setting in
dconf-editor is changed.

However, the settings will only be applied when the terminal is reopened (I
have to reload settings). How can I go about this and do it on the fly? I
mean, how can I apply settings instantaneously.

Thanks

Follow ups