~vcs-imports/gnome-control-center/+git/gnome-control-center:benzea/fix-display-no-mode-scale-crash

Last commit made on 2019-10-10
Get this branch:
git clone -b benzea/fix-display-no-mode-scale-crash https://git.launchpad.net/~vcs-imports/gnome-control-center/+git/gnome-control-center

Branch merges

Branch information

Name:
benzea/fix-display-no-mode-scale-crash
Repository:
lp:~vcs-imports/gnome-control-center/+git/gnome-control-center

Recent commits

7468710... by Benjamin Berg <email address hidden>

display: Use correct mode for supported scale checking

Monitors may not always have a mode. This means we cannot look up the
mode on the fly, but instead need to have a heuristic to select a mode
if there is none.

Everything was in place already for this, except that one location was
still doing a fresh lookup, possibly causing a crash.

Fixes: #675

0d41cfd... by Benjamin Berg <email address hidden>

display: Add guard for NULL mode in supported scale check

This may prevent crashes in certain error situations.

3bfe842... by Daniel Mustieles

Updated Spanish translation

923b726... by Marek Kašík

printers: Provide a scheme to address parser

Add a scheme to the address which we test for correctness
by g_network_address_parse_uri(). It does not work without it.
Use "none" scheme if user did not entered one.
Use port number 0 if user did not specify any.

Fixes #679

053e164... by Alan Mortensen

Updated Danish translation

bea8b68... by Piotr Drąg

Update Polish translation

Closes https://gitlab.gnome.org/Teams/Translation/pl/issues/5

e4508e0... by Iain Lane <email address hidden>

network: Accept empty values for the cloned mac address

Empty is a valid value here. It means the setting is not set. Two places
need to be updated:

  - the validation function
  - when retrieving the value from the combo, empty strings need to be
    mapped to a setting value of NULL

Closes #677

fd93886... by Will Thompson

display: mark 3 missed translatable strings

"Primary Display" and "Contains top bar and Activities" are visible when
you have >1 display connected and the "Join Displays" option is
selected. I can't work out how to see the "Active Display" string but it
sure looks translatable to me.

9a2e821... by Robert Ancell

Initialize autoptr values to NULL.

These cases were safe, but if the code changed this risked freeing uninitialized
memory.

c6965d9... by Robert Ancell

shell: Use g_autofree for strings