Commit graph

349 commits

Author SHA1 Message Date
Christophe Fergeau
74a09b932c keyboard: Use AM_CPPFLAGS rather than INCLUDES
This is deprecated in newer automake versions, and this causes warnings
with automake 1.14:
panels/printers/Makefile.am:3: warning: 'INCLUDES' is the old name for
AM_CPPFLAGS' (or '*_CPPFLAGS')

https://bugzilla.gnome.org/show_bug.cgi?id=732189
2014-06-25 12:28:18 +02:00
Christophe Fergeau
bb706f7b75 Add shortcut to launch gnome-control-center
https://bugzilla.gnome.org/show_bug.cgi?id=729052
2014-06-13 15:09:03 +02:00
Yosef Or Boczko
3758203a12 keyboard: Use header bar in the custom shortcut dialog
https://bugzilla.gnome.org/show_bug.cgi?id=724299
2014-04-28 17:29:18 +03:00
Matthias Clasen
cd498a06b3 keyboard: drop hard X dependency
The code to listen for window manager changes only makes sense under
X, so don't use it under Wayland. In that case, we can just assume
that we are under GNOME shell when we find a wayland display.

https://bugzilla.gnome.org/show_bug.cgi?id=728679
2014-04-22 17:28:04 -04:00
Rui Matos
e08e744578 keyboard: Whitelist a few more options for the 3rd level chooser
These work as good as the others since they're simple switches and it
seems that some users want them.

https://bugzilla.gnome.org/show_bug.cgi?id=724066
2014-02-11 10:56:56 +01:00
Daniel Mustieles
2c5951819d Updated FSF's address 2014-01-29 11:27:38 +01:00
Yosef Or Boczko
29881b48a8 keyboard: Use margin-start/end instead of margin-left/right
https://bugzilla.gnome.org/show_bug.cgi?id=712661
2013-11-19 22:30:28 +02:00
Jasper St. Pierre
dd52ac9417 Add NoDisplay to all gnome-control-center panel .desktop files
These aren't apps -- they're simply launchers for gnome-control-center.
They should not be shown as apps in the UI at all.

https://bugzilla.gnome.org/show_bug.cgi?id=712246
2013-11-15 08:44:53 -05:00
Rui Matos
f444c7b28c keyboard: Don't leak a dialog
https://bugzilla.gnome.org/show_bug.cgi?id=708286
2013-10-01 10:05:02 +02:00
Rui Matos
640cdb4c47 keyboard: Remove unused toplevel window from .ui file
https://bugzilla.gnome.org/show_bug.cgi?id=708286
2013-10-01 10:05:02 +02:00
Jasper St. Pierre
6615c7de89 keyboard: Add a screencast shortcut entry 2013-08-14 21:00:41 -04:00
Rui Matos
5b98213b04 keyboard: Add the XKB option for the input source switch shortcut
Mutter now uses the "grp" XKB option to implement a special
modifiers-only shortcut use by gnome-shell to switch input sources.

https://bugzilla.gnome.org/show_bug.cgi?id=700346
2013-05-27 10:23:28 +02:00
Rui Matos
1f03f33230 Remove the input-source-switcher setting
Mutter now has a special modifiers-only shortcut used by gnome-shell
to switch input sources which no longer uses this setting.

This reverts commit ae3014ba3e.
This reverts commit 77b7569c3d.

https://bugzilla.gnome.org/show_bug.cgi?id=700346
2013-05-27 10:23:26 +02:00
Matthias Clasen
5c4872d77c Add translator comments to some strings
Explain what Alternative Character Key and Compose Key are,
to increase the chances of meaningful translation.
https://bugzilla.gnome.org/show_bug.cgi?id=697213
2013-05-18 18:06:00 -04:00
Rui Matos
0b7479572e Revert "Revert "Use a common definition for modifier-only keybindings array""
This reverts commit 34906dba27.
2013-05-13 16:26:01 +02:00
Rui Matos
6a523d096b Revert "Revert "Add the input-source-switcher to the shortcuts""
This reverts commit 971e6a81ae.
2013-05-13 16:25:54 +02:00
Rui Matos
7d5eed0404 Revert "wip"
This reverts commit 0a14e8216a.
2013-05-13 16:25:45 +02:00
Rui Matos
0a14e8216a wip 2013-05-13 16:22:00 +02:00
Rui Matos
971e6a81ae Revert "Add the input-source-switcher to the shortcuts"
This reverts commit 77b7569c3d.
2013-05-13 16:22:00 +02:00
Rui Matos
34906dba27 Revert "Use a common definition for modifier-only keybindings array"
This reverts commit ae3014ba3e.
2013-05-13 16:22:00 +02:00
Changwoo Ryu
4888729aae keyboard: Allow input of Hangul and Modifier+space shortcuts
These keyboard switching key combinations had been rejected because
using them as shortcuts might prevent users from inputting text. But
now the input source switching keys are configured and processed in
GNOME. So the shortcut settings should allow these key combinations.

https://bugzilla.gnome.org/show_bug.cgi?id=693395
2013-04-22 13:25:19 +09:00
Emanuele Aina
31a8a99440 shell: Let panels have their own commandline flags
Add a class method to CcPanel to get a GOptionGroup which will be added
to the main commandline parser. This gives panels the chance to have
commandline "--flags" in addition to the already available parameters.

This changes changes the way parameters are passed to panels: the first
entry in the GVariant array is always the a{sv} dictionary of
commandline flags, followed by the remaining free-form arguments.

https://bugzilla.gnome.org/show_bug.cgi?id=696054
2013-04-03 18:09:11 +02:00
Emanuele Aina
9977bb200e shell: Use GVariant to convey panel arguments instead of a string array
By using a GVariant of type "av" we can potentially pass more structured
data to panels, which will become relevant with the ability to invoke
them by GAction-based DBus-activation introduced in the following patch.

https://bugzilla.gnome.org/show_bug.cgi?id=696054
2013-04-03 18:02:10 +02:00
Colin Walters
693aac7f32 build: Fix srcdir != builddir 2013-02-19 06:51:01 -05:00
Rui Matos
ae3014ba3e Use a common definition for modifier-only keybindings array 2013-02-19 12:25:56 +01:00
Rui Matos
96ce117514 keyboard: Relabel link button, 'Layout Settings' -> 'Input Sources' 2013-02-19 12:25:55 +01:00
Allan Day
f8f3c9b55b keyboard: Update panel comments
Very few of the panel comments provide information that is very
useful. Update them to supplement the panel descriptions - this
will make the search results more helpful.

https://bugzilla.gnome.org/show_bug.cgi?id=694110
2013-02-19 10:41:43 +01:00
Matthias Clasen
d9e103394e keyboard: Be more specific in input source switch label
The description of these shortcuts should mention 'input source'.
https://bugzilla.gnome.org/show_bug.cgi?id=692567
2013-02-18 17:30:26 +01:00
Matthias Clasen
77b7569c3d Add the input-source-switcher to the shortcuts
This setting was relegated to gnome-tweak-tool in 3.6 for timing
reasons, but it really belongs in the keyboard panel.
https://bugzilla.gnome.org/show_bug.cgi?id=687910
2013-01-14 06:12:54 -05:00
Chow Loong Jin
83bcac8cad keyboard: Allow key repeat rate of 110 chars/sec
This reverts a small unrelated change of commit
84eed6b0cf, since there are people who do prefer
using a key repeat rate above the current limit of 50 chars/sec.

https://bugzilla.gnome.org/show_bug.cgi?id=688405
2013-01-08 11:52:06 +01:00
Cosimo Cecchi
8d5f2908b5 panels: add --sourcedir=$(srcdir) when generating resource list
Like b8e93fb333 but for all panels.
2013-01-07 16:23:57 -05:00
Cosimo Cecchi
3b98a73b69 keyboard: use a GResource for GtkBuilder UI definition
https://bugzilla.gnome.org/show_bug.cgi?id=691132
2013-01-07 10:57:05 +01:00
Matthias Clasen
3d27d8caaf shell: Fittsify panels
Make it possible for panels to go all the way to the edge of the
shell. This is particularly important for panels that scroll, such
as the new power panel. All other panels are changed to compensate
for the loss of external padding.

https://bugzilla.gnome.org/show_bug.cgi?id=691229
2013-01-07 10:51:29 +01:00
Cosimo Cecchi
df3793d129 keyboard: remove unused code
https://bugzilla.gnome.org/show_bug.cgi?id=691132
2013-01-04 20:34:38 +01:00
Rui Matos
4fbf1da650 keyboard: Update for the input source switching keybindings move
These are now provided by gsettings-desktop-schemas.
2012-12-18 16:56:22 +00:00
Stéphane Démurget
0e7192e676 keyboard: Improve shortcuts tab keynav
The default focus traversal order inside the shortcuts tab was: the
shortcuts treeview, the section treeview and the shortcuts toolbar.

We set a focus cycle chain to swap the treeviews order for the keynav to
be more natural.

https://bugzilla.gnome.org/show_bug.cgi?id=690387
2012-12-18 11:32:19 +01:00
Bastien Nocera
e419ee7d4e panels: Remove unused X-GNOME-Settings-Panel key 2012-12-11 17:09:04 +01:00
Bastien Nocera
3686cf7eb8 shell: Make all control-center plugins static
This makes loading faster, with less I/O, avoids unnecessary
code duplication (around 1k lines shaved), and ensures that
all the panels link and work appropriately.

By the same token, it will stop external panels from being
created, and loaded.

https://bugzilla.gnome.org/show_bug.cgi?id=690036
2012-12-11 17:07:39 +01:00
Bastien Nocera
2a63aed36b keyboard: Add context to the "Search" string
https://bugzilla.gnome.org/show_bug.cgi?id=689623
2012-12-06 10:08:14 +01:00
Bastien Nocera
f94aeb2b02 keyboard: Add support for msgctxt in keybindings
Unfortunately, this means duplicating the description attribute
to the text inside the KeyListEntry element, and marking the
KeyListEntry element as translatable by prepending "_".

<KeyListEntry
	name="search"
	_description="Search"/>
becomes:
<_KeyListEntry
	name="search"
	description="Search"
	msgctxt="keybinding">
		Search
</_KeyListEntry>

https://bugzilla.gnome.org/show_bug.cgi?id=689623
2012-12-06 10:08:14 +01:00
Jeremy Bicha
4285c4fd47 keyboard: Point help to more specific page
https://bugzilla.gnome.org/show_bug.cgi?id=687486
2012-11-02 21:06:54 -04:00
Bastien Nocera
2def485526 keyboard: Ensure the dir name shown matches the XDG Pictures dir
If the Pictures directory was renamed, or the directory name doesn't
match the current language, the dir name would have been wrong.

Enable translator to leave a space for the directory name in their
translation.

https://bugzilla.gnome.org/show_bug.cgi?id=685605
2012-10-10 18:55:53 +02:00
Piotr Drąg
d521bf0693 keyboard: Improve contexts for ambiguous strings
https://bugzilla.gnome.org/show_bug.cgi?id=684336
2012-10-09 10:17:46 +02:00
Bastien Nocera
491234c533 keyboard: Handle arguments for the shortcuts tab
So it's possible to switch directly to a section of the shortcuts
tab, rather than have users look for particular sections when redirected
there through a link.

https://bugzilla.gnome.org/show_bug.cgi?id=684280
2012-09-19 00:29:31 +02:00
Bastien Nocera
22e31eb3f7 keyboard: Add ability to switch to a shortcuts section
With some new API.

https://bugzilla.gnome.org/show_bug.cgi?id=684280
2012-09-19 00:29:31 +02:00
Bastien Nocera
968618ef8b keyboard: Add unique IDs for each shortcuts section
Rather than relying on comparison of translated strings.

https://bugzilla.gnome.org/show_bug.cgi?id=684280
2012-09-19 00:29:31 +02:00
Ray Strode
b0e7a5efa8 panels: add register macro
Bastien says he doesn't like the blank class_finalize
functions in every panel and he would like a wrapper
macro to hide them.

This commit does that.
2012-08-21 14:32:33 -04:00
Rui Matos
978ab40f3e keyboard: Add common XKB options to the Typing shortcuts section
Both the compose key and the 3rd level chooser are common and useful
enough to expose in the control center.

Since these shortcuts are a small pre-defined set of only modifier
keys we present them in combo cell renderers.

https://bugzilla.gnome.org/show_bug.cgi?id=682069
2012-08-20 18:51:39 +02:00
Rui Matos
4e0bc86e5b keyboard: Rename the Input Sources shortcuts section to Typing
This way we can add more typing related keybindings here.

https://bugzilla.gnome.org/show_bug.cgi?id=682069
2012-08-20 18:51:39 +02:00
Rui Matos
a24f221eeb keyboard: Introduce a BINDING_GROUP_SEPARATOR type for the separator
This way we can control the shortcut section separator position in
case we introduce other types.

https://bugzilla.gnome.org/show_bug.cgi?id=682069
2012-08-20 18:51:39 +02:00