Commit graph

103 commits

Author SHA1 Message Date
Bastien Nocera
e02e7513d9 keyboard: Change tab label from "General" to "Typing"
https://bugzilla.gnome.org/show_bug.cgi?id=615206
2011-05-07 17:48:59 +01:00
Bastien Nocera
3d5c7b65a6 keyboard: Avoid warnings when adding new shortcuts
We don't want to unset GConf watches if we didn't set them
in the first place.
2011-04-26 15:54:59 +01:00
Bastien Nocera
83512fb6fe keyboard: Fix adding custom shortcuts
We need something other than "0" as an answer. Thanks for breaking
the responses glade.

https://bugzilla.gnome.org/show_bug.cgi?id=648187
2011-04-26 15:49:56 +01:00
Bastien Nocera
15c5d5a96e keyboard: Use correct base for unsetting custom shortcuts 2011-04-26 15:30:31 +01:00
Bastien Nocera
53f78eec0b keyboard: Always add the "Custom shortcuts" section
Even if it is empty by default.

https://bugzilla.gnome.org/show_bug.cgi?id=648091
2011-04-26 15:20:45 +01:00
Bastien Nocera
995be4e6f0 keyboard: Handle shortcuts conflict in different section
https://bugzilla.gnome.org/show_bug.cgi?id=646504
2011-04-13 12:51:54 +01:00
Bastien Nocera
0f3cf2286f keyboard: Use correct type for enum 2011-04-13 12:51:54 +01:00
Bastien Nocera
9d94d2dfae keyboard: Fix reloading keyboard shortcuts
When reloading entries, we also need to clear the section
hash tables, otherwise we won't be adding the keys as they
already exist in the hashtables.

Fixes empty keyboard shortcuts when creating a new workspace (eg.
moving any window to an empty workspace in gnome-shell)

https://bugzilla.gnome.org/show_bug.cgi?id=646949
2011-04-07 16:16:52 +01:00
Bastien Nocera
6dd3318b80 keyboard: Set repeat-interval correctly
This sets the repeat-interval key in milliseconds. From a minimum of
one char per 2 seconds up to 50 characters per second (as per
requirements listed in 84eed6b0cf).

https://bugzilla.gnome.org/show_bug.cgi?id=646241
2011-03-31 12:21:20 +01:00
Bastien Nocera
b7b1f9f4d0 keyboard: Correct labels for blinking speed
https://bugzilla.gnome.org/show_bug.cgi?id=645314
2011-03-20 16:59:21 +00:00
Cosimo Cecchi
27346dc87d keyboard: mark the scales as insensitive when the checkboxes are off
https://bugzilla.gnome.org/show_bug.cgi?id=645151
2011-03-18 13:23:20 -04:00
Cosimo Cecchi
92c3f6dd61 all: set the 'inline-toolbar' style class to toolbars which need it
https://bugzilla.gnome.org/show_bug.cgi?id=645059
2011-03-17 15:09:09 -04:00
Bastien Nocera
6c6c37609c keyboard: Fix crasher when num workspace changes
And the panel has already been closed.

https://bugzilla.gnome.org/show_bug.cgi?id=644784
https://bugzilla.redhat.com/show_bug.cgi?id=684368
2011-03-16 12:49:46 +00:00
Kjartan Maraas
24cfcd9a36 #include <config.h> to make translations work 2011-03-02 20:06:20 +01:00
Bastien Nocera
84eed6b0cf keyboard: Switch repeat rate/speed to be a fraction
Instead of settings the absolute value of the repeat rate in msecs
through the scale, we set the number of chars per sec, and
use GSettings' bindings functions to transform those a timeout.

https://bugzilla.gnome.org/show_bug.cgi?id=569612
2011-02-28 16:25:40 +00:00
Bastien Nocera
d65ee3490d keyboard: Implement "editing-canceled" property
Through sheer "pointless" cut'n'paste.

https://bugzilla.gnome.org/show_bug.cgi?id=642695
2011-02-24 05:37:25 +00:00
Bastien Nocera
a13cf931a9 keyboard: Rework stupid conflict detection code
https://bugzilla.gnome.org/show_bug.cgi?id=643124
2011-02-24 04:35:50 +00:00
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
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