Commit graph

272 commits

Author SHA1 Message Date
Matthias Clasen
051766d482 network: Remove nonexisting widget from size group
This was causing warnings.
2012-07-29 12:20:06 +02:00
Cosimo Cecchi
5b1491ba0c network: don't set 'dim-label' in the <packing> section
It should be set among the normal properties.

https://bugzilla.gnome.org/show_bug.cgi?id=680773
2012-07-29 11:42:57 +02:00
Cosimo Cecchi
2ad1d5461a network: add a shadow to the wireless scrolled window
https://bugzilla.gnome.org/show_bug.cgi?id=680773
2012-07-29 11:42:56 +02:00
Richard Hughes
5c5c538ebe network: Don't show the speed and security when the wifi device is deactivated 2012-07-27 16:19:18 +01:00
Richard Hughes
7cca78437d network: Forget the last selected network when the button is clicked
Before we were deleting the connection currently bound to the device...
2012-07-27 14:12:18 +01:00
Richard Hughes
1aa2ed9491 network: Show detailed information about saved wireless connections 2012-07-27 11:49:54 +01:00
Richard Hughes
9a10722da2 network: Show the wireless speed as a seporate line in the details
...to match the mockup.
2012-07-26 15:42:00 +01:00
Richard Hughes
a0f69c0809 network: Don't crash when showing active APs that are not valid UTF8
There doesn't appear to be any standard saying you have to have ASCII/UTF-8
access point names...
2012-07-26 14:47:06 +01:00
Richard Hughes
f14b550144 network: Only show the disconnect button when a device is fully activated 2012-07-26 14:43:54 +01:00
Richard Hughes
9441a74e8a network: Add another panel for future hotspot information 2012-07-26 14:43:17 +01:00
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