NetworkManager r2298 - trunk/src



Author: tambeti
Date: 2007-02-09 08:50:35 +0000 (Fri, 09 Feb 2007)
New Revision: 2298
ViewCVS link: http://svn.gnome.org/viewcvs/NetworkManager?rev=2298&view=rev

Modified:
   trunk/src/NetworkManager.c
   trunk/src/NetworkManagerPolicy.c
   trunk/src/NetworkManagerPolicy.h
   trunk/src/nm-dbus-device.c
   trunk/src/nm-dbus-nm.c
   trunk/src/nm-dbus-nmi.c
   trunk/src/nm-device-802-11-wireless.c
   trunk/src/nm-device-802-11-wireless.h
   trunk/src/nm-device-802-3-ethernet.c
   trunk/src/nm-device-802-3-ethernet.h
   trunk/src/nm-device-interface.h
   trunk/src/nm-device-private.h
   trunk/src/nm-device.c
   trunk/src/nm-device.h
   trunk/src/nm-manager.c
Log:
2007-02-09  Tambet Ingo  <tambet ximian com>

	* src/nm-device-802-11-wireless.c:
		- Add "network-added" and "network-removed" signals.
		- Use gobject boilerplate macros to define the GObject.
		- Implement wireless device activation.
		- Remove activation_failure_handler and activation_success_handler
		  and instead listen on state-changed signals and run the same code
		  from there.

	* src/nm-device.c:
		- Implment NMDeviceInterface::deactivate.
		- Remove activation_failure_handler and activation_success_handler
		  virtual methods. Each device which is interested in these events
		  can just listen on it's state changed signals.

	* src/NetworkManagerPolicy.c:
		- Move a bit more NMData usage to NMManager.
		- Remove activation scheduling bits.
		- Add listeners for wireless device's "network-added" and
		  "network-removed" signals.
		- Listen device changed signals and deactivate currently activated
		  device when another device start activating (for now).
		- Remove (nm_policy_schedule_device_change_check): There's never a need
		  for calling this, the policy code knows exactly when this should happen,
		  by listening on events from NMManager and NMDevices.

	* src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
	Implement.

	* src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
	method on the specific device instead of going to through policy code
	and determining the device type by passed in AP's existance.

	* src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
	abstract NMDevice deactivation.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]