Commit graph

148 commits

Author SHA1 Message Date
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
Dan Williams
a14cc5744e 2005-10-24 Dan Williams <dcbw@redhat.com>
Cleanup some applet stuff:

	- Animation timeouts.  If NM died while the applet was animating,
		the applet would not hide itself.  This is now fixed.

	- Remove some dead code

	- Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
		to nmi_passphrase_dialog_cancel() since we no longer use threads.

	- Track animation timeout using a gboolean rather than the timeout's
		ID, since timeout IDs can legally be 0.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1069 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-24 23:03:42 +00:00
Christopher Aillon
23d422740b 2005-10-21 Christopher Aillon <caillon@redhat.com>
* gnome/applet/applet-dbus-vpn.c:
	Get rid of spurious newlines in debug console output


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1066 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-21 22:04:30 +00:00
Robert Love
b7e0c9bd0e Revert last commit.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1055 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-19 16:56:10 +00:00
Robert Love
1f1862ab95 2005-10-19 Robert Love <rml@novell.com>
* gnome/applet/menu-items.c: Patch from Jeroen Zwartepoorte: Use the
	  correct stock icon value, GTK_STOCK_DIALOG_AUTHENTICATION, and not
	  the open-coded "gnome-lockscreen" to get our "secure" network icon.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1054 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-19 16:13:00 +00:00
Robert Love
1c6e80774d 2005-10-19 Robert Love <rml@novell.com>
* gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
	  sensitivity of the buttons.  Specificaly, do the right thing if
	  there are no entries.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1053 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-19 16:08:49 +00:00
Robert Love
6e81d72dad update glade file
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1052 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-19 15:22:15 +00:00
Christopher Aillon
93987738cd 2005-10-18 Christopher Aillon <caillon@redhat.com>
* gnome/applet/other-network-dialog.c: Use g_get_host_name ()
	if we've got GLib 2.8.0


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1047 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-18 18:31:03 +00:00
Robert Love
7bdfd64c98 2005-10-18 Robert Love <rml@novell.com>
* gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
	  be used uninitialized.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1043 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-18 14:51:22 +00:00
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