Commit graph

575 commits

Author SHA1 Message Date
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
Dan Williams
8631717b3d network: don't crash on hidden SSIDs
APs that don't broadcast their SSID will return NULL from
nm_access_point_get_ssid() (since that's easier to check in C
using an if statement than returning a zero-length GByteArray).
Thus the code shouldn't try to dereference the SSID byte array
since it could be NULL.

But in fact, the panel shouldn't be showing hidden APs anywhere
in the UI, since the user needs to manually enter the SSID to
connect to it anyway.  So just ignore hidden APs like nm-applet
does.

Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: Richard Hughes <richard@hughsie.com>
2012-06-07 13:08:53 +01:00
Richard Hughes
ec27900578 network: Allow configuring wired network devices when not connected
This prevents the chicken-and-egg problem as described in #653296 by launching
nm-connection-editor for the inactive connection for the device.

This only works when there is one possible connection for the device, which is
helpfully typical for wired ethernet devices.

Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=653296
2012-05-30 14:47:02 +01:00
Richard Hughes
04fdb2b456 network: Don't resize the panel when switching network types
Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=671482
2012-05-30 14:47:02 +01:00
Richard Hughes
160697df6c network: Do not print a critical warning when NetworkManager is restarted
Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=676369
2012-05-30 12:39:48 +01:00
Florian Müllner
1bbe93cd0c network: Add get_help_uri() implementation
https://bugzilla.gnome.org/show_bug.cgi?id=675471
2012-05-18 18:48:37 +02:00
Thomas Bechtold
1f24b178ac network: show device state reasons (Closes:bgo#676117)
Signed-off-by: Richard Hughes <richard@hughsie.com>
2012-05-16 09:54:04 +01:00
Richard Hughes
2806e68657 Fix a crash in the network panel by disconnecting idle sources
If you open and close the network panel again and again at speed, you can trigger a crash.
2012-03-26 17:48:44 +01:00
Cosimo Cecchi
b97782616e network: fix huge inline toolbar icons
Apparently GtkBuilder doesn't like too much <style> sections interleaved
among <property> tags.
2012-02-29 18:31:01 -05:00
Richard Hughes
c162258d23 network: Make the bottom button alignments match the mockups 2012-02-08 14:45:47 +00:00
Richard Hughes
cd48bba555 network: Remove the unused unlock button
It's wrecking the bottom padding alignment and is in the header in the mockups...
2012-02-08 14:45:47 +00:00
Richard Hughes
552d994300 network: rework the UI file to be more acceptable to glade 2012-02-08 14:45:47 +00:00
Richard Hughes
7a1472e8b5 network: use some new property names in the UI file
I want to reduce the diffstat noise with new versions of glade.
2012-02-08 14:45:46 +00:00
Richard Hughes
a34184910a network: Add the 'Forget Network' button in the wireless page 2012-02-08 14:45:46 +00:00
Richard Hughes
d1a5af0818 network: Only show the flight mode toggle when there are wireless devices 2012-01-24 15:49:06 +00:00
Richard Hughes
1b74ddb8c5 network: Move the 'Airplane Mode' switch up into the shell header
This closer matches the mockups done by Lapo.
2012-01-09 15:24:57 +00:00
Richard Hughes
7923b995b7 network: Move the device speed up to the device header
This makes the panel closer match the new mockup provided by the design team.
2012-01-09 10:20:45 +00:00
Florian Müllner
4cd7b6c6dc .desktop: Drop prefix from X-GNOME-Keywords
The field has now been included in the spec, so use the standardized
name.
2011-12-19 16:26:40 +01:00
Bastien Nocera
6665b60422 panels: Update for Shell API changes 2011-11-07 18:03:14 +00:00
Matthias Clasen
57a1099b24 network: Make tabbing through the proxy page work 2011-11-03 14:06:08 -04:00
Bastien Nocera
e835213cb8 network: Add proxy to the keywords
https://bugzilla.gnome.org/show_bug.cgi?id=663340
2011-11-03 17:56:29 +00:00
Matthias Clasen
4181028c72 Network: accessibility improvements
Add missing relations and labels to make orca speak a bit more
understandably.
2011-11-03 11:00:57 -04:00
Bastien Nocera
65f850e0c5 network: Add label to toolbar buttons 2011-10-25 17:37:47 +01:00
Gary Ching-Pang Lin
45a9b2cb1f network: show wireless dialog even if there is no active AP
The network panel ignored the request of showing the wireless
dialog if there is no active AP, and the user was not able to
set up the advanced wireless settings, such as WPA-EAP settings.

https://bugzilla.gnome.org/show_bug.cgi?id=661526
2011-10-12 15:40:23 +01:00
Bastien Nocera
f7eb52a68b network: Remove unneeded initialisations
Don't set those variables to NULL, they should be correctly
initialised later in the code, and it might hide uninitialised ones.
2011-10-12 15:36:03 +01:00
Gary Ching-Pang Lin
73b0fe159d network: allocate nm-connection for nma-wireless-dialog
https://bugzilla.gnome.org/show_bug.cgi?id=648174
2011-10-12 15:35:59 +01:00
Rodrigo Moya
c008829c5e network: Bind HTTP host entry to the 'host' setting in GSettings 2011-09-19 16:05:21 +02:00
Alban Browaeys
961fe7b496 network: a segfault was introduced when assigning to args.
Instead of assign a potential null to args it was assigned to **args
(which is uninitialized at this point).

Fix commit 72b9db71c8

https://bugzilla.gnome.org/show_bug.cgi?id=658670
2011-09-09 19:11:43 +01:00
Bastien Nocera
72b9db71c8 network: Fix memleak when argv changes 2011-09-08 17:00:59 +01:00
Giovanni Campagna
d26fb9694d network: show wireless dialogs when asked
When invoked with certain arguments, show the wireless and 3g
dialogs from libnm-gtk. Previously they were provided by nm-applet,
but now gnome-shell conflicts with it and it makes sense anyway
to have one place for network configuration. Also added a "show-device"
command, that just selects a device in the tree view.

https://bugzilla.gnome.org/show_bug.cgi?id=657093
2011-09-05 18:07:52 +02:00
Richard Hughes
d62e0da9db network: Explicitly unset 'use-same-proxy' as there's no UI for that
This fixes proxy selection for people that have upgraded from GNOME 2.

Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=657235
2011-09-01 14:29:46 +01:00
Richard Hughes
8055e73642 network: Set the org.gnome.system.proxy.http 'enabled' key if the user sets a HTTP proxy 2011-09-01 14:24:12 +01:00
Bastien Nocera
c5763a8d99 network: Use icon without a spanner
https://bugzilla.gnome.org/show_bug.cgi?id=657556
2011-08-28 19:28:38 +01:00
Bastien Nocera
147713ef84 network: Fallback to GNOME as a hotspot name
If the hostname of the machine is empty for some reason.
2011-08-26 21:27:06 +01:00
Bastien Nocera
99de2e3548 network: Rename "Options..." to "Configure..."
As "Options..." isn't an action, and is thus not a good button
label.

https://bugzilla.gnome.org/show_bug.cgi?id=657002
2011-08-26 18:44:37 +01:00
Bastien Nocera
760522d02c network: Clarify the VPN service type setting
https://bugzilla.gnome.org/show_bug.cgi?id=657303#c8
2011-08-26 13:32:22 +01:00
Jiří Klimeš
382509986a network: Show VPN type and info in panel
For all the VPN types

https://bugzilla.gnome.org/show_bug.cgi?id=657303
2011-08-26 13:32:22 +01:00
Jiří Klimeš
e04d0bb787 network: Fix updating VPN info when edited
- Updating VPN info
- Removing 'setting' private member from NetVpn object, because settings are
  replaced when connection is updated (libnm-glib/nm-remote-connection.c).

https://bugzilla.gnome.org/show_bug.cgi?id=657303
https://bugzilla.redhat.com/show_bug.cgi?id=723489
2011-08-26 13:24:39 +01:00