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. 24 Nov, 2008 1 commit
    • Dan Williams's avatar
      Patch from Tony Houghton <h@realh.co.uk> (bgo #455250) · d111dbbb
      Dan Williams authored
      2008-11-24  Dan Williams  <dcbw@redhat.com>
      
      	Patch from Tony Houghton <h@realh.co.uk>  (bgo #455250)
      
      	* src/applet.c
      	  src/applet.h
      		- (applet_do_notify_with_pref): add notification helper for connect/
      			disconnect messages with a "disable me" button
      		- (foo_client_state_changed_cb): add ability to disable disconnected
      			notification too
      		- (applet_do_notify): set default timeout for notifications
      
      	* src/applet-device-cdma.c
      	  src/applet-device-gsm.c
      	  src/applet-device-wifi.c
      	  src/applet-device-wired.c
      		- Use applet_do_notify_connect_state()
      
      
      svn path=/trunk/; revision=1046
      d111dbbb
  3. 07 Nov, 2008 1 commit
    • Dan Williams's avatar
      Fix bgo #505211 and harmonize tooltips · acf5aa18
      Dan Williams authored
      2008-11-07  Dan Williams  <dcbw@redhat.com>
      
      	Fix bgo #505211 and harmonize tooltips
      
      	* src/applet.c
      	  src/applet.h
      		- (nma_menu_deactivate_cb): refresh the tooltip when the menu closes,
      			since it was cleared when the menu was shown
      		- (applet_common_get_device_icon): NEED_AUTH state shouldn't just show
      			a disconnected icon; should do better here though in the future
      		- (get_tip_for_device_state): fallback tooltips if the device class
      			didn't set any
      		- (get_tip_for_vpn): VPN tips
      		- (applet_update_icon): show both default device and VPN tips
      
      	* src/applet-device-cdma.c
      	  src/applet-device-gsm.c
      	  src/applet-device-wifi.c
      	  src/applet-device-wired.c
      		- Make tooltips consistent, and emphasize the actual connection which
      			is being activated or is active
      
      
      svn path=/trunk/; revision=1013
      acf5aa18
  4. 03 Nov, 2008 1 commit
  5. 02 Nov, 2008 1 commit
    • Dan Williams's avatar
      src/applet.c src/applet.h - (find_active_device): return the active · 84908e81
      Dan Williams authored
      2008-11-02  Dan Williams  <dcbw@redhat.com>
      
      	* src/applet.c
      	  src/applet.h
      		- (find_active_device): return the active connection object instead of
      			just the active connection's specific object
      		- (applet_settings_new_secrets_requested_cb): pass the active connection
      			to the device subclasses
      
      	* src/applet-device-wired.c
      	  src/applet-device-wifi.c
      	  src/applet-device-gsm.c
      	  src/applet-device-cdma.c
      		- Attach any secrets dialogs to the active connection object, such that
      			when the active connection object goes away the dialog also gets
      			closed
      
      
      svn path=/trunk/; revision=1000
      84908e81
  6. 07 Oct, 2008 1 commit
    • Dan Williams's avatar
      src/applet-device-cdma.c src/applet-device-gsm.c src/applet-device-wifi.c · 6ce8e71f
      Dan Williams authored
      2008-10-06  Dan Williams  <dcbw@redhat.com>
      
      	* src/applet-device-cdma.c
      	  src/applet-device-gsm.c
      	  src/applet-device-wifi.c
      	  src/applet-device-wired.c
      		- (*_get_icon): use the active connection for more information in the
      			tooltip
      
      	* src/applet.c
      	  src/applet.h
      		- (applet_get_device_icon_for_state): pass active connection through
      			to the get_icon device class handler
      
      
      svn path=/trunk/; revision=932
      6ce8e71f
  7. 02 Oct, 2008 1 commit
    • Dan Williams's avatar
      src/applet.c src/applet.h - (foo_device_added_cb, · 5af0cfac
      Dan Williams authored
      2008-10-02  Dan Williams  <dcbw@redhat.com>
      
      	* src/applet.c
      	  src/applet.h
      		- (foo_device_added_cb, foo_device_state_changed_cb): use the state-changed
      			signal rather than property notification so that old state and the
      			reason for the state change can be used as well
      
      	* src/applet-device-gsm.c
      	  src/applet-device-wifi.c
      	  src/applet-device-cdma.c
      	  src/applet-device-wired.c
      		- Update device state changed handler functions for these changes
      
      
      svn path=/trunk/; revision=920
      5af0cfac
  8. 05 Sep, 2008 1 commit
    • Dan Williams's avatar
      Fix an NMAccessPoint leak due to erroneous handling of the active AP and · dcf3d723
      Dan Williams authored
      2008-09-05  Dan Williams  <dcbw@redhat.com>
      
      	Fix an NMAccessPoint leak due to erroneous handling of the active AP and
      	reference counts, and actually track signal strength for the active AP when
      	it changes.
      
      	* src/applet.h
      		- Remove global "current_ap" since each wifi device has its own active AP
      
      	* src/applet-device-wifi.c
      		- (update_active_ap): new function; update internal idea of the current
      			active AP for the device and attach signal strength handler.
      			Instead of holding references to the active AP like before (when
      			the code was in wireless_device_state_changed()), just tag the device
      			with the AP object.  The reference was useless since its only purpose
      			was to keep the AP object around for monitoring strength, but the
      			strength monitor won't be triggered any more when the AP is disposed
      			anyway.
      		- (wireless_device_state_changed): move active AP code to
      			update_active_ap()
      		- (wireless_get_icon): get active AP off the device, not the removed
      			global "current_ap"
      		- (wireless_device_added, access_point_removed_cb): be sure to clean up
      			when an active AP goes away
      		- (notify_active_ap_changed_cb): make sure signal strength monitoring
      			and applet icon state tracks the active access point.  Previously,
      			changes of the active access point would just be ignored because
      			it wasn't updated here.
      
      
      svn path=/trunk/; revision=878
      dcf3d723
  9. 08 Jul, 2008 1 commit
  10. 01 Jul, 2008 1 commit
    • Dan Williams's avatar
      src/applet.c src/applet.h - (applet_settings_new_secrets_requested_cb): · edad1cd7
      Dan Williams authored
      2008-07-01  Dan Williams <dcbw@redhat.com>
      
      	* src/applet.c
      	  src/applet.h
      		- (applet_settings_new_secrets_requested_cb): pass hints to device
      			subclass
      
      	* src/applet-device-wifi.c
      	  src/applet-device-wired.c
      		- (wireless_get_secrets, wired_get_secrets): update for 'hints' argument
      
      	* src/applet-device-gsm.c
      		- (gsm_get_secrets): use hints to determine which secret (PIN, PUK, or
      			PPP password) NM is requesting
      		- (ask_for_password): ask for PPP password when required
      		- (ask_for_pin_puk): handle PUK too
      		- (get_gsm_secrets_cb): handle all of PIN, PUK, and PPP password
      
      	* src/applet-device-cdma.c
      		- (cdma_get_secrets, ask_for_password, get_cdma_secrets_cb): handle PPP
      			passwords
      
      
      svn path=/trunk/; revision=773
      edad1cd7
  11. 26 Jun, 2008 1 commit
  12. 10 Jun, 2008 1 commit
  13. 06 Jun, 2008 2 commits
    • Dan Williams's avatar
      src/applet.c src/applet.h - (applet_do_notify): add action support · 0246cfba
      Dan Williams authored
      2008-06-05  Dan Williams  <dcbw@redhat.com>
      
      	* src/applet.c
      	  src/applet.h
      		- (applet_do_notify): add action support
      
      	* src/applet-device-wireless.c
      		- (wifi_available_dont_show_cb): suppress notification of APs when the
      			user says so
      		- (idle_check_avail_access_point_notification): add suppression action
      		- (queue_avail_access_point_notification): don't show the notificiation
      			if it's suppressed
      
      	* src/applet-device-gsm.c
      	  src/applet-device-cdma.c
      	  src/applet-device-wired.c
      	  src/applet.c
      		- Fix for applet_do_notify() changes
      
      
      svn path=/trunk/; revision=744
      0246cfba
    • Dan Williams's avatar
      Patch from Colin Walters <walters@verbum.org> (gnome.org #534427) · 57db3b55
      Dan Williams authored
      2008-06-05  Dan Williams  <dcbw@redhat.com>
      
      	Patch from Colin Walters <walters@verbum.org>  (gnome.org #534427)
      
      	* src/applet.c
      	  src/applet.h
      		- (applet_get_settings): add accessor for settings object
      
      	* src/applet-device-wireless.c
      		- Notify the user about available wireless networks if there is no
      			connection and there aren't any matching saved networks
      
      
      svn path=/trunk/; revision=743
      57db3b55
  14. 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
  15. 08 Apr, 2008 1 commit
  16. 26 Mar, 2008 1 commit
  17. 24 Mar, 2008 1 commit
  18. 20 Feb, 2008 1 commit
  19. 24 Jan, 2008 1 commit
    • Dan Williams's avatar
      Fix gnome.org #505899 · c5e87c01
      Dan Williams authored
      2008-01-24  Dan Williams  <dcbw@redhat.com>
      
      	Fix gnome.org #505899
      
      	* src/applet.c
      	  src/applet.h
      		- (applet_find_active_connection_for_device): make public
      
      	* src/applet-dialogs.c
      		- (info_dialog_get_label): remove; use glade_xml_get_widget() instead
      		- (set_eap_info_label): handle label creation for 802.1x and WPA
      			Enterprise connections
      		- (info_dialog_update): add a "Security" label that shows the security
      			in use (wireless only for now); also hide the "Secondary DNS" label
      			if there's only one DNS server.  Use glade_xml_get_widget() instead
      			of info_dialog_get_label().
      		- (applet_info_dialog_show): get the active connection for the active
      			device and pass that on
      
      
      svn path=/trunk/; revision=474
      c5e87c01
  20. 21 Jan, 2008 1 commit
    • Dan Williams's avatar
      src/applet-device-gsm.c - (gsm_new_auto_connection): actually add the GSM · 2505acda
      Dan Williams authored
      2008-01-21  Dan Williams  <dcbw@redhat.com>
      
      	* src/applet-device-gsm.c
      		- (gsm_new_auto_connection): actually add the GSM setting to the
      			connection object so it's valid
      		- (gsm_get_icon): use wwan_icon member
      
      	* src/applet.c
      	  src/applet.h
      		- (get_device_class): handle CDMA mobile broadband cards
      		- (applet_menu_item_activate_helper): remove wrong check for connection
      			!= NULL; if the connectoin is NULL then a default one should be
      			created instead
      		- (sort_devices): ethernet first, GSM second, CDMA third, wireless fourth
      		- (nma_icons_free, nma_icons_load, constructor): gsm_icon -> wwan_icon
      
      	* src/utils/utils.c
      		- (connection_valid_for_cdma): new function
      		- (utils_connection_valid_for_device): handle CDMA mobile broadband cards
      
      	* src/applet-device-cdma.c
      	  src/applet-device-cdma.h
      	  src/Makefile.am
      		- Add CDMA mobile broadband card support
      
      
      svn path=/trunk/; revision=467
      2505acda
  21. 19 Jan, 2008 1 commit
    • Dan Williams's avatar
      src/applet-device-gsm.c - (add_connection_items): new function; add each · 8cd99e32
      Dan Williams authored
      2008-01-19  Dan Williams  <dcbw@redhat.com>
      
      	* src/applet-device-gsm.c
      		- (add_connection_items): new function; add each applicable connection
      			as a menu item
      		- (gsm_add_menu_item): when more than one connection applies, add each
      			one as a menu item; when <= 1 apply, add the device as an active
      			menu item; when multiple subitems are present, make the parent menu
      			item text gray
      
      	* src/applet-device-wireless.c
      		- (add_new_ap_item): fix crash assigning a conneciton to the menu item
      		- (add_one_ap_menu_item): pass active connection down too
      		- (label_expose): remove
      		- (wireless_add_menu_item): when multiple subitems are present, make the
      			parent menu item text gray
      
      	* src/applet-device-wired.c
      		- (add_connection_items): new function; add each applicable connection
      			as a menu item
      		- (gsm_add_menu_item): when more than one connection applies, add each
      			one as a menu item; when <= 1 apply, add the device as an active
      			menu item; when multiple subitems are present, make the parent menu
      			item text gray
      
      	* src/applet.c
      	  src/applet.h
      		- (find_active_connection_for_device): new function; given a device,
      			if the device is active or activating, find it's NMConnection
      		- (nma_menu_add_devices): find the active connection for the device,
      			and pass that to the device class' add_menu_item() handler
      
      
      svn path=/trunk/; revision=463
      8cd99e32
  22. 18 Jan, 2008 1 commit
    • Dan Williams's avatar
      src/utils/utils.c src/utils/utils.h - (utils_check_ap_compatible): make · 13a2719f
      Dan Williams authored
      2008-01-18  Dan Williams  <dcbw@redhat.com>
      
      	* src/utils/utils.c
      	  src/utils/utils.h
      		- (utils_check_ap_compatible): make static; only used from utils.c now
      		- (connection_valid_for_wireless): if an AP is provided, check
      			compability of that first before doing device capability comparisons
      
      	* src/applet-dbus-settings.c
      	  src/applet-dbus-settings.h
      		- Rename applet_dbus_settings_get_by_dbus_path() -> 
      			applet_dbus_settings_user_get_by_dbus_path()
      		- (applet_dbus_settings_system_get_dbus_path): new function; return
      			a system NMConnection object from it's D-Bus path
      		- Rename applet_dbus_settings_get_by_connection() ->
      			applet_dbus_settings_user_get_by_connection()
      		- Rename applet_dbus_settings_add_connection() ->
      			applet_dbus_settings_user_add_connection()
      
      	* src/applet.c
      	  src/applet.h
      		- Remove the connection_filter() virtual function from NMADeviceClass,
      			it's no longer needed
      		- (applet_menu_item_activate_helper): take an NMConnection argument
      			for the connection to activate.  If this argument is NULL, then
      			create a new default connection for the object.  Handle system
      			connections too when calling nm_client_activate_device()
      
      	* src/applet-device-wired.c
      		- (wired_connection_filter): remove
      		- (wired_menu_item_activate): pass connection to
      			applet_menu_item_activate_helper()
      		- (wired_add_menu_item): get all connections valid for the device,
      			and construct the connection sub-menu if there are more than one.
      			Each menu item now keeps its applicable connection object around
      			to pass to applet_menu_item_activate_helper().
      
      	* src/applet-device-gsm.c
      		- (gsm_connection_filter): remove
      		- (gsm_menu_item_activate): pass connection to
      			applet_menu_item_activate_helper()
      		- (gsm_add_menu_item): get all connections valid for the device,
      			and construct the connection sub-menu if there are more than one.
      			Each menu item now keeps its applicable connection object around
      			to pass to applet_menu_item_activate_helper().
      
      	* src/applet-device-wireless.c
      		- (wireless_connection_filter): remove
      		- (wireless_menu_item_activate): pass connection to
      			applet_menu_item_activate_helper()
      		- (wireless_add_menu_item): filter all connections for the ones that
      			apply to this device and pass that on to the real menu construction
      			functions
      		- (add_one_ap_menu_item): do new menu item construction elsewhere
      		- (add_new_ap_item): get all connections valid for the device and the
      			access point tied to this menu item, and construct the connection
      			sub-menu if there are more than one. Each menu item now keeps its
      			applicable connection object around to pass to
      			applet_menu_item_activate_helper()
      
      
      svn path=/trunk/; revision=461
      13a2719f
  23. 15 Jan, 2008 1 commit
    • Dan Williams's avatar
      src/applet.c src/applet.h - Refactor device handling into lightweight · f2ef9e15
      Dan Williams authored
      2008-01-15  Dan Williams  <dcbw@redhat.com>
      
      	* src/applet.c
      	  src/applet.h
      		- Refactor device handling into lightweight "classes", one for each
      			device, to focus applet.c more on state handling and general UI
      			issues rather than a pile of device-specific code
      
      	* src/menu-items.c
      	  src/menu-items.h
      		- Removed; though NMNetworkMenuItem was moved to ap-menu-item.c
      
      	* src/ap-menu-item.c
      	  src/ap-menu-item.h
      		- New files; NMNetworkMenuItem moved here from menu-items.c
      
      	* src/applet-device-gsm.c
      	  src/applet-device-gsm.h
      	  src/applet-device-wireless.c
      	  src/applet-device-wireless.h
      	  src/applet-device-wired.c
      	  src/applet-device-wired.h
      		- Implement the lightweight "classes" for each device type and move over
      			the corresponding code from applet.c and menu-items.c
      
      
      svn path=/trunk/; revision=449
      f2ef9e15
  24. 14 Jan, 2008 1 commit
  25. 13 Jan, 2008 1 commit
    • Dan Williams's avatar
      src/applet-dialogs.h src/applet-dialogs.c - New files; move info and about · 061ba16d
      Dan Williams authored
      2008-01-11  Dan Williams  <dcbw@redhat.com>
      
      	* src/applet-dialogs.h
      	  src/applet-dialogs.c
      		- New files; move info and about dialog stuff here
      
      	* src/Makefile.am
      	  po/POTFILES.in
      		- Add applet-dialogs.c, applet-dialogs.h
      
      	* src/applet.c
      	  src/applet.h
      	  src/wireless-dialog.c
      		- Updates for split out dialogs stuff
      
      
      svn path=/trunk/; revision=443
      061ba16d
  26. 11 Jan, 2008 1 commit
    • Dan Williams's avatar
      Require GTK+ 2.10 or higher and libnotify 0.4.3 or higher. · ab32218a
      Dan Williams authored
      2008-01-11  Dan Williams  <dcbw@redhat.com>
      
      	Require GTK+ 2.10 or higher and libnotify 0.4.3 or higher.
      
      	* src/vpn-properties/Makefile.am
      	  src/Makefile.am
      		- Remove pre-GTK+ 2.10 bits
      
      	* configure.ac
      		- Require GTK+ 2.10 or higher
      		- Require libnotify 0.4.3 or higher
      
      	* src/applet.h
      	  src/applet.c
      		- Unconditionalize libnotify support
      		- Delete pre-GTK+ 2.10 code
      		- Remove some unused variables like 'is_adhoc' and 'top_menu_item'
      		- Rename nma_send_event_notification() -> applet_do_notify()
      
      	* src/eggtrayicon.c
      	  src/eggtrayicon.h
      	  COPYING.LIB
      	  po/POTFILES.in
      		- Remove eggtrayicon; no longer used
      
      
      svn path=/trunk/; revision=440
      ab32218a
  27. 10 Dec, 2007 1 commit
  28. 29 Nov, 2007 1 commit
    • Tambet Ingo's avatar
      Handle UMTS setting. (new_auto_umts_setting): Implement. · 0a61a2c2
      Tambet Ingo authored
      2007-11-29  Tambet Ingo  <tambet@gmail.com>
      
              * src/applet.c (find_connection): Handle UMTS setting.
              (new_auto_umts_setting): Implement.
              (new_auto_connection): Handle UMTS device.
              (nma_menu_add_device_item): Ditto.
              (foo_device_state_changed): Ditto.
              (foo_umts_state_change): Implement.
              (nma_icons_free): Free UMTS device icon.
              (nma_icons_load_from_disk): Load UMTS device icon. For now, use
      the adhoc icon.
      
              * src/menu-items.c (umts_menu_item_new): Implement.
      
              * src/gconf-helpers/gconf-helpers.c
              * (read_one_setting_value_from_gconf): Handle
              int and char types as well.
              (copy_one_setting_value_to_gconf): Ditto.
      
      
      
      svn path=/trunk/; revision=369
      0a61a2c2
  29. 05 Nov, 2007 1 commit
  30. 12 Oct, 2007 1 commit
  31. 09 Oct, 2007 1 commit
    • Tambet Ingo's avatar
      Now with 100% less compiler warnings! · 146e4e86
      Tambet Ingo authored
      2007-10-09  Tambet Ingo  <tambet@gmail.com>
      
              Now with 100% less compiler warnings!
      
              * src/gconf-helpers/gconf-helpers.c
              * (read_one_setting_value_from_gconf): Remove
              a compiler warning for trying to store int value to uint
      variable. Add a runtime
              warning if a negative value is casted to unsigned integer.
      
              * src/password-dialog.c (nma_wpa_passphrase_to_hex): Cast the
              * bssid data to char.
      
              * src/nm-utils.[ch]: Remove, it's part of libnm-utils.
      
              * src/vpn-connection-info.c: Use gconf_entry_unref() instead of
              * deprecated
              gconf_entry_free().
      
              * src/menu-items.c (nm_network_menu_item_class_dispose): Remove
              * an unused variable.
      
              * src/applet-dbus-settings.c: Include "vpn-password-dialog.h".
              (applet_dbus_connection_settings_new_from_connection): Remove a
      typo.
      
              * src/applet.c: Use (gtk_menu_item_remove_submenu) only for gtk+
              * versions lower
              than 2.12.0 and (gtk_menu_item_set_submenu) for higher versions
      as it is deprecated
              now.
              (show_vpn_state): Use a "default" label in switch to avoid
      compiler warnings.
              (nma_menu_disconnect_vpn_item_activate): Remove unused
      variables.
              (foo_device_state_changed_cb): Ditto.
              (ap_hash): Return unsigned char string.
              (nma_menu_device_add_access_points): Remove an unused variable.
              (get_connection_settings_for_device): Ditto.
              (notify_active_ap_changed_cb): Ditto.
      
              * src/vpn-properties/nm-vpn-properties.c
              * (vpn_druid_vpn_details_page_next): Hide if
              the gtk version is at least 2.10.0.
      
              * src/gconf-helpers/gconf-helpers.c
              * (copy_one_setting_value_to_gconf):
              Fix a typo: the printf string for guint64 is "%llu", not "%ull".
      
              * src/applet.c (nma_is_empty_ssid): Remove, use it from
              * libnm-utils.
              (nma_escape_ssid): Ditto.
              (nm_utils_same_ssid): Ditto.
      
      
      svn path=/trunk/; revision=235
      146e4e86
  32. 05 Oct, 2007 1 commit
    • Dan Williams's avatar
      src/applet.c src/applet.h - (foo_bssid_strength_changed): don't access the · 163bd82e
      Dan Williams authored
      2007-10-05  Dan Williams  <dcbw@redhat.com>
      
      	* src/applet.c
      	  src/applet.h
      		- (foo_bssid_strength_changed): don't access the property directly,
      			use the wrapper so that strength will get updated from D-Bus
      			if needed
      		- (foo_wireless_state_change): clean up periodic strength update code
      
      
      svn path=/trunk/; revision=224
      163bd82e
  33. 04 Oct, 2007 1 commit
  34. 03 Oct, 2007 1 commit
    • Dan Williams's avatar
      src/applet.c src/applet.h - (get_first_active_device): use active · e62b4fd1
      Dan Williams authored
      2007-10-03  Dan Williams  <dcbw@redhat.com>
      
      	* src/applet.c
      	  src/applet.h
      		- (get_first_active_device): use active connection list now
      		- (nma_menu_device_add_networks, nma_add_networks_helper): don't depend
      			on only the active SSID, use the active connection to find out what
      			AP should be marked in the menu
      		- (clear_active_connections, foo_device_state_changed): update active
      			connections when a device's state changes
      		- (foo_client_state_change): clear active connections when NM goes away
      		- (void nma_finalize): clear active connections on quit
      
      
      svn path=/trunk/; revision=216
      e62b4fd1
  35. 21 Sep, 2007 1 commit
  36. 20 Sep, 2007 2 commits
    • Dan Williams's avatar
      Warning and distcheck fixes · caea7118
      Dan Williams authored
      svn path=/trunk/; revision=184
      caea7118
    • Dan Williams's avatar
      src/gconf-helpers/gconf-helpers.h src/gconf-helpers/gconf-helpers.c · 03f781fc
      Dan Williams authored
      2007-09-20  Dan Williams <dcbw@redhat.com>
      
      	* src/gconf-helpers/gconf-helpers.h
      	  src/gconf-helpers/gconf-helpers.c
      	  src/gconf-helpers/Makefile.am
      	  src/connection-editor/Makefile.am
      	  src/Makefile.am
      	  configure.ac
      		- Move gconf helpers into their own directory and make them a libtool
      			library so that both the applet and the connection tool can use them
      		- (nm_gconf_read_connection): new function, move bits from
      			applet-dbus-settings.c that parse NMConnections from GConf
      
      	* src/connection-editor/nm-connection-list.c
      	  src/connection-editor/nm-connection-list.h
      		- (hash_add_connection_to_list): ensure list is terminated when adding
      			connection to list store
      		- (load_connections): new function; read connection from GConf
      		- (nm_connection_list_init): call load_connections(), add a cell renderer
      			to the tree view widget so that connections are displayed in the list
      
      	* src/applet-dbus-settings.c
      		- (read_one_setting_value_from_gconf, read_connection_from_gconf): move
      			to gconf-helpers/gconf-helpers.c
      		- (connection_settings_changed_cb, applet_dbus_connection_settings_new):
      			use gconf-helpers implementations for reading connection from GConf
      
      
      svn path=/trunk/; revision=173
      03f781fc
  37. 19 Sep, 2007 1 commit
    • 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
  38. 15 Sep, 2007 1 commit