Commit graph

219 commits

Author SHA1 Message Date
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
Bastien Nocera
db2ff0fe52 keyboard: Clarify screenshot actions
And explain that it saves directly to the Pictures directory.

https://bugzilla.gnome.org/show_bug.cgi?id=681849
2012-08-18 19:35:47 +01:00
Rui Matos
f5502645ff keyboard: Remove unused shortcut treeview sorting code
Since the shortcut treeview doesn't have visible headers the sorting
code isn't needed.

https://bugzilla.gnome.org/show_bug.cgi?id=681794
2012-08-18 18:37:25 +01:00
Rui Matos
7bce5758c8 keyboard: Fix adding the section separator after the first time
The separator would only get added the first time the keyboard panel
was opened.

https://bugzilla.gnome.org/show_bug.cgi?id=681788
2012-08-18 18:36:45 +01:00
Rui Matos
0651abd7fb keyboard: Plug a memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=681787
2012-08-18 18:20:15 +01:00
Rui Matos
13b64e0486 keyboard: Plug a GSettings object leak
Also, rename the variable holding it since there are other 'settings'
variables in the same file.

https://bugzilla.gnome.org/show_bug.cgi?id=679328
2012-07-03 16:56:47 +02:00
Rui Matos
5e4376cfde keyboard: Add key bindings to switch input sources
https://bugzilla.gnome.org/show_bug.cgi?id=662489
2012-06-01 18:46:39 +01:00
Matthias Clasen
e59dc8dec4 keyboard: Make it possible to jump to shortcuts tab
To make this work, we need to move the setting up of priv->builder
to the instance init, so that it is available when construct properties
are set; the other setup needs to remain in the constructor, since
it relies on construct properties.

https://bugzilla.gnome.org/show_bug.cgi?id=662489
2012-06-01 18:46:37 +01:00
Florian Müllner
7adcd01261 keyboard: Add get_help_uri() implementation
https://bugzilla.gnome.org/show_bug.cgi?id=675471
2012-05-18 18:48:37 +02:00
Tomas Bzatek
30c073ffee keyboard: Allocate required space for replacing a key shortcut
https://bugzilla.gnome.org/show_bug.cgi?id=670236
2012-02-20 11:20:35 +01:00
Bastien Nocera
be88bc1fd3 keyboard: Shift+unmodified key isn't good enough
And it stops upper-case unmodified (or lightly modified) keys from
being captured and unusable for other purposes.
2012-02-19 16:12:30 +01:00
Bastien Nocera
3d3f949f37 keyboard: Remove unused "block_accels" work-around 2012-02-19 16:06:39 +01:00
Bastien Nocera
0965294afd keyboard: Make clicking on description edit the shortcut
As it used it, and broke when we moved to GNOME 3.

https://bugzilla.gnome.org/show_bug.cgi?id=661527
2012-02-18 16:27:29 +01:00
Bastien Nocera
cad6f350ca keyboard: Don't set the "text" property
It won't be used, we're using a function to set the text a line below.
2012-02-14 19:37:53 +00:00
Bastien Nocera
df372b56fe keyboard: We don't have a tree for the shortcuts 2012-02-14 19:37:52 +00:00
Bastien Nocera
2d3fabeeb3 keyboard: Remove italics
https://bugzilla.gnome.org/show_bug.cgi?id=669070
2012-01-31 17:30:39 +00:00
Cosimo Cecchi
fde93bbd13 keyboard: add support for new screenshot shortcuts
Add support for new screenshot area and clipboard actions.

https://bugzilla.gnome.org/show_bug.cgi?id=668712
2012-01-26 09:30:02 -05:00
Florian Müllner
4cd7b6c6dc .desktop: Drop prefix from X-GNOME-Keywords
The field has now been included in the spec, so use the standardized
name.
2011-12-19 16:26:40 +01:00
Bastien Nocera
7ca6df2452 keyboard: Fix shortcut always showing up empty
When starting afresh. The binding was never read from
GSettings on startup otherwise.

Spotted by Yanko Kaneti <yaneti@declera.com>
2011-11-25 11:58:43 +00:00
Bastien Nocera
9f107a4760 keyboard: Remove support code for GConf keybindings 2011-11-14 18:09:39 +00:00
Bastien Nocera
3207fe97ec keyboard: Remove support for loading GConf keybindings 2011-11-14 18:09:39 +00:00
Florian Müllner
656d0ee4b0 keyboard: Port custom shortcuts to GSettings
https://bugzilla.gnome.org/show_bug.cgi?id=625899
2011-11-14 18:09:39 +00:00
Florian Müllner
246a44ce6c keyboard: Stop monitoring num-workspaces
Metacity/Mutter no longer have conditional shortcuts depending on
the number of workspaces, so there is no need to monitor the
num-workspaces settings (and reload all keybindings).

https://bugzilla.gnome.org/show_bug.cgi?id=663431
2011-11-14 10:10:08 +00:00
Florian Müllner
be4e40bf99 keyboard: Remove support for conditional shortcuts
Keyboard shortcut definitions could specify a condition to determine
whether it should be shown in the UI or not. This was only used by
Metacity/Mutter, to make the visibility of some shortcuts depend on
the number of workspaces. However, as workspaces are now managed
dynamically in GNOME 3, the frequent changes to the list of shortcuts
have become rather confusing, so a fixed list of shortcuts is used now.

With the only consumer of conditional shortcuts gone, there's no reason
to keep the feature around.

https://bugzilla.gnome.org/show_bug.cgi?id=663431
2011-11-11 18:58:46 +01:00
Bastien Nocera
314224ab3a keyboard: Rename a11y keyboard shortcuts
To match the design documents in:
https://live.gnome.org/Design/SystemSettings/Keyboard
and the feature names in the UA panel
2011-11-09 00:04:50 +00:00
Florian Müllner
7d060a2508 keyboard: Adjust shortcut files
Some keybindings have been moved from metacity/mutter to g-s-d;
update the shortcut files to reflect that change.

https://bugzilla.gnome.org/show_bug.cgi?id=663626
2011-11-08 15:59:04 +01:00
Bastien Nocera
6665b60422 panels: Update for Shell API changes 2011-11-07 18:03:14 +00:00
Bastien Nocera
df493ef93c keyboard: Use GTK+ to parse keys
Instead of some custom code

https://bugzilla.gnome.org/show_bug.cgi?id=663341
2011-11-04 17:00:39 +00:00
Bastien Nocera
6e99f7663a keyboard: Use GtkCellRendererAccel
Instead of custom code. This means loads of code we don't need
to maintain, whoo!
2011-10-27 16:25:35 +01:00
Bastien Nocera
8f78728dbc keyboard: Add label to toolbar buttons 2011-10-25 17:36:22 +01:00
Bastien Nocera
eacbe935d3 keyboard: Remove unused variable 2011-10-24 17:25:14 +01:00