[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pan-devel] [patch] Accommodating Giganews users (20-50 connections)

From: Heinrich Mueller
Subject: Re: [Pan-devel] [patch] Accommodating Giganews users (20-50 connections)
Date: Sat, 03 Sep 2011 14:14:19 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.1) Gecko/20110831 Thunderbird/6.0.1

Am 03.09.2011 09:03, schrieb Conrad J. Sabatier:
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/   2011-09-03 01:39:16.000000000 -0500
+++ pan/gui/        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);

There was a _lengthy_ discussion about this. Just let it be ;)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]