1. 26 Jun, 2008 1 commit
  2. 20 Jun, 2008 1 commit
    • 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
  3. 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
  4. 01 Apr, 2008 1 commit
    • Dan Williams's avatar
      src/connection-editor/main.c - exit cleanly - (main): init gettext stuff; · 0d0c47c6
      Dan Williams authored
      2008-04-01  Dan Williams  <dcbw@redhat.com>
      
      	* src/connection-editor/main.c
      		- exit cleanly
      		- (main): init gettext stuff; connection list is no longer modal
      
      	* src/connection-editor/page-wireless.c
      		- (ce_page_wireless_new): validate on SSID change
      
      	* src/connection-editor/nm-connection-list.c
      	  src/connection-editor/nm-connection-list.h
      		- (add_connection_cb, edit_connection_cb, connection_double_clicked_cb):
      			allow multiple connection editors
      		- (nm_connection_list_run): new function; no longer modal so must
      			monitor response from dialog and re-emit for listeners
      
      	* src/connection-editor/nm-connection-editor.c
      	  src/connection-editor/nm-connection-editor.h
      		- (connection_editor_validate): new function; perform validation of the
      			entire connection and set OK button accordingly
      		- (connection_name_changed): revalidate when name changes
      		- (nm_connection_editor_new): need a GConfClient and a GConf path
      			to be able to save an existing connection
      		- (page_changed): do complete validation if a page changes
      		- (connection_editor_update_connection): save a connection back to
      			GConf
      		- (nm_connection_editor_run): no longer modal; so set up signals to
      			monitor response from dialog, save connection as appropriate, and
      			re-emit for listeners
      
      
      svn path=/trunk/; revision=640
      0d0c47c6
  5. 26 Mar, 2008 1 commit
    • Dan Williams's avatar
      Patch from Tambet Ingo <tambet@gmail.com> · 8ef846c0
      Dan Williams authored
      2008-03-26  Dan Williams  <dcbw@redhat.com>
      
      	Patch from Tambet Ingo <tambet@gmail.com>
      
      	* src/connection-editor/ce-page.[ch]: Add a "changed" signal so that the pages
      	can tell when they change and the connection editor to notice it.
      
      	* src/connection-editor/nm-connection-editor.c: Listen to the CEPage::changed
      	signals, validate them, and update the dialog's "OK" button's sensitivity
      	accordingly.
      	(nm_connection_editor_run_and_close): Update the connection by iterating over
      	all pages and letting each update their own part.
      
      	* src/connection-editor/page-*.c: Add a stub for required "update_connection"
      	virtual function.
      
      	* src/connection-editor/page-wireless-security.c (ce_page_wireless_security_new):
      	Fix a bug where the default wireless combo box would always be the first item.
      	Don't take the "ok_button" argument, it's handled by the framework now.
      	(validate): Implement.
      
      
      svn path=/trunk/; revision=615
      8ef846c0
  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
      	  connection-editor/ce-page.c
      	  connection-editor/ce-page.h
      		- Add the base CEPage class from which all other connection editor pages
      			derive
      
      	* connection-editor/page-ip4-address.c
      	  connection-editor/page-ip4-address.h
      	  connection-editor/page-ip4.c
      	  connection-editor/page-ip4.h
      	  connection-editor/page-wired.c
      	  connection-editor/page-wired.h
      	  connection-editor/page-wireless-security.c
      	  connection-editor/page-wireless-security.h
      	  connection-editor/page-wireless.c
      	  connection-editor/page-wireless.h
      		- Make each page a subclass of CEPage
      
      	* connection-editor/nm-connection-editor.c
      	  connection-editor/nm-connection-editor.h
      		- Update for these changes; handle CEPage objects instead of just
      			GtkWidgets
      
      
      svn path=/trunk/; revision=561
      e37f298d
  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
      	  src/connection-editor/page-wired.h
      	  src/connection-editor/ce-page-wired.glade
      		- Split wired bits out
      
      	* src/connection-editor/page-wireless.c
      	  src/connection-editor/page-wireless.h
      	  src/connection-editor/ce-page-wireless.glade
      		- Split wireless bits out
      
      	* src/connection-editor/page-wireless-security.c
      	  src/connection-editor/page-wireless-security.h
      		- Split wireless security bits out
      
      	* src/connection-editor/page-ip4-address.c
      	  src/connection-editor/page-ip4-address.h
      	  src/connection-editor/ce-page-ip4-address.glade
      		- Split IPv4 address bits out
      
      	* src/connection-editor/page-ip4.c
      	  src/connection-editor/page-ip4.h
      	  src/connection-editor/ce-page-ip4.glade
      		- Split IPv4 DNS & search domain bits out
      
      	* src/connection-editor/nm-connection-editor.c
      	  src/connection-editor/nm-connection-editor.h
      	  src/connection-editor/nm-connection-editor.glade
      		- Move all the settings pages to their own sources and glade files
      
      
      svn path=/trunk/; revision=485
      135eebb3
  8. 31 Dec, 2007 1 commit
    • Dan Williams's avatar
      src/connection-editor/nm-connection-editor.glade · 6abf0fd1
      Dan Williams authored
      2007-12-31  Dan Williams  <dcbw@redhat.com>
      
      	* src/connection-editor/nm-connection-editor.glade
      	  src/connection-editor/nm-connection-editor.c
      	  src/connection-editor/nm-connection-editor.h
      		- Hook wireless security widgets up 	
      
      
      svn path=/trunk/; revision=425
      6abf0fd1
  9. 25 Dec, 2007 1 commit
    • Dan Williams's avatar
      src/connection-editor/Makefile.am - Include utils for channel<->frequency · 05f26c1f
      Dan Williams authored
      2007-12-24  Dan Williams  <dcbw@redhat.com>
      
      	* src/connection-editor/Makefile.am
      		- Include utils for channel<->frequency conversion functions
      
      	* src/utils/utils.c
      	  src/utils/utils.h
      		- (utils_freq_to_channel, utils_channel_to_freq, utils_find_next_channel):
      			add channel<->frequency conversion and helper functions
      
      	* src/connection-editor/nm-connection-editor.glade
      		- Fix connection editor pages so they are editable in Glade
      
      	* src/connection-editor/nm-connection-editor.c
      	  src/connection-editor/nm-connection-editor.h
      		- Fix up page handling; the connection editor object, when calling
      			glade_xml_new(), must not allow Glade to parse and construct the
      			connection _list_ dialog box; otherwise when the connection editor
      			object gets destroyed it'll destroy the cached copy of the connection
      			list object too, resulting in badness.
      		- Make spinbuttons show 'default' when the value is the default value
      		- Make the Channel spinbutton snap to the correct next channel when
      			it's changed, and disable it when the Band option is 'default'
      
      
      svn path=/trunk/; revision=412
      05f26c1f
  10. 22 Dec, 2007 1 commit
    • Dan Williams's avatar
      src/connection-editor/main.c src/connection-editor/nm-connection-editor.c · 7d4e4261
      Dan Williams authored
      2007-12-22  Dan Williams  <dcbw@redhat.com>
      
      	* src/connection-editor/main.c
      	  src/connection-editor/nm-connection-editor.c
      	  src/connection-editor/nm-connection-editor.h
      	  src/connection-editor/nm-connection-editor.glade
      	  src/connection-editor/nm-connection-list.c
      	  src/connection-editor/nm-connection-list.h
      		- Start cleaning up the connection editor
      
      
      svn path=/trunk/; revision=409
      7d4e4261
  11. 19 Sep, 2007 3 commits
    • Rodrigo Moya's avatar
      added 'Edit Connections...' item to the context menu. · 3a424b1a
      Rodrigo Moya authored
      2007-09-20  Rodrigo Moya <rodrigo@gnome-db.org>
      
      	* src/applet.c (nma_context_menu_create): added 'Edit Connections...'
      	item to the context menu.
      	(nma_edit_connections_cb): added callback for the menu item.
      
      	* src/Makefile.am: added really connection-editor to the build and
      	added connection editor "widgets" to the applet's SOURCES.
      
      	* src/connection-editor/nm-connection-editor.glade: fixed typo.
      
      	* src/connection-editor/nm-connection-editor.[ch]:
      	(nm_connection_editor_show, nm_connection_editor_run_and_close): new
      	functions to make it easier to manage the underlying dialog (maybe this
      	should be a GtkDialog-based class?)
      	(nm_connection_editor_init): keep a reference to the dialog also.
      	(nm_connection_editor_finalize): destroy the dialog.
      	(dialog_response_cb): don't exit the main loop, just hide the dialog.
      
      	* src/connection-editor/nm-connection-list.[ch]:
      	(edit_connection_cb): fixed call to gtk_tree_view_get_selected_rows().
      	(nm_connection_list_show, nm_connection_list_run_and_close,
      	nm_connection_list_init, nm_connection_list_finalize, dialog_response_cb):
      	same as in nm-connection-editor.[ch].
      
      	* src/connection-editor/main.c (main): added missing argument to
      	nm_connection_editor_new().
      
      svn path=/trunk/; revision=171
      3a424b1a
    • Rodrigo Moya's avatar
      added flags for pages. · 23b7ffa6
      Rodrigo Moya authored
      2007-09-20  Rodrigo Moya <rodrigo@gnome-db.org>
      
      	* src/connection-editor/nm-connection-editor.h: added flags for pages.
      	
      	* src/connection-editor/nm-connection-editor.c
      	(nm_connection_editor_set_connection): use g_object_unref for
      	destroying the NMConnection.
      	(nm_connection_editor_new): added flags argument.
      
      	* src/connection-editor/nm-connection-list.[ch]:
      	* src/connection-editor/nm-connection-editor.glade: added connection
      	list dialog.
      
      svn path=/trunk/; revision=169
      23b7ffa6
    • 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
      e6ba6380