mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-01 00:58:00 +02:00
2006-04-20 Robert Love <rml@novell.com>
* gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is not set. Just return zero. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1697 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
eae1b63a1c
commit
84b973fd59
2 changed files with 8 additions and 7 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2006-04-20 Robert Love <rml@novell.com>
|
||||
|
||||
* gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
|
||||
not set. Just return zero.
|
||||
|
||||
2006-04-20 Robert Love <rml@novell.com>
|
||||
|
||||
* gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
|
||||
|
|
|
|||
|
|
@ -386,7 +386,7 @@ nmi_dbus_get_network_properties (DBusConnection *connection,
|
|||
DBusMessage *message,
|
||||
void *user_data)
|
||||
{
|
||||
NMApplet * applet = (NMApplet *) user_data;
|
||||
NMApplet * applet = (NMApplet *) user_data;
|
||||
DBusMessage * reply = NULL;
|
||||
gchar * gconf_key = NULL;
|
||||
char * network = NULL;
|
||||
|
|
@ -431,13 +431,9 @@ nmi_dbus_get_network_properties (DBusConnection *connection,
|
|||
goto out;
|
||||
}
|
||||
|
||||
/* Timestamp */
|
||||
/* Timestamp. If the timestamp is not set, return zero. */
|
||||
if (!nm_gconf_get_int_helper (client, GCONF_PATH_WIRELESS_NETWORKS, "timestamp", escaped_network, ×tamp) || (timestamp < 0))
|
||||
{
|
||||
nm_warning ("%s:%d - couldn't get 'timestamp' item from GConf for '%s'.",
|
||||
__FILE__, __LINE__, essid);
|
||||
goto out;
|
||||
}
|
||||
timestamp = 0;
|
||||
|
||||
/* Trusted status */
|
||||
if (!nm_gconf_get_bool_helper (client, GCONF_PATH_WIRELESS_NETWORKS, "trusted", escaped_network, &trusted))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue