Bastien Nocera
b77df51384
keyboard: Add _equal() helper function
2011-02-24 04:20:07 +00:00
Bastien Nocera
1961501680
keyboard: Fix stupidness when setting GConf keys
...
When setting a new binding in GConf, actually set something...
2011-02-24 04:19:19 +00:00
Bastien Nocera
52f8687c37
keyboard: Only listen to our own key
...
Rather than all the possible changes that could have happened in
the schemas.
2011-02-17 16:52:07 +00:00
Bastien Nocera
2bd214a1d4
keyboard: Fix memleaks in CcKeyboardItem
2011-02-17 13:00:30 +00:00
Bastien Nocera
fbe10dc98c
keyboard: Remove some debug
2011-02-17 13:00:30 +00:00
Bastien Nocera
73f155eaac
keyboard: Pass a gettext package when loading GConf
...
As GConf itself won't be passing us a translated entry by itself.
https://bugzilla.gnome.org/show_bug.cgi?id=576570
2011-02-17 13:00:30 +00:00
Bastien Nocera
27cf30ed54
keyboard: Add support for GSettings shortcuts
2011-02-16 18:00:38 +00:00
Bastien Nocera
6b5fa49cc6
keyboard: Don't update binding by hand
...
Let the CcKeyboardItem update keyval, keymask, etc. for us when
we set the binding value, instead of having us do it by hand.
2011-02-16 01:28:04 +00:00
Bastien Nocera
5c755904e1
keyboard: Clean up GConf handling
...
Move most of the horrible GConf monitoring code to a separate
GObject(-ish). While quite ugly, it's not as bad as the code that
used to be there before.
Also fix the setting of KeyEntry->model (or CcKeyboardItem->model now)
to be the correct model (eg. the shortcut model rather than the section
model)
2011-02-16 01:24:49 +00:00