Skip to content

Commit

Permalink
xsettings: Add gtk-keynav-use-caret setting
Browse files Browse the repository at this point in the history
  • Loading branch information
mtwebster authored and clefebvre committed Nov 8, 2023
1 parent ae4756d commit 349e27a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugins/xsettings/csd-xsettings-manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
#define INTERFACE_WM_SETTINGS_SCHEMA "org.cinnamon.desktop.wm.preferences"
#define SOUND_SETTINGS_SCHEMA "org.cinnamon.desktop.sound"
#define PRIVACY_SETTINGS_SCHEMA "org.cinnamon.desktop.privacy"
#define KEYBOARD_A11Y_SCHEMA "org.cinnamon.desktop.a11y.keyboard"

#define XSETTINGS_PLUGIN_SCHEMA "org.cinnamon.settings-daemon.plugins.xsettings"
#define XSETTINGS_OVERRIDE_KEY "overrides"
Expand Down Expand Up @@ -474,6 +475,7 @@ static TranslationEntry translations [] = {
{ "org.cinnamon.desktop.wm.preferences", "action-right-click-titlebar", "Gtk/TitlebarRightClick", translate_string_string },
{ "org.cinnamon.desktop.privacy", "recent-files-max-age", "Gtk/RecentFilesMaxAge", translate_int_int },
{ "org.cinnamon.desktop.privacy", "remember-recent-files", "Gtk/RecentFilesEnabled", translate_bool_int },
{ "org.cinnamon.desktop.a11y.keyboard", "always-show-text-caret", "Gtk/KeynavUseCaret", translate_bool_int },

{ "org.cinnamon.desktop.peripherals.mouse", "double-click", "Net/DoubleClickTime", translate_int_int },
{ "org.cinnamon.desktop.peripherals.mouse", "drag-threshold", "Net/DndDragThreshold", translate_int_int },
Expand Down Expand Up @@ -1226,6 +1228,8 @@ cinnamon_xsettings_manager_start (CinnamonSettingsXSettingsManager *manager,
XSETTINGS_PLUGIN_SCHEMA, g_settings_new (XSETTINGS_PLUGIN_SCHEMA));
g_hash_table_insert (manager->priv->settings,
PRIVACY_SETTINGS_SCHEMA, g_settings_new (PRIVACY_SETTINGS_SCHEMA));
g_hash_table_insert (manager->priv->settings,
KEYBOARD_A11Y_SCHEMA, g_settings_new (KEYBOARD_A11Y_SCHEMA));

for (i = 0; i < G_N_ELEMENTS (translations); i++) {
GVariant *val;
Expand Down

0 comments on commit 349e27a

Please sign in to comment.