Commit graph

69 commits

Author SHA1 Message Date
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
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
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
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
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
Robert Love
c33a982574 2005-08-16 Robert Love <rml@novell.com>
* gnome/applet/applet.c: Better "Dial Up" menu item.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@854 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-16 20:09:58 +00:00
Robert Love
74804ef194 2005-08-16 Robert Love <rml@novell.com>
* gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
          "Connection Information" menu item.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@853 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-16 17:57:05 +00:00
Christopher Aillon
fcce343152 2005-08-16 Christopher Aillon <caillon@redhat.com>
* vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
        * gnome/applet/applet.c: Add some mnemonics for VPNC

        * vpn-daemons/.cvsignore: fix this up a little bit


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@850 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-16 16:45:15 +00:00
Robert Love
6a1e7941b1 2005-08-16 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
          support.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@848 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-16 16:00:49 +00:00
Christopher Aillon
ecf28067c4 2005-08-16 Christopher Aillon <caillon@redhat.com>
* gnome/applet/applet.c: Split markup out of translatable strings
	and clean up logic a little bit.  (fixes #309012)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@847 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-16 15:00:55 +00:00
Christopher Aillon
6df6b19135 2005-08-15 Christopher Aillon <caillon@redhat.com>
* gnome/vpn-properties/nm-vpn-properties.c:
        * gnome/vpn-properties/nm-vpn-ui-interface.h:
        * vpn-daemons/vpnc/properties/nm-vpnc.c:
        Makeshift fix to remove newlines from translatable strings.
        Note that we now return an allocated string, so callers of
        get_confirmation_details () must now call g_free () on the
        result. (fixes #309033).


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@846 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-15 19:34:20 +00:00
Robert Love
328391e19d 2005-08-12 Robert Love <rml@novell.com>
* gnome/applet/applet-dbus.c: remove newlines from translatable
          strings--not needed here anyway. (fix b.g.o #309011)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@840 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-12 19:11:30 +00:00
Robert Love
58e04b5373 2005-08-11 Robert Love <rml@novell.com>
* gnome/applet/applet.c: mark string as translatable.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@836 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-11 21:43:38 +00:00
Robert Love
bf6240910d 2005-08-10 Robert Love <rml@novell.com>
* gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
	  wait for it on exit; call exit() in nmwa_destroy() to jump ship.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@831 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-10 15:18:34 +00:00
Dan Williams
ca7c51f6c4 2005-08-10 Dan Williams <dcbw@redhat.com>
Patch from Bill Moss <bmoss@clemson.edu>
	* Consolidate writes of access point information updates to the info daemon
		so that we only do it when the connection to the access point was
		successful.  Also consolidates updates to GConf in the Gnome applet.

	* src/nm-netlink-monitor.c
		- Silence compile warning when calling g_object_new()


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@830 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-10 14:30:41 +00:00
Robert Love
600e027e5c 2005-08-05 Robert Love <rml@novell.com>
* NetworkManager.h,
          gnome/applet/applet-dbus-devices.c,
          gnome/applet/applet-dbus-devices.h,
          gnome/applet/applet-dbus.c,
          gnome/applet/applet.c,
          gnome/applet/applet.h,
          src/NetworkManager.c,
          src/NetworkManagerMain.h,
          src/NetworkManagerSystem.h,
          src/backends/NetworkManagerRedHat.c,
          src/backends/NetworkManagerSuSE.c,
          src/nm-dbus-nm.c: basic dialup support using distro infrastructure


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@821 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-05 18:58:17 +00:00
Robert Love
86ed3ac633 2005-08-05 Robert Love <rml@novell.com>
* gnome/applet/other-network-dialog.c: default the adhoc network to the
          machine's hostname to make adhoc creation idiot-proof.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@820 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-05 15:42:25 +00:00
Robert Love
085a86bbb1 2005-08-04 Robert Love <rml@novell.com>
* gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
          freed.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@819 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-04 17:59:36 +00:00
Dan Williams
438d37f1c8 2005-08-04 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-dbus-info.c
	  gnome/applet/applet-dbus-info.h
		- (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
			to store key, key type, and auth method rather than just auth method
		- (nmi_dbus_update_network_info): new function
		- (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo

	* gnome/applet/passphrase-dialog.c
		- (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
			of saving the info ourselves

	* gnome/libnm_glib/libnm_glib.c
		- Remove the stupid version check for dbus

	* src/NetworkManagerAP.c
	  src/NetworkManagerAP.h
		- (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'

	* src/NetworkManagerDbus.c
	  src/NetworkManagerDbus.h
		- (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
			more than just the auth method

	* src/NetworkManagerDevice.c
		- Update network info at the appropriate times


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@817 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-04 11:37:51 +00:00
Dan Williams
76ef803caf 2005-07-27 Dan Williams <dcbw@redhat.com>
* src/nm-dbus-nm.c
	  src/nm-dbus-net.c
		- Random cleanups of spacing

	* gnome/applet/applet.h
	  gnome/applet/other-network-dialog.c
	  gnome/applet/passphrase-dialog.c
		- Conslidate usage of NMWAEncryptionKeyTypes enum

	Patch from Bill Moss:
		- Make Other Wireless Networks work again with encryption keys


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@814 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-07-27 06:32:31 +00:00
Robert Love
fb85265c68 2005-07-25 Robert Love <rml@novell.com>
* gnome/applet/applet.c: make the "Wired" menu item a radio button,
	  in the same group as the wireless networks, since they are all
	  mutually exclusive.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@810 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-07-25 21:49:17 +00:00
Robert Love
02d0a20a45 2005-07-22 Robert Love <rml@novell.com>
* gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@806 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-07-22 17:20:26 +00:00
Robert Love
24e3cbb9cd Things that should of been in my last checkin.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@804 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-07-22 16:50:37 +00:00
Robert Love
6cea0afb40 2005-07-18 Robert Love <rml@novell.com>
Suggested by Aaron Bockover (abockover@novell.com)
        * applet/other-network-dialog.c: "ASCII is an acronym" -- s/Ascii/ASCII
        * applet/passphrase-dialog.c: ditto


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@798 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-07-18 18:46:02 +00:00
Dan Williams
c2ac475604 2005-07-13 Dan Williams <dcbw@redhat.com>
Patch from Ray Strode <halfline@gmail.com>
	* Random cleanups for strict CFLAGS


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@796 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-07-13 16:58:13 +00:00
Dan Williams
485ef84182 Add Bill's email address
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@793 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-07-08 02:37:10 +00:00
Dan Williams
7930cc5ac1 2005-07-07 Dan Williams <dcbw@redhat.com>
Patch from Bastien Nocera:
	* gnome/applet/applet.c
		- Fix up error reporting when icons or glade files are missing


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@789 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-07-08 02:06:01 +00:00
Robert Love
5c09bfdfa2 2005-07-07 Robert Love <rml@novell.com>
* gnome/applet/applet.c: do not draw the VPN menu's seperator if there
          are not any VPN connections above it.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@788 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-07-07 18:26:53 +00:00
Robert Love
f6b0ca721d 2005-07-07 Robert Love <rml@novell.com>
* gnome/applet/applet.c: whoops, left some "dog" debugging code in.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@786 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-07-07 14:30:06 +00:00
Robert Love
bedc772448 Fix comment typo.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@784 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-07-05 18:22:13 +00:00
Robert Love
04d812f8af 2005-06-30 Robert Love <rml@novell.com>
* gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
          then exit if the glade file is not found.  currently the application
          just hangs.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@774 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-30 20:30:46 +00:00
Robert Love
35d84047df Add me and David to the About credits.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@773 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-30 20:25:50 +00:00
Robert Love
d1d4bcdd33 2005-06-30 Robert Love <rml@novell.com>
* gnome/applet/applet.c: Add right-click menu item "Connection Info"
          with information about the currently active connection.
        * gnome/applet/applet.h: (ditto)
        * gnome/applet/wireless-applet.glade: (ditto), new file


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@771 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-30 18:48:54 +00:00
Robert Love
0b9da2df82 2005-06-30 Robert Love <rml@novell.com>
* gnome/applet/menu-items.c: whitespace, misc. cleanup.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@766 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-30 14:31:24 +00:00
Robert Love
a458311b30 2005-06-27 Robert Love <rml@novell.com>
* gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
	  items radios.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@759 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-27 14:00:58 +00:00
Robert Love
3b37105648 2005-06-23 Robert Love <rml@novell.com>
* gnome/applet/applet-dbus-info.c: gnome keyring support!
        * gnome/applet/passphrase-dialog.c: more of that keyring!


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@745 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-23 21:02:40 +00:00
Robert Love
1e2564a203 2005-06-23 Robert Love <rml@novell.com>
* configure.in: remove extraneous GNOMEKEYRING directives.
        * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
        * gnome/applet/applet.c: nmwa_icons_init: make style local.
        * gnome/applet/passphrase-dialog.c: whitespace.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@744 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-23 20:34:57 +00:00
David Zeuthen
ad6dc012a0 2005-06-23 David Zeuthen <david@fubar.dk>
* gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
        signal to the child to indicate that we got what we wanted when we
        see two new-lines right after each other.
        (nmwa_vpn_request_password): Pass a structure with several members
        instead of just the passwords


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@741 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-23 19:47:37 +00:00
Robert Love
10f3ca3f50 2005-06-21 Robert Love <rml@novell.com>
* gnome/applet/applet.c: use menu mnemonics.
        * gnome/applet/menu-items.c: (ditto)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@730 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-21 15:09:34 +00:00
Robert Love
28d334748b 2005-06-21 Robert Love <rml@novell.com>
* applet/applet-dbus-devices.c: mark non-static functions static.
	* applet/applet-dbus-vpn.c: (ditto)
	* applet/applet.c: (ditto)
	* applet/nm-device.h: (ditto)
	* applet/other-network-dialog.c: (ditto)
	* applet/passphrase-dialog.c: (ditto)
	* NetworkManager.c: (ditto)
	* NetworkManagerDbus.c: (ditto)
	* NetworkManagerDevice.c: (ditto)
	* NetworkManagerPolicy.c: (ditto)
	* NetworkManagerUtils.c: (ditto)
	* NetworkManagerWireless.c: (ditto)
	* NetworkManagerWireless.h: (ditto)
	* nm-netlink-monitor.c: (ditto)
	* applet/applet-dbus-info.c: (ditto), add FIXME's.
	* vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
	* autoip.c: include autoip.h.
	* autoip.h: new file.  define get_autoip().
	* nm-netlink-monitor.h: define nm_netlink_close_connection().
	* NetworkManagerDbus.h: remove duplicate definitions.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@728 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-21 15:07:01 +00:00
Dan Williams
d071ab6902 2005-06-16 Dan Williams <dcbw@redhat.com>
Patch from Robert Love:
	* gnome/applet/applet.c
		- Beautify some applet menu item names


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@702 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-17 10:59:56 +00:00
David Zeuthen
e4ec2dab44 2005-06-17 David Zeuthen <davidz@redhat.com>
* gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
        API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
        Also add new methods can_export, import_file and export.

        * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
        to the main UI

        * gnome/vpn-properties/nm-vpn-properties.c:
        Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
        nm-vpn-ui-interface.h.
        (update_edit_del_sensitivity): Also update "Export" sensitivity
        (add_vpn_connection): Also add new SVC_NAME column
        (import_settings): New function
        (retrieve_data_from_selected_connection): New function
        (edit_cb): Use retrieve_data_from_selected_connection to simplify
        this function
        (export_cb): New function
        (init_app): Also setup the "export" widget
        (main): Support the --import-service and --import-file commandline
        arguments

        * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
        D-BUS 0.34


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@700 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-17 04:23:07 +00:00
Dan Williams
ca78b2f849 2005-06-16 Dan Williams <dcbw@redhat.com>
Patch from Robert Love:
    * gnome/applet/menu-items.c
        - (network_menu_item_new): pass -1 as wireless network
            menu items height size request rather than ascent / 2


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@695 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-17 00:47:50 +00:00
Dan Williams
058a15490e 2005-06-16 Dan Williams <dcbw@redhat.com>
* Clean up wording in Wireless Scan Methods menu items and constants


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@693 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-17 00:36:08 +00:00
Robert Love
def204675a Update .cvsignore files
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@691 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-16 21:46:58 +00:00
Dan Williams
ea848843ab 2005-06-15 Dan Williams <dcbw@redhat.com>
Patch from Robert Love: make the applet stetic

	* gnome/applet/Makefile.am
		- Don't compile the gtkcellview and gtkcellrendererprogress files

	* gnome/applet/gtkcellview.h
	  gnome/applet/gtkcellview.c
	  gnome/applet/gtkcellrendererprogress.h
	  gnome/applet/gtkcellrendererprogress.c
		- Removed

	* gnome/applet/menu-items.c
		- Progress bars are 5:1 size ratio
		- Use GTK progress bars rather than internal ones


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@689 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-16 18:47:56 +00:00
Dan Williams
ecec2ec062 2005-06-15 Dan Williams <dcbw@redhat.com>
Patches from Robert Love:
	* gnome/applet/wireless-applet.glade
		- Tighten up wording

	* src/NetworkManagerDevice.c
		- Remove misplaced ';'

	* configure.in
	  initscript/Makefile.am
	  initscript/SUSE/Makefile.am
	  initscript/SUSE/networkmanager
		- Add SUSE initscript


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@669 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-15 11:59:43 +00:00
David Zeuthen
c357c61e35 2005-06-12 David Zeuthen <davidz@redhat.com>
* gnome/vpn-properties/nm-vpn-ui-interface.h: New file

	* gnome/vpn-properties/nm-vpn-properties.glade: New file

	* gnome/vpn-properties/nm-vpn-properties.c: New file

	* gnome/vpn-properties/Makefile.am: New file

	* src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
	array of passwords

	* src/vpn-manager/nm-vpn-manager.c
	(nm_vpn_manager_activate_vpn_connection): Take an array of passwords
	instead of just a single one

	* src/vpn-manager/nm-dbus-vpn.c:
	(nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
	here
	(nm_dbus_vpn_activate_connection): Rework to take an array of passwords

	* gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password):
	Change the interface here to give a list of passwords. Also, don't
	require username, but do require service

	* gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
	the binary for the auth-dialog and use that instead of putting up a
	dialog asking for a single password

	* gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
	however do remember the service

	* gnome/applet/main.c (main): Setup i18n

	* gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
	connection to '%s'" to the tooltip if we are connected using VPN
	(nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
	key to determine whether we the auth-dialog needs to
	reprompt. Also cope with the fact that the auth-dialog now returns
	an array of passwords.
	(nmwa_menu_configure_vpn_item_activate): New handler for
	"Configure VPN..." menu item
	(nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
	(is_vpn_available): New function to determine if we got any
	NM-compatible VPN software installed
	(nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
	items only if we have NM-compatible VPN software installed
	(nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
	logic for detecting when VPN connections are removed

	* gnome/applet/applet-dbus.h: Removed the prototypes for
	nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
	since these are defined elsewhere

	* gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
	function used to keep track of whether the last attempt succeded
	(nmwa_dbus_filter): Update last_attempt according to whether the
	VPN connection could be established or not

	* gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection):
	Change prototype to take an array of passwords, not just a single
	password

	* gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
	update service, not user
	(nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
	dbus_active_vpn_name is not NULL before using it
	(nmwa_dbus_vpn_activate_connection): Send the passwords as a
	string array instead of assuming a single password

	* gnome/applet/applet-dbus-info.c:
	(nmi_dbus_get_vpn_connection_properties): Use the logged in user for
	user name; don't read from gconf

	* gnome/applet/Makefile.am: Also export SYSCONFDIR and
	VPN_NAME_FILES_DIR

	* gnome/Makefile.am (SUBDIRS): Add vpn-properties

	* configure.in: Add checks for gmodule-2.0.
	Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
	in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
	projects under vpn-daemons now.	 See vpn-daemons/vpnc/Changelog
	for details

	* vpn-daemons/Makefile.am: Removed

	* vpn-daemons/README: New file to describe extensions points for VPN
	software


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@664 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-12 14:35:59 +00:00
Dan Williams
bb36e068ba 2005-06-09 Dan Williams <dcbw@redhat.com>
* NetworkManager.h
		- Add NMWirelessScanMethod enum for scan methods

	* gnome/applet/applet-dbus-devices.c
		- (nmwa_dbus_update_scanning_enabled_cb): remove
		- (nmwa_dbus_update_scanning_enabled): remove
		- (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
			since it got removed
		- (nmwa_dbus_enable_scanning): remove

	* gnome/applet/applet-dbus-info.c
		- (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
			update the wireless scanning method from NMI
		- (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
			method value to NetworkManager
		- (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call

	* gnome/applet/applet-dbus-info.h
		- Add prototype for nmi_dbus_signal_update_scan_method

	* gnome/applet/applet.c
		- (scanning_menu_update): new function, update one GtkCheckMenuItem from the
			Wireless Scanning menu based on current wireless scan method
		- (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
			signal for Wireless Scanning menu items, tell NetworkManager the new method
			and update our menu items to make sure the right one is checked
		- (nmwa_set_scanning_enabled_cb): remove
		- (nmwa_context_menu_update): remove references to pause_scanning_item
		- (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
			Scanning menu item
		- (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
			from GConf
		- nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
			so we get notified of preference values too
		- (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS

	* gnome/applet/applet.h
		- GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
		- Add wireless scan method member to applet data
		- Remove pause_scanning_item, add Wireless Scanning submenu

	* src/NetworkManager.c
		- (nm_data_new): default to NM_SCAN_METHOD_ON
		- (main): grab scanning method from NMI if we can

	* src/NetworkManagerDbus.c
		- (nm_dbus_update_wireless_scan_method_cb): new function, callback from
			nm_dbus_update_wireless_scan_method()
		- (nm_dbus_update_wireless_scan_method): new function to grab scanning method
			from NMI
		- (nm_dbus_nmi_is_running): redundant function, removed
		- (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
			when NMI comes back

	* src/NetworkManagerDevice.c
		- (nm_device_is_activated): return TRUE if the device is activated
		- (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
			and we are activated

	* src/nm-dbus-nm.c
		- (nm_dbus_nm_set_scanning_enabled): removed
		- nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
		- (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"


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