Commit graph

20579 commits

Author SHA1 Message Date
Bastien Nocera
2b7cccf13b power: Update power profile labels
Use "Balanced" instead of "Balanced Power", and make sure to add a
context for all the profiles for translators.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4530#note_1243075
2021-08-09 13:31:12 +00:00
Alexey Rubtsov
bbf22d4919 Update Russian translation 2021-08-07 16:51:15 +00:00
Yaron Shahrabani
fa04738b96 Update Hebrew translation 2021-08-07 16:48:50 +00:00
Danial Behzadi
c510c64cd0 Update Persian translation 2021-08-07 14:50:43 +00:00
Emin Tufan Çetin
c63011f9bc Update Turkish translation 2021-08-06 20:48:19 +00:00
Yuri Chornoivan
1a1572fcfe Update Ukrainian translation 2021-08-06 17:51:19 +00:00
Hugo Carvalho
e60b568056 Update Portuguese translation 2021-08-06 13:48:46 +00:00
Rafael Fontenelle
9ff34d8b18 Update Brazilian Portuguese translation 2021-08-06 11:31:13 +00:00
Jordan Petridis
f5d5d1ce98 ci: Refactor ci-template setup
Instead of building the image on a schedule, use a user-incrementable
tag and try to build the image on each pipeline.

If the image tag does not exist, a new one is built and pushed.
If its already built the job is a no-op and the existing image
is used.
2021-08-05 23:22:14 +00:00
Bastien Nocera
e4c496158e power: Change "Balanced" power profile label
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4530#note_1241985
2021-08-05 15:28:02 +02:00
Allan Day
8fb8a340bf power: Align power profile info boxes with profiles text
See https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1421
2021-08-05 15:28:02 +02:00
Bastien Nocera
19fb4e4a0c power: Remove icons from power profiles
They were originally included was to educate users about what the icons
mean, for when they appeared in the top bar. However, since we no
longer plan on showing the status icon in the top bar, it's not so
important that people learn the meaning of the icons.

See https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1421
2021-08-05 15:28:02 +02:00
Bastien Nocera
7b21494774 power: Dim the info box icon
This brings less focus to the icon and more to the text.

See https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1421
2021-08-05 15:28:02 +02:00
Rafael Fontenelle
534dd99f47 Update Brazilian Portuguese translation 2021-08-04 23:26:09 +00:00
Alexey Rubtsov
90a3743d94 Update Russian translation 2021-08-03 20:44:59 +00:00
Boyuan Yang
066e183c7a Update Chinese (China) translation 2021-08-02 20:44:39 +00:00
Hugo Carvalho
f9b41c1dd7 Update Portuguese translation 2021-08-02 14:00:17 +00:00
Aliaksiej Razumaŭ
2dd1847b37 Update Belarusian translation 2021-08-02 13:05:57 +00:00
Danial Behzadi
f4251c4b81 Update Persian translation 2021-08-02 08:55:24 +00:00
Fran Dieguez
4c2c78976a Update Galician translation 2021-08-02 06:17:53 +00:00
Yuri Chornoivan
b402b59134 Update Ukrainian translation 2021-08-02 06:07:49 +00:00
Felipe Erias Morandeira
1d952d4ebd region: replace the "Login Screen" button
...on the title bar with joined toggles (like in Background panel) for a
clearer UI.

Note 2020-08-26: This patch has been in Endless OS since 2014. It seems
  like a good UX change, so I'm proposing it upstream with some minor
  changes. - mwleeds
2021-08-02 12:03:40 +12:00
Hui Wang
0f18a662be sound: update the volume-slider after getting a valid stream
In the ubuntu 20.04, we met an issue about the output volume-slider
on the machine with the legacy HDA audio driver, the output device
is the Speaker first (analog-stereo pa sink), then we connect a hdmi
monitor, the HDMI audio is in the output combo-box, we select the
hdmi audio (hdmi-stereo pa sink) from the combo-box, the hdmi audio
becomes the active output device now, we adjust the output volume from
the volume-slider, the slider UI is changed, but the output sound
is not changed with the UI.

The root cause is when the speaker is active, the pulseaudio only
keeps the analog-stereo sink, the sink hdmi-stereo is unlinked, when
users select the hdmi audio from UI, the pulseaudio will unlink
analo-stereo sink and create hdmi-stereo sink, but before hdmi-stereo
is created, the output_device_changed_cb() is called and
gvc_mixer_control_get_stream_from_device() returns a NULL since the
hdmi-stereo sink is not created yet in the pulseaudio. Because stream
is NULL, the output_volume_slider->stream is NULL, users can't change
the output volume via the volume-slider.

To fix it, we add a output_volume_slider->stream check in the
device_update_cb(), if it is NULL, get the stream and set it to
volume-slider. In this function, the sink hdmi-stereo is created
already, so the stream is not NULL. And this change also applies to
input as well.

Signed-off-by: Hui Wang <hui.wang@canonical.com>
2021-08-01 22:12:11 +00:00
Hugo Carvalho
28ae06207d Update Portuguese translation 2021-07-31 21:31:42 +00:00
Alexey Rubtsov
e444fa8ead Update Russian translation 2021-07-31 17:33:58 +00:00
Quentin PAGÈS
cdf4273648 Update Occitan translation 2021-07-31 13:54:11 +00:00
Jordi Mas
d4133fb256 Update Catalan translation 2021-07-31 15:14:46 +02:00
Fabio Tomat
2cef7bc95b Update Friulian translation 2021-07-30 10:50:36 +00:00
Georges Basile Stavracas Neto
6cc5bbd074 datetime: Use g_time_zone_new_identifier
g_time_zone_new() is deprecated in favour of g_time_zone_new_identifier().

g_time_zone_new_identifier() returns NULL if no matching identifier is
found, so warn and fallback to UTC in that case.
2021-07-29 23:43:29 +00:00
Benjamin Berg
75c3e11708 bluetooth: Fix bluetooth switch transitions
This commit changes the switch to do a proper delayed state change using
the state-set signal. Also changed is that we always update the switch
state rather than avoiding an update when it is not powered.

Avoiding this update was introduced in commit 4a009da483 (bluetooth:
Don't change the switch status when transitioning), however, the current
implementation causes us to get stuck in the wrong visual state
sometimes. Also, with this patch I am unable to see any visual glitch on
hardware that should be affected, and even if there was a glitch,
getting the final state right is more important.

Closes: #607, #1272
2021-07-29 23:10:46 +00:00
Georges Basile Stavracas Neto
9c8f097a38 Post-release version bump 2021-07-29 19:29:11 -03:00
Georges Basile Stavracas Neto
8a9f7a04a5 41.alpha 2021-07-29 18:58:13 -03:00
Benjamin Berg
9d14644caf display: Prevent snapping unmodified display
Rebuilding the UI would trigger the scale to be re-applied. This in turn
would cause the monitor to be snapped and possibly changing a correct
configuration.

Note that this really is a bug in the snapping code. But that code is a
mess and not fireing the signal is a good thing either way.

Closes: #1412
2021-07-29 16:59:13 +02:00
Yuri Chornoivan
9a2fe54933 Update Ukrainian translation 2021-07-29 10:09:37 +00:00
Felipe Borges
a825ded085 universal-access: Add "Enable Animations" option
Fixes #1388
2021-07-28 19:12:12 +02:00
Rafael Fontenelle
3e8de6627d Update Brazilian Portuguese translation 2021-07-28 13:54:21 +00:00
Yuri Chornoivan
90c3dfe59a Update Ukrainian translation 2021-07-28 12:17:02 +00:00
Bastien Nocera
dafbd54fe0 power: Update and add subtitle to automatic brightness row
As per:
https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1020#note_1210702
2021-07-28 11:55:34 +00:00
Bastien Nocera
3a289fe502 power: Remove unused CcBrightnessScale 2021-07-28 11:55:34 +00:00
Bastien Nocera
bb30b04ed6 power: Remove Brightness scales
From https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1020#note_1211728
"
They are out of place - fine-grained control over brightness isn't what the
power settings are for. As a result, they confuse the settings overall.

In both cases we have alternative controls, through keyboard hot keys or
through the shell's screen brightness slider.
"
2021-07-28 11:55:34 +00:00
Bastien Nocera
fd53f569f1 power: Tweak labels in "Power Saving Options" section
To match the latest mockups.

The lack of subtitles for most of the items in that section made the
section look pretty bizarre.
2021-07-28 11:55:34 +00:00
Bastien Nocera
f03cf178dd power: Remove Bluetooth power switch button
See previous commit.
2021-07-28 11:55:34 +00:00
Bastien Nocera
2f2ea3aed6 power: Remove Wi-Fi and WWAN "power saving" toggles
It's pretty clear from their experiences on smartphones that our users
know that Wi-Fi and other wireless technologies use enough battery that
turning them off is a power saving move.

The switches and text were also pretty confusing as we would be turning
"off" the devices to turn "on" the power saving.
2021-07-28 11:55:34 +00:00
Guido Günther
a2cfd2b341 applications: Ellipsize title label
This makes long appliation names fit on narrow displays without pushing
the "Open in Software" button out.
2021-07-28 11:34:02 +00:00
Alexey Rubtsov
36b671956f Update Russian translation 2021-07-28 10:31:59 +00:00
Jordan Petridis
5cd6efef09
flatpak: Use meson for gsound 2021-07-28 04:48:13 +03:00
Jordan Petridis
f6e122420c
flatpak: build libblockdev without werror 2021-07-28 04:48:13 +03:00
Jordan Petridis
5b75200cfb
flatpak: bundle popt for cryptsetup
Starting with GNOME 41, popt is no longer part of the runtime
2021-07-28 04:48:13 +03:00
Jordan Petridis
5a843f350f
flatpak: update samba
Samba 4.12 complains loudly about a perl yapp driver module. Some
fiddling with the PERL5LIB and PRL_MM_OPT was required in order
to get perl to look into the /app prefix after bundling the module.
2021-07-28 04:46:54 +03:00
Bastien Nocera
93cf2405ee power: Fix logic when showing profile holds
A logic error meant that the power profiles info boxes container
would not be shown if there wasn't a "degraded" performance as well.

Spotted by Allan Day
2021-07-27 15:49:26 +02:00