diff options
| author | daleharvey <daleharvey@users.sourceforge.net> | 2006-05-08 17:58:44 +0000 |
|---|---|---|
| committer | daleharvey <daleharvey@users.sourceforge.net> | 2006-05-08 17:58:44 +0000 |
| commit | a7a82a0fb60da5d6417caa8c4e01b1c8c2d2853e (patch) | |
| tree | 2ec4e02677a5e5dec30fe0ccaa2c3119ec30056d /src/ui/dialog/whiteboard-connect.cpp | |
| parent | comments explaining namespace mapping for the broken sodipodi namespace (diff) | |
| download | inkscape-a7a82a0fb60da5d6417caa8c4e01b1c8c2d2853e.tar.gz inkscape-a7a82a0fb60da5d6417caa8c4e01b1c8c2d2853e.zip | |
Persist User / Server / ChatServer name across succesful sessions (Given By Botty)
(bzr r773)
Diffstat (limited to 'src/ui/dialog/whiteboard-connect.cpp')
| -rw-r--r-- | src/ui/dialog/whiteboard-connect.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/dialog/whiteboard-connect.cpp b/src/ui/dialog/whiteboard-connect.cpp index 50f44e5f7..cb873b904 100644 --- a/src/ui/dialog/whiteboard-connect.cpp +++ b/src/ui/dialog/whiteboard-connect.cpp @@ -81,7 +81,10 @@ WhiteboardConnectDialogImpl::_construct() this->_labels[2].set_mnemonic_widget(this->_password); this->_labels[3].set_mnemonic_widget(this->_port); - this->_port.set_text("5222"); + this->_server.set_text(prefs_get_string_attribute("whiteboard.server", "name")); + this->_port.set_text(prefs_get_string_attribute("whiteboard.server", "port")); + this->_username.set_text(prefs_get_string_attribute("whiteboard.server", "username")); + this->_usessl.set_active((prefs_get_int_attribute("whiteboard.server", "ssl", 0) == 1) ? true : false); this->_layout.attach(this->_labels[0], 0, 1, 0, 1); this->_layout.attach(this->_labels[3], 2, 3, 0, 1); |
