Commit graph

16180 commits

Author SHA1 Message Date
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
Bastien Nocera
8861d44099 network: Remove now unused virtual devices support
https://bugzilla.gnome.org/show_bug.cgi?id=747443
2016-05-26 14:49:28 +02:00
Bastien Nocera
da96effab7 network: Remove HAVE_NM_UNSTABLE check
We don't have any code that relies on it anymore.

https://bugzilla.gnome.org/show_bug.cgi?id=747443
2016-05-26 14:49:28 +02:00
Bastien Nocera
a4729411b5 network: Remove VLAN support
It is supported by Cockpit already:
https://github.com/cockpit-project/cockpit/issues/1007

https://bugzilla.gnome.org/show_bug.cgi?id=747443
2016-05-26 14:49:28 +02:00
Bastien Nocera
9974342865 network: Remove team support
It will be supported by Cockpit in the near future:
https://github.com/cockpit-project/cockpit/issues/4330

https://bugzilla.gnome.org/show_bug.cgi?id=747443
2016-05-26 14:49:28 +02:00
Bastien Nocera
b38bf8b672 network: Remove bond support
It is supported by Cockpit already:
https://github.com/cockpit-project/cockpit/issues/458

https://bugzilla.gnome.org/show_bug.cgi?id=747443
2016-05-26 14:49:28 +02:00
Bastien Nocera
20b634b454 network: Remove bridge support
It is supported by Cockpit already:
https://github.com/cockpit-project/cockpit/issues/459

https://bugzilla.gnome.org/show_bug.cgi?id=747443
2016-05-26 14:49:28 +02:00
Cosimo Cecchi
b3199dd641 region: remove handling of current input source GSetting
This is not read anymore by gnome-shell or gnome-settings-daemon, and
there's no point for gnome-control-center to read or write it anymore.

https://bugzilla.gnome.org/show_bug.cgi?id=766846
2016-05-25 11:00:41 -07:00
Jordi Mas
02298c1d43 Fix to Catalan translation 2016-05-22 19:33:20 +02:00
Tiago Santos
2b0b0cd2af Updated Portuguese translation 2016-05-20 21:31:06 +00:00
Baurzhan Muftakhidinov
a751850eb2 Updated Kazakh translation 2016-05-20 08:16:21 +00:00
Dušan Kazik
ebc8b16c4f Updated Slovak translation 2016-05-18 18:55:10 +00:00
Aurimas Černius
2ae2700612 Updated Lithuanian translation 2016-05-14 22:19:42 +03:00
Rui Matos
e9b70c2efa display: Separate interlaced from normal modes
https://bugzilla.gnome.org/show_bug.cgi?id=763833
2016-05-13 18:39:23 +02:00
Rui Matos
2e45eeaa36 region: Be more thorough in cc_input_chooser_reset()
This should result in returning to the initial state as intended
instead of keeping the filter entry shown and the filter applied.

https://bugzilla.gnome.org/show_bug.cgi?id=765909
2016-05-13 18:39:23 +02:00
Rui Matos
ff656743f4 region: Handle escape in the input chooser's filter entry
Reset the chooser on escape.

https://bugzilla.gnome.org/show_bug.cgi?id=765909
2016-05-13 18:39:23 +02:00