Commit graph

191 commits

Author SHA1 Message Date
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
Jiří Klimeš
8adec15322 network: Fix display of IP info for some configs
for static and PPP configurations

https://bugzilla.gnome.org/show_bug.cgi?id=657303
2011-08-26 13:22:57 +01:00
Bastien Nocera
91db9ddb41 network: Fix possible double-free
operator_name_safe is attached to an object, and freed
when the object goes away, so don't free it here.
2011-08-26 13:21:25 +01:00
Jiří Klimeš
31f975996e network: Mobile broadband bug fixes
Fix On/off switch, options buttons and info display

https://bugzilla.gnome.org/show_bug.cgi?id=657303
2011-08-26 13:21:17 +01:00
Mathieu Trudel-Lapierre
9c6613700f Default to g_get_host_name if pretty hostname call failed 2011-08-08 18:19:23 +02:00
Rodrigo Moya
b2be7a7b4c network: Kill compilation warnings 2011-07-05 13:13:04 +02:00
Michael Terry
0a8669a5b5 Add Unity to OnlyShowIn fields
https://bugzilla.gnome.org/show_bug.cgi?id=653661
2011-06-30 12:44:52 +01:00
Bastien Nocera
8e557aeaa3 network: Fix toolbar style
We always want an icon toolbar style for those.

https://bugzilla.gnome.org/show_bug.cgi?id=651595
2011-06-21 15:42:44 +01:00
Bastien Nocera
b76013bd1d network: Avoid uninitialised variable 2011-06-21 15:36:43 +01:00
Piotr Drąg
a61cbccf46 network: Remove spaces before question marks 2011-06-06 16:24:07 +02:00
Matthias Clasen
03b2a21e7d Network: Use the 'pretty hostname' for hotspots
Also, prevent crashes when nm_active_connection_get_devices()
decides to return NULL instead of an array.
2011-05-26 20:22:34 -04:00
Matthias Clasen
a7c3024998 Network: Improve wording of warnings
Also, add a warning when stopping hotspots, too, and consequently
add the dots back to the stop button as well.
2011-05-26 18:47:27 -04:00
Matthias Clasen
24c320a2c3 Network: put the dots back in the hotspot button
After all we are showing a dialog now, sometimes...
2011-05-26 17:42:14 -04:00
Matthias Clasen
0273e3b926 Network: disable the hotspot button when the device is off 2011-05-26 17:34:56 -04:00
Matthias Clasen
fea89403bf Network: Add warning dialogs
We warn if there is no connection to the internet (questionable
to create a hotspot in that case) or if creating the hotspot
would drop the default connection to the internet (ditto).
2011-05-26 17:19:58 -04:00
Matthias Clasen
b8529164d6 Network: prevent a possible crash
Some of the settings may be NULL when we call is_hotspot_connection()
on random connections. No need to crash then...
2011-05-26 17:16:54 -04:00
Matthias Clasen
1b60a6fd6b Network: Remove ellipses from hotspot buttons
There's no dialogs anymore...
2011-05-26 11:59:16 -04:00
Matthias Clasen
b3067539f6 Network: simplify security string for hotspots
Dan recommends that we do not discriminate between WPA and WPA2,
so we don't have to bother with showing multiple strings at all
anymore, it is just None or WEP or WPA now.
2011-05-26 11:57:49 -04:00
Matthias Clasen
97982f395e Network: fix the build 2011-05-26 07:05:00 -04:00
Matthias Clasen
64e94a0adb Implement network sharing
This is an implementation of network sharing (aka 'Hotspot').
The new 'Use as hotspot' button lets you use a wifi device
as a hotspot for sharing network connections with others.

Currently, the panel generates a ssid based on the hostname,
sets the security to WEP, and generates a random key. These
parameters can be edited afterwards.

It is currently not possible to show how many connections
are using the hotspot. Apart from this, the implementation
is pretty much complete.
2011-05-26 06:47:27 -04:00
Matthias Clasen
d4b88f12a6 Network: refresh ui in an idle
This seems a lot safer than doing it directly from all kinds
of callbacks.
2011-05-25 08:54:35 -04:00
Matthias Clasen
c390d4f36d Network: use the correct condition for the option button
The button needs a connection to edit; so set the sensitivity
based on the existence of a connection.
2011-05-25 08:33:56 -04:00
Matthias Clasen
e5675435c2 Network: avoid a possible crash
When there are no active connections, nm_device_get_active_connections
returns NULL.
2011-05-25 07:05:44 -04:00
Matthias Clasen
f9a186a272 Network: fix the wpad warning
Due to size allocation changes in GTK+, wrapping labels without
a minimal width now become very high. So we need to set a reasonable
width-chars value to ensure the label shows up.
2011-05-24 20:03:50 -04:00
Matthias Clasen
f93fee0121 Network: use the new sidebar-list icon size
Also add some padding. The designers like it like this.
2011-05-20 12:32:18 -04:00
Matthias Clasen
685b5ebb9b Fix a11y/keynav issue in the network panel
The mnemonic for the 'Network name' combo was not working.
2011-05-15 20:20:19 -04:00
Matthias Clasen
4df13eb8f7 Properly select the active ap
Comparing by object id does not work here, since there is no
guarantee that the object id will still be present in the array
after we did filter the list by strongest-per-ssid. Instead,
compare the ssid.
https://bugzilla.gnome.org/show_bug.cgi?id=649934
2011-05-12 07:06:58 -04:00
Christian Persch
1f00e38838 network: Use g_settings_get_child to construct the proxy settings
Bug #645439.
2011-05-07 18:14:56 +01:00
Richard Hughes
03d17a95c4 network: add a 'Other...' entry to the wireless combobox so users can connect to hidden access points
A suprising number of people need this to be able to get onto their wireless
network. This is also a Fedora blocker if that matters.

This patch also adds a string. I don't feel there is a way around it, although
we could steal the translations from another project. I think using a real word
is better than displaying a blank entry or a picture or something. I dunno.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=645002
2011-04-10 10:31:48 +01:00
Richard Hughes
3a0bb1c7f2 network: use the correct widget name for the IP address of the mobile broadband device. Fixes #646837 2011-04-06 10:07:15 +01:00
Richard Hughes
81799838a3 network: do not assert if a widget is missing, instead print a critical warning with the widget name
This helps us debug bugs like #646837

I've also asked the designers to clarify what entries we should show on the mobile broadband page too.
2011-04-06 10:06:12 +01:00
Matthias Clasen
3256adcb7e Network: Make creating vpn connections work again
Somehow the 'Create' button lost its action id.
Don't trust glade on these files...
2011-04-02 18:12:00 -04:00
Matthias Clasen
23f239e461 Network: display more detailed status for unavailable devices
If NetworkManager knows that firmware is missing, say so.
This matches recent changes in the gnome-shell network menu.
It adds one new string, "Firmware missing", for which I have
pulled existing translations from the similar "firmware missing"
string in gnome-shell.
https://bugzilla.gnome.org/show_bug.cgi?id=646027
2011-04-01 00:42:13 -04:00
Matthias Clasen
ecd99dc1f3 Network: reset the network name combo when disconnected
While we are not connected, showing the name of an access point
in the combobox is misleading.
https://bugzilla.gnome.org/show_bug.cgi?id=646031
2011-03-31 22:27:44 -04:00
Richard Hughes
f3d02cd0e8 network: Do not add bluetooth devices to the panel to avoid asserting the control-center
There's no mockup for bluetooth devices, and it's not clear what any of the
buttons or sliders should do.
I'll actually wire up bluetooth devices for 3.2, but this at least fixes the
assert ready for 3.0.
2011-03-31 17:07:07 +01:00