Commit Graph

346 Commits

Author SHA1 Message Date
Robert Love
a69781521f 2005-10-04 Robert Love <rml@novell.com>
* src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
	  convert an ether_addr structure's MAC into a string, because the
	  latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
	  versus 07:3B:04, while the former will not.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@993 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-04 18:25:24 +00:00
Robert Love
9b316c710e whitespace.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@992 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-04 15:54:04 +00:00
Robert Love
fe043ba806 2005-10-04 Robert Love <rml@novell.com>
* gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
          gnome/applet/nm-device.c, gnome/applet/nm-device.h,
          gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
          default route in the 'Connection Information' dialog, send primary
          and secondary name servers in in "getProperties" DBUS method, add
          network_device_{get,set}_{primary,secondary}_dns(),  The primary and
          secondary domain name servers are crucial pieces of information
          that a user might need in debugging a network problem.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@991 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-04 15:23:06 +00:00
Robert Love
dcf8b76309 2005-10-04 Robert Love <rml@novell.com>
* gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
          gnome/applet/nm-device.c, gnome/applet/nm-device.h,
          gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
          default route in the 'Connection Information' dialog, send default
          route in "getProperties" DBUS method, add network_device_set_route(),
          and network_device_get_route().  The Gateway is a crucial piece of
          connection-related information that a user might need in debugging a
          network problem.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@990 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-04 14:37:51 +00:00
Dan Williams
d31089ebec Remove unused members
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@989 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-04 13:27:29 +00:00
Robert Love
95550db528 Ack, inadvertently committed too much. Backing out most of last commit.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@987 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-03 21:18:29 +00:00
Robert Love
fe197a06de 2005-10-03 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
          NULL.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@986 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-03 21:15:24 +00:00
Dan Williams
23b0619e4f 2005-10-02 Dan Williams <dcbw@redhat.com>
* Shorten time taken to sleep by fastpathing bits of device deactivation
		necessary for sleep.

	* Fix issue where deactivating a device might deactivate the active
		VPN connection, even if the VPN was not using the device.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@985 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-02 05:02:49 +00:00
Robert Love
de03d96430 remove senseless cast.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@983 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-29 20:31:52 +00:00
Robert Love
2b0d83c58a 2005-09-29 Robert Love <rml@novell.com>
* src/NetworkManager.c: removed unused variable.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@982 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-29 18:44:23 +00:00
Dan Williams
0f90a04544 2005-09-28 Dan Williams <dcbw@redhat.com>
Support for named + DBus, using Red Hat DBus patches for named.  You
	can find those patches here, with "dbus" in the patch's filename:

		http://cvs.fedora.redhat.com/viewcvs/devel/bind/

	Don't forget the named dbus service file either.

	Instead of writing a config file and spawing a named process, NM will
	use an already-running dbus-enabled named if it finds one.  NM will
	update named's forwarder configuration on the fly using dbus.

	If there is no dbus-enabled named running, NM will automatically fall
	back to writing the most-recent DNS server information to /etc/resolv.conf
	and calling nm_system_update_dns() to kick the system's resolver.

	Accordingly, all named-related configure-time options have been removed.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@981 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-28 14:42:57 +00:00
Robert Love
3e58217df6 2005-09-26 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
	  ISDN support!
	* src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
	  bug in error path if "ASKPASSWORD" is "no".


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@978 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-26 16:16:11 +00:00
Robert Love
d2d5d9268d 2005-09-26 Robert Love <rml@novell.com>
* src/named-manager/nm-named-manager.c: only '#' is officially a valid
          comment in /etc/resolv.conf -- ';' is not.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@977 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-26 15:40:08 +00:00
Dan Williams
05b3e32e56 Fix debuginfo print, and don't require a vpn activation request for NameOwnerChanged processing
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@976 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-26 14:55:48 +00:00
Peter Jones
394abb5977 be less racy with dhcdbd's change to bound state
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@972 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-21 15:33:10 +00:00
Peter Jones
71b1632ad2 fix reporting of which stage we're in during Device Configure
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@971 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-21 15:32:33 +00:00
Dan Williams
48fe2e2876 2005-09-19 Dan Williams <dcbw@redhat.com>
* src/backends/NetworkManagerRedHat.c
      src/backends/NetworkManagerDebian.c
      src/backends/NetworkManagerSlackware.c
      src/backends/NetworkManagerGentoo.c
      src/backends/NetworkManagerSUSE.c
        - Fix invocations of "/sbin/ip address" to use short form instead


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@968 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-19 20:38:27 +00:00
Christopher Aillon
41e1c3e2da 2005-09-19 Christopher Aillon <caillon@redhat.com>
* src/nm-dbus-device.c: Don't assert when getting
	addresses of a not yet connected interface.

	* gnome/applet/applet.c: Free icons if loading fails.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@967 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-19 19:28:57 +00:00
Christopher Aillon
fd92ca40d8 2005-09-15 Christopher Aillon <caillon@redhat.com>
* src/NetworkManagerAP.c:
	* src/NetworkManagerAP.h:
	* src/NetworkManagerDevice.c:
	Set a blacklist for certain common manufacturer default ESSIDs:
	APs with these ESSIDs are extremely likely to be completely
	different networks: connecting to one should not make NM
	auto-connect to every other AP with the same default ESSID.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@963 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-15 14:47:17 +00:00
Christopher Aillon
55e4be5009 2005-09-12 Christopher Aillon <caillon@redhat.com>
* src/gnome-keyring-md5.c: Updated code from gnome-keyring


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@961 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-12 18:49:08 +00:00
Christopher Aillon
e4a3f12475 2005-09-12 Christopher Aillon <caillon@redhat.com>
* gnome/applet/applet-dbus-devices.c:
	* gnome/applet/applet.c:
	* gnome/applet/nm-device.c:
	* gnome/applet/nm-device.h:
	* src/NetworkManagerUtils.c:
	* src/NetworkManagerUtils.h:
	* src/nm-dbus-device.c:
	I've got a fever, and the only cure for it is less ioctl.
	Make NM push IP data rather than make the applet open a socket
	to the device.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@960 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-12 17:44:45 +00:00
Christopher Aillon
314e6fc426 2005-09-10 Christopher Aillon <caillon@redhat.com>
* gnome/applet/applet.c:
	* gnome/applet/applet-dbus-devices.c:
	* gnome/applet/applet-dbus-info.c:
	* gnome/applet/passphrase-dialog.c:
	* gnome/libnm_glib/libnm_glib.c:
	* gnome/vpn-properties/nm-vpn-properties.c:
	* src/autoip.c:
	* src/backends/NetworkManagerRedHat.c:
	* src/named-manager/nm-named-manager.c:
	* src/NetworkManagerAPList.c:
	* src/NetworkManager.c:
	* src/NetworkManagerDbus.c:
	* src/NetworkManagerDevice.c:
	* src/NetworkManagerPolicy.c:
	* src/NetworkManagerSystem.c:
	* src/nm-dbus-device.c:
	* src/nm-dbus-nm.c:
	* src/vpn-manager/nm-vpn-manager.c:
	* src/vpn-manager/nm-vpn-service.c:
	* test/libnm_glib_test.c:
	* test/nminfotest.c:
	* test/nmtestdevices.c:
	Fix up a bunch of 'unused variable' compiler warnings


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@959 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-11 02:32:30 +00:00
Christopher Aillon
96174e04a6 2005-09-10 Christopher Aillon <caillon@redhat.com>
* NetworkManager.h:
	* gnome/applet/applet-dbus-info.c:
	* gnome/applet/applet-dbus-info.h:
	* gnome/applet/applet.c:
	* gnome/applet/applet.h:
	* src/NetworkManager.c:
	* src/NetworkManagerDbus.c:
	* src/NetworkManagerDbus.h:
	* src/NetworkManagerDevice.c:
	* src/NetworkManagerDevice.h:
	* src/NetworkManagerMain.h:
	* src/NetworkManagerWireless.c:
	* src/NetworkManagerWireless.h:
	* src/nm-dbus-nm.c:
	Make NetworkManager be smart about how frequently to scan
	based on its current state.  Remove the UI for choosing when
	to scan.  Scanning still may disabled completely by the user
	via the "Wireless Enabled" menu item.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@958 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-11 01:46:40 +00:00
Dan Williams
5c46be7149 2005-09-07 Dan Williams <dcbw@redhat.com>
* The great VPN Manager rewrite of 2005


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@946 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-07 19:12:52 +00:00
Christopher Aillon
31027d4d42 2005-09-07 Christopher Aillon <caillon@redhat.com>
* gnome/applet/menu-items.c:
	* gnome/applet/nm-device.c:
	* gnome/applet/wireless-network.c:
	* gnome/libnm_glib/libnm_glib.c:
	* src/NetworkManagerDbusUtils.c:
	* vpn-daemons/vpnc/src/nm-vpnc-service.c:
	g_malloc0 doesn't return NULL


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@944 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-07 06:44:42 +00:00
Dan Williams
e495598a71 2005-09-06 Dan Williams <dcbw@redhat.com>
Patch from Tomislav Vujec <tvujec@redhat.com>
	* src/NetworkManagerDevice.c
		- (nm_get_device_by_udi): don't return a device when we
			actually didn't find what we were looking for


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@941 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-06 19:35:50 +00:00
Christopher Aillon
dc1f3aafbb 2005-09-06 Christopher Aillon <caillon@redhat.com>
* 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
2005-09-06 19:04:09 +00:00
Dan Williams
722918d789 2005-09-04 Dan Williams <dcbw@redhat.com>
Patch from Bill Nottingham <notting@redhat.com>
	* src/NetworkManagerDevice.c
		- (nm_device_activation_cancel): reset the quit_activation flag


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@935 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-04 17:02:41 +00:00
Dan Williams
2bc60a447d 2005-09-04 Dan Williams <dcbw@redhat.com>
* 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
2005-09-04 17:00:17 +00:00
Dan Williams
5b327fffd5 Return TRUE on success
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@930 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-02 18:36:52 +00:00
Bill Nottingham
8913e061fe use nm_warning, not nm_error
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@927 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-02 04:25:07 +00:00
Dan Williams
976302b396 2005-09-01 Dan Williams <dcbw@redhat.com>
* 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
2005-09-02 03:47:19 +00:00
Robert Love
714254d798 unused variable removal.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@925 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-01 17:28:17 +00:00
Dan Williams
a633ddf6d2 Print out last time AP was seen
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@924 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-01 17:18:32 +00:00
Dan Williams
ca0065e2f6 2005-09-01 Dan Williams <dcbw@redhat.com>
Patch from Bill Nottingham <notting@redhat.com>
	* src/backends/NetworkManagerRedHat.c
		- Add initial dialup support to Red Hat/Fedora backend


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@922 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-01 16:36:08 +00:00
Dan Williams
18987b9e99 2005-08-31 Dan Williams <dcbw@redhat.com>
Patch from Bill Moss <bmoss@clemson.edu>
	* src/NetworkManagerDevice.c
		- (nm_device_wireless_scan): fix scan timeout values


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@915 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-31 13:35:04 +00:00
Dan Williams
5a77b7707c 2005-08-29 Dan Williams <dcbw@redhat.com>
Patch from j@bootlab.org
	- Make --without-named work
	- Make --with-dhcdbd work correctly


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@905 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-29 17:43:31 +00:00
Christopher Aillon
2ea235020b 2005-08-26 Christopher Aillon <caillon@redhat.com>
* 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
2005-08-26 23:36:35 +00:00
Dan Williams
1f8195ff81 2005-08-22 Dan Williams <dcbw@redhat.com>
Patch by Bill Moss <bmoss@clemson.edu>
	* src/dhcp-manager/nm-dhcp-manager.c
		- (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
			some time to send out a RELEASE if they like


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@899 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-22 22:58:06 +00:00
Dan Williams
29aa287ecc 2005-08-22 Dan Williams <dcbw@redhat.com>
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
2005-08-22 22:49:23 +00:00
Dan Williams
6bad6d6452 2005-08-22 Dan Williams <dcbw@redhat.com>
Noticed by Bill Moss <bmoss@clemson.edu>
	* src/NetworkManagerDevice.c
		- (nm_device_wireless_scan): fix scan timeout, we were
			waiting way too long for scans to complete


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@897 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-22 22:37:38 +00:00
Dan Williams
53e56d216c Fix typo, and use constant instead of -1 (more readable)
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@896 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-22 21:29:56 +00:00
Dan Williams
a629f4cbc8 2005-08-22 Dan Williams <dcbw@redhat.com>
Patch from j@bootlab.org:
	* src/backends/NetworkManagerDebian.c
		- Make the Debian backend work for static IP again


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@895 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-22 20:22:27 +00:00
Dan Williams
bbea0e6fad 2005-08-18 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-dbus-info.c
		- (nmi_dbus_create_error_message): new function
		- (nmi_dbus_get_key_for_network): correctly use dbus error creation
			functions.  Also don't check for both device _and_ network before
			asking for a user's key, because we may not have gotten all our
			networks back from NM quite yet (due to the dbus pending calls
			coming in later).  Fixes a hang in NM/nm-applet.

	* src/NetworkManagerDbus.c
		- (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
			slightly more sane manner, even though we are still broken for
			certain other error conditions.
		- (nm_dbus_get_user_key_for_network): need to pass the network's essid
			to the info-daemon too

	* src/NetworkManagerDevice.c
		- Fix some debug messages to be info messages instead


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@875 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-18 17:34:56 +00:00
Dan Williams
1c51e6ec01 Remove unused variables
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@863 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-17 16:11:49 +00:00
Dan Williams
7e7b8f001a 2005-08-17 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-dbus-info.c
		- (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
			from the dbus message, which tells us to unconditionally
			ask the user for a new key.  Otherwise, we pull the key from
			the keyring and return it.  If we fail to get the key from the
			keyring, we ask the user for a new key.
		- (nmi_dbus_get_network_key): new function to grab the key for
			an essid from the keyring.
		- (nmi_dbus_get_network_properties): don't access the keyring here.
			Also, don't return any key in the dbus message.

	* src/NetworkManagerDbus.[ch]
		- (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
			indicate that we unconditionally want a new key.  This function
			is now also used to get keys from the info-daemon which are
			pre-stored, not just for asking the user for a new key.  The
			"new_key" parameter indicates whether or not we wish to ask the
			user for a new key.
		- (nm_dbus_get_network_data_cb): we no longer get a key from the
			info-daemon in the return message, so use NULL instead.  The
			key will be filled in at connect time by calling
			nm_dbus_get_user_key_for_network()

	* src/NetworkManagerDevice.c
		- (nm_device_wireless_configure): update for "new_key" param to
			nm_dbus_get_user_key_for_network().  We initially set new_key
			to FALSE to see if we have a stored key in the info-daemon, but
			if the connection is unsuccessful at this stage we request a
			new one


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@862 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-17 16:04:17 +00:00
Dan Williams
8c4b6c6a91 2005-08-17 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerPolicy.c
		- (nm_policy_device_change_check): clarify switching rules if
			both new and old devices are valid; mainly, don't switch
			away from user-requested wireless connection back to a wired
			one


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@859 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-17 04:23:25 +00:00
Dan Williams
49ded958b4 2005-08-17 Dan Williams <dcbw@redhat.com>
Patch from Bill Moss <bmoss@clemson.edu>

	* gnome/applet/applet-dbus-info.[ch]
		- (nmi_save_network_info): save timestamp for network if it
			was a change requested by the user
		- (nmi_dbus_update_network_info): get user_requested from dbus
			message and pass to nmi_save_network_info()

	* gnome/applet/applet.c
		- (nmwa_update_network_timestamp): remove
		- (nmwa_menu_item_activate): don't set timestamp on networks
			here, only after a successful connect in nmi_save_network_info()

	* src/NetworkManagerDbus.[ch]
		- (nm_dbus_update_network_info): pass user_requested into the
			dbus message

	* src/NetworkManagerPolicy.c
		- (nm_policy_activation_finish): pass user_requested to
			nm_dbus_update_network_info()


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@857 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-17 04:19:43 +00:00
Dan Williams
412a25bf01 Remove no longer used prototypes
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@856 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-17 03:57:53 +00:00
Robert Love
3bdab81126 2005-08-16 Robert Love <rml@novell.com>
Patch from j@bootlab.org
	* src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
	  src/backends/interface_parser.h: Debian dialup support.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@851 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-16 17:16:40 +00:00