Commit graph

114 commits

Author SHA1 Message Date
Bastien Nocera
2201807524 keyboard: Link directly to the layouts page
In the region panel, now that it supports switching pages.
2011-09-08 17:23:22 +01:00
Giovanni Campagna
1f9ae38c2f Add a way for panels to receive additional arguments.
This patch introduces the "argv" property to CcPanel. Panels that
wish to handle extra arguments shall override it and act
appropriately in the constructor.

https://bugzilla.gnome.org/show_bug.cgi?id=657093
2011-09-05 18:07:52 +02:00
Bastien Nocera
3d6145b2d5 keyboard: Use icon without a spanner
https://bugzilla.gnome.org/show_bug.cgi?id=657556
2011-08-28 19:28:21 +01:00
Bastien Nocera
456cd55839 keyboard: Simplify GtkBuilder calls 2011-08-26 18:31:52 +01:00
Bastien Nocera
0f4b481c91 keyboard: Add link to the Region panel
So that the layouts are easier to find.

https://bugzilla.gnome.org/show_bug.cgi?id=643101
2011-08-26 18:29:24 +01:00
Rodrigo Moya
159b81dd67 keyboard: Fix some alignment 2011-08-24 17:02:35 +02:00
Florian Müllner
b72c71a970 keyboard: Support string array keybindings
Metacity/Mutter stores keybindings as string array to support multiple
bindings per action. Even though multiple bindings are not exposed in
the UI, support keybindings stored as string array by getting/setting
the first element of the array.

https://bugzilla.gnome.org/show_bug.cgi?id=653613
2011-06-30 13:57:40 +02:00
Florian Müllner
a6d3ad6af3 keyboard: Fix a small memory leak
Unless g_conf_client_get_string(), g_settings_get_string() always
returns a newly allocated string.

https://bugzilla.gnome.org/show_bug.cgi?id=653613
2011-06-30 13:57:40 +02:00
Florian Müllner
8a858345a8 keyboard: Change precedence for schema in KeyList parser
Right now, if both KeyList and KeyListEntry contain a schema element,
the (global) one of the list wins. This makes it rather cumbersome
to mix keys of different schemas in a single list, as rather than
using a default schema and specifying a different one where necessary,
every key needs its own schema element.
A brief IRC discussion suggests that the current precedence didn't
trigger any particular issues before, and neither should changing
it - so do this to support above case.

https://bugzilla.gnome.org/show_bug.cgi?id=653685
2011-06-30 13:57:40 +02:00
Michael Terry
0a8669a5b5 Add Unity to OnlyShowIn fields
https://bugzilla.gnome.org/show_bug.cgi?id=653661
2011-06-30 12:44:52 +01:00
Bastien Nocera
4623be9c94 keyboard: Force "icons" toolbar style
https://bugzilla.gnome.org/show_bug.cgi?id=651595
2011-06-21 15:45:33 +01:00
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