Commit graph

18986 commits

Author SHA1 Message Date
Robert Ancell
84c53b01c5 network: Remove unused GtkNotebooks
The security widgets were inside GtkNotebooks, but only ever had one page and
tabs hidden. So they weren't doing anything.
2019-10-22 20:11:44 +00:00
Robert Ancell
e7cec00235 network: Remove unused wifi dialog
This seems to have been copied from the connection editor code, but is not
actually used.
2019-10-22 20:11:44 +00:00
Robert Ancell
ab0be62b78 network: Fix incorrect use of *_get_instance_private
These classes don't have a private structure, but the misuse didn't seem to be
causing a specific issue.
2019-10-22 20:11:44 +00:00
Robert Ancell
5183faea04 background: Fix crash if a BgRecentSource is unreffed during an async operation
The BG_RECENT_SOURCE (user_data) call was done before it was checked if is was
cancelled. At this point user_data is pointing to an object that has been deleted.

Fixes #729
2019-10-22 14:03:14 +00:00
Benjamin Berg
0fa4d11477 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
2019-10-21 16:22:25 +13:00
Danial Behzadi
41c2843457 Update Persian translation 2019-10-19 15:04:51 +00:00
Mohammed Sadiq
4fe618254e applications: Fix a memory leak 2019-10-17 20:02:41 +00:00
Fabio Tomat
ab0969be72 Update Friulian translation 2019-10-17 12:45:06 +00:00
Goran Vidović
c35a6ef124 Update Croatian translation 2019-10-17 11:50:11 +00:00
Benjamin Berg
7631faa88f region: Explicitly update LC_* even when matching LANG
localed will not update the LC_* variables if they are not given. This
means that should the user switch the formats away from LANG and then
back, they will not be reset appropriately.

Simply always setting the variables even if the match will fix this.
2019-10-17 00:32:34 +00:00
Andre Klapper
397a0ce673 Correct incorrect timezone on world map for North Korea
Fixes #713
2019-10-17 10:05:56 +13:00
Ian Santopietro
3493b50be9 Use @theme_fg_color for .drag-handle
Instead of using @borders for drag handles, we use @theme_fg_color at 40% opacity. Because these are widgets intended to be interacted with by users instead of drawing borders, we should use a semantically appropriate color which updates according to whether a user has a dark theme selected or not. This ensures that the drag handles contrast with the background no matter what stylesheet the user is using.

This improves the contrast of these widgets in the light theme from 1.7:1 to 2.9:1, which is still rather low, but greatly improves the usability of these widgets without having too large an impact on the look of the widgets in-situ. The contrast ratio is unchanged in the HighContrast style (4.0:1).

This also improves the situation if we eventually adopt a dark style preference for users, and improves the portability of the application.
2019-10-15 18:54:30 +00:00
Robert Ancell
6ac37bb182 applications: Remove unused variable 2019-10-15 09:31:30 +13:00
Felipe Borges
ad83235bf9 shell: Use a meson option to determine that we're in a sandbox 2019-10-14 20:25:39 +00:00
Felipe Borges
a1c48ce477 flatpak: Use the Nightly variant of the application icon
For the "development" profile, lets use the Nightly variant, to
visually indicate to users that they are running an unstable
version of the application.
2019-10-14 20:25:39 +00:00
Felipe Borges
65c4dd0005 flatpak: Build "cheese" with meson
Since commit d88ad7314209b3413e52fcdb92901e488d5bf6a4, cheese
has dropped autotools.
2019-10-14 20:25:39 +00:00
Felipe Borges
3f3384c42c flatpak: Fix the build of samba
Since 4.10, Samba supports python3. Therefore we updated "Samba"
here. That required us to bundle lmdb since it is a samba build
dependency. See
https://wiki.samba.org/index.php/Samba_4.10_Features_added/changed

We also disable pam and json to speedup the build and require
less bundled dependencies.
2019-10-14 20:25:39 +00:00
Felipe Borges
b0008e61a0 flatpak: Fix the build of polkit
intltool has been removed from the SDK and the release-team has
advised users to bundle it in their Flatpaks until the dependencies
get ported away from it. See
https://mail.gnome.org/archives/desktop-devel-list/2019-August/msg00000.html

This patch also ships with some polkit changes to make it suitable
for use within Flatpak. These changes were copied from gnome-builder.
2019-10-14 20:25:39 +00:00
Felipe Borges
58a8c0aefd flatpak: Fix the build of pwquality
Disable the python-bindinds.
2019-10-14 20:25:39 +00:00
Jakub Steiner
106e2737a4 icon: create a nightly app icon
- Provide a development variant of the app icon
  See https://gitlab.gnome.org/GNOME/Initiatives/issues/12
  for more info.

/label ~"9. Initiative: NightlyAppIcons"
2019-10-14 20:25:39 +00:00
Andre Klapper
a3af25fd8a Correct incorrect timezone on world map for Venezuela
Fixes #714
2019-10-14 20:12:26 +00:00
Niels De Graef
f83450cebf Chain up to parent finalize()
This was forgotten in a few places, which means you have a memory leak
(albeit tiny).
2019-10-14 09:56:08 +02:00
Andre Klapper
e4b1df23a4 Correct incorrect timezone on world map for Sri Lanka
Fixes #709
2019-10-13 21:51:21 +00:00
Jiri Grönroos
709ef6028d Update Finnish translation
(cherry picked from commit 7ad1995562)
2019-10-13 06:57:44 +00:00
Daniel Mustieles
3bfe842e56 Updated Spanish translation 2019-10-10 13:58:06 +02:00
Marek Kasik
923b726b3b 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
2019-10-08 18:05:56 +02:00
Alan Mortensen
053e164441 Updated Danish translation 2019-10-06 18:16:18 +02:00
Piotr Drąg
bea8b68d00 Update Polish translation
Closes https://gitlab.gnome.org/Teams/Translation/pl/issues/5
2019-10-06 11:58:36 +02:00
Iain Lane
e4508e0130
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
2019-10-05 12:14:31 +01:00
Will Thompson
fd93886f6f 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.
2019-10-03 17:18:00 +01:00
Robert Ancell
9a2e821fe5 Initialize autoptr values to NULL.
These cases were safe, but if the code changed this risked freeing uninitialized
memory.
2019-10-03 10:58:38 +13:00
Robert Ancell
c6965d9e30 shell: Use g_autofree for strings 2019-10-02 17:04:15 +00:00
Felipe Borges
e497ad900d printers: Check whether URI is valid while searching for printers
Fixes #679
2019-10-01 18:56:23 +02:00
Robert Ancell
bf8b8f52b7 network: Remove an unnecessary goto 2019-10-01 14:52:13 +13:00
Robert Ancell
57d7a79034 network: Pass widget references rather than relying on names
The existing code relied on using GtkBuilder, which will no longer work when we
switch to GtkTemplate.
2019-10-01 14:47:23 +13:00
Robert Ancell
1d43f4c0f5 network: Simplify function 2019-10-01 14:46:14 +13:00
Robert Ancell
3c32ee72ea network: Remove two common functions that are more simply done inside the few cases that use them
The existing code relied on using GtkBuilder, which will no longer work when we
switch to GtkTemplate.
2019-10-01 12:52:42 +13:00
Robert Ancell
4ba3a2c3d1 network: Fix small memory leak 2019-10-01 12:52:23 +13:00
Robert Ancell
6211337ad6 network: Make function private 2019-10-01 12:31:05 +13:00
Robert Ancell
87f02de5b7 network: Remove unused functions 2019-10-01 12:28:35 +13:00
Robert Ancell
6691c4dfd3 applications: Use g_autofree for strings 2019-09-30 21:02:14 +00:00
Philip Chimento
ecd27846f8 background: Update clock in both preview modes
There is a clock widget both on the desktop preview and the lock screen.
Without this change, the clock on the desktop preview is always blank.
2019-09-30 11:08:13 -07:00
Robert Ancell
92e1abf6f2 log: Replace deprecated functions with modern equivalents 2019-09-30 14:31:39 +00:00
Robert Ancell
6d7e552ae1 network: Remove hidden notebook tabs from GtkBuilder files
These tabs are never shown and many were marked for translation.
2019-09-30 16:10:09 +13:00
Matej Urbančič
2ddc8df210 Added Slovenian translation 2019-09-28 21:28:24 +02:00
Balázs Úr
47ab8777f9 Update Hungarian translation 2019-09-27 19:34:55 +00:00
Ryuta Fujii
7a8c7268a3 Update Japanese translation
(cherry picked from commit 1fe87f0c9f)
2019-09-27 14:51:39 +00:00
Fabio Tomat
9d813c76b3 Update Friulian translation
(cherry picked from commit cbeef5f597)
2019-09-26 14:23:29 +00:00
Dušan Kazik
268be2ea6f Update Slovak translation
(cherry picked from commit db21fcbace)
2019-09-26 07:53:27 +00:00
Robert Ancell
74740f5001 info-overview: Use GTK widget types 2019-09-25 13:50:28 +00:00