diff options
| author | Bob Jamison <ishmalius@gmail.com> | 2006-05-21 03:51:47 +0000 |
|---|---|---|
| committer | ishmal <ishmal@users.sourceforge.net> | 2006-05-21 03:51:47 +0000 |
| commit | 3ef3b721dfb056bea41bcf74489722b517094134 (patch) | |
| tree | 6aeffbd98a35cbc8cf0424c1af111ab472852d27 /src/pedro/pedrogui.cpp | |
| parent | * Unify text-anchor and text-align for the text toolbar (diff) | |
| download | inkscape-3ef3b721dfb056bea41bcf74489722b517094134.tar.gz inkscape-3ef3b721dfb056bea41bcf74489722b517094134.zip | |
first hack at in-band registration
(bzr r910)
Diffstat (limited to 'src/pedro/pedrogui.cpp')
| -rw-r--r-- | src/pedro/pedrogui.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/pedro/pedrogui.cpp b/src/pedro/pedrogui.cpp index e2ab05a2e..cbfea0938 100644 --- a/src/pedro/pedrogui.cpp +++ b/src/pedro/pedrogui.cpp @@ -428,7 +428,7 @@ bool Roster::buttonPressCallback(GdkEventButton* event) bool Roster::doSetup() { set_size_request(200,200); - + pixbuf_available = Gdk::Pixbuf::create_from_inline( sizeof(icon_available), icon_available, false); pixbuf_away = Gdk::Pixbuf::create_from_inline( @@ -1145,7 +1145,7 @@ bool ConnectDialog::doSetup() Gtk::Widget* pMenuBar = uiManager->get_widget("/MenuBar"); get_vbox()->pack_start(*pMenuBar, Gtk::PACK_SHRINK); - table.resize(5, 2); + table.resize(6, 2); get_vbox()->pack_start(table); parent.client.setHost("gristle.org"); @@ -1184,6 +1184,11 @@ bool ConnectDialog::doSetup() resourceField.set_text(parent.client.getResource()); table.attach(resourceField, 1, 2, 4, 5); + registerLabel.set_text("Register"); + table.attach(registerLabel, 0, 1, 5, 6); + registerButton.set_active(false); + table.attach(registerButton, 1, 2, 5, 6); + add_button(Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL); add_button(Gtk::Stock::OPEN, Gtk::RESPONSE_OK); @@ -1943,6 +1948,7 @@ void PedroGui::connectCallback() client.setUsername(dialog.getUser()); client.setPassword(dialog.getPass()); client.setResource(dialog.getResource()); + client.setDoRegister(dialog.getRegister()); client.connect(); } } |
