Commit graph

18420 commits

Author SHA1 Message Date
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
Benjamin Berg
b69fbc88c2 display: Resurrect the old scale buttons
This means we show the first 5 scales that are supported for the
display. That is the same behaviour as 3.30 had, therefore minimizing
the UI changes that users will see.

Note that there are plans to improve the scaling UI, however, it is not
yet clear how this will look like.
2019-02-11 18:54:54 +01:00
Daniel Mustieles
7f905e789c Updated Spanish translation 2019-02-11 10:09:06 +01:00
Emin Tufan Çetin
8a99314433 Update Turkish translation 2019-02-09 20:07:14 +00:00
Piotr Drąg
b003203e98 Update Polish translation 2019-02-09 20:23:11 +01:00
Fran Dieguez
3d83c0f308 Update Galician translation 2019-02-09 12:30:53 +00:00
Ryuta Fujii
c356b43a17 Update Japanese translation 2019-02-09 10:17:38 +00:00
Ondrej Holy
587238867e user-accounts: Fix crashes when dialog is canceled
Changes from !373 causes crashes when "Add User" dialog is canceled.
Check return value and generate user avatar only if valid user is
returned to fix the crashes.
2019-02-08 09:45:35 +01:00
Marek Cernocky
54538d06a8 Updated Czech translation 2019-02-08 09:36:53 +01:00
Balázs Meskó
1d555fb99c Update Hungarian translation 2019-02-07 23:03:42 +00:00
Jiri Grönroos
8d31eb70bc Update Finnish translation 2019-02-07 21:20:02 +00:00
Ryuta Fujii
2ca42da36d Update Japanese translation 2019-02-07 15:22:41 +00:00
Marek Cernocky
4ed1497af8 Updated Czech translation 2019-02-07 10:27:54 +01:00
Georges Basile Stavracas Neto
ed22dd28e9
3.31.90 2019-02-06 21:40:29 -02:00
Robert Ancell
2b95f9576d background: Fix compile warnings with g_clear_pointer 2019-02-07 11:22:53 +13:00
Robert Ancell
092f24d62d printers: Remove unused variables 2019-02-07 11:22:33 +13:00
Robert Ancell
8ecdd32971 color: Fix compile warning on g_clear_pointer 2019-02-07 11:22:11 +13:00
Piotr Drąg
e50abfcd06 Update POTFILES.in 2019-02-06 23:01:18 +01:00
Robert Ancell
2105e27bde printers: Fix compile warning
Missing GTK_LABEL cast.
2019-02-06 21:28:42 +00:00
Robert Ancell
e98d0eef05 sound: Update gvc to latest version
This fixes compile warnings
2019-02-07 10:06:57 +13:00