Commit graph

16257 commits

Author SHA1 Message Date
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
Matej Urbančič
bbc1fb149e Updated Slovenian translation 2016-08-26 22:58:47 +02:00
Rui Matos
70b57fa125 3.21.90 2016-08-25 19:48: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
Allan Day
ed34cd7d04 region: improve spacing
The layout of the panel felt constrained and wasn't consistent
with the other panels. More vertical spacing required.

https://bugzilla.gnome.org/show_bug.cgi?id=764645
2016-08-23 15:54:45 +01:00
Balázs Meskó
ffb4d57edc Updated Hungarian translation 2016-08-23 11:50:11 +00:00
Piotr Drąg
adefc76b97 Updated Polish translation 2016-08-23 13:10:59 +02:00
Alexandre Franke
cf50fae0bc Updated French translation 2016-08-22 20:29:14 +00:00
Rafael Fontenelle
fedb2f9730 Updated Brazilian Portuguese translation 2016-08-22 05:09:25 +00:00
Jiri Grönroos
092a735f98 Updated Finnish translation 2016-08-21 09:44:09 +00:00
Fabio Tomat
1818fce868 Updated Friulian translation 2016-08-20 09:08:29 +00:00
Marek Černocký
3e2f6a5771 Updated Czech translation 2016-08-17 12:46:39 +02:00
Marek Černocký
dfd0c8940b Updated Czech translation 2016-08-16 22:58:36 +02:00
Debarshi Ray
2cb0f5e3a3 online-accounts: Let goa_provider_show_account create the full UI
It is not ideal to have the UI split across a semi-stable,
cross-module interface boundary. Non-trivial changes to the UI require
changes to the goa_provider_show_account interface. In fact, we were
already not using it the way it was originally intended to be.
Moreover, it prevents us from having a sufficiently different UI for
certain account types.

Instead, let's just pass a vertical GtkBox to the GoaProvider and let
it fill it up whichever way it wants to.

Bump required GOA version for the new goa_provider_show_account
behaviour.

https://bugzilla.gnome.org/show_bug.cgi?id=769213
2016-08-14 12:18:52 +02:00
Sveinn í Felli
88501d4d1f Updated Icelandic translation
(cherry picked from commit 075893a2db)
2016-08-12 14:25:37 +00:00
Jiri Grönroos
ef0914ac55 Updated Finnish translation 2016-08-12 12:36:39 +00:00
Jordi Mas
7ad03df2b2 Update Catalan translation 2016-08-09 20:06:26 +02:00
Yosef Or Boczko
38181308f9 Updated Hebrew translation 2016-08-09 20:26:05 +03:00
Andika Triwidada
a6080afa3b Updated Indonesian translation 2016-08-08 08:19:57 +00:00
Fabio Tomat
5fa3a6be98 Updated Friulian translation 2016-08-07 16:55:56 +00:00
Christian Kirbach
01401c6fb8 Updated German translation 2016-08-05 18:12:08 +00:00
Ondrej Holy
77c26aa162 user-accounts: Fix history dialog height
History dialog changes its height depending on number of entries. It
is caused by the recent GtkScrolledWindow changes from Bug 766569. Set
fixed min and max content heights to avoid this behavioral.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-08-04 17:13:26 +02:00
Dušan Kazik
00f96ca502 Updated Slovak translation 2016-08-04 07:33:44 +00:00
Daniel Mustieles
98ba6b3904 Updated Spanish translation 2016-08-03 12:29:16 +00:00
Dušan Kazik
cf4a542e51 Updated Slovak translation 2016-08-03 11:11:00 +00:00
Mario Sanchez Prada
bbe6b6309d Migrate the remaining bits of PpMaintenanceCommand to GTask
They were still using the deprecated GSimpleAsyncResult and throwing
a lot of warnings when building.

https://bugzilla.gnome.org/show_bug.cgi?id=766861
2016-08-02 12:42:37 -06:00
Mario Sanchez Prada
c41bbfa7d0 printers: Check all supported CUPS commands, not just the first one
Use an array of strings to store every supported command and check
the desired command against the elements in that list, instead of
simply checking the first one.

https://bugzilla.gnome.org/show_bug.cgi?id=766861
2016-08-02 12:42:21 -06:00
Mario Sanchez Prada
4b91972f2c printers: Added new async API to check availability of maintenance commands
This cleans the code up a bit so that we can extract part of the logic
from _pp_maintenance_command_execute_thread() before getting into fixing
the problem in the logic checking whether a CUPS command is available.

Besides, it will be useful to have this logic extracted as it will be used
later on from pp-printer-entry.c to know whether the "Clean" command is
available, in order to show a menu item "Clean Print Heads" (bug 764620).

https://bugzilla.gnome.org/show_bug.cgi?id=766861
2016-08-02 12:42:21 -06:00
Daniel Mustieles
cbdc356247 Updated Spanish translation 2016-08-02 16:48:37 +02:00
Felipe Borges
5b101946b9 user-accounts: Drop CcEditableEntry references from um-user-panel
There is no need to use this type in the new user accounts panel.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-08-01 14:51:23 +02:00
Felipe Borges
5c12abbe2f user-accounts: Fix horizontal alignment of "Account Type" buttons
It makes "account-type-standard" and "account-type-admin" hexpand
properties to equal TRUE.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-08-01 14:48:41 +02:00
Felipe Borges
e3148af358 user-accounts: Use sensitivity to denote changes in "Account Type"
Instead of changing from "Account Type" buttons to label, set the
sensitivity of the buttons according to the current users' permission.

Now we hide the "Account Type" for a single user account.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-08-01 09:38:13 +02:00
Felipe Borges
e36a3654a0 user-accounts: Drop "Account Activity" button
Now the "Account Activity" dialog is launched by clicking in the
"Last Login" option.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-08-01 09:35:21 +02:00
Felipe Borges
1039642d93 user-accounts: Use GtkEntry instead of CcEditableEntry
https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-08-01 09:24:39 +02:00
Felipe Borges
a05375005b user-accounts: Remove UmEditableButton object
To bring it back, revert this commit.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-08-01 09:22:40 +02:00
Felipe Borges
e2d3b47a33 user-accounts: Drop usage of UmEditableButtons
Now using GtkButtons instead. Since we are denoting the permission
to edit an option by setting the option sensitivity.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-08-01 09:19:40 +02:00
Aurimas Černius
09039ecefb Updated Lithuanian translation 2016-07-31 20:26:33 +03:00
Georges Basile Stavracas Neto
00f1b53abb keyboard: make sure to retrieve the correct type from variants
When comparing the keyboard shortcut's default and current
values, we double-check what kind of variant the default
value is, but don't check that for the user value.

This ends up throwing lots of variant-related warnings, as
the user value may not be a plain string.

Fix that by checking the variant types both for the user and
the default value of the shortcut's settings.

https://bugzilla.gnome.org/show_bug.cgi?id=769310
2016-07-29 19:32:51 +02:00
Piotr Drąg
3aa7cf6918 Updated POTFILES.in 2016-07-29 19:27:28 +02:00
Bastien Nocera
13b745aa3d keyboard: Bump required GTK+ version
As the newly public GtkShortcutLabel is needed for that panel.
2016-07-29 19:01:32 +02:00
Georges Basile Stavracas Neto
ab8721fc04 keyboard: add search support
Based on the latest mockups, the Keyboard panel would
benefit from a search functionality.

This patch add all the necessary UI and functions to
make the search work. Worth noticing that the current
implementation still doesn't work with search-as-you-type,
which'll be addressed on a future fix.

https://bugzilla.gnome.org/show_bug.cgi?id=769063
2016-07-29 13:48:31 -03:00
Georges Basile Stavracas Neto
7b877bc33f keyboard: bring back reverse item management
In order to simplify the porting to the new UI, the
reverse item functionality was removed. Now that all
the necessary code landed, it is time to bring it back.

This patch adds back the ability to manage reverse items.

https://bugzilla.gnome.org/show_bug.cgi?id=769063
2016-07-29 13:48:31 -03:00
Georges Basile Stavracas Neto
d0c32c38a3 keyboard: remove unused code
CcKeyboardItem overrides GObject:constructor with an
empty function that only hooks up with the parent
constructor.

https://bugzilla.gnome.org/show_bug.cgi?id=769063
2016-07-29 13:48:31 -03:00
Georges Basile Stavracas Neto
1c85479742 keyboard: add support to reset shortcuts to their default values
Following the proposed mockups, the shortcut list must
have the ability to reset modified to non-default shortcuts
right from the listbox.

After adding the necessary API in CcKeyboardItem, adding
the user-visible elements to enable that is easy.

To make that happen, add a button that resets the
keyboard shortcut.

https://bugzilla.gnome.org/show_bug.cgi?id=769063
2016-07-29 13:48:31 -03:00
Georges Basile Stavracas Neto
376459af43 keyboard: add API to track whether a shortcut is default
The current keyboard item API does not track whether the
keyboard shortcut is the default value or not. In order to
properly implement the Reset operation, the keyboard item
must receive this API and ideally handle it internally.

This patch adds the necessary API to CcKeyboardItem to track
whether the shortcut is the default value or not.

https://bugzilla.gnome.org/show_bug.cgi?id=769063
2016-07-29 13:48:31 -03:00
Georges Basile Stavracas Neto
4e50c3c375 keyboard: bring back uniqueness check
The collision detection code was removed in commit a0a155884e
as the cleanup was happening because the previous code was closely
tied to the user interface components.

Because that code wasn't appliable to the new listbox UI, it was
temporarily removed.

This patch re-adds this feature to work with the new code orgazination.

https://bugzilla.gnome.org/show_bug.cgi?id=769063
2016-07-29 13:48:22 -03:00
Georges Basile Stavracas Neto
60b235754e keyboard: move keyboard management code to custom class
Instead of having CcKeyboardPanel managing both UI and backend code,
factor the backend code to a new CcKeyboardManager class and drop
backend management from the panel itself.

The new backend class handles the loading, creation and removal and
search of keyboard shortcuts. It also resolves reversible shortcuts
when searching.

This patch moves the code to this new class, and updates the rest of
the Keyboard panel to use it instead.

https://bugzilla.gnome.org/show_bug.cgi?id=769063
2016-07-29 13:43:47 -03:00