Commit graph

99 commits

Author SHA1 Message Date
Piotr Drąg
7265bd53a0 Add translator comments to .desktop files
Icons are confusing translators, and gettext
is unlikely to get fixed any time soon.
2018-02-23 18:49:35 +01:00
Felipe Borges
d14e1b830a privacy: Add link to Location Services privacy policy
Just as available in gnome-initial-setup. Points to
https://location.services.mozilla.com/privacy

https://bugzilla.gnome.org/show_bug.cgi?id=793032
2018-02-01 15:02:56 +01:00
Georges Basile Stavracas Neto
f52d038283 Revert "panels/privacy: add network connectivity checking toggle"
This reverts commit dbbea7ddcb.
2018-01-26 16:24:15 -02:00
Georges Basile Stavracas Neto
d3097ee60e Revert "privacy: Don't define structs defined in unavailable libraries"
This reverts commit 484b83f821.
2018-01-26 16:24:03 -02:00
Bastien Nocera
484b83f821 privacy: Don't define structs defined in unavailable libraries
Doing:
typedef struct _NMClient NMClient;
when there's no NMClient available barely makes the code more readable,
and doesn't clear show when it would be used.

https://bugzilla.gnome.org/show_bug.cgi?id=737362
2018-01-26 15:14:14 +01:00
James Henstridge
dbbea7ddcb panels/privacy: add network connectivity checking toggle
NetworkManager supports toggling the periodic network check,
a check that by itself can be a security threat since it leaks
information about the host.

This patch adds a periodic network check toggle to the Privacy
panel. This is only enabled when a recent enough NetworkManager
is supported.

https://bugzilla.gnome.org/show_bug.cgi?id=737362
2018-01-26 11:26:31 -02:00
Iñigo Martínez
0dd386f405 build: Migrate from Intltool to Gettext
Recent versions of Gettext are able to translate several formats
that are used in GNOME applications. This patch migrates from
Intltool to Gettext by using meson's i18n features.

https://bugzilla.gnome.org/show_bug.cgi?id=787588
2018-01-23 10:49:31 +01:00
Iñigo Martínez
dc0988d47c build: Remove autotools
To avoid the burden of maintaining multiple build systems, this
patch removes autotools support.

https://bugzilla.gnome.org/show_bug.cgi?id=785414
2018-01-18 12:20:08 +01:00
Piotr Drąg
b65e31323a panels: Remove soft hyphens from .desktop files
With the old shell gone, there is no need to work around cut off panel
names (bug #647087). As it stands now, it only confuses translators
(invisible characters are hard to, well, see).

https://bugzilla.gnome.org/show_bug.cgi?id=792629
2018-01-18 00:12:04 -02:00
Iñigo Martínez
32edd6789e build: Port to meson build system
Meson is a build system focused on speed an ease of use, which
helps speeding up the software development. This patch adds meson
support along autotools.

https://bugzilla.gnome.org/show_bug.cgi?id=785414
2018-01-17 20:09:35 -02:00
Georges Basile Stavracas Neto
b23ef59926 shell-model: Remove old categories
Since we don't maintain two different shells anymore, there
is no need to maintain the two different sets of categories
in the desktop files.

This commit also drops the "#ifdef CC_ENABLE_ALT_CATEGORIES"
blocks, since the previous commit removed that define.

https://bugzilla.gnome.org/show_bug.cgi?id=790923
2017-11-28 17:03:51 -02:00
Julian Sparber
b0833430c6 privacy: update location state in panel when it changes
Add a signal handler for changes of the location setting to update
(on/off/In use) lable.

https://bugzilla.gnome.org/show_bug.cgi?id=785891
2017-11-23 15:43:33 +01:00
Sebastien Bacher
be90d59991 privacy: use the correct gsd housekeeping bus name
https://bugzilla.gnome.org/show_bug.cgi?id=737624
2017-11-01 17:05:45 +01:00
Allan Day
87568e9250 Harmonize list box row layouts
While it isn't possible, or even advisable, to make all the list
box rows the same height, using a number of standard heights will
make the control center feel more harmoneous.

Adust the height of the list box rows in Color, Date & Time,
Mouse & Touchpad, Network, Privacy, Region & Language, Sharing
and Universal Access. Makes standard rows that contain labels
and/or controls 58px tall. Some other rows, such as those which
contain two lines of text, are allowed to be taller.

https://bugzilla.gnome.org/show_bug.cgi?id=786384
2017-08-20 18:38:48 +02:00
Allan Day
8a8e53ab8a Standardize vertical spacing of panels
Ensure that the vertical spacing inside each panel is similar.
This makes the transition between each panel smoother and makes
the control center feel more cohesive.

Settings panels are given 32px above and below their content
and 32px vertical space between major sections. 12px space is
placed below headings.

Bluetooth, displays and printers are not addressed.

https://bugzilla.gnome.org/show_bug.cgi?id=786384
2017-08-20 18:38:42 +02:00
Georges Basile Stavracas Neto
f7bdd3c969 panels: Minor adjustments for the new shell 2017-08-09 19:31:41 +02:00
Bastien Nocera
7758b4258c privacy: Change references from xdg-app to flatpak 2017-03-18 03:36:42 +01:00
Jeremy Bicha
22daedad49 privacy: Set destructive-action for confirmation buttons only
https://bugzilla.gnome.org/show_bug.cgi?id=778567
2017-02-15 11:48:26 +01:00
Jeremy Bicha
5bbb097035 privacy: Use "destructive-action" style for delete buttons
https://bugzilla.gnome.org/show_bug.cgi?id=778567
2017-02-14 19:11:34 +01:00
Jeremy Bicha
02e556cfb3 privacy: Use ellipses for btns that require confirmation
https://bugzilla.gnome.org/show_bug.cgi?id=778568
2017-02-14 19:09:33 +01:00
Bastien Nocera
346f3609b7 privacy: Rename retval in get_privacy_policy_url()
It's a URL, not a name.
2016-08-29 13:57:10 +02:00
Bastien Nocera
398641370d privacy: Fix quoting of distro name and privacy URL
Unquote the distribution name and the privacy policy url in
the Problem Reporting dialogue, as those can be shell-quoted (the format
used by /etc/os-release is "shell-compatible").

https://bugzilla.gnome.org/show_bug.cgi?id=770260
2016-08-29 11:46:53 +02:00
Rui Matos
563155b63f privacy: Align location services label with switch
The GtkSwitch was using 2 grid rows for no reason which made the label
not align with it vertically.

https://bugzilla.gnome.org/show_bug.cgi?id=769426
2016-08-23 18:17:04 +02:00
Allan Day
bebaf47da1 privacy: various layout and cosmetic issues
The dialogs suffered from insufficient spacing, making them feel
cramped. There was also inconsistent use of the dim label style.

https://bugzilla.gnome.org/show_bug.cgi?id=769426
2016-08-23 16:05:36 +01:00
Allan Day
4877b7a609 privacy: location services layout issues
There was way too much space above the description and the
padding around the switch wasn't even.

https://bugzilla.gnome.org/show_bug.cgi?id=769426
2016-08-23 16:05:36 +01:00
Zeeshan Ali (Khattak)
790b2c3198 privacy: Update for PermissionStore DBus API changes
As xdg-app has been renamed to Flatpak, the permission store's bus name
and interface name have been changes as well.

https://bugzilla.gnome.org/show_bug.cgi?id=766603
2016-07-25 12:28:37 +01:00
Zeeshan Ali (Khattak)
336851f997 privacy: React to changes in permissions store
Currently if control-center is already running with privacy panel in
foreground and user authorizes a new application to gain access to
location information from gnome-shell dialog, this change doesn't get
reflected in the privacy panel to user until they exit privacy panel.

This change fixes this by reacting to changes to permissions store.

https://bugzilla.gnome.org/show_bug.cgi?id=765006
2016-07-25 12:28:37 +01:00
Georges Basile Stavracas Neto
2777fd583d panels: use the new categories
Following the previous patch, this patch adds the new alternative
categories to the panels' Desktop files. These alternative categories
are only relevant for the alternative Shell, and do not break the
current Shell in any way.

https://bugzilla.gnome.org/show_bug.cgi?id=767301
2016-06-14 12:16:43 -03:00
Bastien Nocera
5c10ce45b8 panels: Fix translators comments being truncated
Commit b3be076 added soft hyphens along with a comment for translators
to use those soft hyphens. Except that gettext would only grab the one
line out of the four we wrote for translators to read. Put them all on
the same line so that gettext actually extracts those.

https://bugzilla.gnome.org/show_bug.cgi?id=765778
2016-04-28 23:38:00 +02:00
Bastien Nocera
b3be07609a panels: Fix truncated panel names for larger fonts
Note that this fix will not automatically fix translations, which will
need to add soft-hyphens (U+00AD) to their translations themselves, and
will not fix larger fonts for which the split up syllables end up
being bigger than the maximum text width.

It's the best we can do without redesigning the Settings shell, which is
already something planned.

https://bugzilla.gnome.org/show_bug.cgi?id=647087#c13
2016-04-07 16:06:35 +02:00
Zeeshan Ali (Khattak)
48c66a5dad privacy: Only disable apps switches
Let's not disable the whole Applications section when "Location Services"
are disabled but rather only the individual app permission switches.

https://bugzilla.gnome.org/show_bug.cgi?id=763259
2016-03-11 13:42:13 +00:00
Zeeshan Ali (Khattak)
d0c1ed6486 privacy: Vertically center "Location Services" label
https://bugzilla.gnome.org/show_bug.cgi?id=763259
2016-03-11 13:42:13 +00:00
Zeeshan Ali (Khattak)
a2ab6d47cd privacy: Better description for 'Location Services'
New string from Allan Day.

https://bugzilla.gnome.org/show_bug.cgi?id=763259
2016-03-11 13:42:13 +00:00
Zeeshan Ali (Khattak)
76e3a53b2d privacy: Fix margins around location dialog widgets
https://bugzilla.gnome.org/show_bug.cgi?id=763259
2016-03-11 13:42:13 +00:00
Zeeshan Ali (Khattak)
e7509321a5 privacy: Per-app location access control
Latest gnome-shell (3.19.91) now asks user if they'd want to allow the
application to gain access to their location information when an
application tries to access this information. The user's choice is saved
in xdg-app's permission store and user can no longer can change their
mind about this later on. Hence the need to provide these per-application
controls in control-center.

https://bugzilla.gnome.org/show_bug.cgi?id=761245
2016-03-03 16:07:58 +00:00
Zeeshan Ali (Khattak)
d77ec8e821 privacy: Indicate location service being used
As per the new mockup, we should indicate when location service is in
use:

https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/system-settings/privacy/privacy-3.20.png

https://bugzilla.gnome.org/show_bug.cgi?id=761245
2016-03-03 16:07:58 +00:00
Zeeshan Ali (Khattak)
3ca5b11d7a privacy: Move "Location Services" into a dialog
We are about to add per-application settings for geolocation access and
they won't really fit well in the main view. This is as per design
mockup:

https://dl.dropboxusercontent.com/u/5031519/privacy/privacy-3.20.png

https://bugzilla.gnome.org/show_bug.cgi?id=761245
2016-03-03 16:07:58 +00:00
Bastien Nocera
72e25ad405 privacy: Mark new string for translation
https://bugzilla.gnome.org/show_bug.cgi?id=742375
2015-01-21 19:24:54 +01:00
Bastien Nocera
7977521336 privacy: Add automatic problem reporting setting
This functionality requires:
- a system service owning the org.freedesktop.problems.daemon [1]
- a session service listening to the "report-technical-problems"
  GSetting and acting upon it [2]
- /etc/os-release linking to a PRIVACY_POLICY_URL [3]

[1] Added in ABRT in this commit:
73a98e3aaf
[2] Added to abrt-applet, see:
https://github.com/abrt/gnome-abrt/issues/107
[3] Defined in systemd in:
http://cgit.freedesktop.org/systemd/systemd/commit/?id=ed9e8bf66d1b3a00aa7fb6d57ec89dd8a3b8d7dc
Note that Fedora does not currently define this URL.
See https://bugzilla.redhat.com/show_bug.cgi?id=1182635

https://bugzilla.gnome.org/show_bug.cgi?id=742375
2015-01-21 18:09:31 +01:00
Bastien Nocera
d82ca8d842 privacy: Remove margin_left usage
And correct the margin-start usage when it was different.
2015-01-15 14:59:44 +01:00
Bastien Nocera
05a3af45ec privacy: Fix mnemonic widget for software switch
Copy/paste error.
2015-01-15 14:59:44 +01:00
Bastien Nocera
24a4d4b9bd privacy: Require GTK+ 3.16 in the UI file
Saves us from some glade warnings
2015-01-15 14:59:44 +01:00
Rui Matos
2a1455ff7f privacy: Drop deprecated API usage
https://bugzilla.gnome.org/show_bug.cgi?id=740986
2014-12-05 16:13:29 +01:00
Bastien Nocera
4b04bc53fc privacy: Change the location label so it's short enough
And doesn't resize the shell width when switching panels.
2014-08-19 19:50:22 +02:00
Zeeshan Ali (Khattak)
7bcf4c189f privacy: Add location setting
For now its just a switch to enable/disable geolocation through
gnome-shell's setting. In future we'll hopefully at least have
controls to enable/disable geolocation for applications from here.

https://bugzilla.gnome.org/show_bug.cgi?id=731119
2014-08-19 19:03:52 +02:00
Christophe Fergeau
6f59e146f0 privacy: Use AM_CPPFLAGS rather than INCLUDES
This is deprecated in newer automake versions, and this causes warnings
with automake 1.14:
panels/printers/Makefile.am:3: warning: 'INCLUDES' is the old name for
AM_CPPFLAGS' (or '*_CPPFLAGS')

https://bugzilla.gnome.org/show_bug.cgi?id=732189
2014-06-25 12:46:42 +02:00
Bastien Nocera
f7f5914e89 privacy: Use new listbox helpers
https://bugzilla.gnome.org/show_bug.cgi?id=732106
2014-06-24 11:35:31 +02:00
Bastien Nocera
8fb9e9b71a privacy: "Immediately" option not truthful
The purging takes place once an hour, not immediately, so relabel
the option to that effect.

See https://bugzilla.redhat.com/show_bug.cgi?id=1056247

https://bugzilla.gnome.org/show_bug.cgi?id=725318
2014-04-29 14:33:21 +02:00
Yosef Or Boczko
4a1f62e6dd privacy: Use header bar in all the dialogs
https://bugzilla.gnome.org/show_bug.cgi?id=724299
2014-04-28 17:29:18 +03:00
Richard Hughes
e2c0fd8f8a privacy: Disable the software usage reporting due to various bugs
Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=726234
2014-03-13 14:26:47 +00:00