network-manager-applet r220 - in trunk: . src
- From: dcbw svn gnome org
- To: svn-commits-list gnome org
- Subject: network-manager-applet r220 - in trunk: . src
- Date: Thu, 4 Oct 2007 15:21:20 +0100 (BST)
Author: dcbw
Date: 2007-10-04 15:21:19 +0100 (Thu, 04 Oct 2007)
New Revision: 220
ViewCVS link: http://svn.gnome.org/viewcvs/network-manager-applet?rev=220&view=rev
Modified:
trunk/ChangeLog
trunk/src/applet-dbus-settings.c
trunk/src/applet-dbus-settings.h
Log:
2007-10-04 Dan Williams <dcbw redhat com>
* src/applet-dbus-settings.h
src/applet-dbus-settings.c
- (applet_dbus_connection_settings_save): new function; write a
connection to GConf
- (applet_dbus_settings_init): listen to GConf key changes for the
entire connections directory, not each connection's own directory.
Lets the applet get notifications when connections are removed or
added.
- (applet_dbus_settings_finalize): clean up GConf notifiers
- (connections_changed_cb): handle connection additions, deletions,
and changes
- (applet_dbus_settings_get_by_gconf_path): new function
- (applet_dbus_connection_settings_finalize): no longer clean up GConf
stuff here
- (applet_dbus_connection_settings_changed): renamed from
connection_settings_changed_cb(), and validate the connection after
re-reading it from GConf and return FALSE if the connection is no
longer valid (and emit the Removed signal for the connection)
- (applet_dbus_connection_settings_new): verify connection that was
just read from GConf and return NULL if it's invalid
- (applet_dbus_connection_settings_save): write an updated connection
to GConf
- (applet_dbus_connection_settings_new_from_connection): verify the
connection that is passed in before using it
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]