Commit graph

18489 commits

Author SHA1 Message Date
Benjamin Berg
bec0f5f588 printers: Add context to Resolution printing option
For now, this patch only adds the context to the Resolution option to
disambiguate it from the display panel. This makes the code more complex
though, and will be changed again to add the context to all options
(making the strings identical to the ones in GTK+).

Fixes #394 for the printing panel
2019-02-26 19:42:13 +01:00
Benjamin Berg
c4d60b9d1d display: Add context to display setting strings
Note that no context is added for "Refresh Rate" and "Adjust for TV" at
least for now.

Fixes #393
2019-02-26 19:40:07 +01:00
Bastien Nocera
9fba7cc2ad display: Mark strings as translatable
Those were translatable before the "templating" of this section of the
panel.

Fixes: 8503dab5
2019-02-26 18:54:14 +01:00
Asier Sarasua Garmendia
7e62626044 Update Basque translation 2019-02-25 09:10:03 +00:00
Claude Paroz
007d68cc89 Update French translation 2019-02-24 22:14:23 +00:00
Stas Solovey
8bc0ed2755 Update Russian translation 2019-02-24 21:29:12 +00:00
Anders Jonsson
30236c2d8d Update Swedish translation 2019-02-24 16:33:16 +00:00
Ryuta Fujii
26c6416b9b Update Japanese translation 2019-02-23 09:39:19 +00:00
Carmen Bianca BAKKER
671fe31909 Update Esperanto translation 2019-02-23 09:26:42 +00:00
Benjamin Berg
638f2065a5 display: Do not expand display enabled switch
Fixes #367
2019-02-22 13:44:39 +00:00
Sveinn í Felli
c86f2bb189 Update Icelandic translation
(cherry picked from commit 19deec2326)
2019-02-22 11:17:10 +00:00
Sveinn í Felli
1b85c8448d Update Icelandic translation
(cherry picked from commit 9ac3626641)
2019-02-21 12:10:24 +00:00
Adrien Plazas
5cc5a85bf9 window: Stop using HdyLeaflet
It is safer to not make the shell adaptive until all panels are, so this
drops usage of HdyLeaflet to make the shell adaptive.

This mostly reverts commit 0ca61a5bde.

Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/issues/375.
2019-02-21 11:35:35 +00:00
Jiri Grönroos
b94da64a29 Update Finnish translation 2019-02-21 07:25:53 +00:00
Rafael Fontenelle
3546d782fe Update Brazilian Portuguese translation 2019-02-21 00:53:30 +00:00
Rafael Fontenelle
ca3f133c5d Update Brazilian Portuguese translation 2019-02-21 00:26:10 +00:00
Robert Ancell
3ccdd42b95 thunderbolt: Remove unused no_show_all properties
The gtk_widget_show_all calls were removed in d2ae2d4
2019-02-19 15:24:00 +01:00
Adrien Plazas
b181fccc8b region: Slide the restart revealer up
This direction is more natural given the layout.
2019-02-19 13:38:13 +00:00
Adrien Plazas
f02255090d region: Make the rows adaptive
Align the sizing of the rows on the one of HdyActionRow and ellipsize
the labels to make the panel better fit in narrow windows.
2019-02-19 13:38:13 +00:00
Adrien Plazas
e75cf5b643 region: Make CcInputRow adaptive
Align the sizing of the CcInputRow on the one of HdyActionRow and
ellipsize its labels to make it better fit narrow windows.
2019-02-19 13:38:13 +00:00
Adrien Plazas
8cb75c45a3 region: Stabilize the size of the Input Sources button
This avoids the button's size to jump as its surrounding box's size
changes because of the description label taking more or less lines.
2019-02-19 13:38:13 +00:00
Adrien Plazas
fa76b5e7e8 region: Wrap the Input Sources description
This allows the panel to reach smaller sizes.
2019-02-19 13:38:13 +00:00
Adrien Plazas
71b049951a region: 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-02-19 13:38:13 +00:00
Adrien Plazas
23e85b6c8b region: Use a HdyColumn and a GtkScrolledWindow
Put the widget's content into a HdyColumn, itself into a
GtkScrolledWindow. This allows the panel to reach narrower 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-02-19 13:38:13 +00:00
Adrien Plazas
0a249441af wifi: Wrap the airplane mode description
This will help the panel fit in narrower windows.
2019-02-19 13:28:37 +00:00
Adrien Plazas
dd3c47de27 info: Ellipsize the default app choosers
This allows the Default Applications panel to reach nrrower widths.
2019-02-19 13:35:59 +01:00
Iain Lane
39e31e912f
privacy: Remove {get,set}_on_off_label2
There's only one instance of this pattern - make the function specific
to that case rather than generic.

The current code is leaking the Label2Data struct and the GSettings
signal connection. The leak of the signal connection was causing a crash
in case the callback was called after the label was destroyed. Instead
of just directly fixing these problems, let's eliminate the intermediate
struct and just support the specific case we're interested in directly.
2019-02-19 11:04:07 +00:00
Jordi Mas
2b7dab9c7c Update Catalan translation 2019-02-19 07:10:28 +01:00
Adrien Plazas
c74d28009c sound: Make the panel adaptive
Use a HdyColumn and ellipsize same labels so the panel can fit in
narrower windows.
2019-02-18 15:12:53 +01:00
Iain Lane
82191ca285
window: Update the headerbar when the panel list changes
Currently you can get stuck in the applications panel if you do this:

  1) Click "Applications" in the sidebar. The top left icon is a back
     icon.
  2) Click the back icon to return to the panel list. The top left icon
     changes to a search icon.
  3) Click "Applications" again. The top left icon remains a search icon
     and you're stuck in the panel.

The basic problem is that the headebar icon is update when the panel
changes, but not when the sidebar view changes. To fix this, we connect
to the signal that is emitted when the sidebar view changes, and update
the headerbar.
2019-02-18 13:19:51 +00:00
Adrien Plazas
19e42fb051 meson: Bump libhandy to 0.0.8
This fixes the RTL direction support of HdyLeaflet.
2019-02-18 11:19:36 +00:00
Efstathios Iosifidis
006c0f3719 Update Greek translation 2019-02-17 17:56:18 +00:00
Christian Kirbach
b31b9b7c4a Update German translation 2019-02-17 15:16:46 +00:00
Kukuh Syafaat
d79d0a21e2 Update Indonesian translation 2019-02-16 20:54:09 +00:00
Emin Tufan Çetin
d371fafb47 Update Turkish translation 2019-02-16 20:03:32 +00:00
Alan Mortensen
5d2306851d Updated Danish translation 2019-02-16 20:55:57 +01:00
Fran Dieguez
da8253683f Update Galician translation 2019-02-16 11:26:10 +00:00
Baurzhan Muftakhidinov
59a29acfea Update Kazakh translation 2019-02-16 05:52:55 +00:00
Matej Urbančič
e44158d8bc Updated Slovenian translation 2019-02-14 20:32:10 +01:00
Matej Urbančič
b315f9f743 Updated Slovenian translation 2019-02-14 19:16:14 +01:00
Georges Basile Stavracas Neto
2520aea647 info: use UDisks to retrieve disk size
The current code relies on GLib API and uses the
available mounts to calculate the available partition
size. This is because this code assumes that more
than one OS can be installed in the same drive, and
wouldn't make sense to show the whole disk size in
this situation.

That, however, clashes with the general purpose of
the panel, for it is meant to show general information
about the user's computer, and it is not reporting
the full disk size.

Fix that by using the UDisks API to get the real size
of the full disks.

https://bugzilla.gnome.org/show_bug.cgi?id=639376

Slighly modified by Iain Lane <iainl@gnome.org> to
port to meson and add udisks2 to CI deps.

Fixes #285.
Fixes #302.
2019-02-13 17:04:26 +00:00
Georges Basile Stavracas Neto
cd0954be34 user-accounts: Ellipsize real name label
In the User Accounts panel's carousel, longer real names
push the window geometry to super wide levels -- even with
the 255-char limitation in place.

Fix that by ellipsizing the real name label.
2019-02-13 15:06:53 +00:00
Georges Basile Stavracas Neto
db94f197fa user-panels: Limit full name length
GNOME Settings allows limitless full names, which is
actually accepted by most of the stack but may break
GNOME Settings, GNOME Shell and other user-visible
applications that show the user names.

Limit the user full name entries to 255 characters,
which is the same value used by GNOME Initial Setup.
2019-02-13 15:06:53 +00:00
Balázs Úr
4765ed7b88 Update Hungarian translation 2019-02-12 21:58:29 +00:00
Marek Cernocky
80c7ac6602 Updated Czech translation 2019-02-12 12:35:36 +01:00
Ryuta Fujii
93fc61c1ee Update Japanese translation 2019-02-12 11:06:42 +00:00
Daniel Mustieles
6d7e5dddfa Updated Spanish translation 2019-02-12 11:50:47 +01:00
Carlos Garnacho
4860f3637c wacom: Update "Test your settings" button sensitivity on device availability
The button/popover are meaningless if there's no device to test with. Set
it inactive (so the popover hides if visible) and set insensitive if no
devices are found.
2019-02-12 00:40:14 +00:00
Piotr Drąg
35fbddc2fe Update Polish translation 2019-02-11 21:00:31 +01:00
Benjamin Berg
1accfac4ef display: Move arrangement instructions outside of view area
Having the instructions inside can be slightly confusing because
monitors cannot be moved around in the labels area. Simply moving the
instructions to be at the top again improves this.

With this change the dialogs UI matches the old layout more closely.
2019-02-11 18:59:32 +01:00