Commit graph

16843 commits

Author SHA1 Message Date
Georges Basile Stavracas Neto
fa81d1679a online-accounts: Only show the accounts list when there are accounts
When the user has no account set, the current implementation of the
Online Accounts panel shows a weird 1px line that is the empty list.

Fix that by only showing the list when there are accounts available.

https://bugzilla.gnome.org/show_bug.cgi?id=774222
2017-02-22 23:00:49 -03:00
Debarshi Ray
af7c214aaf online-accounts: Consolidate the row modification code a bit
We have different variants of the same code that iterates over all the
rows in a GtkListBox to find the one that corresponds to a given
account. Some action is then performed on the row, depending on the use
case at hand. In future we might want to look at the other rows in the
list to decide whether to hide the entire GtkFrame or not.

Let's consolidate this to reduce some duplication.

https://bugzilla.gnome.org/show_bug.cgi?id=774222
2017-02-22 23:00:49 -03:00
Debarshi Ray
25f97f15ce online-accounts: Shuffle some code around
This will make the subsequent commits easier to read.

We are going to change get_row_for_account to be more generic. Moving
this code higher up will let us use it from a few more call sites.

https://bugzilla.gnome.org/show_bug.cgi?id=774222
2017-02-22 23:00:49 -03:00
Georges Basile Stavracas Neto
1594d8c7a1 online-accounts: Align the panel widgets in the middle
The current implementation of the Online Accounts panel allows
2 states: either the widgets of the panel fill the whole horizontal
space, or they shrink and fill only the absolutely minimum. The
ideal solution, however, is to make them grow with the panel.

Fix that by turn the main box into a GtkGrid, and adding stub widgets
that expand horizontally and pull the main widgets to the middle,
allowing them to cover at most 1/3 of the screen. The widgets themselves
are inside a GtkBox, so that hiding them automatically removes the
spacing in between.

https://bugzilla.gnome.org/show_bug.cgi?id=774222
2017-02-22 23:00:49 -03:00
Georges Basile Stavracas Neto
1e580c679b online-accounts: Add an offline message label
When offline, we currently block the new accounts listbox
so that users can't add new accounts. There is, however,
no visual indication that we're offline, besides the listbox.

Fix that by adding a descriptive label that's only visible
when offline.

https://bugzilla.gnome.org/show_bug.cgi?id=774222
2017-02-22 23:00:49 -03:00
Georges Basile Stavracas Neto
e9198bdb4d online-accounts: Add a bottom row to display non-branded providers
As per the mockups, and mimicking the dialog behavior, add a bottom
row that shows non-branded providers.

https://bugzilla.gnome.org/show_bug.cgi?id=774222
2017-02-22 23:00:49 -03:00
Felipe Borges
ca30e0ead9 printers: Use async rename method
pp_printer_rename_async is better than the old printer_rename
utility.

The PpDetailsDialog doesn't need to do anything in the callback
since we are emiting the "printer-changed" signal when the dialog
is closed.

https://bugzilla.gnome.org/show_bug.cgi?id=769114
2017-02-22 17:05:50 +01:00
Felipe Borges
5fa1dede21 printers: Do not apply rename/location changes in focus-out-event
Since we are already applying the changing in the PpDetailsDialog
when it gets closed, there's no need to apply these changes in
the focus-out-event of its respective GtkEntries.

https://bugzilla.gnome.org/show_bug.cgi?id=769114
2017-02-22 17:05:50 +01:00
Chao-Hsiung Liao
83f3cb406d Update Chinese (Taiwan) translation 2017-02-22 01:17:19 +00:00
Milo Casagrande
2006dcd9f5 Update Italian translation 2017-02-21 17:07:41 +00:00
Andika Triwidada
07169ec8ed Update Indonesian translation 2017-02-20 12:09:33 +00:00
Daniel Korostil
bb9e58439e Updated Ukrainian translation 2017-02-20 12:34:55 +02:00
Piotr Drąg
036c4008a6 Update Polish translation 2017-02-19 21:41:44 +01:00
Kjartan Maraas
044a48ce7c Updated Norwegian bokmål translation. 2017-02-19 14:58:37 +01:00
Jiri Grönroos
b7fc84ea86 Update Finnish translation 2017-02-18 18:35:56 +00:00
Aurimas Černius
abb984199d Updated Lithuanian translation 2017-02-18 17:51:24 +02:00
Dušan Kazik
a5f56180c3 Update Slovak translation 2017-02-18 10:08:11 +00:00
Georges Basile Stavracas Neto
13da84e451 online-accounts: Add margins to the rows' icons
Per Allan's request, add more margin to the rows' icons.

https://bugzilla.gnome.org/show_bug.cgi?id=774222
2017-02-17 17:23:59 +01:00
Georges Basile Stavracas Neto
1f1f2e2b1f online-accounts: Always keep editor dialog size the minimum
When adding and editing accounts, the different options that Online
Accounts provides may require different sizes of the dialog. There is,
however, a specific issue where the dialog can't resize because a
provider widget is interefering with the others.

Fix that by making the dialog's stack non-homogeneous, and making sure
to always reset the dialog size before showing it.

https://bugzilla.gnome.org/show_bug.cgi?id=774222
2017-02-17 17:19:45 +01:00
Jordi Mas
e6f7d26175 Update Catalan translation 2017-02-17 11:44:38 +01:00
Baurzhan Muftakhidinov
2efef48322 Update Kazakh translation 2017-02-17 03:45:30 +00:00
Inaki Larranaga Murgoitio
0d66080a32 Update Basque language 2017-02-16 21:48:04 +01:00
Bernd Homuth
ee74eac40f Update German translation 2017-02-16 20:14:52 +00:00
Richard Hughes
9725efd3e4 display: Tweak night light dialog UI to match latest mockups 2017-02-16 19:56:51 +00:00
Inaki Larranaga Murgoitio
7b2efa05a3 Update Basque language 2017-02-16 16:54:44 +01:00
Rafael Fontenelle
343927be81 Update Brazilian Portuguese translation 2017-02-16 14:08:55 +00:00
Ask Hjorth Larsen
c5b05b6e00 Updated Danish translation 2017-02-16 14:20:37 +01:00
Ondrej Holy
60c315b53b user-accounts: Fix crash when name is changed and dialogue closed
Wrong variables are used to store timeout id, consequently, the sources
are not properly removed in all cases. Then the dialog may crash in certain
cases if it is closed before the source functions are called.

https://bugzilla.gnome.org/show_bug.cgi?id=778595
2017-02-16 09:21:42 +01:00
Jiri Grönroos
3111d66bf4 Update Finnish translation 2017-02-15 18:35:20 +00:00
Felipe Borges
6bfc60b779 printers: Make the printer address always sensitive
This patch individually updates the sensitivity of the
PpDetailsDialog child widgets, so we can leave the printer
address label always sensitive.

https://bugzilla.gnome.org/show_bug.cgi?id=778682
2017-02-15 15:56:32 +01:00
Jeremy Bicha
86f131a1cb display: Really fix typo in "Tomorrow"
Spelled correctly in the commit message, but not in the code itself.
Yay! :(

https://bugzilla.gnome.org/show_bug.cgi?id=778513
2017-02-15 11:58:54 +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
f7199b5172 build: Bump dependencies for Night Light schemas
Up to gnome-settings-daemon 3.23.90

https://bugzilla.gnome.org/show_bug.cgi?id=778625
2017-02-15 10:58:08 +01:00
Daniel Mustieles
a2f055b589 Update Spanish translation 2017-02-15 09:26:15 +00:00
Baurzhan Muftakhidinov
347b2a8533 Update Kazakh translation 2017-02-15 04:34:21 +00:00
Marek Černocký
b29b1b7aab Updated Czech translation 2017-02-14 23:06:36 +01:00
Daniel Mustieles
a7cb9a5737 Updated Spanish translation 2017-02-14 20:32:07 +01:00
Bastien Nocera
0fd233bd86 3.23.90 2017-02-14 19:39:57 +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
Jeremy Bicha
479f04904c printers: Use ellipsis for "Add a Printer"
https://bugzilla.gnome.org/show_bug.cgi?id=778568
2017-02-14 19:09:33 +01:00
Jeremy Bicha
681f40ca09 keyboard: Use ellipsis for "Reset All"
https://bugzilla.gnome.org/show_bug.cgi?id=778568
2017-02-14 19:09:33 +01:00
Ondrej Holy
9440035560 user-accounts: Don't modify pre-filled username
If user type custom username, don't modify it automatically when
changing fullname.

https://bugzilla.gnome.org/show_bug.cgi?id=778555
2017-02-14 18:44:52 +01:00
Richard Hughes
2f1af82a4e display: Only show the sunset/sunrise icons when not manually specified 2017-02-14 11:20:08 +00:00
Kukuh Syafaat
a617a02b9b Update Indonesian translation 2017-02-14 03:13:29 +00:00
Marek Černocký
ff1a8d4b38 Updated Czech translation 2017-02-13 23:39:45 +01:00
Marek Černocký
9982d2fb9b Updated Czech translation 2017-02-13 23:39:04 +01:00
Piotr Drąg
b93ae36beb Update POTFILES.in 2017-02-13 21:29:42 +01:00
Kjartan Maraas
107be26f04 Updated Norwegian bokmål translation. 2017-02-13 20:37:05 +01:00
Jeremy Bicha
206310e9fb user-accounts: Use ellipsis for "Remove User"
https://bugzilla.gnome.org/show_bug.cgi?id=778568
2017-02-13 19:56:07 +01:00