Commit graph

2858 commits

Author SHA1 Message Date
Bastien Nocera
3f8e94a3ce network: Fix build
../../../../panels/network/connection-editor/ce-page-ip4.c:32:39: fatal error: egg-list-box/egg-list-box.h: No such file or directory
2013-01-30 20:10:53 +01:00
Giovanni Campagna
0f33f41491 notifications: resident-in-lock-screen key got renamed
To details-in-lock-screen, in the gsettings-desktop-schemas master.

https://bugzilla.gnome.org/show_bug.cgi?id=692895
2013-01-30 19:59:56 +01:00
William Jon McCann
e2094d8075 Use symbolic icons for network devices
This is consistent with the guideline to use symbolic icons for
classes and reserve full color icons for "things" like apps, people,
documents, pages, etc.

It is also consistent with how these devices are displayed in the
network menu, notifications, and dialogs.

https://bugzilla.gnome.org/show_bug.cgi?id=689638
2013-01-30 19:50:57 +01:00
Thomas Bechtold
da75f0f9f5 network: don't show options button on unmanaged interfaces
https://bugzilla.gnome.org/show_bug.cgi?id=692624
2013-01-30 19:46:25 +01:00
Dan Williams
fc6753e768 network: support new AP-mode hotspot functionality
Recent NetworkManager can create AP-mode hotspots instead of Ad-Hoc
mode ones, which are less compatible with mobile devices.  Do that
if NetworkManager and the device support it.

https://bugzilla.gnome.org/show_bug.cgi?id=686732
2013-01-30 13:39:16 -05:00
Dan Winship
7a0887e222 network: fix srcdir!=builddir build 2013-01-30 13:38:20 -05:00
Bastien Nocera
f959d3072b background: Avoid accessing the panel if cancelled
If the background panel was closed, we shouldn't try to access
panel's internals as it's already been freed.

https://bugzilla.redhat.com/show_bug.cgi?id=880859
2013-01-30 19:18:07 +01:00
Bastien Nocera
681aed6f9c background: Fix error checking in on_screenshot_finished()
This could create crashers when no errors were detected, but
either the D-Bus call or loading the pixbuf return NULL.

Conflicts:
	panels/background/cc-background-panel.c
2013-01-30 19:18:07 +01:00
Dan Winship
ebd863e714 network: add net_device_get_valid_connections() and use it everywhere
In addition to simplifying a bunch of places that were calling
nm_remote_settings_list_connections() +
nm_device_filter_connections(), this also ensures we filter out slave
connections everywhere (except when they are the active connection).

https://bugzilla.gnome.org/show_bug.cgi?id=677145
2013-01-30 13:05:34 -05:00
Dan Winship
7246b2b7ef network: fix two net-device-wifi leaks
https://bugzilla.gnome.org/show_bug.cgi?id=677145
2013-01-30 13:05:34 -05:00
Dan Winship
52d28579d2 network: add "virtual device" support, for bonds, bridges, and vlans
Bond, bridge, and VLAN devices may not actually exist until their
connections are brought up. So for those types, create device items
(of type NetVirtualDevice or a subclass) as soon as we see the
NMConnection, and then watch for the NMDevice being added later.

https://bugzilla.gnome.org/show_bug.cgi?id=677145
2013-01-30 13:05:34 -05:00
Dan Winship
8a52138cf6 network: add integrated "Add New Connection"
New VPN connections are created within the control center; other types
currently hit the nm-connection-editor fallback.

https://bugzilla.gnome.org/show_bug.cgi?id=674498
2013-01-30 13:05:34 -05:00
Dan Winship
184b94908e network: fall back to nm-connection-editor for unknown types
If asked to create or edit an unrecognized type, hand it off to
nm-connection-editor.

https://bugzilla.gnome.org/show_bug.cgi?id=674498
2013-01-30 13:05:34 -05:00
Dan Winship
8cfe8d10ba network: add VPN support to the connection editor
Unfortunately, the VPN plugins provide their own .ui files for their
editor pages, so we can't make them look competely GNOME-3-ish. But
the code does try to fix them up a little bit by realigning the
labels.

vpn-helpers.[ch] is nearly identical to network-manager-applet's,
but eventually this code will move into libnm-gtk.

https://bugzilla.gnome.org/show_bug.cgi?id=691285
2013-01-30 13:05:34 -05:00
Bastien Nocera
a7c0a7ae64 network: Script the update from nm-applet 2013-01-30 13:05:34 -05:00
Matthias Clasen
3f629251a2 network: Make wired device off switch work better 2013-01-30 13:05:33 -05:00
Matthias Clasen
c8e1551a22 network: Update device icons on state changes
The wired icon depends on the state, so should update it
when the state changes.
2013-01-30 13:05:33 -05:00
Matthias Clasen
8b593e6ac8 network: Implement the new design for wired
This expands the connection editor to cover ethernet,
and adds support for multiple wired profiles.
2013-01-30 13:05:33 -05:00
Matthias Clasen
e5cc7d8011 network: Break out wifi details code and add editing support
This code is fairly independent of the rest, and we don't want
net-device-wifi.c to become too massive and unmaintainable.

The code in connection-editor/ is fairly similar to
nm-connection-editor, with some simplification because we
currently only edit wireless connections.

The code in wireless-security/ is almost a straight copy
of the same code in nm-connection-editor, with some changes
to the .ui files to make them fit better in the new design.
2013-01-30 13:05:33 -05:00
Matthias Clasen
66b1fe7b45 network: Use same wifi device name throughout
The device list is using the 'disambiguated' name that
nm is giving us. Use the same in the wifi page heading,
instead of hardcoding 'Wi-Fi'.
2013-01-30 13:05:33 -05:00
Matthias Clasen
d6e11db107 network: Fix hotspot switch getting out of sync
When the user switches the hotspot switch off, we present a
confirmation dialog which can be canceled. We do keep the
hotspot running in that case, but we forget to set the switch
back to 'on'. Fix that.
2013-01-30 13:05:33 -05:00
Matthias Clasen
96caacc136 network: Add status label and icon to wifi header
This is part of the design refresh for the network panel.
2013-01-30 13:05:33 -05:00
Matthias Clasen
9f86b03353 network: Add a spinner while connecting
This is part of the new listbox-based design for the
network panel.
2013-01-30 13:05:33 -05:00
Matthias Clasen
d0f0e8c99c network: no more cell renderers
Now that the list has been converted to a listbox, we don't
need any of these anymore.
2013-01-30 13:05:32 -05:00
Matthias Clasen
71dad5e98b network: Initial listbox conversion
This commit turns the main access point list into a listbox,
and moves out-of-range connections into a History dialog.
2013-01-30 13:05:32 -05:00
Bastien Nocera
8d99d1c7c5 background: Update for gnome-shell Screenshot API changes
https://bugzilla.gnome.org/show_bug.cgi?id=692849
2013-01-30 18:05:40 +01:00
Thomas Wood
b22c18e230 sharing: avoid focusing the CcHostnameEntry widget when the panel is shown
https://bugzilla.gnome.org/show_bug.cgi?id=691763
2013-01-29 16:23:17 +00:00
Jeremy Bicha
bcc1cc2a5a mouse: Fix conflicting mnemonic
'Test Your Settings' and 'Disable while typing' both were set to 't'

https://bugzilla.gnome.org/show_bug.cgi?id=692767
2013-01-29 09:32:03 -05:00
Matthias Clasen
f3b8b5f932 power: Fix mnemonic activation
There were some stupid mistakes, where we didn't set up the
right mnemonic widgets due to variable reuse. For the automatic
suspend row, we have to work a little harder to make mnemonic
activation work, by connecting directly to ::mnemonic-activate.
https://bugzilla.gnome.org/show_bug.cgi?id=692754
2013-01-29 06:56:31 -05:00
Thomas Wood
dbcffa5d9b sharing: Hide Bluetooth sharing when there is no Bluetooth adapter
https://bugzilla.gnome.org/show_bug.cgi?id=691764
2013-01-28 17:50:43 +00:00
Debarshi Ray
4a86ebff50 online-accounts: Replace the hacked up GtkTreeView with a EggListBox
https://bugzilla.gnome.org/show_bug.cgi?id=692442
2013-01-28 13:11:15 +01:00
Matthias Clasen
cf7530b234 power: Improve keyboard navigation
This commit 'links' the arrow navigation between the list boxes
in the power page, so that it becomes possible to arrow down all
the way from the battery section to automatic suspend. We also
set up the focus adjustment so that the focus row gets scrolled
into view.

This requires the egg-list-box module to have
commit 98b0a39efe7b1892570ece53748ab153a91b9cbc.

https://bugzilla.gnome.org/show_bug.cgi?id=692171
2013-01-28 10:50:12 +01:00
Bastien Nocera
edc40ccf7d gvc: Update to latest master
Fix a compile-time warning:
cc1: warning: ./gvc/: No such file or directory [enabled by default]
2013-01-28 10:29:48 +01:00
Bastien Nocera
d1bddfe8c6 notifications: Fix compile time warning 2013-01-28 10:29:48 +01:00
Rui Matos
7221f9cd54 common: gdm-languages moved to gnome-desktop as gnome-languages
That code is useful for other core desktop modules.

https://bugzilla.gnome.org/show_bug.cgi?id=692414
2013-01-25 16:29:15 +01:00
Daniel Mustieles
15a3018249 Remove markup from UI file 2013-01-25 14:09:08 +01:00
Daniel Mustieles
633855a4f4 Remove markup from UI file 2013-01-25 13:42:46 +01:00
Luca Ferretti
7a67acefca color: Avoid to mark numbers as translatable and add a context to adjectives
close bug 692476
2013-01-25 00:52:48 +01:00
Richard Hughes
98fde07657 color: Allow the user to remove automatically added profiles
You need to be running colord from git master for this feature to work.
2013-01-24 16:47:54 +00:00
Richard Hughes
4c9a96260f color: Show a summary page when running on a LiveCD
This matches the mockups from jimmac. You need colord (specifially, the D-Bus
activated helper) from git master to make this work.

You can test this on non-live media by setting CC_COLOR_PANEL_IS_LIVECD=1
before running gnome-control-center.
2013-01-23 20:36:43 +00:00
Richard Hughes
bb77d525bd color: Do not cancel the calibration if the window is unfocussed
We can recover in the session helper to some extent by repeating patches, so
don't quit at the first sign of trouble.
2013-01-23 17:53:03 +00:00
Thomas Wood
d29d75210d sharing: fix the sensitivity of the "share with trusted devices" switch
Allow the GSettings binding to set the sensitivity of the switch and use a
box to allow the sharing panel to set the sensitivity of the switch and
label without conflicting with the GSettings binding.

https://bugzilla.gnome.org/show_bug.cgi?id=692220
2013-01-23 16:09:51 +00:00
Richard Hughes
80ec65b2ef color: Use a EggListBox for the main device display to match the new mockups
This matches the new mockups as specified by Allan in
https://raw.github.com/gnome-design-team/gnome-mockups/master/system-settings/color/panel.png

The CcColorDevice and CcColorProfile widgets are lines in the EggListBox and are
smart by watching for changes in each colord device.

To use this new functionality you need colord from git master, and for the
'Laptop' devices to be recognised as internal, you also need to be _running_
gnome-settings-daemon from git, although this is not strictly required.
2013-01-23 15:45:17 +00:00
Debarshi Ray
6b0ec0038c online-accounts: #include the resource header
This is a fallout from 0653773ed8.
2013-01-23 15:12:28 +01:00
Richard Hughes
6950948142 color: Set the target gamma when calibrating 2013-01-23 13:48:20 +00:00
Richard Hughes
7e6ca7f520 color: Get the target whitepoint from the colord schema 2013-01-23 13:48:10 +00:00
Richard Hughes
8a353753e0 color: Use colord-session to calibrate the display
This allows us to match the new mockups from Allan.
2013-01-23 13:47:47 +00:00
Matthias Clasen
4a5484ba6d power: Add brightness-related keywords
Copy the keywords that used to belong to the screen panel.
For the geeks, add 'DPMS' and 'Idle', too.
The lock-related keywords are already in the privacy panel
desktop file.

https://bugzilla.gnome.org/show_bug.cgi?id=692351
2013-01-23 08:13:14 -05:00
Matthias Clasen
3472c225f9 Fix the build 2013-01-23 07:44:51 -05:00
Thomas Wood
1d7bd99750 sharing: only set the "set-from-dbus" flag if the switch state changes 2013-01-23 12:03:32 +00:00