Commit graph

16541 commits

Author SHA1 Message Date
Felipe Borges
cbe31d5337 user-accounts: Reposition "Remove Account" button
It used to be at the toolbar in the bottom of the treeview. Now it
is fixed in the bottom-right corner of the panel.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-07-27 11:31:05 +02:00
Tiago Santos
ce0b9aa855 Updated Portuguese translation 2016-07-27 07:37:09 +00:00
Ondrej Holy
90d6f3b622 user-accounts: Unify size of headerbar buttons
The headerbar buttons with arrows were moved sidebyside by the commit
a70888f. The buttons have a slightly different size, which looks pretty
weird currently. Fix this by setting valign on GtkButton and not on
GtkImage inside.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-07-27 09:25:48 +02:00
Tiago Santos
1f4ae1238d Updated Portuguese translation 2016-07-27 06:58:21 +00:00
Georges Basile Stavracas Neto
4aee781ab6 shell: ensure valid data when loading the panel
When loading a given panel, make sure we have a valid
panel before setting the sidelist.

This is a follow-up fix per request in bug [1].

[1] https://bugzilla.gnome.org/show_bug.cgi?id=769063
2016-07-26 11:59:07 -03:00
Georges Basile Stavracas Neto
ce08134c2b keyboard: remove deprecated GtkHBox and GtkVBox
These classes are deprecated by Gtk+ and should be replaced
by vertical and/or horizontal GtkBoxes.

This commit replaces the usage of the deprecated box classes.

https://bugzilla.gnome.org/show_bug.cgi?id=769063
2016-07-26 11:25:25 -03:00
Georges Basile Stavracas Neto
bca7c591af keyboard: remove boilerplate code
After introducing the autocleanup function to
CcPanel, it is now possible to remove a lot of
boilerplate code from the panels.

This commit ports CcKeyboardPanel to be a final
type, removing all the old boilerplate code in
the proccess.

https://bugzilla.gnome.org/show_bug.cgi?id=769063
2016-07-26 11:24:44 -03:00
Georges Basile Stavracas Neto
61d7abe795 shell: add a autocleanup function to CcPanel
CcPanel uses the old boilerplate code from GLib,
which does not set an autocleanup function.

The lack of a cleanup function implies that panels
cannot use G_DECLARE_{FINAL,DERIVABLE}_TYPE, making
the code stick to the old boilerplate.

This patch adds a cleanup function to CcPanel. It doesn't
move CcPanel to G_DECLARE_DERIVABLE_TYPE() because it'd
break the CcPanel's subclasses.

https://bugzilla.gnome.org/show_bug.cgi?id=769063
2016-07-26 11:24:26 -03:00
Georges Basile Stavracas Neto
42a360eed6 shell: update sidebar when active panel is set externally
When the active panel is not changed through sidebar navigation,
e.g. by calling the Control Center through command line and asking
to open a specific panel, the panel is correctly opened but the
sidebar is not updated to reflect that.

Fix that by selecting the externally set panel row, and eventually
moving to the correct list.

https://bugzilla.gnome.org/show_bug.cgi?id=769063
2016-07-26 11:22:28 -03:00
Felipe Borges
1345cf36c5 user-accounts: Remove UmEditableCombo class
Revert this commit in order to bring the UmEditableCombo class back.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-07-25 15:22:35 +02: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
Fabio Tomat
9208f61eb6 Updated Friulian translation 2016-07-25 09:54:47 +00:00
Fabio Tomat
be4eb38054 Updated Friulian translation 2016-07-25 05:36:06 +00:00
Fabio Tomat
51ef42c099 Updated Friulian translation 2016-07-23 16:11:36 +00:00
Piotr Drąg
869f958c52 Add Language headers to po files
Future versions of gettext will fail if this header is missing.
2016-07-18 22:27:16 +02:00
Daniel Mustieles
80825b740d Updated Spanish translation 2016-07-18 16:46:47 +02:00
Jordi Mas
9063294125 Update Catalan translation 2016-07-17 23:14:46 +02:00
Chao-Hsiung Liao
ff631c70db Updated Chinese (Taiwan) translation 2016-07-16 02:48:47 +00:00
Felipe Borges
079928d693 user-accounts: Make the "Account Activity" dialog wider
Set it to 60% of the parent window.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-07-14 10:42:41 +02:00
Felipe Borges
094447fdd3 user-accounts: Drop overwritten title of "Account Activity" dialog
Since we are setting the "Account Activity" title by prepending
the user real name ("%s - Account Activity") in um-history-dialog.c,
there's no need to set the title property for the dialog elsewhere.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-07-14 10:41:45 +02:00
Felipe Borges
f029fc0947 user-accounts: Prepend user real name to "Account Activity" dialog title
https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-07-14 10:39:43 +02:00
Felipe Borges
f56c90b916 user-accounts: Drop unused subtitle in "Account Activity" dialog
https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-07-14 10:38:41 +02:00
Felipe Borges
843c126760 user-accounts: Reposition fingerprint-login-button to correct position
It was in the same position as the button below it.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-07-13 17:59:57 +02:00
Felipe Borges
66cab8a23d user-accounts: Properly align account type buttons
These two buttons should have the same size.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-07-13 15:47:21 +02:00
Georges Basile Stavracas Neto
6052e469a9 info: show build-id
While developing, it's useful to show the build id of the
installed OS when available, which the info panel doesn't
handle for now.

https://bugzilla.gnome.org/show_bug.cgi?id=768693
2016-07-12 12:45:36 -03:00
Georges Basile Stavracas Neto
8b70c44b5a info: factor out os info retrieval function
This code will be reused in the future to retrieve information
stored in /etc/os-release file and, as preparation for the next
patch that retrieves and displays the build-id of the OS.

https://bugzilla.gnome.org/show_bug.cgi?id=768693
2016-07-12 12:45:02 -03:00
Georges Basile Stavracas Neto
a58f9dd3f8 mouse: remove arbitrary height request
The test frame widget size is better handled by the
scrolled window's max-content-height property introduced
in commit 62f1f6b than an arbitrary height request.

https://bugzilla.gnome.org/show_bug.cgi?id=768529
2016-07-08 12:38:39 -03:00
Georges Basile Stavracas Neto
6c677bb0e9 mouse: center horizontally using halign property
The Mouse & Touchpad panel has a horizontally centered
list, which is centered pixel-counting the list width and
hardcoded margins.

This approach has various issues. It resizes the window
needlessly when e.g. the font changes the size, dpi or
family. This is specially visible when dealing with low
resolution screens, where the hardcoded margins are too
much to fit a 720x480 screen with the Large Font accessibility
setting on.

Fix that by removing the margins and setting the horizontal
alignment of the list to center. Since the list itself doesn't
expand to fill the available space, there won't be any user-
visible changes except that the panel is now able to scale
down.

https://bugzilla.gnome.org/show_bug.cgi?id=768529
2016-07-08 12:37:29 -03:00
Georges Basile Stavracas Neto
62f1f6bb23 mouse: set max-content-height on scrolledwindows
Instead of using only hardcoded height requests, it's better
if we give more flexibility for the content to grow up to
a certain amount of pixels.

Also, this patch slightly reduces the maximum size by 20px, so
that in the tested scenario (Adwaita with Large Font settings on)
the panel is still able to size down.

https://bugzilla.gnome.org/show_bug.cgi?id=768529
2016-07-08 12:36:05 -03:00
Tiago Santos
e198f70856 Updated Portuguese translation 2016-07-04 14:56:59 +00:00
Piotr Drąg
a2698995a7 Updated Polish translation 2016-07-04 03:30:51 +02:00
Ondrej Holy
83afdd39c8 user-accounts: Fix missing records in the history dialog
"Session Ended" record may miss if "Session Started" isn't in the
same week, which is caused by a wrong order of conditions.

https://bugzilla.gnome.org/show_bug.cgi?id=762346
2016-06-29 08:50:58 +02:00
Daniel Mustieles
26993a314a Updated Spanish translation 2016-06-27 07:29:29 +00:00
Rafael Fontenelle
26baf3f1a3 Updated Brazilian Portuguese translation 2016-06-26 21:23:31 +00:00
Andika Triwidada
fca16ba81b Updated Indonesian translation 2016-06-26 17:03:45 +00:00
Yosef Or Boczko
bc479bb6b7 Updated Hebrew translation 2016-06-26 17:06:43 +03:00
Andika Triwidada
bcde0ac748 Updated Indonesian translation
(cherry picked from commit eadf486738)
2016-06-26 09:26:19 +00:00
Mario Blättermann
e90a7780a2 Updated German translation 2016-06-26 09:03:17 +00:00
Muhammet Kara
4db427743b Updated Turkish translation 2016-06-26 04:38:26 +00:00
Bastien Nocera
c6f1b3a2be network: Simplify complete_connection_for_type()
Now that there's only one type to be added (VPNs).

https://bugzilla.gnome.org/show_bug.cgi?id=767614
2016-06-24 17:26:10 +02:00
Bastien Nocera
d0fcd5843c network: Remove the first page of the "Add Connection" wizard
We still offered to add Bond, Team, Bridge and VLAN connections even
though we don't support them any more. Remove the first page as we only
offer to add VPN connections.

https://bugzilla.gnome.org/show_bug.cgi?id=767614
2016-06-24 17:26:10 +02:00
Bastien Nocera
7adfaf1ed9 network: Fix VPN UI not showing up
The VPN editor API changed as well.

https://bugzilla.gnome.org/show_bug.cgi?id=767614
2016-06-24 17:26:10 +02:00
Bastien Nocera
2a7b19202b network: Fix crash creating a VPN
The listing of VPN plugins was done using the nm-glib API instead of the
new libnm 1.2 one.

https://bugzilla.gnome.org/show_bug.cgi?id=767614
2016-06-24 17:26:10 +02:00
Felipe Borges
7d21e69d65 user-accounts: Reorder items in "Account Activity" entries
According to the mockups at
https://wiki.gnome.org/Design/SystemSettings/UserAccounts

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-06-24 16:13:03 +02:00
Felipe Borges
2693d412ef user-accounts: Rename "History" button label to "Account Activity"
https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-06-24 16:13:03 +02:00
Felipe Borges
d1d39194e5 user-accounts: Drop unused account-type-model object
https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-06-24 16:13:03 +02:00
Martin Hatina
98cbbeb2db printers: Use PpPrinter class for renaming
Use PpPrinter class for renaming printer asynchronously.

https://bugzilla.gnome.org/show_bug.cgi?id=761539
2016-06-21 13:21:50 +02:00
Martin Hatina
a95bdb91bb printers: Introduce PpPrinter class
Introduce new class that represents printer.

https://bugzilla.gnome.org/show_bug.cgi?id=761539
2016-06-21 13:21:47 +02:00
Tiago Santos
2be260348c Updated Portuguese translation 2016-06-18 12:25:26 +00:00