[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pan-devel] [patch] Accommodating Giganews users (20-50 connections)
From: |
Conrad J. Sabatier |
Subject: |
[Pan-devel] [patch] Accommodating Giganews users (20-50 connections) |
Date: |
Sat, 3 Sep 2011 02:03:15 -0500 |
I'd like to submit the following simple patch for inclusion in the
master repo, to accommodate users fortunate enough to have a Giganews
"Diamond" account, to allow them to use their full 50(!) connections.
Or perhaps a new switch could be added to the configure script which,
in turn, would then apply the appropriate patch (50 connections for
Diamond, 20 connections for Platinum/Silver/Bronze/Pearl)?
Anyway, just to present the general idea (this is a *very* simple
patch), and it works just fine and dandy. No muss, no fuss!
(appy-polly-loggies for the line wrap) :-) :
--- pan/gui/server-ui.cc.orig 2011-09-03 01:39:16.000000000 -0500
+++ pan/gui/server-ui.cc 2011-09-03 01:39:45.000000000 -0500
@@ -91,7 +91,7 @@
d->server = server;
- int port(119), max_conn(4), age(31*3), rank(1);
+ int port(119), max_conn(50), age(31*3), rank(1);
std::string addr, user, pass;
if (!server.empty()) {
d->data.get_server_addr (server, addr, port);
@@ -249,7 +249,7 @@
HIG::workarea_add_section_title (t, &row, _("Settings"));
HIG::workarea_add_section_spacer (t, row, 2);
- const int DEFAULT_MAX_PER_SERVER (4);
+ const int DEFAULT_MAX_PER_SERVER (50);
a = GTK_ADJUSTMENT (gtk_adjustment_new (1.0, 0.0,
DEFAULT_MAX_PER_SERVER, 1.0, 1.0, 0.0)); d->connection_limit_spin = w =
gtk_spin_button_new (GTK_ADJUSTMENT(a), 1.0, 0u); HIG::workarea_add_row
(t, &row, _("Connection _Limit:"), w, NULL);
--
Conrad J. Sabatier
address@hidden
- [Pan-devel] [patch] Accommodating Giganews users (20-50 connections),
Conrad J. Sabatier <=