diff options
Diffstat (limited to 'maximus/maximus-bind.c')
-rw-r--r-- | maximus/maximus-bind.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/maximus/maximus-bind.c b/maximus/maximus-bind.c index 9678b18..e52e0a8 100644 --- a/maximus/maximus-bind.c +++ b/maximus/maximus-bind.c @@ -475,10 +475,11 @@ maximus_bind_init (MaximusBind *bind) tomboy_keybinder_init (); - priv->binding = g_settings_get_string (priv->settings, BIND_EXCLUDE_CLASS); g_signal_connect (priv->settings, "changed::" BIND_EXCLUDE_CLASS, G_CALLBACK (on_binding_changed), bind); + priv->binding = g_settings_get_string (priv->settings, BIND_EXCLUDE_CLASS); + if (binding_is_valid (priv->binding)) tomboy_keybinder_bind (priv->binding, (TomboyBindkeyHandler)on_binding_activated, |