Commit graph

126 commits

Author SHA1 Message Date
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
Dan Williams
e741ec73fa 2005-08-30 Dan Williams <dcbw@redhat.com>
* gnome/applet/wireless-applet.glade
		- HIG-ify the Other Wireless Networks dialog a bit more
		- Fix some potential segfaults in the info dialog


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@913 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-30 22:23:43 +00:00
Dan Williams
b051ee7a01 2005-08-30 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-dbus-devices.c
		- Remove nmwa_dbus_get_hal_device_string_property(); unused


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@912 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-30 21:55:54 +00:00
Dan Williams
9871d317d9 2005-08-30 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-dbus.[ch]
		- Remove all the nmwa_dbus_call_method_xxxx functions since
			they weren't being used anyway


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@911 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-30 21:53:41 +00:00
Dan Williams
ab727faaba 2005-08-29 Dan Williams <dcbw@redhat.com>
Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
	* gnome/applet/applet.c
		- Define GTK_STOCK_INFO for GTK 2.6 and lower


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@908 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-29 19:23:31 +00:00
Dan Williams
d124e41627 2005-08-29 Dan Williams <dcbw@redhat.com>
* gnome/applet/*
        - Don't use threads any more.  Anything that blocks
            (like gtk_dialog_run()) will  have to get fixed up which
            should happen quickly.  We really only had threads to make
            the animation smooth, and when everything got converted over
            to DBus Pending Calls, the need for threads kind of went away


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@907 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-29 18:00:33 +00:00
Christopher Aillon
543326fe9b 2005-08-29 Christopher Aillon <caillon@redhat.com>
* gnome/applet/applet.c: Draw VPN connections as radio items
	since we don't yet support multiple VPNs.
	* gnome/applet/other-network-dialog.c: Use stock icon for Connect
	* gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@906 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-29 17:55:38 +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
7126181b5c 2005-08-26 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-dbus-devices.c
      gnome/applet/applet-dbus-vpn.c
        - Remove calls to dbus_pending_call_ref() because we already
            "own" the pending call
        - Remove calls to dbus_pending_call_get_completed() because
            when we are in the callback, the pending call is completed
            by definition


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@901 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-26 23:15:12 +00:00
Dan Williams
c40cb663c4 Remove unused #include
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@900 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-26 21:04:57 +00:00
Christopher Aillon
88def5d4d6 2005-08-20 Christopher Aillon <caillon@redhat.com>
* gnome/applet/other-network-dialog.c:
	The "Create New Network" and "Connect to Other Network"
	dialogs share alot of code, but shouldn't share a window
	title.  Give them different ones.

	* gnome/applet/wireless-applet.glade:
	* vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
	Some more minor UI tweaks.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@892 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-20 05:12:23 +00:00