Commit graph

194 commits

Author SHA1 Message Date
Dan Williams
c957948a82 2005-12-29 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-dbus-devices.c
		- Replace 'enc' parameter with 'capabilities' for wireless networks
			in dbus calls to NM
		- Set capabilities on WirelessNetwork objects
		- Receive and save type-specific device capabilities too

	* gnome/applet/applet-dbus-info.c
	  gnome/applet/applet-dbus.c
		- Passphrase dialog no longer a singleton; new instance gets created
			on each request.  Updates to deal with that.

	* gnome/applet/applet.c
		- (nmwa_has_encrypted_networks_helper): use AP capabilities rather
			than single 'encrypted' flag
		- (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
			menu items
		- Passphrase dialog updates per above

	* gnome/applet/menu-items.c
		- (network_menu_item_update): use AP capabilities to determine
			encryption

	* gnome/applet/nm-device.[ch]
		- Add accessors for type-specific device capabilities

	* gnome/applet/other-network-dialog.c
		- Rework to respect device capabilities.  i.e., if the device doesn't
			support WPA, remove that option from the security dropdown

	* gnome/applet/passphrase-dialog.c
		- Massive rework so that a new instance is created each time
			it's used, to support wireless network capabilities

	* gnome/applet/wireless-network.[ch]
		- Add accessors and members for wireless network capabilities

	* gnome/applet/wireless-security-manager.[ch]
		- (wsm_set_capabilities): called after creation to set which
			security options get shown to the user


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1238 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-29 16:54:34 +00:00
Dan Williams
2cc6237c02 Fix bug saving unencrypted AP security information
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1237 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-29 16:36:22 +00:00
Dan Williams
020309a6eb 2005-12-23 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-dbus-info.c
		- (nmi_dbus_get_key_for_network): if there's no entry in
			GConf for a network, assume we want a new key
		- (nmi_save_network_info): serialize wireless security info
			into GConf so its saved

	* src/nm-dbus-nm.c
		- Fix warning as we may not be passed security info when
			connecting to a wireless network


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1231 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-23 09:59:26 +00:00
Dan Williams
5c35a1372c 2005-12-23 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-compat.c
		- Fix bugs in GConf entry conversion

	* gnome/applet/applet-dbus-info.c
		- (nmi_dbus_get_network_properties): handle case of the BSSID
			list being zero-length

	* libnm-util/cipher-*
	  libnm-util/dbus-helpers.c
		- All ciphers must now return hashed keys as UTF-8 valid
			hexadecimal strings, ie "8f3dae4023".  They are pushed
			through dbus as strings too.
		- Consolidate various functions that do bin->hex and hex->bin
			conversion into cipher.c

	* src/nm-ap-security-wep.c
	  src/nm-ap-security-wpa-psk.c
		- Handle NULL keys since we may not know keys right away

	* src/nm-dbus-nmi.c
		- (nm_dbus_get_network_data_cb): actually advance to the start
			of the wireless security info before we try to deserialize it

	* libnm-util/test-ciphers.c
		- Update cipher tests for the change to UTF-8 hexadecimal strings


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1230 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-23 08:20:12 +00:00
Dan Williams
3d423f41e6 2005-12-22 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-compat.[ch]
		- Convert old-format GConf and keyring entries
			when the applet starts up.

	* gnome/applet/applet.c
		- (nmwa_get_instance): Call the conversion function
			on startup before dbus is initialized


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1228 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-23 01:26:17 +00:00
Dan Williams
3a95cff109 Fix misplaced free
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1227 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-22 20:29:22 +00:00
Dan Williams
eedb5aeaee 2005-12-22 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-dbus-info.c
		- Remove nmi_dbus_create_error_message() in favor of
			nmu_create_dbus_error_message()
		- (nmi_dbus_get_network_properties): Error message cleanups
		- (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
			gconf key rather than 'addresses', since they really are BSSIDs
		- (nmi_dbus_get_network_properties): Dispose of the security
			object when we're done with it


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1226 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-22 19:58:26 +00:00
Dan Williams
7e5951b4fb Random code format changes
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1225 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-22 19:54:25 +00:00
Dan Williams
036e35a5ca 2005-12-21 Dan Williams <dcbw@redhat.com>
* Consolidate the info-daemon's "updateNetworkInfo" and
		"addNetworkAddress" calls into just "updateNetworkInfo"


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1224 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-22 00:24:11 +00:00
Dan Williams
b5c3269266 2005-12-21 Dan Williams <dcbw@redhat.com>
* gnome/applet/nm-gconf-wso*
		- Make the serialize functions return gboolean
			rather than int

	* gnome/applet/nm-gconf-wso.c
		- (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
			parent class handling so we don't segfault

	* src/NetworkManagerAP.[ch]
		- (nm_ap_get_capabilities): new function, return capabilities
			now that something can use them
		- (nm_ap_set_encrypted): assume that an access point supports
			both WEP104 and WEP40 if its set encrypted.  FIXME: can
			we even tell whether it just supports WEP40?

	* src/NetworkManagerDevice.c
		- (ap_need_key): resurrect and update for the New World Order
		- (nm_device_wireless_get_activation_ap): if we're not given
			security info to use, create some based on access point
			capabilities

	* src/nm-ap-security-wep.c
		- (nm_ap_security_wep_new_from_ap): create a new object
			based on a certain access point's capabilities

	* src/nm-ap-security.c
		- (nm_ap_security_new_from_ap): delegate creation of a new
			object based on access point capabilities to a subclass
		- (nm_ap_security_copy_properties): don't segfault if we
			don't have a key yet

	* src/nm-dbus-nm.c
		- (nm_dbus_nm_set_active_device): provide more informative
			output when errors occur.  Also construct security info
			for a given access point if we weren't given any


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1219 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-21 21:08:00 +00:00
Dan Williams
948a0a8529 Fix up message argument parsing in NM<->NMI network property retrieval
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1214 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-19 05:37:18 +00:00
Dan Williams
c32b0d108f Fix argument parsing
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1213 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-18 03:56:25 +00:00
Dan Williams
fad972d5a0 2005-12-17 Dan Williams <dcbw@redhat.com>
* Fix bugs


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1212 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-18 02:53:32 +00:00
Dan Williams
f003ba8ef7 2005-12-17 Dan Williams <dcbw@redhat.com>
* include/NetworkManager.h
		- Finally kill NMEncKeyType

	* gnome/applet/applet-dbus-info.c
		- (nmi_save_network_info): convert to NMGConfWSO

	* gnome/applet/nm-gconf-wso-*.c
		- Implement gconf serialization functions

	* src/NetworkManagerPolicy.c
		- (nm_policy_activation_finish): fix up meaning of
			automatic/user_requested


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1211 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-17 21:39:19 +00:00
Dan Williams
a601e80848 2005-12-17 Dan Williams <dcbw@redhat.com>
* gnome/applet/*
		- More applet cleanups
		- Use the dbus-method-dispatcher

	* libnm-util/dbus-method-dispatcher.[ch]
		- Generalize the implementation from NM in
			NetworkManagerUtils.c


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1210 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-17 21:10:37 +00:00
Dan Williams
4a9cb5a3f0 2005-12-16 Dan Williams <dcbw@redhat.com>
* gnome/applet/*
		- Fix up the passphrase dialog to use all the
			WirelessSecurityOption stuff (untested)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1208 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-16 22:22:42 +00:00
Dan Williams
77b3b18ffd 2005-12-16 Dan Williams <dcbw@redhat.com>
* Move nm_gconf_get_*_helper() functions to separate files,
		gconf-helpers.c & gconf-helpers.h

	* New NMGConfWSO objects for managing the gconf side of things.
		Eventually these should be merged with the
		WirelessSecurityOption objects and a common base (that can
		serialize/deserialize from dbus & gconf) should be
		refactored out, but for now they are separate.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1207 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-16 20:58:39 +00:00
Dan Williams
4682733535 2005-12-16 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-dbus-info.c
		- Clean up lots of gconf-related code


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1204 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-16 18:25:35 +00:00
Dan Williams
7b37a13850 2005-12-15 Dan Williams <dcbw@redhat.com>
* Exorcise encryption key hashing on APs
	* Use libnm-util's serialization/deserialization in both the
		applet and NM
	* Random other stuff


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1198 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-16 03:23:36 +00:00
Robert Love
9f19609cbb 2005-12-15 Robert Love <rml@novell.com>
* gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
	  is being added to the icon naming spec, so let's use that (Tango CVS
	  has the icon).  Because it is new, however, we fall back to the
	  current "gnome-lockscreen" if the new icon is not around, thus
	  behavior is the same.
	* gnome/applet/applet.c: Remove setup_stock().  We do not need the
	  factory junk.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1196 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-15 21:52:45 +00:00
Robert Love
540b85a116 2005-12-15 Robert Love <rml@novell.com>
* src/gnome/applet.c: Don't show the 'Help' menu item until we have,
	  well, help to give.  Couple other misc. bits.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1195 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-15 18:31:46 +00:00
Dan Williams
503f55796b 2005-12-14 Dan Williams <dcbw@redhat.com>
* src/nm-ap-security*.[ch]
		- Add AP security abstractions to NetworkManager

	* src/nm-dbus-device.c
		- Begin to parse new format dbus messages from the applet
			and construct an AP security object from the message

	* libnm-util/dbus-helpers.c
		- Use message iters so we can append the key as a fixed
			array of bytes, which actually works rather than
			using dbus_message_append_args() as we were before


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1184 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-14 15:53:34 +00:00
Dan Williams
5c91628f9f 2005-12-14 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerDbus.c
	  gnome/applet/applet-dbus.c
		- Fix up dbus service replacement options.  The applet
			should allow replacement, NM itself should not.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1183 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-14 14:56:04 +00:00
Dan Williams
e8a0e3c5d7 2005-12-12 Dan Williams <dcbw@redhat.com>
* libnm-util/dbus-helpers.[ch]
	  libnm-util/Makefile.am
		- new helper calls to consolidate locations where
			NM's setDevice method is called

	* gnome/applet/applet-dbus-devices.c
	  gnome/applet/wireless-security-option.c
	  gnome/applet/wso-*
		- Implement dbus message param append function for
			all wireless security options


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1174 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-12 22:18:55 +00:00
Robert Love
0cb2179ae2 null, not newline!
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1171 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-12 19:20:17 +00:00
Dan Williams
7713d13397 2005-12-11 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-dbus-devices.[ch]
	  gnome/applet/applet.c
	  gnome/applet/other-network-dialog.c
	  gnome/applet/wireless-security-manager.[ch]
	  gnome/applet/wireless-security-option.[ch]
	  gnome/applet/wso-*
		- Push the wireless security options further into the applet


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1170 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-12 18:53:05 +00:00
Dan Williams
e6c5848a13 Init dbus error before using it
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1169 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-12 16:15:38 +00:00
Dan Williams
0ac916c977 2005-12-11 Dan Williams <dcbw@redhat.com>
* gnome/applet/wso-*
	  gnome/applet/wireless-security-option.*
	  gnome/applet/Makefile.am
		- split each security option out so we can eventually
			have each one build up their own dbus message
			arguments to send to NM


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1165 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-12 04:28:26 +00:00
Dan Williams
7c39985801 2005-12-11 Dan Williams <dcbw@redhat.com>
* Make validation of the key work correctly


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1162 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-11 17:23:29 +00:00
Dan Williams
f7f136dad2 2005-12-11 Dan Williams <dcbw@redhat.com>
* Hook more bits of the Other Network Dialog up to the
		wireless security manager stuff, and restructure
		bits of the dialog so there's less code.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1161 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-11 15:46:58 +00:00
Dan Williams
5093c26462 2005-12-10 Dan Williams <dcbw@redhat.com>
* gnome/applet/Makefile.am
		- Add libnm-util to includes
		- Add libnm-util to link list
		- Add wireless-security-common.* to compile list

	* gnome/applet/other-network-dialog.c
		- Convert to using the WirelessSecurityManager code and
			widgets

	* gnome/applet/passphrase-dialog.c
		- Comment out references to stuff in the glade file that
			cause runtime errors until it can be fixed up
			to use the WirelessSecurityManager code

	* gnome/applet/wireless-applet.glade
		- Rename some widgets
		- Add widgets for the WirelessSecurityManager code
		- Remove passphrase-related stuff since that's now
			handled by the WirelessSecurityManager code


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1156 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-10 19:45:06 +00:00
Dan Williams
8bc5acbc99 2005-12-10 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-dbus-devices.c
		- Print out error message details for dbus pending call callbacks
		- Move nmwa_dbus_update_devices() up

	* gnome/applet/applet-dbus-vpn.c
		- Print out error message details for dbus pending call callbacks


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1155 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-10 19:42:02 +00:00
Robert Love
231c04097c 2005-12-07 Robert Love <rml@novell.com>
* gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
	  src/NetworkManagerAP.c, src/NetworkManagerAP.h,
	  src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
	  src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
	  src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
	  wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
	  zero.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1144 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-07 20:21:29 +00:00
Dan Williams
eff693f386 2005-12-07 Dan Williams <dcbw@redhat.com>
* Convert NETWORK_MODE_* constants to IW_MODE_*
	* Make all the get_mode/set_mode functions take and return 'int'
	* Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1142 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-07 17:40:37 +00:00
Dan Williams
98498e55b6 2005-12-06 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-dbus.c
		- (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c

	* gnome/applet/applet-dbus-vpn.c
		- (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
		- (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
			to TRUE here if stage was ACTIVATED


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1139 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-07 04:22:10 +00:00
Dan Williams
bfae8891a7 2005-12-06 Dan Williams <dcbw@redhat.com>
* Change naming of NMDeviceType to something more sensible:
		NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
		NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
		NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1131 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-07 00:22:52 +00:00
Dan Williams
6bcf90acf2 2005-12-06 Dan Williams <dcbw@redhat.com>
* Move NetworkManager.h -> include/NetworkManager.h
	* Split out VPN stuff to include/NetworkManagerVPN.h
	* Fix up makefiles to include new location
	* Fix up sources to include NetworkManagerVPN.h


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1130 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-06 23:37:09 +00:00
Dan Williams
7e3c364575 2005-12-06 Dan Williams <dcbw@redhat.com>
Various changes in the applet to move VPN connection "state" -> "stage",
	which it actually is.  I'd like to change the signal as well when we
	break compat in the near future.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1128 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-06 23:02:42 +00:00
Dan Williams
ccfab8a933 2005-12-05 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-dbus.c
		- Work with dbus 0.6 too


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1117 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-05 18:17:55 +00:00
Robert Love
cafa5878fc 2005-12-01 Robert Love <rml@novell.com>
* gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
	  need a NULL for the '...' parameter, too, to fill the so-called
	  sentinel.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1115 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-01 21:45:12 +00:00
Christopher Aillon
5efba73c10 2005-11-02 Christopher Aillon <caillon@redhat.com>
* gnome/applet/main.c: Don't set the restart command.  This fixes
	the issue where the restart command was getting copies of all its
	arguments for each time the applet was restarted.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1095 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-02 20:26:11 +00:00
Robert Love
1b73bb6d2f 2005-11-02 Robert Love <rml@novell.com>
* gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
	  if the widget state differs from our saved state.  This ensures we
	  do not enter an endless loop of death and destruction.  Also, this
	  guarantees us that we enforce the widget state.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1094 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-02 20:03:28 +00:00
Robert Love
4b279b5fc4 temp fix
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1093 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-02 19:39:32 +00:00
Robert Love
91027274d3 2005-11-02 Robert Love <rml@novell.com>
* gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
	* gnome/applet/applet-dbus-devices.c: invoke the new function
	  nmwa_enable_wireless_set_active() to ensure that the state of the		  'Enable Wireless' checkbox matches the daemon's state.  This is a
	  concern because the daemon remembers the state.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1092 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-02 18:27:19 +00:00
Robert Love
3dc658143d 2005-11-02 Robert Love <rml@novell.com>
* gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
	  Enabled", as checkboxes should be actions/commands not positive
	  statements, otherwise they are confusing in the unselected case.  See
	  examples in GNOME HIG, Chapter 6.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1091 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-02 18:00:20 +00:00
Robert Love
aec2ccd0fa 2005-11-02 Robert Love <rml@novell.com>
* gnome/applet/applet.c: When wireless is disabled, act it.  Do not
	  show a list of wireless networks or the wireless devices or the
	  "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
	  a bad bug: If wireless is disabled and the user picks a wireless
	  network, NM will switch to the network, only to immediately switch
	  back, as wireless is disabled.  This also reassures people that NM
	  is not scanning (it is not -- I verified).  Fixes Novell bug #130041.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1090 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-02 15:37:09 +00:00
Christopher Aillon
5db5b5a80b 2005-11-02 Christopher Aillon <caillon@redhat.com>
* gnome/applet/applet.c:
	* gnome/applet/applet.h:
	Partial backout of Dan's timeout animation patch.
	Timeout IDs cannot legally be 0, so revert the code in place to handle
	a timeout ID of 0 to denote the timeout isn't running.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1089 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-02 06:40:10 +00:00
Christopher Aillon
efcb11e9c8 2005-10-27 Christopher Aillon <caillon@redhat.com>
* gnome/applet/applet.c: Use the copyright symbol instead of (C)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1078 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-27 05:49:31 +00:00
Christopher Aillon
895d9cc16b 2005-10-27 Christopher Aillon <caillon@redhat.com>
* gnome/applet.c: The applet's about dialog can advertise our
	project page <http://www.gnome.org/projects/NetworkManager/>


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1077 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-27 05:21:01 +00:00
Christopher Aillon
a6a941c3ad 2005-10-26 Christopher Aillon <caillon@redhat.com>
* gnome/applet.c: Also use translator credits if we don't have
	the new GtkAboutDialog (older versions of GTK+)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1076 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-27 05:06:49 +00:00