Commit graph

18320 commits

Author SHA1 Message Date
Robert Ancell
a3c251301e printers: Don't initialize variable that defaults to correct value 2019-01-30 11:33:28 +13:00
Robert Ancell
13d72a79a7 printers: Replace ifdefs with #pragma once 2019-01-30 11:33:28 +13:00
Robert Ancell
85604ab4f0 printers: Simplify finalize/dispose methods
Use g_clear_* functions to simplify code and ensure values are set to NULL after freeing.
2019-01-30 11:33:28 +13:00
Robert Ancell
4042cb5d33 printers: Replace GObject boilerplace with G_DECLARE_TYPE 2019-01-30 11:33:28 +13:00
Jordi Mas
5009a5df3c Update Catalan translation 2019-01-29 21:31:11 +01:00
Adrien Plazas
28302948d3 info: Ellipsize the overview labels
This allows the panel to reach narrower widths.
2019-01-29 17:30:13 +01:00
Adrien Plazas
f970e9199e info: Adapt the indentation
This adapts the indentation of the children of HdyColumn, which were
deliberately left intact in the previous commit to make it more
readable.
2019-01-29 17:30:13 +01:00
Adrien Plazas
d4daa8d2c7 info: Add a scrolled window and a column to the overview
This will allow the panel to reach smaller sizes.

This deliberately doesn't adapt the indentation of the contained widget
to help this commit to be more readable and easier to review, it will be
adapted in the next commit.
2019-01-29 17:30:13 +01:00
Adrien Plazas
ba6106dfca display: Use a HdyColumn
This allows the panel to better adapt to the available width.
2019-01-29 17:23:20 +01:00
Benjamin Berg
d9a7c84905 display: Rewrite as a template widget 2019-01-29 12:05:43 +01:00
Benjamin Berg
e5925f5eb6 display: Hookup new CcDisplaySettings 2019-01-29 12:05:43 +01:00
Benjamin Berg
8503dab530 display: Add settings widget for output configuration
This widget now uses libhandy for the rows.
2019-01-29 12:05:43 +01:00
Benjamin Berg
b789a1cda2 common: Add CcValueObject until HdyValueObject is available
libhandy now has HdyValueObject, this simply copies the class over as it
will only become available in libhandy 0.8.
2019-01-29 12:05:43 +01:00
Benjamin Berg
afe8661704 display: Allow config to be modified in arrangement widget 2019-01-29 12:05:43 +01:00
Benjamin Berg
9025f79b5f display: Add helper that returns the monitor name as new string 2019-01-29 12:05:43 +01:00
Benjamin Berg
4360288c74 display: Move setter for cloning mode into CcDisplayConfig
It will be used from multiple files in the future.
2019-01-29 12:05:43 +01:00
Benjamin Berg
be3fbd8bef display: Redraw arrangement widget after monitor selection change 2019-01-29 12:05:43 +01:00
Benjamin Berg
5b53f026c8 display: Chain up CcDisplayConfig finalize handler 2019-01-29 12:05:43 +01:00
Benjamin Berg
e520ab8952 display: Chain up CcDisplayArrangement finalize handler 2019-01-29 12:05:43 +01:00
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