Commit graph

102 commits

Author SHA1 Message Date
Matthias Clasen
e2a2d4f00e network: Refresh UI when active connections change
This makes us pick up vpn connection state changes.
2011-03-15 21:11:04 -04:00
Matthias Clasen
ea5f76247d Network: fix a refcounting bug with vpn settings
nm_connection_get_setting_by_name() does not return a reference,
so we have to get one ourselves.
2011-03-15 21:11:04 -04:00
Matthias Clasen
eeb6193248 network: add an on/off switch for vpn connections
The switch does successfully bring vpn connections up and down.
Updating the rest of the panel does not work yet.
2011-03-15 21:11:04 -04:00
Matthias Clasen
069c35d84e Network: fix an oversight in visibility handling
The last change made the VPN header invisible by accident.
2011-03-15 20:12:58 -04:00
Matthias Clasen
41af4a3e42 Network: Get the correct VPN state
The connection that gets passed to NetVPN is not a state-carrying
NMActiveConnection, but just a configuration-carrying NmRemoteConnection.
So asking it for the VPN connection state is never giving us anything
interesting. Instead, we need to fish out the active connection
corresponding to the VPN config (if any), and get the state from there.
Still todo: state change notification.
2011-03-15 20:12:58 -04:00
Matthias Clasen
4081d83ca7 network: add a way to get the vpn connection object back
This will be needed to activate/deactivate vpn.
2011-03-15 17:20:54 -04:00
Matthias Clasen
3163675d85 network: fix a typo
Use an existing id for the proxy method model.
2011-03-15 16:34:30 -04:00
Matthias Clasen
6f916b00b9 network: Don't leak the remote settings
Instead, we keep it around; it will be useful later on.
2011-03-15 16:33:01 -04:00
Matthias Clasen
b160c1549b Network: Implement and show on/off switch for wireless/wimax
These map to nm_client_wireless/wimax_set/get_enabled.
2011-03-14 19:23:10 -04:00
Matthias Clasen
a320dc9303 Network: Add a device off switch
As seen in the mockups. This is currently hidden, until
I figure out how to wire this up properly.
2011-03-14 17:05:05 -04:00
Matthias Clasen
12591bbc2c Network: Fix label alignment
The DNS fields are wrapping, and need to be left-aligned to
look ok in that case.
2011-03-14 13:17:51 -04:00
Matthias Clasen
243c11712b Network: fix some alignment and focus issues
Make the wireless network combo focusable, but not editable.
Make all the proxy labels right-aligned and equal size.
There is still an overall size problem with the proxy page.
2011-03-12 15:50:40 -05:00
Matthias Clasen
bc34b87775 Network: Reinstate the proxy method model
Glade was playing tricks on me there.
2011-03-12 15:12:53 -05:00
Matthias Clasen
9f07f2b9be Network: Add mnemonics
Make the panel keynav friendly by setting up mnemonics for active
controls.
2011-03-12 15:02:58 -05:00
Matthias Clasen
ed5f4f5fdf Network: Add Option buttons
Following the design. These are currently hidden, until we have
something to show there.
2011-03-12 14:27:22 -05:00
Richard Hughes
ed04eaeb03 network: ensure we refresh the UI if coldplug devices are changed 2011-03-11 16:13:17 +00:00
Richard Hughes
3bee2844a7 network: use the new network-wired-disconnected icon
You need to build a gnome-icon-theme from git for this to work correctly.
2011-03-11 15:56:49 +00:00
Richard Hughes
96026dae34 network: do not show a speed of zero for any device 2011-03-11 15:53:54 +00:00
Richard Hughes
eeac17e226 network: display a different icon if the wired ethernet device is disconnected 2011-03-11 15:15:12 +00:00
Richard Hughes
4fc48a3fb3 network: a disconnected wired connection is 'Unplugged', not 'Disconnected' 2011-03-11 15:15:12 +00:00
Richard Hughes
7914025e1f network: show the VPN connection state in the panel header 2011-03-11 12:56:14 +00:00
Richard Hughes
bb70c1bd1a network: use an abstract device so we can get the VPN connection data 2011-03-11 12:29:40 +00:00
Richard Hughes
199774f087 network: never show the loop device if IP4 data isn't available 2011-03-11 10:28:08 +00:00
Richard Hughes
2ef2db18a0 network: add the work in progress VPN code
More to follow tomorrow...
2011-03-10 18:30:48 +00:00
Richard Hughes
282e084301 network: display the IPv6 address if one is provided for the device 2011-03-10 18:30:48 +00:00
Richard Hughes
8fd8cb5d51 network: Hide UI controls that are not connected up to anything yet 2011-03-10 14:54:23 +00:00
Richard Hughes
a2f3a4312b network: nm_device_wifi_get_bitrate() returns values in kb/s, not Mb/s 2011-03-10 14:50:11 +00:00
Richard Hughes
ef3c9d1315 network: do not show the IPv6 address if nm_device_get_dhcp6_config() failed 2011-03-10 14:24:09 +00:00
Richard Hughes
560fea4bc4 network: do not show a provider string for mobile broadband devices when not connected 2011-03-10 14:04:44 +00:00
Richard Hughes
a597124e26 network: show the wireless security currently being used 2011-03-10 10:37:58 +00:00
Richard Hughes
25530a8898 network: fixup a trivial warning from mclasens fix 2011-03-10 10:37:24 +00:00
Matthias Clasen
1d9806fe81 Network: don't be shy
The moment the network panel actually met a real-life NM 0.9, it would
crash and burn...
2011-03-08 19:26:02 -05:00
Kjartan Maraas
680c00be22 Add #include <config.h> 2011-03-02 20:06:20 +01:00
Daniel Trebbien
f658c8db0f Use the NetworkManager modem capabilities API.
A recent change to the NetworkManager API combined the
NM_DEVICE_TYPE_GSM and NM_DEVICE_TYPE_CDMA types as
NM_DEVICE_TYPE_MODEM and provided an alternative API for accessing the
modem device's capabilities (including GSM_UMTS and CDMA_EVDO).

https://bugzilla.gnome.org/show_bug.cgi?id=643390

Signed-off-by: Richard Hughes <richard@hughsie.com>
2011-02-28 09:54:44 +00:00
Richard Hughes
8e0cd7d495 network: Only add the strongest AP for each SSID to the drop down box. Fixes #640471 2011-02-21 16:28:11 +00:00
Richard Hughes
63874a8de8 network: Remove the 'ControlCenter::AccessTechnology' attribute as nothing uses it in the GUI 2011-02-21 16:24:59 +00:00
Richard Hughes
c9a7f99818 network: port to the rm-userset branch of NetworkManager 2011-02-21 12:57:22 +00:00
Thomas Wood
e2f944a66a configure: Group pkg-config checks based on how they are used
Group the pkg-config checks so that pkg-config can remove duplicated CFLAGS
and LIBS.

https://bugzilla.gnome.org/show_bug.cgi?id=636593
2011-02-19 16:46:26 +00:00
Richard Hughes
06b9a36c67 Fix linking in the network pane 2011-02-16 22:21:10 +00:00
Richard Hughes
f2461603f3 network: now we know that using NM async works, rework the prototype into some sane abstractions 2011-02-08 12:00:50 +00:00
Cosimo Cecchi
6baa1a05dd network: fix a crasher due to an uninitialized GVariant 2011-02-07 09:55:26 -05:00
Richard Hughes
8518a5eee8 network: show the wired network subnet mask
Note: this is really just a dummy commit, as the network device
stuff is about to be abstracted away from the hacky code we have
now.
2011-02-07 14:19:05 +00:00
Richard Hughes
419248bae9 network: Disable NetworkManager when the airplane switch gets changed 2011-02-07 14:19:05 +00:00
William Jon McCann
33627f1ae8 network: don't just select device once 2011-02-02 02:04:42 -05:00
William Jon McCann
affe84ad5e network: use the same border width as other panels 2011-02-02 01:42:30 -05:00
William Jon McCann
5bbcd9b75d network: select the first device after they are all loaded 2011-02-02 01:38:33 -05:00
William Jon McCann
a9c4426dd2 network: wrap long dns lines 2011-02-02 01:07:18 -05:00
William Jon McCann
4fe7c98d8c network: add junction sides to devices list 2011-01-26 15:02:53 -05:00
Kjartan Maraas
81e67f086c Remove a string from translations. 2011-01-25 20:26:02 +01:00
William Jon McCann
bb752ed25c network: kill more tabs 2011-01-24 15:48:04 -05:00