* gnome/applet/applet-dbus-devices.c:
* gnome/applet/applet-dbus-devices.h:
* gnome/applet/applet-dbus.c:
* src/NetworkManagerDbus.c:
* src/NetworkManagerDbus.h:
* src/NetworkManagerDevice.c:
* src/nm-dbus-device.c:
Make NM push updates about active device strength when it changes,
rather than having the applet poll every 2s.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@940 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/nm-activation-request.c
- (nm_act_request_unref): actually free the structure,
which we didn't seem to be doing before
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@934 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/NetworkManager.c
- (nm_remove_device_from_list): rename to nm_remove_device
- (nm_hal_device_removed): call nm_remove_device()
* src/NetworkManagerDevice.c
- Change the NMWirelessScanCB member 'reschedule' which
wasn't used to 'force' to indicate that we need to
force a scan when adding a device
* src/nm-dbus-nm.c
- (nm_dbus_nm_sleep): Deactivate all devices and remove them
from the device list
- (nm_dbus_nm_wake): Re-add all devices to the device list
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@926 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
and the check "!iface" in the error case is probably never true.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@923 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* gnome/applet/applet-dbus-devices.c
- Sort both wireless networks and devices again, which got
broken when removing threading
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@921 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* gnome/applet/applet-dbus-info.c:
* gnome/applet/applet.c:
* gnome/applet/other-network-dialog.c:
* gnome/applet/vpn-password-dialog.c:
Drop the gtk_dialog_run () calls in favor of connecting to
"response" signals, needed now that the applet is not threaded.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@919 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* gnome/applet/wireless-applet.glade
- HIG-ify the Other Wireless Networks dialog a bit more
- Fix some potential segfaults in the info dialog
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@913 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* gnome/applet/applet-dbus.[ch]
- Remove all the nmwa_dbus_call_method_xxxx functions since
they weren't being used anyway
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@911 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* gnome/applet/*
- Don't use threads any more. Anything that blocks
(like gtk_dialog_run()) will have to get fixed up which
should happen quickly. We really only had threads to make
the animation smooth, and when everything got converted over
to DBus Pending Calls, the need for threads kind of went away
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@907 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* gnome/applet/applet.c: Draw VPN connections as radio items
since we don't yet support multiple VPNs.
* gnome/applet/other-network-dialog.c: Use stock icon for Connect
* gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@906 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* Fix up VPN state handling between the applet and NetworkManager,
so that the applet doesn't show a VPN as connected when one
really is not
- The applet no longer has a pointer to the active VPN's
name, but tracks each VPNs state individually
- NM no longer has a "getActiveVPNConnection" method
- NM no longer broadcasts the "VPNConnectionChange" signal
- NM now broadcasts a "VPNConnectionStateChange" signal
whenever the state of a VPN changes
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@902 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* gnome/applet/applet-dbus-devices.c
gnome/applet/applet-dbus-vpn.c
- Remove calls to dbus_pending_call_ref() because we already
"own" the pending call
- Remove calls to dbus_pending_call_get_completed() because
when we are in the callback, the pending call is completed
by definition
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@901 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Noticed by Bill Moss <bmoss@clemson.edu>
* src/NetworkManagerDbus.c
- (nm_dbus_get_user_key_for_network_cb): deactivate the device
instead of just cancelling its activation
* src/NetworkManagerDevice.c
- (nm_device_deactivate): some small cleanups
- (nm_device_set_user_key_for_network): deactivate the device
instead of just cancelling its activation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@898 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* gnome/applet/other-network-dialog.c:
The "Create New Network" and "Connect to Other Network"
dialogs share alot of code, but shouldn't share a window
title. Give them different ones.
* gnome/applet/wireless-applet.glade:
* vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
Some more minor UI tweaks.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@892 4912f4e0-d625-0410-9fb7-b9a5a253dbdc