Commit graph

16195 commits

Author SHA1 Message Date
Dan Williams
1428912da0 network: fix some SSID escaping issues
nm_utils_escape_ssid() should only be used for debugging purposes,
but was used in one place for UI display and another place
for doing actual AP comparison.  Instead, the comparison should
just operate on the SSID bytes, and the UI display should use
nm_utils_ssid_to_utf8() which tries to interpret non-ASCII
characters for better display.

https://bugzilla.gnome.org/show_bug.cgi?id=767205
https://bugzilla.redhat.com/show_bug.cgi?id=1336714
2016-06-07 10:53:40 -05:00
Bastien Nocera
764208d8e9 network: Add missing nm-default.h file 2016-06-07 14:38:27 +02:00
Bastien Nocera
c316e301ce network: Separate UI changes from code changes 2016-06-07 14:25:20 +02:00
Bastien Nocera
27c9aff3af network: Update wireless-security UI from network-manager-applet
The list of changes compared to the nm-connection-editor code is:
- Remove ":" from the control labels
- Right-justify the control labels
- Shrink the column spacing to 6
2016-06-07 14:21:36 +02:00
Bastien Nocera
92b044ba7f network: Update wireless-security from network-manager-applet 2016-06-07 13:11:07 +02:00
Bastien Nocera
36576a5cb6 network: Update security page for recent changes 2016-06-07 13:11:07 +02:00
Bastien Nocera
e6bccd6646 network: Update wireless-security patch 2016-06-07 13:11:07 +02:00
Bastien Nocera
25feb13ee9 network: Remove nag-user-dialog.ui
It's now unused.
2016-06-07 13:11:07 +02:00
Bastien Nocera
7cc463a067 network: Automate updating wireless-security UI files
from network-manager-applet.
2016-06-07 13:10:55 +02:00
Bastien Nocera
280cff67db network: Add utils from network-manager-applet
The minimum necessary utilities from
network-manager-applet/src/utils/utils.[ch]
for the wireless-security rebase.
2016-06-07 13:10:10 +02:00
Bastien Nocera
199bd2c343 network: Fix removed connections not disappearing
A regression introduced in commit 9183d34, when we ported to libnm 1.2.
2016-06-07 13:10:09 +02:00
Daniel Mustieles
1a889c89fd Updated Spanish translation 2016-06-06 07:11:00 +00:00
Baurzhan Muftakhidinov
ba5079b7b1 Updated Kazakh translation 2016-06-06 07:09:48 +00:00
Piotr Drąg
d141196282 Updated POTFILES.in 2016-06-03 18:18:35 +02:00
Georges Basile Stavracas Neto
57ba49a137 window: reimplement search
We previously had a dedicate view for handling search,
based on model filtering and a custom panel to display
that differently.

After moving to GtkListBox, search can be trivially
done by using a filtering function, and widgets can
be fine-tuned to display extra information.

This patch, then, reimplements the search using a filtering
function over the panels' list.

https://bugzilla.gnome.org/show_bug.cgi?id=766922
2016-06-03 12:32:37 -03:00
Georges Basile Stavracas Neto
b6ab2a4922 window: use a listbox
The latest mockups use a list instead of icon grid. This
commit, after all the work porting the current UI to use
a side list, replacing the temporary icon grid.

https://bugzilla.gnome.org/show_bug.cgi?id=766922
2016-06-03 12:32:37 -03:00
Georges Basile Stavracas Neto
9d06a0f858 window: add a placeholder view
https://bugzilla.gnome.org/show_bug.cgi?id=766922
2016-06-03 12:32:37 -03:00
Georges Basile Stavracas Neto
2590e38905 window: set the default width and height
Since the window can shrink down too much, it makes
sense for us to have a sane default width and height.

720x480 was chosen because that's the default resolution
for CRT TVs.

https://bugzilla.gnome.org/show_bug.cgi?id=766922
2016-06-03 12:32:36 -03:00
Georges Basile Stavracas Neto
a267ebd9a2 window: make the sidelist and first headerbar horizontally equal
The first headerbar and the sidelist should stay synchronized,
and this commit does so by setting the width request of the
headerbar to the allocated width of the sidelist.

https://bugzilla.gnome.org/show_bug.cgi?id=766922
2016-06-03 12:32:36 -03:00
Georges Basile Stavracas Neto
c0bdc06d1e window: introduce the second headerbar
This commit introduces the second headerbar, where the
panel title and the panel widgets are displayed. It also
adapts the code to use the second headerbar when needed.

https://bugzilla.gnome.org/show_bug.cgi?id=766922
2016-06-03 12:32:36 -03:00
Georges Basile Stavracas Neto
fa1a6b3457 window: pack the headerbar inside a box
In the future commits, we'll use two headerbars to visually
separate the panel area and the sidelist.

https://bugzilla.gnome.org/show_bug.cgi?id=766922
2016-06-03 12:32:36 -03:00
Georges Basile Stavracas Neto
df086d4db9 window: put the search button in the start of the headerbar
Since the search bar has been moved to above the sidelist, it
makes sense to have the search button on the start of the
headerbar, strengthening the relation between both widgets.

https://bugzilla.gnome.org/show_bug.cgi?id=766922
2016-06-03 12:32:36 -03:00
Georges Basile Stavracas Neto
55cc4c3a91 window: make it a template class
In order to prepare ourselves for the future changes,
having the window as a template class is hugely advantageous
for we'll be able to modify the interface much more
quickly and cleanly.

This commit makes the window a template class, and only
that. No behavioral changes, nor new features were
introduced here.

https://bugzilla.gnome.org/show_bug.cgi?id=766922
2016-06-03 12:32:36 -03:00
Georges Basile Stavracas Neto
6f38ca83c8 window: remove the small screen code
Because the old layout was never meant to scale well on low
resolution displays, we had to introduce code that adapts the
window to be usable on low res screens.

The problem with this code is that it still doesn't scale down
very well for really low resolution screens. Partially because
of the layout itself (which, again, was never meant to), partially
because the panels request a size bigger than e.g. 720x480. Now,
this is an important feature and we need to support that low
resolution by default.

To push this constraint forward, remove the code that managed a
custom mode for low resolution screens. From now on, the Control
Center shall be adapted to scale well on any screen sizes.

https://bugzilla.gnome.org/show_bug.cgi?id=766922
2016-06-03 12:32:36 -03:00
Georges Basile Stavracas Neto
77ef6c4bbd window: remove the fixed width request code
Having a fixed width is bad for various reasons. First, it's
harder to deal with low resolution screens, which was fixed
by adding an entire new mode just to deal with it. Second,
because it may not scale well for big resolutions.

Fix that by removing the code that handles the fixed width.
The next commit will completely remove the code that manages
small screens, in the hope that the new layout will handle
both cases well by design.

https://bugzilla.gnome.org/show_bug.cgi?id=766922
2016-06-03 12:32:36 -03:00
Georges Basile Stavracas Neto
2f844e2a6a window: make the panels' stack expand
This way, panels can fill the most of the screen, which
is the desired behavior proposed by the mockups.

https://bugzilla.gnome.org/show_bug.cgi?id=766922
2016-06-03 12:32:36 -03:00
Georges Basile Stavracas Neto
c47bc08b06 window: separate the panel selector
To progressively achieve the sidelist, let's start by moving
the current iconview selector to the side and then turning
it into a GtkListBox.

This commit, then, moves the iconviews' list to the start of
the horizontal box added in the previous commit.

https://bugzilla.gnome.org/show_bug.cgi?id=766922
2016-06-03 12:32:36 -03:00
Georges Basile Stavracas Neto
c006198434 window: add a horizontal box before the stack
The horizontal box will be used in the future commits
to separate the sidelist from the stack.

https://bugzilla.gnome.org/show_bug.cgi?id=766922
2016-06-03 12:32:36 -03:00
Georges Basile Stavracas Neto
2bb6d441a7 build: create another executable for the new layout
This way, we can test both layouts in parallel and, in
case something goes wrong, we always have to old layout
as a fallback.

https://bugzilla.gnome.org/show_bug.cgi?id=766922
2016-06-03 12:32:36 -03:00
Georges Basile Stavracas Neto
fe3a23702f build: copy CcWindow in alt/ directory
The copied files are exact copies of shell/cc-window.c and
shell/cc-window.h, and they'll be used to implement the restyled
shell as an alternative binary.

https://bugzilla.gnome.org/show_bug.cgi?id=766922
2016-06-03 12:32:36 -03:00
Georges Basile Stavracas Neto
71d39a4836 window: turn into a final class
This commit updates the code to use the recently
introduced API. The new functions improve the
legibility and maintainability of the code, and
makes it easier to work on new features.

https://bugzilla.gnome.org/show_bug.cgi?id=766922
2016-06-03 12:32:36 -03:00
Reinout van Schouwen
d1b8747270 Updated Dutch translation by Justin van Steijn 2016-06-01 23:01:59 +02:00
Felipe Borges
efc887c419 user-accounts: use radio buttons for account type in Add User dialog
https://wiki.gnome.org/Design/SystemSettings/UserAccounts

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-06-01 17:10:56 +02:00
Felipe Borges
1a6d716774 user-accounts: use radio buttons for account type
According to the mockups at
https://wiki.gnome.org/Design/SystemSettings/UserAccounts

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-06-01 17:10:55 +02:00
Felipe Borges
5b3a2cc649 user-accounts: redesign offline mode for enterprise login
https://wiki.gnome.org/Design/SystemSettings/UserAccounts

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-06-01 17:10:55 +02:00
Daniel Mustieles
c0a6ce08bf Updated Spanish translation 2016-06-01 10:54:43 +00:00
Felipe Borges
941282a8de user-accounts: drop "Login Options" label
According to the mockups at
https://wiki.gnome.org/Design/SystemSettings/UserAccounts

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-06-01 11:55:34 +02:00
Felipe Borges
a848da9348 user-accounts: align entries in Add User dialog
https://wiki.gnome.org/Design/SystemSettings/UserAccounts

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-06-01 11:49:05 +02:00
Felipe Borges
a70888f132 user-accounts: move arrows to start in login history dialog
https://wiki.gnome.org/Design/SystemSettings/UserAccounts

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-06-01 11:44:42 +02:00
Felipe Borges
6d24ed5ae9 user-accounts: update strings to new design
https://wiki.gnome.org/Design/SystemSettings/UserAccounts

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-06-01 11:43:08 +02:00
Cédric Valmary
7e4a51cb37 Updated Occitan translation 2016-05-30 18:40:59 +00:00
Tiago Santos
0a37eeb7d4 Updated Portuguese translation 2016-05-30 14:29:19 +00:00
Felipe Borges
e67cd42a45 search: use-header-bar for Search Locations dialog
https://bugzilla.gnome.org/show_bug.cgi?id=766513
2016-05-30 15:32:38 +02:00
Felipe Borges
f473ec45c7 search: introduce the new Search Locations dialog
https://wiki.gnome.org/Design/SystemSettings/Search

https://bugzilla.gnome.org/show_bug.cgi?id=766513
2016-05-30 15:22:44 +02:00
Milo Casagrande
8bc4156375 Updated Italian translation
(cherry picked from commit e060fcf05b)
2016-05-29 13:26:21 +00:00
Bastien Nocera
e39ef0eea7 power: Fix build on non-Linux systems
In 8400d3e, we ported the power panel to libnm 1.2, but at the same
time, made libnm a hard requirement. This is a problem on non-Linux
systems.

See https://bugzilla.gnome.org/show_bug.cgi?id=765910#c31
2016-05-28 21:54:07 +02:00
Friedrich Herbst
fb44ea3908 Updated German translation 2016-05-28 18:55:09 +00:00
Bastien Nocera
9183d34947 network: Port to libnm 1.2
We also remove support for WiMAX (now unsupported by NetworkManager),
and InfiniBand (Enterprise feature), and the use of
the deprecated NM_SETTING_WIRELESS_SEC property.

With help from network-manager-applet patches by Jiří Klimeš and
Dan Winship.

https://bugzilla.gnome.org/show_bug.cgi?id=765910
2016-05-27 18:23:33 +02:00
Bastien Nocera
8400d3ed81 power: Port to libnm 1.2
And make the NMClient instantiation async now that the API permits it.

https://bugzilla.gnome.org/show_bug.cgi?id=765910
2016-05-27 18:23:33 +02:00
Tiago Santos
54acab12c7 Updated Portuguese translation 2016-05-26 13:47:00 +00:00