Commit graph

20353 commits

Author SHA1 Message Date
Nishal Kulkarni
7054d8b050 display: deprecation fix
Change g_memdup to g_memdup2 in display.

https://discourse.gnome.org/t/port-your-module-from-g-memdup-to-g-memdup2-now/5538
2021-08-15 11:29:19 +00:00
Enrico Nicoletto
af576a4758 Update Brazilian Portuguese translation 2021-08-14 19:29:00 +00:00
Hugo Carvalho
5b5a379f83 Update Portuguese translation 2021-08-14 18:41:02 +00:00
Mohammed Sadiq
b3f4f9cafd wwan: Fix a typo
Fixes dc840f0aec (note_1249116)
2021-08-14 12:34:04 +00:00
Alexey Rubtsov
31e6adac86 Update Russian translation 2021-08-14 11:56:14 +00:00
Yuri Chornoivan
2e1a3ca4b7 Update Ukrainian translation 2021-08-14 06:08:46 +00:00
Georges Basile Stavracas Neto
71533005ea Post-release version bump 2021-08-13 19:21:04 -03:00
Georges Basile Stavracas Neto
6e6451feb2 41.beta 2021-08-13 19:13:48 -03:00
Georges Basile Stavracas Neto
0fc6ba5d0a Update POTFILES.in 2021-08-13 18:47:21 -03:00
Georges Basile Stavracas Neto
ee355ee727 multitasking: Use Mutter settings for dynamic workspaces
The overrides weren't meant to be used like that.
2021-08-13 18:39:57 -03:00
Sebastian Krzyszkowiak
6e5169ad4d wwan: Fix signal strength display when extended signal retrieval is disabled
MMModemSignal interface is used to retrieve extended signal information that
requires periodic polling. Therefore, it needs to be manually enabled in order
to use. There if a fallback to use mm_modem_get_signal_quality when MMModemSignal
interface is unavailable, but it didn't check whether it's actually enabled,
leaving the UI with empty label.
2021-08-13 19:25:41 +00:00
Kyle Rankin
585fe8c94a Lower WWAN DNS Priority
The current DNS priority settings for WWAN were set far too low. Most
connections (including WiFi) do not set DNS priority (set to 0) and per
https://developer.gnome.org/NetworkManager/stable/nm-settings.html :

"A lower value is better (higher priority). Zero selects a globally
configured default value. If the latter is missing or zero too, it
defaults to 50 for VPNs and 100 for other connections."

By setting both the "low" and "high" settings to 15 and 20 respectively,
the WWAN DNS servers were always appearing above WiFi, even though WiFi
had routing priority. This caused latency and other problems when the
wwan connection was slow because the system would query those DNS
servers before WiFi ones. Beyond that, it would even cause WWAN to
override VPN DNS settings which isn't what we want.

This change puts the "low priority" setting above the default 100 that
connections get when they don't otherwise set a priority, and the "high
priority" slightly below 100. I did this instead of setting the values
to 0 because I noticed that NM doesn't seem to be aware it should
prioritize WiFi in that case so WWAN DNS servers were still sometimes
taking precedence.
2021-08-13 19:25:41 +00:00
Mohammed Sadiq
169f537e4b network: Don't show modems supported by cellular panel
Cellular panel is already handling it
2021-08-13 19:25:41 +00:00
Mohammed Sadiq
dc840f0aec wwan: Add new panel for modem management
The panel supports 2G/3G/4G GSM/LTE modems. CDMA2000 Modems are not supported.
If a supported modem is present, the panel will be shown and the modem will be
handled, else, network-panel shall manage the modem as it did in the past.

If more than one modem with data enabled is present, the user is allowed to set
priority of one SIM over the other (the priority is for SIM, not modem).

Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/issues/132
2021-08-13 19:25:41 +00:00
Mohammed Sadiq
f3f4f13fe4 common: Add polkit rules for modem management 2021-08-13 19:25:41 +00:00
Jakub Steiner
a0fa4d0ff5 multitasking: adjust image assets 2021-08-13 18:17:36 +00:00
Georges Basile Stavracas Neto
0f0845172f Introduce the Multitasking panel
The Multitasking panel brings some additional settings
from Tweaks that are relevant to the general platform.

Related: https://gitlab.gnome.org/GNOME/gnome-control-center/issues/558
2021-08-13 18:17:36 +00:00
Georges Basile Stavracas Neto
b7ff6aa2d5 Revert "location: Fix permission store table/id"
This reverts commit 996e46c620.

Turns out, it was GNOME Shell who should have switched to the location table
we were using. This was done at [1], so let's revert this change for GNOME 41.

[1] https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1945
2021-08-13 12:01:16 -03:00
Hugo Carvalho
e17dac9561 Update Portuguese translation 2021-08-13 10:06:29 +00:00
Quentin PAGÈS
c8c3a76251 Update Occitan translation 2021-08-12 21:29:45 +00:00
Mohammed Sadiq
5ba4bc0fa9 info: Initialize autoptr variables with NULL
So as to avoid invalid free
2021-08-12 15:02:12 +00:00
Matej Urbančič
374309ff88 Update Slovenian translation 2021-08-12 07:39:26 +00:00
Rafael Fontenelle
1f4ba7bc84 Update Brazilian Portuguese translation 2021-08-10 12:39:14 +00:00
Yuri Chornoivan
7b1863c4ba Update Ukrainian translation 2021-08-09 14:41:01 +00:00
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