diff options
author | Stefano Karapetsas <[email protected]> | 2013-02-17 20:02:48 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-02-17 20:02:48 +0100 |
commit | d125376bed4a82bc26e28eff092622b2a0c96ac1 (patch) | |
tree | e44d2e4ee1605e62919f52d706640705980600e2 | |
parent | f5bcee8e06ce78b07976ebaa17218d06f38e42c6 (diff) | |
download | mate-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.c | 2 |
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); |