summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-02-17 20:02:48 +0100
committerStefano Karapetsas <[email protected]>2013-02-17 20:02:48 +0100
commitd125376bed4a82bc26e28eff092622b2a0c96ac1 (patch)
treee44d2e4ee1605e62919f52d706640705980600e2
parentf5bcee8e06ce78b07976ebaa17218d06f38e42c6 (diff)
downloadmate-control-center-d125376bed4a82bc26e28eff092622b2a0c96ac1.tar.bz2
mate-control-center-d125376bed4a82bc26e28eff092622b2a0c96ac1.tar.xz
Disabled shortcuts have "disabled" as value in GSettings, not an empty string
-rw-r--r--capplets/keybindings/mate-keybinding-properties.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/capplets/keybindings/mate-keybinding-properties.c b/capplets/keybindings/mate-keybinding-properties.c
index cfd7cf58..fded3998 100644
--- a/capplets/keybindings/mate-keybinding-properties.c
+++ b/capplets/keybindings/mate-keybinding-properties.c
@@ -1332,7 +1332,7 @@ static void accel_edited_callback(GtkCellRendererText* cell, const char* path_st
if (response == GTK_RESPONSE_ACCEPT)
{
- g_settings_set_string (tmp_key.settings, tmp_key.gsettings_key, "");
+ g_settings_set_string (tmp_key.settings, tmp_key.gsettings_key, "disabled");
str = binding_name (keyval, keycode, mask, FALSE);
g_settings_set_string (key_entry->settings, key_entry->gsettings_key, str);