Commit graph

18501 commits

Author SHA1 Message Date
Benjamin Berg
713e209783 display: Add missing finalize handler for CcDisplayMonitor
This caused the UI related strings to be leaked.
2019-01-29 12:05:43 +01:00
Benjamin Berg
41717253c8 display: Fix leak in night light dialog 2019-01-29 12:05:43 +01:00
Benjamin Berg
d9aab36609 display: Compare configurations without monitor offset
When comparing configurations, the monitor positions are compared
directly. This comparison will not work properly if one of the
configurations has an offset.

This results in the "Apply" button to show up incorrectly after moving
the top/left monitor position.
2019-01-29 12:05:43 +01:00
Jeremy Bicha
dde97ecb2e mouse: Don't use a separate box for touchpad switch
The Touchpad section looks like a single listbox
so let's handle it that way too.

This eliminates an unnecessary split in the touchpad
section that is noticeable when navigating with a keyboard.
2019-01-29 10:43:23 +00:00
Jeremy Bicha
783918aaf5 mouse: fix misplaced mnemonic labels 2019-01-29 10:43:23 +00:00
Adrien Plazas
b4520d07b5 color: Make the row labels ellipsizable
This better allows to better handle a narrow window.
2019-01-29 10:35:18 +00:00
Adrien Plazas
eaeb64d85e color: Use a HdyColumn
This helps the panel to fit in narrower windows.
2019-01-29 10:35:18 +00:00
Adrien Plazas
3c65262a05 datetime: Use HdyActionRow
This better handles the available space and simplifies the code.
2019-01-29 10:28:28 +00:00
Adrien Plazas
fd0b45d6c3 datetime: Use a scrolled window and a column
This better allows to handle short windows and better handle the
available width.
2019-01-29 10:28:28 +00:00
Adrien Plazas
91af270cce connection-editor: Use GtkTemplate 2019-01-27 21:03:13 +00:00
Aurimas Černius
52fdf95c41 Updated Lithuanian translation 2019-01-27 23:00:16 +02:00
Fran Dieguez
b12ea69a81 Update Galician translation 2019-01-26 23:13:13 +00:00
Tom Tryfonidis
c394c970ac Update Greek translation 2019-01-24 21:42:01 +00:00
Alexandre Franke
6e66a87562 Update French translation 2019-01-24 11:42:38 +00:00
Efstathios Iosifidis
b5f354490f Update Greek translation 2019-01-24 00:58:44 +00:00
Tom Tryfonidis
5d63f063c9 Update Greek translation 2019-01-22 21:47:59 +00:00
Philip Withnall
1ca4104844 user-accounts: Allow ‘Remove User’ button to be focused
Otherwise it isn’t included in the tab focus cycle, and can’t be
navigated to with the tab key.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
2019-01-22 16:50:24 +00:00
Christopher Davis
89245bbeda cc-window: Remove custom development CSS
GTK now includes it's own development style class, .devel.
We can use that instead of creating our own.
2019-01-21 20:44:44 -05:00
Adrien Plazas
90dd7651cd window: Ensure a constant minimum panel width
Ensure all panels take at least 300pt of width to ensure a minimum of
usability, readability of the panels and consistency of when the shell
folds itself.
2019-01-21 21:53:21 +00:00
Adrien Plazas
0ca61a5bde window: Use a HdyLeaflet
This allows the window to be folded to show either the sidebar or the
panel when not enough space is available.
2019-01-21 21:53:21 +00:00
Adrien Plazas
358dbe3ce8 applications: Emit sidebar-activated on sidebar row activation
This will let the window know it should focus on the panel rather than
on the sidebar.
2019-01-21 21:53:21 +00:00
Adrien Plazas
b94496703e applications: Update the panel on activation, not selection
This allows to activate the already selected panel with a single click
rather than a double click, which will be needed to simply focus the
panel when the window will use a leaflet.
2019-01-21 21:53:21 +00:00
Adrien Plazas
dbfc3e4c7a panel: Add the sidebar-activated signal
This is necessary for the application panel to warn that an element of
its sidebar has been activated so the window can focus on it when the
window will use a leaflet.
2019-01-21 21:53:21 +00:00
Adrien Plazas
64ac458804 window: Use the sidebar style class on sidebar separators
This adds the sidebar style class to the sidebar separators to keep them
styled correctly.
2019-01-21 21:53:21 +00:00
Adrien Plazas
63dda56329 window: Use a HdyTitleBar
This will be needed for sliding animations to work well as we are going
to use HdyLeaflet in the titlebar.
2019-01-21 21:53:21 +00:00
Adrien Plazas
77aece9920 shell: Synchronize the separators
This will help the separators to behave properly with leaflets, as we
are going to introduce some in some following commits.
2019-01-21 21:53:21 +00:00
Adrien Plazas
4c813fa1d8 shell: Synchronize the right panel width
This will help the right panel to behave properly with leaflets, as we
are going to introduce some in some following commits.
2019-01-21 21:53:21 +00:00
Adrien Plazas
9d9c547649 shell: Use a HdyHeaderGroup
Handle the header bars' decoration layouts with a HdyHeaderGroup to
simplify the code.
2019-01-21 21:53:21 +00:00
Pieter Schalk Schoeman
1df354c435 Update Afrikaans translation 2019-01-20 23:00:42 +00:00
Piotr Drąg
33d5924c11 Update POTFILES.skip 2019-01-18 17:53:07 +01:00
Adrien Plazas
7fd4bbbf37 meson: Make libhandy subproject static 2019-01-18 15:31:35 +01:00
Adrien Plazas
ee0a2ed6c2 meson: Bump libhandy to 0.0.7
This will allow us to build it as a static library.
2019-01-18 15:31:12 +01:00
Adrien Plazas
1a379ac5e1 flatpak: Update to build system changes on libhandy
This is needed for the Flatpak build to pass.
2019-01-18 13:18:49 +01:00
Benjamin Berg
4db431d7f1 display: Correctly round scaled monitor size
We were converting the floating point numbers to integers using a cast,
which causes them to be always rounded down. The result is that a
monitor may be too small by a pixel, creating broken configurations.

Also fix the same issue when calculating whether a scale should be
supported.

See https://gitlab.gnome.org/GNOME/mutter/issues/412
2019-01-18 11:19:16 +01:00
Daniel Mustieles
1bfe19ebcf Updated Spanish translation 2019-01-18 09:44:13 +01:00
Jeremy Bicha
de00af78a5 appdata: Update contact info 2019-01-17 21:44:45 +00:00
Jeremy Bicha
4e02c9c06d appdata: Update app name and description
Our public name is Settings not Control Center.

In the description, simplify and use "system" instead of "desktop".

"GNOME desktop" is still mentioned in the summary but that seems
ok to me.
2019-01-17 21:44:45 +00:00
Jeremy Bicha
f5600cf9d6 applications: Don't use symbolic icon name in .desktop
gnome-control-center's shell uses the -symbolic version
automatically. Use the icon name without the -symbolic
suffix to match what we do with other panels.
2019-01-17 21:36:34 +00:00
Daniel Mustieles
493311f019 Update Spanish translation 2019-01-17 08:34:05 +00:00
Carmen Bianca BAKKER
6724dc7c57 Update Esperanto translation 2019-01-14 21:36:42 +00:00
Daniel Mustieles
27de84474d Updated Spanish translation 2019-01-14 15:26:31 +01:00
Bernd Homuth
e5f0eb8639 Update German translation 2019-01-13 22:36:53 +00:00
Adrien Plazas
cccb12a6de notifications: Do not vertically expand the listbox
This avoids the list box to not look stupidly long and empty and matches
the design of the other list boxes.
2019-01-10 16:43:36 +00:00
Ryuta Fujii
d5055e6488 Update Japanese translation 2019-01-10 16:14:47 +00:00
Ryuta Fujii
ca9d617b23 Update Japanese translation 2019-01-10 16:00:27 +00:00
Jeremy Bicha
ae75ebcafb universal-access: Reverse Repeat Keys Speed direction
Since the gsettings is for the repeat-interval but the
GUI is for Speed, we need to reverse the mapped direction.

We have to turn off the fill indicator (has_origin) for Speed
since it fills the right side instead of the left. We turn
off the indicator for Delay to match.

Closes: https://gitlab.gnome.org/GNOME/gnome-control-center/issues/311
2019-01-10 11:58:42 +00:00
Jeremy Bicha
a9d6ed149b online-accounts: Set label relationship for listboxes
Set the label relationships so that screen readers
read the headers for the listboxes.
2019-01-10 11:53:00 +00:00
Jeremy Bicha
0f92ffb01a universal-access: Remove redundant label-for relations
The appropriate relation is already set with the mnemonic_widget property.

In particular, this also fixes an issue where a screenreader would
emit "Crosshairs" every time a new tab was entered in the Zoom dialog
because of some incorrect labelled-by relations.
2019-01-10 11:46:34 +00:00
Bilal Elmoussaoui
eab8474be6 Appdata: remove provides binary
It's already fetched from the desktop file, no need to duplicate that here.
2019-01-09 20:58:51 +00:00
Bilal Elmoussaoui
2c8706b0d3 appdata: revert modified id
Should be updated later with the new unified app-id
2019-01-09 14:32:54 +00:00