Looking at the sources for xchat, you can see that the Network List
dialog is in src/fe-gtk/servlistgui.c 

It is represented as a GtkTreeSelection object [1] ... All we would need
to do to enable multiple selections is to use the
gtk_tree_selection_set_mode() [2] method and set it to
GTK_SELECTION_MULTIPLE [3] ... and then the corresponding code for
removing networks in the servlist_deletenet_cb() function (also in
/src/fe-gtk/servlistgui.c) would just need to be modified to handle the
case where multiple networks are selected. 

But it's been years since I've done any C programming, so even putting
together a patch for something this simple would be difficult for me
right now ... However, if nobody else feels like doing this real quick,
maybe I'll clean out the cobwebs, and try to submit a patch sometime in
the next couple of weeks when I'm not busy. 

https://developer.gnome.org/pygtk/stable/class-gtktreeselection.html 

Links:
------
[1] https://developer.gnome.org/gtk3/stable/GtkTreeSelection.html
[2]
https://developer.gnome.org/gtk3/stable/GtkTreeSelection.html#gtk-tree-selection-set-mode
[3]
https://developer.gnome.org/gtk3/stable/gtk3-Standard-Enumerations.html#GTK-SELECTION-MULTIPLE:CAPS

Reply via email to