Commit Graph

7740 Commits

Author SHA1 Message Date
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
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
joseppc
51089202e0 Added Catalan translation.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@904 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-27 21:50:15 +00:00
Kostas Papad
814d9e4144 Updated Greek Translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@903 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-27 09:03:44 +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
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
Marcel Telka
c6a263bd84 2005-08-21 Marcel Telka <marcel@telka.sk>
* sk.po: Updated Slovak translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@894 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-21 17:26:32 +00:00
Adam Weinberger
b30c3ea953 2005-08-21 Adam Weinberger <adamw@gnome.org>
* en_CA.po: Updated Canadian English translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@893 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-21 04:24:12 +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
Marcel Telka
28afcf82d7 2005-08-19 Marcel Telka <marcel@telka.sk>
* sk.po: Updated Slovak translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@891 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-19 20:11:00 +00:00
Christopher Aillon
5ea658be61 2005-08-19 Christopher Aillon <caillon@redhat.com>
* gnome/applet/other-network-dialog.c:
	* gnome/applet/wireless-applet.glade:
	Also need mnemonic widgets, and underline enabled.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@890 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-19 18:59:33 +00:00
Kjartan Maraas
b03c07e50c 2005-08-19 Kjartan Maraas <kmaraas@gnome.org>
* nb.po: Updated Norwegian Bokmål translation.
	* no.po: Same.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@889 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-19 15:45:44 +00:00
Dan Williams
722013e7f5 spacing fixups
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@888 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-19 15:39:33 +00:00
Dan Williams
84fb1fe77f Update cvsignore file
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@887 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-19 15:37:14 +00:00
Dan Williams
94f71ab85c 2005-08-19 Dan Williams <dcbw@redhat.com>
* vpn-daemons/vpnc/nm-vpnc-service.c
		- (vpnc_watch_cb): remove no-longer-relevant comment
		- (write_config_option): new function, helper to write
			config options to vpnc's stdin
		- (nm_vpnc_config_write): use the new helper, make the
			code shorter


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@886 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-19 15:36:27 +00:00
Chris Aillon
a2b41900e1 Credits: add self, and give Diana credit for the artwork.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@885 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-19 15:22:46 +00:00
Christopher Aillon
e0bf8b1067 2005-08-19 Christopher Aillon <caillon@redhat.com>
* gnome/applet/passphrase-dialog.c:
	* gnome/applet/wireless-applet.glade:
	Make the passphrase dialog response based, and treat
	responses other than OK (such as Esc, [X]) as a cancel.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@884 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-19 15:05:58 +00:00
Vincent van Adrighem
e13255bf59 2005-08-19 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Translation updated by Tino Meinen.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@883 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-19 05:03:41 +00:00
Adam Weinberger
574eb73dee 2005-08-19 Adam Weinberger <adamw@gnome.org>
* en_CA.po: Updated Canadian English translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@882 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-19 04:44:48 +00:00
Christopher Aillon
33434d1b0b 2005-08-18 Christopher Aillon <caillon@redhat.com>
* initscript/Gentoo/NetworkManager:
        * initscript/RedHat/NetworkManager:
        * initscript/RedHat/NetworkManagerDispatcher:
        * initscript/SUSE/networkmanager:
        CVS remove these in place of .in replacements

        * configure.in:
        * initscript/Gentoo/NetworkManager.in:
        * initscript/RedHat/NetworkManager.in:
        * initscript/RedHat/NetworkManagerDispatcher.in:
        * initscript/SUSE/networkmanager.in:
        These scripts now are generated so they work still when
        NM is built using a bindir other than /usr/bin


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@881 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-18 20:34:24 +00:00
Christopher Aillon
e9607dea0c 2005-08-18 Christopher Aillon <caillon@redhat.com>
* initscript/Gentoo/NetworkManager:
	* initscript/RedHat/NetworkManager:
	* initscript/RedHat/NetworkManagerDispatcher:
	* initscript/SUSE/networkmanager:
	CVS remove these in place of .in replacements

	* configure.in:
	* initscript/Gentoo/NetworkManager.in:
	* initscript/RedHat/NetworkManager.in:
	* initscript/RedHat/NetworkManagerDispatcher.in:
	* initscript/SUSE/networkmanager.in:
	These scripts now are generated so they work still when
	NM is built using a bindir other than /usr/bin


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@880 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-18 19:51:11 +00:00
Dan Williams
87bbf6f958 Unbreak the test tool somewhat.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@879 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-18 18:52:19 +00:00
David Zeuthen
eb1a9774f1 2005-08-18 David Zeuthen <davidz@redhat.com>
* configure.in: Require NetworkManaged-devel >= 0.4.1. Bump version
        to 0.3.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@877 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-18 18:47:20 +00:00
Dan Williams
472768f73f 2005-08-18 Dan Williams <dcbw@redhat.com>
* gnome/applet/main.c
		- Revert previous change for --no-session since
			--sm-disable does the same thing


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@876 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-18 18:20:39 +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
e8537fe09c 2005-08-18 Dan Williams <dcbw@redhat.com>
* gnome/applet/main.c
        - Add new "--no-session" parameter that disables applet
            session management, ie for testing


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@874 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-18 15:01:37 +00:00
Christopher Aillon
aa51e039f0 2005-08-18 Christopher Aillon <caillon@redhat.com>
* gnome/applet/other-network-dialog.c:
        * gnome/applet/wireless-applet.glade: More mnemonics


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@873 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-18 15:00:22 +00:00
Hendrik Brandt
131b7edabc 2005-08-18 Hendrik Brandt <heb@gnome-de.org>
* de.po: Updated German translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@872 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-17 22:52:57 +00:00
Robert Love
41714fa979 2005-08-17 Robert Love <rml@novell.com>
* initscript/SUSE/networkmanager: update


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@871 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-17 22:12:10 +00:00
Marcel Telka
ba75f5db42 2005-08-17 Marcel Telka <marcel@telka.sk>
* sk.po: Updated Slovak translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@870 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-17 17:56:20 +00:00
Dan Williams
3516db960b Fix breakage, bad Chris
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@868 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-17 16:30:52 +00:00
Dan Williams
7f98a12cf0 Update tag name
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@867 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-17 16:27:54 +00:00
Dan Williams
c343a2c1fc Tag 0_4_1_RELEASE
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@866 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-17 16:27:00 +00:00
Christopher Aillon
1091b5520d 2005-08-17 Christopher Aillon <caillon@redhat.com>
* gnome/applet/applet.c: More translatable string cleanup


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@865 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-17 16:25:37 +00:00
Dan Williams
1c4fd41c6f Bump version to 0.4.1
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@864 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-17 16:12:31 +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
fa90b0567b update .cvsignore
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@861 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-17 04:30:03 +00:00
Dan Williams
eb4229985e 2005-08-17 Dan Williams <dcbw@redhat.com>
* gnome/applet/icons/nm-no-connection.png
	  gnome/applet/icons/nm-device-wired.png
		- Use Diana's new RJ45 connector icons


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@860 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-17 04:29:24 +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
e40b6041c2 2005-08-17 Dan Williams <dcbw@redhat.com>
* gnome/applet/Makefile.am
		- Relocate the applet to /usr/bin since it is no longer
			executed by anything, but directly by the user


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@858 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-17 04:21:03 +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