[gedit-list] Gsettings-bound preferences aren't working



I compiled Gedit master (last commit:
642d737e0a0f0e70ff99ea86929747c0bb7f5c79) from source, but also used
`jhbuild` to build the dependencies (gtk+-3, gobject-introspection,
gsettings-desktop-schemas, gtksourceview, libpeas, pycairo, and
pygobject).  Though the compilation was successful and I am able to
run the newly-built `gedit` binary, I am having issues with the
preferences dialog.

Whenever I click on a checkbox to toggle it, the check mark appears
for the briefest moment, but then disappears.  Obviously something
failed, but there is no output on the command line that indicates what
the problem was.  Looking through the source, I see that
`g_settings_bind` is used to bind a gsettings key to the corresponding
UI element:
	g_settings_bind (dlg->priv->editor,
		GEDIT_SETTINGS_DISPLAY_LINE_NUMBERS,
		dlg->priv->display_line_numbers_checkbutton,
		"active",
		G_SETTINGS_BIND_GET | G_SETTINGS_BIND_SET);

Does anyone know why this is occurring?  What am I missing?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]