… | |
… | |
1528 | |
1528 | |
1529 | $vbox->add ( |
1529 | $vbox->add ( |
1530 | $HOST_ENTRY = new DC::UI::Entry |
1530 | $HOST_ENTRY = new DC::UI::Entry |
1531 | expand => 1, |
1531 | expand => 1, |
1532 | text => $CFG->{profile}{default}{host}, |
1532 | text => $CFG->{profile}{default}{host}, |
1533 | tooltip => "The hostname or ip address of the Deliantra server to connect to", |
1533 | tooltip => "The hostname or ip address of the Deliantra server to connect to (e.g. <b>gameserver.deliantra.net</b>)", |
1534 | on_changed => sub { |
1534 | on_changed => sub { |
1535 | my ($self, $value) = @_; |
1535 | my ($self, $value) = @_; |
1536 | $CFG->{profile}{default}{host} = $value; |
1536 | $CFG->{profile}{default}{host} = $value; |
1537 | 1 |
1537 | 1 |
1538 | } |
1538 | } |
… | |
… | |
1541 | if (0) { #d# disabled |
1541 | if (0) { #d# disabled |
1542 | $vbox->add (new DC::UI::Button |
1542 | $vbox->add (new DC::UI::Button |
1543 | expand => 1, |
1543 | expand => 1, |
1544 | text => "Server List", |
1544 | text => "Server List", |
1545 | other => $METASERVER, |
1545 | other => $METASERVER, |
1546 | tooltip => "Show a list of available crossfire servers", |
1546 | tooltip => "Show a list of available Deliantra servers", |
1547 | on_activate => sub { $METASERVER->toggle_visibility; 0 }, |
1547 | on_activate => sub { $METASERVER->toggle_visibility; 0 }, |
1548 | on_visibility_change => sub { $METASERVER->hide unless $_[1]; 1 }, |
1548 | on_visibility_change => sub { $METASERVER->hide unless $_[1]; 1 }, |
1549 | ); |
1549 | ); |
1550 | }#d# |
1550 | }#d# |
1551 | } |
1551 | } |
… | |
… | |
1601 | tooltip => "This is maximum number of messages remembered in the <b>Messages</b> window. If the server " |
1601 | tooltip => "This is maximum number of messages remembered in the <b>Messages</b> window. If the server " |
1602 | . "sends more messages than this number, older messages get removed to save memory and " |
1602 | . "sends more messages than this number, older messages get removed to save memory and " |
1603 | . "computing time. A value of <b>0</b> disables this feature, but that is not recommended.", |
1603 | . "computing time. A value of <b>0</b> disables this feature, but that is not recommended.", |
1604 | on_changed => sub { |
1604 | on_changed => sub { |
1605 | my ($self, $value) = @_; |
1605 | my ($self, $value) = @_; |
1606 | $MESSAGE_DIST->set_max_para ($CFG->{logview_max_par} = $value*1); |
1606 | $MESSAGE_DIST->set_max_par ($CFG->{logview_max_par} = $value*1); |
1607 | 0 |
1607 | 0 |
1608 | }, |
1608 | }, |
1609 | ); |
1609 | ); |
1610 | |
1610 | |
1611 | $table |
1611 | $table |