Changeset 52 for trunk/gtk


Ignore:
Timestamp:
Jan 25, 2006, 5:20:21 PM (16 years ago)
Author:
joshe
Message:

Send stopped and started events to trackers when the listening port is changed,
but without disrupting existing peer connections.
In the GTK prefs dialog, change the port immediately instead of on next invocation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/prefs.c

    r51 r52  
    180180    cf_setpref(PREF_PORT, strnum);
    181181    g_free(strnum);
    182     /* XXX should I change the port here?  is it even possible? */
    183182
    184183    /* save uselimit pref */
     
    198197    }
    199198
     199    tr_setBindPort(data->tr, gtk_spin_button_get_value_as_int(data->port));
    200200    setlimit(data->tr);
    201201  }
Note: See TracChangeset for help on using the changeset viewer.