* 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
* auth-dialog/main.c (main): Print two newlines when the passwords
are dumped and wait for the parent to tell us on stdin to die.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@740 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/NetworkManager.c
src/NetworkManagerMain.h
- (nm_get_hal_ctx): new function, move Hal initialization code here
- (nm_hal_init): new function, init libhal context then add devices
- (nm_hal_deinit): new function, clean up libhal context
- (nm_data_free): Move Hal cleanup here
- (main): check whether Hal is running, and if so, get a list of
network devices from it
* src/NetworkManagerDbus.c
- (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
and when it appears, get a list of network devices from it. If
Hal goes away, clean up the libhal context
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@738 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* Makefile.am: Add missing intltool-foo.in generated files to
EXTRA_DIST so that 'distcheck' works. Also add DISTCLEANFILES
with the start of stuff to cleanup on 'distclea'.
* configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
stuff right and 'distcheck' works.
* po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c. If
we keep it, we need to add all of examples/* to EXTRA_DIST and do
Makefile.am for each. And systray/Makefile needs to be redone.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@725 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/NetworkManagerDevice.c
- (nm_device_wireless_process_scan_results): scan every 20s when
disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@722 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/nm-netlink-monitor.c
(nm_netlink_monitor_event_handler): check for the presence
of either error condition not both.
(nm_netlink_monitor_error_handler): emit error signal if
error occurs.
(nm_netlink_monitor_event_handler),
(nm_netlink_monitor_error_handler),
(nm_netlink_monitor_disconnect_handler): if an
assertion fails disconnect the event handler to prevent
infinite loops.
* src/nm-netlink-monitor.h: add new error condition
NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@719 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/nm-netlink-monitor.c
(nm_netlink_monitor_event_handler): remove bogus < 0
check on unsigned value and return early if the kernel
didn't send any bytes.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@718 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* 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
* properties/nm-vpnc.c: Add new NM_VPN_API_SUBJECT_TO_CHANGE so we
can include nm-vpn-ui-interface.h.
(import_from_file): New function
(import_button_clicked): Actually Implement this function
(impl_can_export): New function
(impl_import_file): New function
(export_to_file): New function
(impl_export): New function
(impl_get_object): Add function pointers for can_export, import_file
and export
* nm-vpnc.desktop.in: New file
* configure.in: Add AC_PROG_INTLTOOL
* Makefile.am: Add rules for building the .desktop file
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@699 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
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