Commit graph

512 commits

Author SHA1 Message Date
Richard Hughes
38ea1cdefd network: Add network strength to the details panel 2012-07-26 14:29:57 +01:00
Richard Hughes
6b526f1213 network: Add network strength to the details panel 2012-07-26 14:29:38 +01:00
Richard Hughes
e7319edc9b network: Add saved connections to the wireless network list 2012-07-26 14:23:31 +01:00
Richard Hughes
5c11b6f94b network: Only show the details arrow for active connections 2012-07-26 13:47:09 +01:00
Richard Hughes
391815c2c1 network: split the wireless panel into a network list and details panel 2012-07-26 13:38:55 +01:00
Richard Hughes
22323ad6c6 network: Start to split up the network panel into different views to match the new mockup 2012-07-26 10:00:47 +01:00
Richard Hughes
125da07889 network: Remove some dead code from the conversion 2012-07-23 10:43:02 +01:00
Richard Hughes
08532a3a86 network: Prevent a crash when a device is removed and then re-added 2012-07-23 10:14:31 +01:00
Richard Hughes
b06bb9e5f3 network: Split the wifi device from the .c and .ui file 2012-07-23 10:14:05 +01:00
Richard Hughes
aee6325cf2 network: Add a missing file for the mobile broadband UI 2012-07-20 11:43:05 +01:00
Richard Hughes
de8993eddb network: Allow NetObjects to get the main panel object so they can show modal dialogs 2012-07-20 09:31:12 +01:00
Richard Hughes
26b5169bee network: Split the mobile broadband device from the .c and .ui file 2012-07-20 09:31:12 +01:00
Richard Hughes
62b8a4c8bb network: Add a NetObject->edit vfunc for the different devices to use 2012-07-20 09:31:12 +01:00
Richard Hughes
a808633484 network: Split the wired device from the .c and .ui file 2012-07-20 09:31:11 +01:00
Richard Hughes
5644bd6e62 network: Add panel_set_device_widgets() to the widget common code
We can use this from the different NetDevice types, and once all the devices are
converted to actual NetDeviceFoo-style objects we can remove the legacy code in
cc-network-panel.c
2012-07-20 09:31:11 +01:00
Richard Hughes
00c51443ae network: Add some more widget setting common code 2012-07-17 16:56:59 +01:00
Richard Hughes
f4c13e835b network: Move setting the device header pairs to common panel code
This is yet another step to splitting out the other devices types.
2012-07-17 16:56:59 +01:00
Richard Hughes
7e5654bf48 network: Fix a trivial GTK warning at startup about a missing widget 2012-07-17 14:17:11 +01:00
Richard Hughes
6de161617a network: Fix the VPN information my setting the connection at object construction time 2012-07-17 14:17:11 +01:00
Richard Hughes
96f7cbae90 network: Return success from panel_set_notebook_page_for_object()
This is so we can run the panel with both old-style and new-style NetDevices
whilst we are migrating the device kinds.
2012-07-17 10:21:26 +01:00
Richard Hughes
e72194482e network: Remove some unused code 2012-07-17 10:21:26 +01:00
Richard Hughes
3c2a09294c network: Set the device properties at construct time
We need this for more complicated devices that need to contact other daemons,
for instance ModemManager.
2012-07-17 10:21:26 +01:00
Richard Hughes
cd765a1267 network: Export net_device_get_find_connection() so it can be used by future network devices 2012-07-17 10:21:26 +01:00
Richard Hughes
5d17320817 network: Add a GObject nm-device property for NetDevice 2012-07-17 10:21:26 +01:00
Richard Hughes
f9e2828f77 network: Add a NMRemoteSettings property to NetObject for future use 2012-07-17 10:21:26 +01:00
Richard Hughes
b48fc1b65c network: Add a GCancellable property to NetObject for future use 2012-07-17 10:21:26 +01:00
Richard Hughes
7fcc4666ac network: Set the correct page when using mobile broadband devices 2012-07-17 10:21:13 +01:00
Richard Hughes
e61ec214b0 network: Ensure to install the VPN .ui file 2012-07-16 14:08:25 +01:00
Richard Hughes
0a98c5a921 network: Provide a vfunc for refreshing a NetObject 2012-07-12 17:29:47 +01:00
Richard Hughes
8384a0b741 network: Split the VPN parts from the .c and .ui file 2012-07-12 16:58:11 +01:00
Richard Hughes
ddabc6049f network: Add a vfunc so a NetObject can be deleted
We will only support this for VPN 'devices' but it seemed a cleaner abstraction this way.
2012-07-12 16:55:20 +01:00
Richard Hughes
eeecc61d05 network: Share a NMClient instance between NetObjects
Creating a NMClient is expensive and slow. This will be used in future code.
2012-07-12 16:35:06 +01:00
Richard Hughes
c26e14518e network: Split the proxy parts from the .c and .ui file
A source file with 4k lines of code is not understandable, and the glade file
was becoming quite a challenge for glade.
To add more features we need to split things up just to keep them maintainable.

This is the first patch that just splits out the proxy bits. Other device types
will follow in the next few days.
2012-07-12 14:09:24 +01:00
Richard Hughes
298489ee16 network: Add a boolean 'removable' property to NetObject for future use
Also add GObject getters and setters for the other two properties.
2012-07-12 14:00:40 +01:00
Matthias Clasen
75e74cc09b network: Use g_clear_object where appropriate
Signed-off-by: Richard Hughes <richard@hughsie.com>
2012-06-28 17:04:54 +01:00
Matthias Clasen
b154ebd1d6 network: Remove redundant returns
https://bugzilla.gnome.org/show_bug.cgi?id=678158

Signed-off-by: Richard Hughes <richard@hughsie.com>
2012-06-28 17:04:40 +01:00
Matthias Clasen
31cd509a75 network: Sort access points by strength
Keep the active network at the top, and 'Other' at the bottom.
the other access points are sorted by strength now.
https://bugzilla.gnome.org/show_bug.cgi?id=678505

Signed-off-by: Richard Hughes <richard@hughsie.com>
2012-06-28 13:54:13 +01:00
Matthias Clasen
dcb34090cc network: avoid crashes due to leftover signal handlers
The libnm objects can survive the disposal of the network panel.
If we don't disconnect the signal handlers on them, bad things
can happen. Use g_signal_connect_object to tie the life-cycle
of the signal handlers to the panel.
https://bugzilla.gnome.org/show_bug.cgi?id=677969

Signed-off-by: Richard Hughes <richard@hughsie.com>
2012-06-28 13:46:03 +01:00
Richard Hughes
6689012eb8 network: Show multiple connections in the mobile broadband panel
Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=647170
2012-06-28 13:43:58 +01:00
Richard Hughes
f0b88883d0 network: Increase the amount of debugging for mobile-bb 2012-06-28 13:42:44 +01:00
Richard Hughes
59b7500fb6 network: Don't try to show a wizard that failed to setup
This fixes a critical warning when mobile-broadband-provider-info isn't
installed into the correct prefix.
2012-06-28 13:41:33 +01:00
Richard Hughes
fd059a2d14 network: Don't try to set the mobile broadband speed widgets
This fixes a critical warning when using mobile broadband adaptors.
2012-06-28 13:40:08 +01:00
Thomas Bechtold
806b3e0e13 network: Find connections specific MAC address set
Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=677899

Signed-off-by: Richard Hughes <richard@hughsie.com>
2012-06-18 11:21:17 +01:00
Matthias Clasen
f6838df0c5 network: Make buttons stay put
When switching between devices, the Options buttons were jumping
up and down. This patch makes them stay put in the lower right corner.

The patch also removes a bunch of glade placeholder gunk from the
ui file.

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

Signed-off-by: Richard Hughes <richard@hughsie.com>
2012-06-14 09:42:06 +01:00
Matthias Clasen
9efba451dc network: Make ap list more similar to the shell menu
Sort the strength and security indicators in the combo box
popup to be in the same order as the shell menu.

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

Signed-off-by: Richard Hughes <richard@hughsie.com>
2012-06-14 09:39:33 +01:00
Matthias Clasen
398ca18a71 network: Sort Wireless first
This is the most common case, and is the page we want to end up
on when we're coming from the shell menu.

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

Signed-off-by: Richard Hughes <richard@hughsie.com>
2012-06-14 09:38:05 +01:00
Matthias Clasen
df77ca0883 network: Add mnemonic for Airplane mode
This was lost when the airplane mode switch moved up to the top.

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

Signed-off-by: Richard Hughes <richard@hughsie.com>
2012-06-14 09:36:06 +01:00
Matthias Clasen
22fd0dedda network: Add mnemonics
The Create dialog was missing mnemonics for several controls.

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

Signed-off-by: Richard Hughes <richard@hughsie.com>
2012-06-14 09:36:02 +01:00
Matthias Clasen
fd8ca81f8b network: Add a mnemonic for 'Forget Network'
https://bugzilla.gnome.org/show_bug.cgi?id=671879

Signed-off-by: Richard Hughes <richard@hughsie.com>
2012-06-14 09:35:56 +01:00
Cosimo Cecchi
cde88dca90 network: fix packing order of children in the service dialog
The heading should be packed at the top, before the combobox.

https://bugzilla.gnome.org/show_bug.cgi?id=674498
2012-06-11 09:48:58 -04:00