Commit graph

135 commits

Author SHA1 Message Date
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
Matthias Clasen
7a84244be5 Fix initial selection in the shortcuts pane
Change the selection mode for the left pane to browse, meaning
that one row is always selected, and select the first row
initially.

https://bugzilla.gnome.org/show_bug.cgi?id=643098
2011-02-24 03:23:59 +00:00
Matthias Clasen
efaffc1136 Don't exit prematurely
There was an accidental exit in the middle of shortcut setup
that caused us to not load custom shortcuts.

https://bugzilla.gnome.org/show_bug.cgi?id=643098
2011-02-24 03:23:58 +00:00
Bastien Nocera
c3b742af6f keyboard: Add a11y for magnifier zoom in/out 2011-02-23 16:47:46 +00:00
Bastien Nocera
3574d8f882 common: Move eggaccelerators to common/
So we can share it with the universal-access panel.
2011-02-23 15:40:46 +00:00
Thomas Wood
e2f944a66a configure: Group pkg-config checks based on how they are used
Group the pkg-config checks so that pkg-config can remove duplicated CFLAGS
and LIBS.

https://bugzilla.gnome.org/show_bug.cgi?id=636593
2011-02-19 16:46:26 +00:00
Bastien Nocera
2e88bc759e keyboard: Add Universal Access shortcuts
As newly defined in gnome-settings-daemon.

https://bugzilla.gnome.org/show_bug.cgi?id=641279
2011-02-18 13:53:38 +00:00
William Jon McCann
05f7a4b1f4 keyboard: align bottoms of panes in a neater way
https://bugzilla.gnome.org/show_bug.cgi?id=642629
2011-02-17 17:05:04 -05:00
William Jon McCann
886d871893 keyboard: don't expand tables vertically
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=642625
2011-02-17 16:59:45 -05:00
Bastien Nocera
0e153740f9 keyboard: Don't resize the shell horizontally
By ellipsising long key names.
2011-02-17 19:10:00 +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
000ba7fffe keyboard: Fix memleaks when adding from XML file 2011-02-17 13:00:30 +00:00
Bastien Nocera
2bd214a1d4 keyboard: Fix memleaks in CcKeyboardItem 2011-02-17 13:00:30 +00:00
Bastien Nocera
52339fc0a3 keyboard: Read XDG data dirs for keys to use
And set the locale prefix accordingly.
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
029797928d keyboard: Pass gettext domain name for GConf entries 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
407cf455bf keyboard: Use GSettings for those shortcuts 2011-02-16 18:00:38 +00:00
Bastien Nocera
82ae68abdf keyboard: Move a11y keys to gnome-control-center 2011-02-16 18:00:38 +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
Bastien Nocera
816068ff6f keyboard: Simplify bit of code 2011-02-16 01:24:49 +00:00
Bastien Nocera
47770ed40c keyboard: typedef the shortcut types 2011-02-16 01:24:48 +00:00
William Jon McCann
437b2cfb40 keyboard: improve the layout of the bindings page
Limit size of sections view and keep the key column the same size.
2011-02-02 20:00:31 -05:00
William Jon McCann
5db83718e3 keyboard: add missing file 2011-02-02 17:48:35 -05:00
William Jon McCann
4d7c8354c4 keyboard: allow merging key groups together per section 2011-02-02 17:31:18 -05:00
William Jon McCann
c248dd8788 keyboard: change grouping of keys 2011-02-02 16:52:11 -05:00
Bastien Nocera
9a1bdb4a30 keyboard: Align the scales
Make sure the scales in the keyboard panel are aligned by adding
them all to GtkSizeGroups.

https://bugzilla.gnome.org/show_bug.cgi?id=605501
2011-01-31 21:20:09 +00:00
William Jon McCann
2723a3b51e keyboard: use attached toolbar pattern 2011-01-26 16:47:43 -05:00
Matthias Clasen
4d3aee8904 keyboard: make scales functional
Without adjustments, nothing gets drawn and no change is possible.
The boundaries for these adjustments were taking from the 2.32 branch.
2011-01-25 22:54:04 -05:00
Kjartan Maraas
0ec577167e Remove a string from translation. 2011-01-25 20:26:02 +01:00
Matthias Clasen
37b6e2b332 Make custom shortcut dialog non-resizable
The shell doesn't allow to resize attached dialogs, so we don't
want to show resize grips.
2011-01-21 14:42:28 -05:00
Matthias Clasen
110b7fe8a8 Make custom keybinding editing work again
Only allow adding custom bindings in their section.
Fix up memory management when removing bindings.
2011-01-21 02:03:34 -05:00
Matthias Clasen
8effcb317c Avoid duplicate entries for custom keybindings
The a11y keybindings live in /desktop/gnome/keybindings as well,
and we don't want to show them twice. So filter them out.
2011-01-21 01:27:23 -05:00
William Jon McCann
7d7e249627 keyboard: set a size request so the treeviews aren't miniscule 2011-01-18 21:26:01 -05:00
William Jon McCann
fe305ff6fe keyboard: add support for system, app, user groups of keybindings 2011-01-18 20:59:04 -05:00
William Jon McCann
adcf2cfc17 keyboard: rename Desktop shortcuts to Launchers and Actions 2011-01-17 20:28:31 -05:00
William Jon McCann
f1e85d3e75 keyboard: rename Sound to Sound and Media 2011-01-17 19:53:37 -05:00
William Jon McCann
c968514670 keyboard: kill some tabs 2011-01-17 19:48:39 -05:00
William Jon McCann
83baa91474 keyboard: make the shortcut dialog a bit more like the mockups
- No horizontal scroll
 - No info icon
 - Use toolbar for add/remove
2011-01-17 19:48:39 -05:00
William Jon McCann
b7c658c064 Add orientation properties to help out glade 2011-01-17 19:48:39 -05:00
Thomas Wood
ca7bdc3f7e build: remove redundant variables
GNOMECC_CAPPLETS_CLEANFILES duplicated existing files to be removed and
GNOMECC_CAPPLETS_EXTRA_DIST was no longer used anywhere.
2010-12-20 14:51:52 +00:00
Bastien Nocera
d9ea76bc4a keyboard: Remove dead file 2010-12-16 18:37:59 +00:00
Rodrigo Moya
a635c0b646 keyboard: Less padding for scrolled windows 2010-12-09 17:02:41 +01:00
Rodrigo Moya
cc15b73336 keyboard: Match with previous functionality 2010-12-09 17:02:41 +01:00
Rodrigo Moya
f6f580b9ee keyboard: Show keybindings for the selected section 2010-12-09 17:02:41 +01:00
Rodrigo Moya
ae26a638bc keyboard: Display sections in a separate treeview 2010-12-09 17:02:41 +01:00
Rodrigo Moya
974acd358e keyboard: Separate code for tabs in notebooks 2010-12-09 17:02:41 +01:00
Rodrigo Moya
fa9c9818df keyboard: Use the same code formatting everywhere 2010-12-09 17:02:41 +01:00