1. 19 Jan, 2009 1 commit
    • Przemysław Grzegorczyk's avatar
      Cleared up gtk and glib includes to use only toplevel headers. Bug · 2bf575f2
      Przemysław Grzegorczyk authored
      2009-01-19  Przemysław Grzegorczyk  <pgrzegorczyk@gmail.com>
      
      	* src/wireless-security/eap-method.h:
      	* src/wireless-security/wireless-security.h:
      	* src/polkit-helpers/polkit-gnome-action.c:
      	* src/connection-editor/ce-page.h:
      	* src/connection-editor/main.c:
      	* src/connection-editor/mobile-wizard.c:
      	* src/connection-editor/nm-connection-editor.c:
      	* src/connection-editor/nm-connection-list.c:
      	* src/connection-editor/nm-connection-list.h:
      	* src/connection-editor/page-dsl.h:
      	* src/connection-editor/page-ip4.h:
      	* src/connection-editor/page-mobile.h:
      	* src/connection-editor/page-ppp.h:
      	* src/connection-editor/page-vpn.h:
      	* src/connection-editor/page-wired-security.h:
      	* src/connection-editor/page-wired.h:
      	* src/connection-editor/page-wireless-security.h:
      	* src/connection-editor/page-wireless.h:
      	* src/ap-menu-item.h:
      	* src/applet-device-cdma.c:
      	* src/applet-device-gsm.c:
      	* src/applet-device-wifi.c:
      	* src/applet-device-wifi.h:
      	* src/applet-device-wired.c:
      	* src/applet-dialogs.c:
      	* src/applet-dialogs.h:
      	* src/applet.h:
      	* src/wireless-dialog.c:
      	* src/wireless-dialog.h: Cleared up gtk and glib includes
      	to use only toplevel headers. Bug #564379.
      
      
      svn path=/trunk/; revision=1106
      2bf575f2
  2. 16 Jan, 2009 1 commit
    • Dan Williams's avatar
      nm-connection-editor.c nm-connection-editor.h - · 979d9dc1
      Dan Williams authored
      2008-01-16  Dan Williams  <dcbw@redhat.com>
      
      	* nm-connection-editor.c
      	  nm-connection-editor.h
      		- (nm_connection_editor_get_window): add accessor to editor GtkWindow
      
      	* nm-connection-list.c
      	  nm-connection-list.h
      		- Pass XID of parent window to PolicyKit to ensure authorization windows
      			are transient for their parent
      		- Make error dialogs transient for the parent window
      
      
      svn path=/trunk/; revision=1094
      979d9dc1
  3. 09 Dec, 2008 1 commit
    • Dan Williams's avatar
      src/connection-editor/main.c - (impl_start): bring connection editor · 213c5a16
      Dan Williams authored
      2008-12-09  Dan Williams  <dcbw@redhat.com>
      
      	* src/connection-editor/main.c
      		- (impl_start): bring connection editor window to front when it's
      			launched again, if it's already started
      
      	* src/connection-editor/nm-connection-list.c
      	  src/connection-editor/nm-connection-list.h
      		- (nm_connection_list_present): no longer static
      
      
      svn path=/trunk/; revision=1059
      213c5a16
  4. 16 Nov, 2008 1 commit
    • Dan Williams's avatar
      configure.ac src/Makefile.am src/polkit-helpers/Makefile.am · 8809b7ad
      Dan Williams authored
      2008-11-15  Dan Williams  <dcbw@redhat.com>
      
      	* configure.ac
      	  src/Makefile.am
      	  src/polkit-helpers/Makefile.am
      	  src/polkit-helpers/README
      	  src/polkit-helpers/polkit-gnome-action.c
      	  src/polkit-helpers/polkit-gnome-action.h
      	  src/polkit-helpers/polkit-gnome-auth.c
      	  src/polkit-helpers/polkit-gnome-auth.h
      	  src/polkit-helpers/polkit-gnome-context.c
      	  src/polkit-helpers/polkit-gnome-context.h
      	  src/polkit-helpers/polkit-gnome.h
      		- Partial backport of PolicyKit-gnome 0.8 to PolicyKit 0.6
      
      	* src/connection-editor/Makefile.am
      	  src/connection-editor/nm-connection-editor.c
      	  src/connection-editor/nm-connection-editor.h
      	  src/connection-editor/nm-connection-list.c
      		- Use polkit-helpers
      
      	* src/connection-editor/polkit-06-helpers.c
      	  src/connection-editor/polkit-06-helpers.h
      		- Remove
      
      
      svn path=/trunk/; revision=1029
      8809b7ad
  5. 14 Nov, 2008 1 commit
    • Dan Williams's avatar
      src/connection-editor/nm-connection-list.c - Pass system settings · b978c773
      Dan Williams authored
      2008-11-14  Dan Williams  <dcbw@redhat.com>
      
      	* src/connection-editor/nm-connection-list.c
      		- Pass system settings 'CanModify' property along to the connection
      			editor window
      
      	* src/connection-editor/nm-connection-editor.c
      	  src/connection-editor/nm-connection-editor.h
      		- (nm_connection_editor_new): track whether system settings can actually
      			add conenctions or not
      		- (populate_connection_ui, set_editor_sensitivity): don't enable the
      			system settings checkbox if system settings can't be modified
      
      
      svn path=/trunk/; revision=1020
      b978c773
  6. 31 Oct, 2008 2 commits
    • Dan Williams's avatar
      src/gconf-helpers/nma-gconf-connection.c - (update): actually save private · cec8bbe5
      Dan Williams authored
      2008-10-31  Dan Williams  <dcbw@redhat.com>
      
      	* src/gconf-helpers/nma-gconf-connection.c
      		- (update): actually save private values like cert and key paths
      
      	* src/connection-editor/nm-connection-list.c
      		- (add_connection): fill certificate and private key items before adding
      			so that cert data actually gets to the system settings service
      		- (update_connection): copy private values before trying to update the
      			connection so that they actually get saved
      
      
      svn path=/trunk/; revision=996
      cec8bbe5
    • Dan Williams's avatar
      src/gconf-helpers/gconf-helpers.c src/gconf-helpers/gconf-helpers.h - · 32ba49e8
      Dan Williams authored
      2008-10-31  Dan Williams  <dcbw@redhat.com>
      
      	* src/gconf-helpers/gconf-helpers.c
      	  src/gconf-helpers/gconf-helpers.h
      		- (nm_gconf_copy_private_connection_values): copy private values (like
      			certificate paths and such) between connections
      		- (nm_gconf_connection_duplicate): use nm_gconf_copy_private_connection_values()
      
      	* src/connection-editor/nm-connection-list.c
      		- (update_connection): make sure to copy private values when updating
      			the connection
      
      
      svn path=/trunk/; revision=995
      32ba49e8
  7. 29 Oct, 2008 1 commit
    • Tambet Ingo's avatar
      src/connection-editor/nm-connection-list.c · ec8dbe27
      Tambet Ingo authored
      2008-10-29  Tambet Ingo  <tambet@gmail.com>
      
      	* src/connection-editor/nm-connection-list.c
      	src/connection-editor/page-vpn.c
      	src/connection-editor/vpn-helpers.c
      	src/gconf-helpers/gconf-upgrade.c
      	src/gconf-helpers/nma-gconf-connection.c
      	src/vpn-password-dialog.c
      		- Use VPN setting accessors.
      
      svn path=/trunk/; revision=988
      ec8dbe27
  8. 27 Oct, 2008 2 commits
    • Dan Williams's avatar
      Patch from Jaap A. Haitsma <jaap@haitsma.org> · c80abf48
      Dan Williams authored
      2008-10-26  Dan Williams  <dcbw@redhat.com>
      
      	Patch from Jaap A. Haitsma <jaap@haitsma.org>
      
      	* src/connection-editor/nm-connection-editor.c
      	  src/connection-editor/nm-connection-list.c
      		- Make default window icons actually work (bgo #553170)
      
      
      svn path=/trunk/; revision=981
      c80abf48
    • Dan Williams's avatar
      Patch from Tambet Ingo <tambet@gmail.com> · 8ab77ddf
      Dan Williams authored
      2008-10-26  Dan Williams  <dcbw@redhat.com>
      
      	Patch from Tambet Ingo <tambet@gmail.com>
      
      	* src/applet-device-cdma.c
      	  src/applet-device-gsm.c
      	  src/applet-device-wifi.c
      	  src/applet-device-wired.c
      	  src/applet-dialogs.c
      	  src/applet.c
      	  src/connection-editor/nm-connection-editor.c
      	  src/connection-editor/nm-connection-list.c
      	  src/connection-editor/page-ip4.c
      	  src/connection-editor/vpn-helpers.c
      	  src/gconf-helpers/gconf-helpers.c
      	  src/gconf-helpers/gconf-upgrade.c
      	  src/gconf-helpers/nma-gconf-connection.c
      	  src/utils/utils.c
      	  src/vpn-password-dialog.c
      	  src/wired-dialog.c
      	  src/wireless-dialog.c
      	  src/wireless-security/wireless-security.c
      		- Update connection setting accessors
      
      
      svn path=/trunk/; revision=980
      8ab77ddf
  9. 26 Oct, 2008 3 commits
    • Dan Williams's avatar
      Patch from Tambet Ingo <tambet@gmail.com> · 39d6d199
      Dan Williams authored
      2008-10-26  Dan Williams  <dcbw@redhat.com>
      
      	Patch from Tambet Ingo <tambet@gmail.com>
      
      	* src/applet-device-gsm.c
      	  src/connection-editor/nm-connection-list.c
      	  src/connection-editor/page-mobile.c
      		- Use gsm setting accessors
      
      
      svn path=/trunk/; revision=979
      39d6d199
    • Dan Williams's avatar
      Patch from Tambet Ingo <tambet@gmail.com> · 2e233f1d
      Dan Williams authored
      2008-10-26  Dan Williams  <dcbw@redhat.com>
      
      	Patch from Tambet Ingo <tambet@gmail.com>
      
      	* src/applet-device-cdma.c
      	  src/connection-editor/nm-connection-list.c
      	  src/connection-editor/page-mobile.c
      		- Use cdma setting accessors
      
      
      svn path=/trunk/; revision=978
      2e233f1d
    • Dan Williams's avatar
      Patch from Tambet Ingo <tambet@gmail.com> · b4efd289
      Dan Williams authored
      2008-10-26  Dan Williams  <dcbw@redhat.com>
      
      	Patch from Tambet Ingo <tambet@gmail.com>
      
      	* src/applet-device-cdma.c
      	  src/applet-device-gsm.c
      	  src/connection-editor/nm-connection-list.c
      		- Use setting object accessors
      
      
      svn path=/trunk/; revision=975
      b4efd289
  10. 23 Oct, 2008 1 commit
    • Dan Williams's avatar
      src/connection-editor/nm-connection-list.c - · 59e4f7a1
      Dan Williams authored
      2008-10-23  Dan Williams  <dcbw@redhat.com>
      
      	* src/connection-editor/nm-connection-list.c
      		- (create_new_connection_for_type): set initial connection scope
      
      	* src/connection-editor/nm-connection-editor.h
      		- Change the editor window from a dialog to a window to allow the
      			action area to be more fully customized; move the system settting
      			checkbox down there
      
      	* src/connection-editor/nm-connection-editor.c
      	  src/connection-editor/nm-connection-editor.h
      		- (nm_connection_editor_init): hook the system connection checkbox up
      			to PolicyKit authorizations
      		- (populate_connection_ui): set the system connection checkbox elsewhere
      		- (nm_connection_editor_set_connection): set initial value of system
      			connection checkbox based on the connection's scope
      		- (nm_connection_editor_run): fix up signal handling since the editor
      			window is no longer a dialog
      
      
      svn path=/trunk/; revision=965
      59e4f7a1
  11. 09 Sep, 2008 1 commit
    • Dan Williams's avatar
      src/connection-editor/nm-connection-list.c - (remove_connection): clean up · 4d43e2ac
      Dan Williams authored
      2008-09-09  Dan Williams  <dcbw@redhat.com>
      
      	* src/connection-editor/nm-connection-list.c
      		- (remove_connection): clean up left-over VPN secrets when removing the
      			connection
      		- (add_connection, update_connection): save VPN secrets for user-scope
      			connections
      
      	* src/connection-editor/nm-connection-editor.c
      		- (ui_to_setting, connection_editor_validate): validate and update the
      			'connection' setting just like any other setting
      		- (populate_connection_ui): hook up signals for notification of when
      			'connection' setting properties change; connection scope needs to be
      			up-to-date before any other settings are validated
      		- (nm_connection_editor_save_vpn_secrets): ask the VPN page to ask the
      			plugin to save its secrets
      
      	* src/connection-editor/page-vpn.c
      		- (ce_page_vpn_save_secrets): call VPN UI plugin's hook to save secrets
      
      
      svn path=/trunk/; revision=881
      4d43e2ac
  12. 27 Aug, 2008 1 commit
    • Dan Williams's avatar
      UUID updates. Requires NM svn 4013 or later, and VPN plugins 4018 or · f3c05a95
      Dan Williams authored
      2008-08-26  Dan Williams  <dcbw@redhat.com>
      
      	UUID updates.  Requires NM svn 4013 or later, and VPN plugins 4018 or later.
      
      	* src/applet-device-gsm.c
      	  src/applet-device-wifi.c
      	  src/applet-device-cdma.c
      	  src/applet-device-wired.c
      		- (*_new_auto_connection): add UUID
      
      	* src/gconf-helpers/gconf-upgrade.c
      	  src/gconf-helpers/gconf-upgrade.h
      		- (nm_gconf_read_0_6_wireless_connection,
      		   nm_gconf_read_0_6_vpn_connection): add UUID
      		- (nm_gconf_migrate_0_7_vpn_connections,
      		   nm_gconf_migrate_0_7_connection_names): remove; anybody using an NM
      			this old should be shot
      		- (try_convert_leap, copy_keyring_to_8021x,
      		   nm_gconf_migrate_0_7_wireless_security): UUIDs all around
      		- (nm_gconf_migrate_0_7_connection_uuid): add UUIDs to connections
      		- (nm_gconf_migrate_0_7_keyring_items): migrate keyring items from
      			'connection-name' or 'connection-id' to 'connection-uuid'
      
      	* src/gconf-helpers/nma-gconf-connection.c
      		- (get_id, constructor, dispose, finalize, get_secrets, update,
      		   nma_gconf_connection_class_init, nma_gconf_connection_save): remove
      			id-related stuff
      
      	* src/gconf-helpers/gconf-helpers.c
      	  src/gconf-helpers/gconf-helpers.h
      		- (nm_gconf_get_all_connections): add UUIDs to all connections, and
      			remove obsolete migration operations
      		- (nm_gconf_add_keyring_item, nm_gconf_write_connection,
      		   nm_gconf_get_keyring_items): remove 'id' argument since the
      			connection now provides the UUID
      
      	* src/wireless-security/eap-method-leap.c
      	  src/wireless-security/wireless-security.c
      	  src/wireless-security/ws-dynamic-wep.c
      	  src/wireless-security/eap-method-peap.c
      	  src/wireless-security/eap-method-ttls.c
      	  src/wireless-security/ws-leap.c
      	  src/wireless-security/ws-wep-key.c
      	  src/wireless-security/ws-wpa-psk.c
      	  src/wireless-security/eap-method-simple.c
      	  src/wireless-security/ws-wpa-eap.c
      	  src/wireless-security/eap-method-tls.c
      	  src/wireless-dialog.c
      	  src/connection-editor/page-wireless-security.c
      	  src/connection-editor/page-mobile.c
      	  src/connection-editor/page-wired-security.c
      	  src/connection-editor/page-dsl.c
      	  src/wired-dialog.c
      		- Use UUIDs from the connection, not a separate 'id'
      
      	* src/connection-editor/nm-connection-list.c
      		- (create_new_connection_for_type, import_success_cb): add UUIDs for
      			newly created or imported connections
      
      	* src/vpn-password-dialog.c
      		- (nma_vpn_request_password): pass 'uuid' to auth dialog, not 'id'
      
      
      svn path=/trunk/; revision=867
      f3c05a95
  13. 11 Aug, 2008 1 commit
    • Dan Williams's avatar
      Update to match NM svn3924 vpn setting changes (consolidated vpn and · 4ac2442d
      Dan Williams authored
      2008-08-11  Dan Williams  <dcbw@redhat.com>
      
      	Update to match NM svn3924 vpn setting changes (consolidated vpn and
      	vpn-properties settings; vpn-specific data now a hash of string:string
      	instead of string:variant); convert old GConf entries to new format
      
      
      svn path=/trunk/; revision=835
      4ac2442d
  14. 27 Jul, 2008 1 commit
    • Dan Williams's avatar
      src/connection-editor/Makefile.am · bf5965a9
      Dan Williams authored
      2008-07-27  Dan Williams  <dcbw@redhat.com>
      
      	* src/connection-editor/Makefile.am
      	  src/connection-editor/nm-connection-editor-service.xml
      		- Add service definition for single-app-instance D-Bus API
      
      	* src/connection-editor/nm-connection-list.c
      	  src/connection-editor/nm-connection-list.h
      		- (add_connection_tab): keep connection type list around for later
      		- (add_connection_tabs): don't free connection type lists since they
      			are now kept around by add_connection_tab()
      		- (nm_connection_list_set_type): new function; given a connection type
      			select that type's tab in the connection list and bring the
      			connection list window to the front
      
      	* src/connection-editor/main.c
      		- Implement a single-app-instance object that exports a D-Bus API to
      			accept the same args that the connection editor does on the command
      			line
      		- (main, try_existing_instance): if a connection editor is already open
      			in the current session, just send the command-line arguments to that
      			existing editor over D-Bus instead of spawning a second editor
      
      
      svn path=/trunk/; revision=801
      bf5965a9
  15. 17 Jul, 2008 1 commit
    • Tambet Ingo's avatar
      Fix connection editor's wireless security handling. · 16427033
      Tambet Ingo authored
      2008-07-17  Tambet Ingo  <tambet@gmail.com>
      
      	Fix connection editor's wireless security handling.
      
      	* src/gconf-helpers/gconf-helpers.c (nm_gconf_connection_duplicate):
      	Implement. Just using nm_connection_duplicate() does not add the applet
      	specific object data.
      
      	* src/connection-editor/nm-connection-list.c (do_edit): When duplicating the
      	connection, use a helper function to get all the associated data as well.
      
      	* src/connection-editor/nm-connection-editor.c (connection_editor_validate):
      	Add some debug output for now to make it easier to see which page fails.
      
      svn path=/trunk/; revision=792
      16427033
  16. 02 Jul, 2008 1 commit
    • Tambet Ingo's avatar
      Patch from André Lemos <alemos@criticalsoftware.com> · 8b5c2283
      Tambet Ingo authored
      2008-07-02  Tambet Ingo  <tambet@gmail.com>
      
      	Patch from André Lemos <alemos@criticalsoftware.com>
      
      	* src/gconf-helpers/nma-gconf-settings.c
      	(nma_gconf_settings_add_connection):
      	* src/connection-editor/nm-connection-list.c (show_error_dialog):
      	* src/applet.c (applet_settings_new_secrets_requested_cb):
      	* src/applet-device-wired.c (get_pppoe_secrets_cb)
      	(get_8021x_secrets_cb):
      	* src/applet-device-wifi.c (get_secrets_dialog_response_cb):
      	* src/applet-device-gsm.c (get_gsm_secrets_cb): Always send a format
      	string to vararg message functions.
      
      svn path=/trunk/; revision=774
      8b5c2283
  17. 26 Jun, 2008 3 commits
  18. 20 Jun, 2008 2 commits
    • Dan Williams's avatar
      src/connection-editor/nm-connection-list.c - · 9b898976
      Dan Williams authored
      2008-06-20  Dan Williams  <dcbw@redhat.com>
      
      	* src/connection-editor/nm-connection-list.c
      		- (create_new_connection_for_type): fix adding CDMA connections
      
      
      svn path=/trunk/; revision=761
      9b898976
    • Tambet Ingo's avatar
      src/connection-editor/ce-page.c src/connection-editor/ce-page.h · 291f1f12
      Tambet Ingo authored
      2008-06-20  Tambet Ingo  <tambet@gmail.com>
      
      	* src/connection-editor/ce-page.c
      	src/connection-editor/ce-page.h
      	src/connection-editor/nm-connection-editor.c
      	src/connection-editor/nm-connection-editor.h
      	src/connection-editor/nm-connection-list.c
      	src/connection-editor/page-dsl.c
      	src/connection-editor/page-ip4.c
      	src/connection-editor/page-mobile.c
      	src/connection-editor/page-ppp.c
      	src/connection-editor/page-vpn.c
      	src/connection-editor/page-wired-security.c
      	src/connection-editor/page-wired.c
      	src/connection-editor/page-wireless-security.c
      	src/connection-editor/page-wireless-security.h
      	src/connection-editor/page-wireless.c
      
      	Use a copy of the real connection in the connection editor. Fixes issues
      	where the connection is updated but writing it fails for some reason.
      	Keep the connection that's been edited updated after every UI change so
      	that pages can act on changes to other pages.
      
      svn path=/trunk/; revision=760
      291f1f12
  19. 17 Jun, 2008 1 commit
    • Dan Williams's avatar
      src/vpn-properties/* - Remove, no longer used · 35385e7c
      Dan Williams authored
      2008-06-17  Dan Williams  <dcbw@redhat.com>
      
      	* src/vpn-properties/*
      		- Remove, no longer used
      
      	* src/connection-editor/Makefile.am
      	  src/connection-editor/ce-vpn-wizard.glade
      	  src/connection-editor/nm-connection-editor.c
      	  src/connection-editor/nm-connection-editor.glade
      	  src/connection-editor/nm-connection-list.c
      	  src/connection-editor/page-vpn.c
      	  src/connection-editor/page-vpn.h
      	  src/connection-editor/vpn-helpers.c
      	  src/connection-editor/vpn-helpers.h
      		- Add VPN editing functionality to the connection editor using the
      			new GNOME VPN UI plugin API
      
      
      svn path=/trunk/; revision=758
      35385e7c
  20. 13 Jun, 2008 1 commit
  21. 12 May, 2008 2 commits
    • Dan Williams's avatar
      configure.ac - Handle PolicyKit 0.6 and grab PK version for later use - · d22abf1d
      Dan Williams authored
      2008-05-12  Dan Williams  <dcbw@redhat.com>
      
      	* configure.ac
      		- Handle PolicyKit 0.6 and grab PK version for later use
      		- Split out PK CFLAGS and LIBS from main NMA flags and libs
      
      	* src/connection-editor/Makefile.am
      		- Use split out PK CFLAGS and LIBS
      		- Build in PK 0.6 helpers when needed
      
      	* src/connection-editor/polkit-06-helpers.c
      	  src/connection-editor/polkit-06-helpers.h
      		- (polkit_gnome_auth_obtain): re-implement for PK 0.6 using ShowDialog
      			instead
      
      	* src/connection-editor/nm-connection-list.c
      		- Use polkit-06-helpers when needed
      
      
      svn path=/trunk/; revision=724
      d22abf1d
    • Tambet Ingo's avatar
      Unify all the PolicyKit access to one place. Implement connection scope · 59bb8401
      Tambet Ingo authored
          2008-05-12  Tambet Ingo  <tambet@gmail.com>
      
          	* src/connection-editor/nm-connection-list.c: Unify all the PolicyKit
          	access to one place. Implement connection scope changing.
      
          	* src/connection-editor/nm-connection-editor.c: Remove all the PolicyKit
          	code from here.
      
      svn path=/trunk/; revision=723
      59bb8401
  22. 09 May, 2008 2 commits
    • Tambet Ingo's avatar
      Show error dialog if updating connection fails. · 3bd74c66
      Tambet Ingo authored
      2008-05-09  Tambet Ingo  <tambet@gmail.com>
      
      	* src/connection-editor/nm-connection-editor.c: Show error dialog
      	if updating connection fails.
      
      	* src/connection-editor/nm-connection-list.c: Show error dialog
      	if adding or removing connection fails.
      
      svn path=/trunk/; revision=720
      3bd74c66
    • Tambet Ingo's avatar
      Use PolicyKit to authorize the system connection handling. · 9a031fcc
      Tambet Ingo authored
          2008-05-02  Tambet Ingo  <tambet@gmail.com>
      
          	Use PolicyKit to authorize the system connection handling.
      
          	* src/gconf-helpers/nma-gconf-connection.c (update, delete): Update,
          	NMExportedConnection::update and ::delete now handle errors.
      
          	* src/connection-editor/nm-connection-list.c
          	(delete_connection_auth_cb): Implement
          	(delete_connection): Implement.
          	(delete_connection_cb): Use PolicyKit.
      
          	* src/connection-editor/nm-connection-editor.c
          	(connection_editor_update_connection): Use a PolicyKit aware helper
          	function to update connections.
          	(update_connection): Implmenet.
          	(update_connection_auth_cb): Implement.
      
          	* src/connection-editor/nm-connection-list.c (add_done_cb): Use the
          	PolicyKit aware helper function to add new system connection.
          	(add_system_connection): Implement. If the request fails because of
          	authorization, use PolicyKit gnome helper to request the authorization.
          	(add_system_connection_auth_cb): Implement. Try again if the
          	authorization was granted.
          	(add_connection_treeview): Rename an internal variable, 'select' clashes
          	with a syscall name.
      
          	* configure.ac: Require PolicyKit-gnome.
      
      svn path=/trunk/; revision=719
      9a031fcc
  23. 05 May, 2008 1 commit
    • Tambet Ingo's avatar
      Get system connections from dbus. · 0f177855
      Tambet Ingo authored
      2008-04-30  Tambet Ingo  <tambet@gmail.com>
      
      	* src/applet.c (constructor): Get system connections from dbus.
      
      2008-04-30  Tambet Ingo  <tambet@gmail.com>
      
      	Implement system settings handling in the connection editor.
      
      	* src/connection-editor/nm-connection-list.[ch]: Use NMAGconfSettings
      	and NMDBusSettingsSystem to get connections. Update the connection
      	lists dynamically based on signals received from the connections.
      
      	* src/connection-editor/nm-connection-editor.[ch]: Work with
      	NMExportedConnection so that updating and removing of the connections
      	is handled by the connections, not special cased here.
      
      2008-04-30  Tambet Ingo  <tambet@gmail.com>
      
      	Add a toggle button to the connection editor to indicate and change the
      	connection scope (system or user).
      
      	* src/connection-editor/nm-connection-editor.c (populate_connection_ui):
      	Set the toggle button state according to the connection scope.
      	(connection_editor_update_connection): Update the connection scope
      	according to the toggle button state.
      
      	* src/connection-editor/nm-connection-editor.glade: Add a toggle button
      	to indicate and possibly change system/user connections.
      
      2008-04-30  Tambet Ingo  <tambet@gmail.com>
      
      	Replace applet-dbus-settings.[ch] with NMAGConfSettings and
      	NMAGConfConnection.
      
      	* src/applet.c:
      	* src/applet.h: Use NMAGConfSettings for locally stored settings and
      	NMDBusSettingsSystem for system settings.
      
      	* src/applet-device-cdma.c:
      	* src/applet-device-gsm.c:
      	* src/applet-device-wired.c:
      	* src/applet-device-wireless.c: Update to use NMAGConfSettings and
      	NMAGConfConnection.
      
      	* src/Makefile.am: Remove applet-dbus-settings.[ch] from the build.
      
      	* src/applet-dbus-settings.[ch]: Removed.
      
      2008-04-30  Tambet Ingo  <tambet@gmail.com>
      
      	Implement NMSettings and NMExportedConnection subclasses for handling
      	NMConnections stored in GConf.
      
      	* src/gconf-helpers/nma-gconf-settings.[ch]:
      	* src/gconf-helpers/nma-gconf-connection.[ch]: Implement.
      
      	* src/gconf-helpers/Makefile.am: Add new files to the build.
      
      2008-04-30  Tambet Ingo  <tambet@gmail.com>
      
      	Move marshallers to it's own directory so they can be shared.
      
      	* src/marshallers/Makefile.am:
      	* src/marshallers/nma-marshal.main.c:
      	* src/marshallers/nma-marshal.list: Implement.
      
      	* configure.ac: Create src/marshallers/Makefile.
      
      	* src/Makefile.am: Add marshallers to the list of build directories.
      	Include marshallers to the cflags and libs.
      	Remove applet-marshal* references.
      
      	* src/applet-dbus-manager.c:
      	* src/applet-dbus-settings.c: Use the common marshallers.
      
      	* src/applet-marshal-main.c:
      	* src/applet-marshal.list: Remove
      
      svn path=/trunk/; revision=711
      0f177855
  24. 28 Apr, 2008 1 commit
    • Dan Williams's avatar
      src/connection-editor/page-wireless-security.c - (validate): unencrypted · 09492c95
      Dan Williams authored
      2008-04-27  Dan Williams  <dcbw@redhat.com>
      
      	* src/connection-editor/page-wireless-security.c
      		- (validate): unencrypted method doesn't have a security object so
      			NULL here means valid
      
      	* src/connection-editor/nm-connection-list.c
      		- (create_new_connection_for_type): set default wireless mode
      
      	* src/connection-editor/page-ip4.c
      		- (cell_edited, ce_page_ip4_new): trigger validation when IP addresses
      			change too
      
      
      svn path=/trunk/; revision=704
      09492c95
  25. 19 Apr, 2008 1 commit
    • Dan Williams's avatar
      src/connection-editor/Makefile.am src/connection-editor/page-ppp.c · 93a56237
      Dan Williams authored
      2008-04-18  Dan Williams  <dcbw@redhat.com>
      
      	* src/connection-editor/Makefile.am
      	  src/connection-editor/page-ppp.c
      	  src/connection-editor/page-ppp.h
      	  src/connection-editor/ce-page-ppp.glade
      		- Add PPP settings page
      
      	* src/connection-editor/page-dsl.c
      		- (validate): need the PPP setting to valide the PPPoE setting
      
      	* src/connection-editor/nm-connection-list.c
      		- (create_new_connection_for_type): add PPP settings for mobile broadband
      			and DSL
      
      	* src/connection-editor/nm-connection-editor.c
      		- (nm_connection_editor_set_connection): add PPP page for DSL and
      			mobile broadband
      
      
      svn path=/trunk/; revision=689
      93a56237
  26. 16 Apr, 2008 1 commit
    • Dan Williams's avatar
      src/connection-editor/ce-mobile-wizard.glade · a3cffa13
      Dan Williams authored
      2008-04-16  Dan Williams  <dcbw@redhat.com>
      
      	* src/connection-editor/ce-mobile-wizard.glade
      	  src/connection-editor/mobile-wizard.c
      	  src/connection-editor/mobile-wizard.h
      	  src/connection-editor/Makefile.am
      	  po/POTFILES.in
      		- Add connection type chooser
      
      	* src/connection-editor/nm-connection-list.c
      		- (create_new_connection_for_type): handle mobile broadband too
      
      
      svn path=/trunk/; revision=679
      a3cffa13
  27. 15 Apr, 2008 1 commit
  28. 09 Apr, 2008 1 commit
    • Dan Williams's avatar
      src/connection-editor/nm-connection-list.c - (get_next_available_name): · a40102ee
      Dan Williams authored
      2008-04-09  Dan Williams  <dcbw@redhat.com>
      
      	* src/connection-editor/nm-connection-list.c
      		- (get_next_available_name): get the next available connection name
      			that's not taken
      		- (create_new_connection_for_type): create a new connection for a
      			specific device type
      		- (add_connection_cb): get a new connection for the device type that
      			this add button handles
      		- (new_connection_list, init_connection_lists): tag connection lists
      			with their device type
      
      
      svn path=/trunk/; revision=661
      a40102ee
  29. 08 Apr, 2008 1 commit
    • Dan Williams's avatar
      icons/Makefile.am icons/nm-vpn-standalone-lock.png · 1dbfe166
      Dan Williams authored
      2008-04-08  Dan Williams  <dcbw@redhat.com>
      
      	* icons/Makefile.am
      	  icons/nm-vpn-standalone-lock.png
      	  icons/nm-vpn-active-lock.png
      		- Split VPN lock icons; add 16x16 centered icon for connection editor
      
      	* icons/nm-vpn-lock.png
      		- remove
      
      	* src/applet.c
      		- (nma_icons_load): use nm-vpn-active-lock.png
      
      	* src/connection-editor/nm-connection-list.c
      		- (new_connection_list): allow NULL icon pixbuf
      		- (nm_connection_list_init): don't init stuff here because it can fail
      		- (dispose): don't dispose of stuff that's not allocated
      		- (nm_connection_list_new): init stuff here and clean up if it fails
      
      	* src/connection-editor/main.c
      		- (main): exit cleanly on init failure
      
      
      svn path=/trunk/; revision=657
      1dbfe166
  30. 03 Apr, 2008 1 commit
    • Dan Williams's avatar
      Switch keyring tagging of passwords to use the connection ID, not the · 6a89489b
      Dan Williams authored
      2008-04-03  Dan Williams  <dcbw@redhat.com>
      
      	Switch keyring tagging of passwords to use the connection ID, not the
      	connection's name, so secrets are associated with the same connection
      	across connection renames.
      
      	* src/gconf-helpers/gconf-helpers.c
      	  src/gconf-helpers/gconf-helpers.h
      		- (nm_gconf_add_keyring_item): take a connection ID argument and use
      			that when setting the keyring item, instead of using the connection
      			name
      		- (copy_one_setting_value_to_gconf, write_one_password,
      		   nm_gconf_write_connection): pass the connection ID on to
      			nm_gconf_add_keyring_item()
      		- (nm_gconf_get_keyring_items): take a connection ID argument
      
      	* src/gconf-helpers/gconf-upgrade.c
      	  src/gconf-helpers/gconf-upgrade.h
      		- (nm_gconf_migrate_0_7_keyring_items): migrate keyring items to new
      			tagging style
      		- (nm_gconf_write_0_6_connection, try_convert_leap,
      		   copy_keyring_to_8021x, nm_gconf_migrate_0_7_wireless_security): pass
      			connection ID along
      
      	* src/wireless-dialog.c
      	  src/wired-dialog.c
      	  src/vpn-properties/nm-vpn-properties.c
      	  src/connection-editor/page-wireless-security.c
      	  src/connection-editor/nm-connection-list.c
      	  src/connection-editor/nm-connection-editor.c
      	  src/applet-dbus-settings.c
      		- Get/set the connection ID based on the connection's GConf path, and
      			pass that to UI bits as appropriate
      
      	* src/wireless-security/eap-method-leap.c
      	  src/wireless-security/eap-method-leap.h
      	  src/wireless-security/eap-method-peap.c
      	  src/wireless-security/eap-method-peap.h
      	  src/wireless-security/eap-method-simple.c
      	  src/wireless-security/eap-method-simple.h
      	  src/wireless-security/eap-method-tls.c
      	  src/wireless-security/eap-method-tls.h
      	  src/wireless-security/eap-method-ttls.c
      	  src/wireless-security/eap-method-ttls.h
      	  src/wireless-security/wireless-security.c
      	  src/wireless-security/wireless-security.h
      	  src/wireless-security/ws-dynamic-wep.c
      	  src/wireless-security/ws-dynamic-wep.h
      	  src/wireless-security/ws-leap.c
      	  src/wireless-security/ws-leap.h
      	  src/wireless-security/ws-wep-key.c
      	  src/wireless-security/ws-wep-key.h
      	  src/wireless-security/ws-wpa-eap.c
      	  src/wireless-security/ws-wpa-eap.h
      	  src/wireless-security/ws-wpa-psk.c
      	  src/wireless-security/ws-wpa-psk.h
      		- Take a connection ID to the xxxx_new () functions to be passed along
      			to nm_gconf_get_keyring_items()
      
      
      svn path=/trunk/; revision=649
      6a89489b
  31. 01 Apr, 2008 1 commit
    • Dan Williams's avatar
      src/connection-editor/nm-connection-list.c - (format_last_used): move · 5160a223
      Dan Williams authored
      2008-04-01  Dan Williams  <dcbw@redhat.com>
      
      	* src/connection-editor/nm-connection-list.c
      		- (format_last_used): move above all users
      		- (get_iter_for_connection): new function; get the model and iter for
      			a specific NMConnection
      		- (add_done_cb): add the new connection to the list
      		- (edit_done_cb): update the list with the new connection name
      		- (delete_connection_cb): close any open editors when deleting a
      			connection
      
      
      svn path=/trunk/; revision=643
      5160a223