Commit graph

2799 commits

Author SHA1 Message Date
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
Matthias Clasen
fcce4dcbe7 color: disconnect signals when the panel goes away
The CdClient object is a singleton, thus it could conceivable
survive the panel, even though we drop our reference in dispose.
In that case, the signal handlers have stale user_data, and
bad things might happen when they trigger.

This patch is a guess at the cause for the stacktrace in
https://bugzilla.redhat.com/show_bug.cgi?id=893914

https://bugzilla.gnome.org/show_bug.cgi?id=692354
2013-01-23 06:46:07 -05:00
Thomas Wood
542db2bb3b sharing: add a "show password" check button to the screen sharing dialog
https://bugzilla.gnome.org/show_bug.cgi?id=691915
2013-01-23 10:30:22 +00:00
Jeremy Bicha
ed9099a74d notifications: add mnemonic_widget property for better accessibility
https://bugzilla.gnome.org/show_bug.cgi?id=692256
2013-01-22 23:21:04 -05:00
Matthias Clasen
94a5cfd695 Revert "power: Improve keyboard navigation"
This reverts commit 501056eb01.
Pushed by accident.
2013-01-22 23:04:16 -05:00
Matthias Clasen
501056eb01 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-22 22:16:53 -05:00
Cosimo Cecchi
0a083ca973 sound: set has-origin = FALSE for the balance bar scale
The scale here is used for Left<->Right, so it doesn't have an origin.

https://bugzilla.gnome.org/show_bug.cgi?id=692238
2013-01-22 10:01:41 -05:00
Cosimo Cecchi
9b0a509966 sound: remove old GTK2 styling code
gtk_rc_parse_string() doesn't do anything these days, and we don't need
a name on the widget anymore.

https://bugzilla.gnome.org/show_bug.cgi?id=692238
2013-01-22 10:01:40 -05:00
Jeremy Bicha
c1dd4a74cd bluetooth: Use the proper Unicode ellipsis (…) instead of three dots
https://bugzilla.gnome.org/show_bug.cgi?id=689497
2013-01-22 00:45:45 -05:00
Jeremy Bicha
817afb6399 sharing: add mnemonic_widget relations for better accessibility
https://bugzilla.gnome.org/show_bug.cgi?id=692200
2013-01-21 11:39:50 -05:00