1. 02 Oct, 2009 1 commit
    • Dan Williams's avatar
      editor: fix secrets requests after 78b7101d · 6878f634
      Dan Williams authored
      After 78b7101d, the page's connection
      would of course be the duplicated connection which is a plain
      NMConnection that user edits are done on.  THat of course doesn't
      implement NMSettingsConnectionInterface, and thus can't respond to
      requests for secrets.
      Instead, we have the CEPage subclasses for each setting type pass back
      the name of the setting they want secrets for, if they need secrets,
      and let the editor ask for the secrets since it has the original
      connection which usually implements NMSettingsConnectionInterface.
      By moving the addition of the page's GtkWidget to after page
      initialization, we also fix system VPN connections, which were broken
      because the VPN page's plugin-provided widget is only valid after
      the page is initialized, but the editor expected it to be valid
      right after requesting secrets.  In the case of system secrets, the
      request is over D-Bus and is async, which meant that the call would
      complete and the page would initalize long after the connection editor
      had tried to add the page to the UI.
  2. 03 Apr, 2009 1 commit
    • Dan Williams's avatar
      Ensure PolicyKit autorization before editing system connections, and · 90e6e250
      Dan Williams authored
      2009-04-03  Dan Williams  <dcbw@redhat.com>
      	* Ensure PolicyKit autorization before editing system connections, and
      		request secrets from the system settings service for system connections.
      		This requires splitting each CEPage subclass's *_new() method into
      		two parts, the first doing minimal setup, and the second filling in
      		the UI with details from the backing NMConnection.  Between the first
      		and second parts, if required, secrets are requested from the system
      		settings service using PolicyKit.  As a bonus, actually handle errors
      		instead of dropping them on the floor.
      svn path=/trunk/; revision=1244
  3. 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
  4. 26 Jun, 2008 1 commit
  5. 15 Apr, 2008 1 commit
    • Tambet Ingo's avatar
      Use nm_setting_duplicate() instead of hashing the setting first and then · 12c36d57
      Tambet Ingo authored
          2008-04-15  Tambet Ingo  <tambet@gmail.com>
          	* src/connection-editor/page-wireless.c (ce_page_wireless_new):
          	* src/connection-editor/page-wired.c (ce_page_wired_new):
          	* src/connection-editor/page-mobile.c (ce_page_mobile_new):
          	* src/connection-editor/page-ip4.c (ce_page_ip4_new):
          	* src/connection-editor/page-dsl.c (ce_page_dsl_new): Use
          	nm_setting_duplicate() instead of hashing the setting first and then
          	creating a new setting out of the hash. In addition to being annoying
          	to do, it also missed non-serializable properties in the duplicate.
          2008-04-15  Tambet Ingo  <tambet@gmail.com>
          	* src/connection-editor/page-wired-security.[ch]: Implement.
          	* src/connection-editor/nm-connection-editor.c
          	(nm_connection_editor_set_connection): Add wired security page.
          	* src/connection-editor/Makefile.am: Build new files.
          	* src/wireless-security/wireless-security.c
          	(ws_802_1x_auth_combo_init): Don't require a wireless security setting,
          	makes it preselect the correct EAP method for wired security as well.
          	* src/gconf-helpers/gconf-helpers.c (remove_leftovers): Implement.
          	(nm_gconf_write_connection): Remove the left over settings from GConf
          	which are not part of NMConnection anymore.
      svn path=/trunk/; revision=667
  6. 27 Feb, 2008 1 commit
    • Dan Williams's avatar
      Refactor connection editor page handling in preparation for making · e37f298d
      Dan Williams authored
      2008-02-27  Dan Williams  <dcbw@redhat.com>
      	Refactor connection editor page handling in preparation
      	for making Add/Edit work.
      	* src/connection-editor/Makefile.am
      		- Add the base CEPage class from which all other connection editor pages
      	* connection-editor/page-ip4-address.c
      		- Make each page a subclass of CEPage
      	* connection-editor/nm-connection-editor.c
      		- Update for these changes; handle CEPage objects instead of just
      svn path=/trunk/; revision=561
  7. 28 Jan, 2008 1 commit
    • Dan Williams's avatar
      po/POTFILES.in - Add new translatables · 135eebb3
      Dan Williams authored
      2008-01-28  Dan Williams  <dcbw@redhat.com>
      	* po/POTFILES.in
      		- Add new translatables
      	* src/connection-editor/Makefile.am
      		- Add new pae sources and glade files
      	* src/connection-editor/page-wired.c
      		- Split wired bits out
      	* src/connection-editor/page-wireless.c
      		- Split wireless bits out
      	* src/connection-editor/page-wireless-security.c
      		- Split wireless security bits out
      	* src/connection-editor/page-ip4-address.c
      		- Split IPv4 address bits out
      	* src/connection-editor/page-ip4.c
      		- Split IPv4 DNS & search domain bits out
      	* src/connection-editor/nm-connection-editor.c
      		- Move all the settings pages to their own sources and glade files
      svn path=/trunk/; revision=485
  8. 19 Sep, 2007 1 commit
    • Rodrigo Moya's avatar
      new connection editor. · e6ba6380
      Rodrigo Moya authored
      2007-09-19  Rodrigo Moya <rodrigo@gnome-db.org>
      	* src/connection-editor: new connection editor.
      	* configure.ac: added connection editor to the build.
      svn path=/trunk/; revision=167
  9. 12 Sep, 2007 1 commit
    • Tambet Ingo's avatar
      Rewrite the VPN connection handling now that everything underneath has · 5de8a032
      Tambet Ingo authored
      2007-09-12  Tambet Ingo  <tambet@gmail.com>
              * src/applet.c: Rewrite the VPN connection handling now that
              * everything
              underneath has changed.
              * src/vpn-properties/nm-vpn-ui-interface.h: Convert properties
              * to hash tables
              * src/vpn-properties/nm-vpn-properties.c: Create properties hash
              * tables instead
              of GSLists.
              * src/vpn-password-dialog.c: Passwords are now dictionary items.
              * Use odd strings
              from the helper output as keys, even keys for values.
              * src/vpn-connection-info.[ch]: Implement.
      svn path=/trunk/; revision=150
  10. 02 Feb, 2007 1 commit