Commit graph

136 commits

Author SHA1 Message Date
Dan Williams
bd9787a025 If NM goes away, our icon should be the disconnected icon if we're ever shown for some reason
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1036 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-18 02:04:43 +00:00
Christopher Aillon
0176d81424 2005-10-17 Christopher Aillon <caillon@redhat.com>
* gnome/applet/applet.c:
	* gnome/applet/applet.h:
	Desensitize the 'Connection Information' menu item when there is
	no active connection.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1035 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-18 00:54:19 +00:00
Christopher Aillon
aa89e85d0b 2005-10-17 Christopher Aillon <caillon@redhat.com>
* gnome/libnm_glib/libnm_glib.c:
	Make libnm_glib_unregister_callback () actually unregister the callback


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1034 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-17 21:37:26 +00:00
Christopher Aillon
e97f836995 2005-10-17 Christopher Aillon <caillon@redhat.com>
* gnome/applet/applet-dbus-info.c:
	Let D-BUS know that we haven't handled a message when we haven't.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1032 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-17 20:11:05 +00:00
Christopher Aillon
9cf0f54e58 2005-10-17 Christopher Aillon <caillon@redhat.com>
* gnome/applet/applet-dbus-info.c:
	Find network encryption keys asyncrhonously


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1029 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-17 18:51:09 +00:00
Christopher Aillon
150bf7ca2d 2005-10-14 Christopher Aillon <caillon@redhat.com>
* gnome/libnm_glib/libnm_glib.c:
	* gnome/libnm_glib/libnm_glib.h:
	Use guint instead of gint for callback IDs.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1022 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-14 19:51:14 +00:00
Christopher Aillon
ac348beeea 2005-10-12 Christopher Aillon <caillon@redhat.com>
* gnome/applet/applet.c:
	Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
	every 1000ms.  It will unconditionally call nmwa_update_state which
	kills the existing animation timeout and registers a new one with a
	callback to draw a new frame every 100ms.  There are 11 connecting
	icon frames, so the last 2 frames kept getting dropped.  Only reset
	the animation timeout if we aren't animating.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1020 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-12 05:51:20 +00:00
Dan Williams
5112250aed 2005-10-11 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-dbus-devices.c
		- (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
			We want to grab the product & vendor from net.physical_dev
			rather than info.parent.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1018 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-11 20:49:49 +00:00
Dan Williams
2baf5855c0 2005-10-10 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-dbus-info.c
		- (nmi_dbus_get_network_key): hide the menu when putting up
			the keyring dialog.  (not sure if the code is right...)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1012 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-10 12:57:04 +00:00
Dan Williams
69d77f6b56 2005-10-09 Dan Williams <dcbw@redhat.com>
* Replace the "driver support level" stuff with capabilities.  The
		capability field is a bitfield that is more flexible than the
		old driver support level thing.  It's mostly so we can easily
		figure out what supports WPA and what doesn't, but should be
		quite useful later.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1007 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-09 04:39:49 +00:00
Robert Love
fa4e8074e7 2005-10-07 Robert Love <rml@novell.com>
* gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
          gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
          src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
          test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
          appropriate


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1004 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-07 19:17:06 +00:00
Christopher Aillon
75d768a24f 2005-10-06 Christopher Aillon <caillon@redhat.com>
* gnome/applet/applet.c:
	* gnome/applet/applet.h:
	* gnome/applet/icons/Makefile.am:
	Convey information about the current connection stage in the
	icons themselves instead of creating a separate progress bar.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@998 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-06 20:37:13 +00:00
Chris Aillon
968d7c90e6 Modified connecting stage icons from Diana Fong <dfong@redhat.com>
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@997 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-06 20:32:35 +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
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
Dan Williams
92bb1e6414 2005-10-02 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet.c
		- Adjust signal strength -> icon mapping values slightly
			(so that 51% signal doesn't show a 75% icon) by adding
			5% to the values. ex: > 5% now shows 25% icon, > 30%
			shows 50% icon, etc.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@984 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-02 04:35:33 +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
Chris Aillon
804cfe4771 Fix whitespace
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@966 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-19 18:50:43 +00:00
Christopher Aillon
fc879f666c 2005-09-19 Christopher Aillon <caillon@redhat.com>
* gnome/applet/applet.c: Use translator-credits
	so translators can make themselves known.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@965 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-19 18:17:36 +00:00
Christopher Aillon
7401bede03 2005-09-12 Christopher Aillon <caillon@redhat.com>
* gnome/applet/wireless-applet.glade:
	The passphrase entry should also activate the default


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@962 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-12 19:48:18 +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
Christopher Aillon
b755c02826 2005-09-09 Christopher Aillon <caillon@redhat.com>
* gnome/applet/applet.c:
	Also overlay the vpn connecting icons onto the wired icon,
	when appropriate.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@957 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-09 16:10:57 +00:00
Chris Aillon
fd0838d1b1 Makefile changes to install the new vpn icons
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@956 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-09 13:18:11 +00:00
Christopher Aillon
b30e588d6e 2005-09-09 Christopher Aillon <caillon@redhat.com>
* gnome/vpn-properties/nm-vpn-properties.glade:
	Clean up a few strings to use better grammar and proper casing.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@955 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-09 06:50:41 +00:00
Chris Aillon
3521ada92c Free the icons.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@954 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-09 03:06:18 +00:00
Christopher Aillon
83aaf72b40 2005-09-08 Christopher Aillon <caillon@redhat.com>
* gnome/applet/vpn-connection.c:
	* gnome/applet/vpn-connection.h:
	Add nmwa_vpn_connection_is_activating ()

	* gnome/applet/applet.c:
	* gnome/applet/applet.h:
	* gnome/applet/icons/nm-vpn-connecting*.png:
	Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
	the user know something's happening between clicking the VPN item and it
	actually being connected.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@953 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-09 03:02:53 +00:00
Christopher Aillon
b8e330d808 2005-09-07 Christopher Aillon <caillon@redhat.com>
* gnome/applet/applet-dbus-info.c: need to free attributes in the
	failure case as well.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@952 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-08 02:32:52 +00:00
Dan Williams
4e7c54fca5 Actually use stripped banner string
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@951 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-08 00:46:33 +00:00
Rodrigo Moya
9f920d60cc 2005-09-07 Rodrigo Moya <rodrigo@novell.com>
* gnome/panel/eggtrayicon.[ch]:
	* examples/python/systray/eggtrayicon.[ch]: updated code from libegg.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@950 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-07 21:41:00 +00:00
Dan Williams
ad61bd6964 2005-09-07 Dan Williams <dcbw@redhat.com>
Patch from Bill Moss <bmoss@clemson.edu>
	* src/applet-dbus.c
		- (nmwa_dbus_filter): strip whitespace from beginning
			and end of VPN login banner


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@949 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-07 19:36:06 +00:00
Dan Williams
641a001b44 Fix message unref-ing
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@948 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-07 19:33:29 +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
Dan Williams
88e3591ad3 Fix two more leaks of a DBusMessage
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@945 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-07 13:26:47 +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
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
Christopher Aillon
f0297b8c5d 2005-09-05 Christopher Aillon <caillon@redhat.com>
* gnome/applet/applet-dbus-devices.c: Remove duplicate call to
	network_device_set_strength


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@936 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-05 16:30:52 +00:00
Dan Williams
837c65d445 2005-09-04 Dan Williams <dcbw@redhat.com>
Patch from John Palmieri <johnp@redhat.com>
	* gnome/applet/applet-dbus-devices.c
		- Fix up unreffing of DBusMessage objects


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@933 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-04 16:41:50 +00:00
Dan Williams
2367f1e800 2005-09-04 Dan Williams <dcbw@redhat.com>
Patch from John Palmieri <johnp@redhat.com>
	* gnome/applet/nm-device.c
		- (nm_device_unref): clear network_device's memory _before_ freeing it


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@932 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-04 16:18:46 +00:00
Christopher Aillon
2288e39592 2005-09-02 Christopher Aillon <caillon@redhat.com>
* gnome/applet/applet.c: Use a check menu item for Wireless Enabled


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@929 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-02 16:00:09 +00:00
Bill Nottingham
9a939e7b47 accidental commit
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@928 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-02 04:25:35 +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
Robert Love
92e67d5577 2005-09-01 Robert Love <rml@novell.com>
* 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
2005-09-01 17:05:33 +00:00
Dan Williams
7437549d79 2005-09-01 Dan Williams <dcbw@redhat.com>
* 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
2005-09-01 16:34:35 +00:00
Christopher Aillon
5481b79ddb 2005-09-01 Christopher Aillon <caillon@redhat.com>
* gnome/applet/applet.c:
	Only show the "Stop/Start All Wireless Devices" menuitem
	if we actually have wireless devices.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@920 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-01 16:17:08 +00:00
Christopher Aillon
1a50bb4b57 2005-09-01 Christopher Aillon <caillon@redhat.com>
* 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
2005-09-01 16:14:29 +00:00