diff options
author | Tambet Ingo <tambet@gmail.com> | 2008-01-02 13:42:52 +0000 |
---|---|---|
committer | Tambet Ingo <tambet@gmail.com> | 2008-01-02 13:42:52 +0000 |
commit | 8774cc756a74ba7e4a8bfef0be0de669215900ae (patch) | |
tree | bbf5a65385fb07dc335e83b02c85f92329bd9abb /libnm-util/nm-setting-serial.c | |
parent | 27f639df3f5525d080f3f1c3520153e676a707fe (diff) | |
download | NetworkManager-8774cc756a74ba7e4a8bfef0be0de669215900ae.tar.gz |
2008-01-02 Tambet Ingo <tambet@gmail.com>
* libnm-util/nm-setting-serial.c (nm_setting_serial_class_init):
* Mark the properties
with G_PARAM_CONSTRUCT so that they get the default values.
* src/nm-gsm-device.c: Add preliminary support for monitoring
* device. It only monitors
the monitoring device and prints out the output for now. Or more
precicely, doesn't
do absolutely anything right now since the montoring device
argument is never set.
* src/nm-serial-device.c (serial_debug): Implement. It's very
* verbose and thus
requires it's own knob to turn it on.
(config_fd): Add NMSettingSerial to the arguments list.
(nm_serial_device_open): Ditto.
(get_reply_got_data): Ignore the terminators at the beginning of
the output.
(nm_serial_device_get_io_channel): Implement.
* src/nm-manager.c: Add NMDBusManager to the private data of the
* NMManager. Asking
a new reference every time (and forgetting to release it
sometimes) is a pain and
it's not like NMManager could work without dbus.
(nm_manager_add_device): Register the added device on dbus here.
* src/nm-hal-manager.c (modem_device_creator): Pass NULL for now
* for the monitoring
device.
* src/nm-device.c (constructor): Don't export the device here,
* instead export
it when it's added to the NMManager's device list.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3203 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Diffstat (limited to 'libnm-util/nm-setting-serial.c')
-rw-r--r-- | libnm-util/nm-setting-serial.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libnm-util/nm-setting-serial.c b/libnm-util/nm-setting-serial.c index c278af9161..8fbbcabf97 100644 --- a/libnm-util/nm-setting-serial.c +++ b/libnm-util/nm-setting-serial.c @@ -100,7 +100,7 @@ nm_setting_serial_class_init (NMSettingSerialClass *setting_class) "Baud", "Baud rate", 0, G_MAXUINT, 57600, - G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE)); + G_PARAM_READWRITE | G_PARAM_CONSTRUCT | NM_SETTING_PARAM_SERIALIZE)); g_object_class_install_property (object_class, PROP_BITS, @@ -108,7 +108,7 @@ nm_setting_serial_class_init (NMSettingSerialClass *setting_class) "Bits", "Bits", 5, 8, 8, - G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE)); + G_PARAM_READWRITE | G_PARAM_CONSTRUCT | NM_SETTING_PARAM_SERIALIZE)); g_object_class_install_property (object_class, PROP_PARITY, @@ -116,7 +116,7 @@ nm_setting_serial_class_init (NMSettingSerialClass *setting_class) "Parity", "Parity", 'E', 'o', 'n', - G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE)); + G_PARAM_READWRITE | G_PARAM_CONSTRUCT | NM_SETTING_PARAM_SERIALIZE)); g_object_class_install_property (object_class, PROP_STOPBITS, @@ -124,7 +124,7 @@ nm_setting_serial_class_init (NMSettingSerialClass *setting_class) "Stopbits", "Stopbits", 1, 2, 1, - G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE)); + G_PARAM_READWRITE | G_PARAM_CONSTRUCT | NM_SETTING_PARAM_SERIALIZE)); g_object_class_install_property (object_class, PROP_SEND_DELAY, @@ -132,5 +132,5 @@ nm_setting_serial_class_init (NMSettingSerialClass *setting_class) "SendDelay", "Send delay", 0, G_MAXUINT64, 0, - G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE)); + G_PARAM_READWRITE | G_PARAM_CONSTRUCT | NM_SETTING_PARAM_SERIALIZE)); } |