CVSROOT:        /cvs/gnome
Module name:    vino
Changes by:     markmc  06/10/13 04:48:29

Modified files:
        .              : ChangeLog 
        server         : vino-prefs.c vino-server.c vino-server.h 
                         vino-server.schemas.in 
        server/libvncserver: CHANGES sockets.c 
        server/libvncserver/rfb: rfb.h 

Log message:
2006-10-13  Mark McLoughlin  <[EMAIL PROTECTED]>

Add "use_alternative_port" and "alternative_port" GConf
keys, allowing people to specify a specific port to listen
on.

Based on patch from John Wendell <[EMAIL PROTECTED]>
in bug #333752 [http://bugzilla.gnome.org/show_bug.cgi?id=333752].

* vino/server/vino-server.schemas.in: add new keys.

* vino/server/vino-prefs.c:
(vino_prefs_use_alternative_port_changed),
(vino_prefs_alternative_port_changed): handle changes to new keys
(vino_prefs_create_server): create server with new props
(vino_prefs_init): read new keys and set up notify handlers

* vino/server/vino-server.[ch]:
(vino_server_init_from_screen): explictly set port and turn
off autoPort if use_alternative_port is set.
(vino_server_set_property), (vino_server_get_property),
(vino_server_class_init): add new properties.
(vino_server_get_use_alternative_port),
(vino_server_set_use_alternative_port),
(vino_server_get_alternative_port),
(vino_server_set_alternative_port): add accessors - re-init
the listening port if things change after the server is running.

* vino/server/libvncserver/sockets.c:
(rfbInitSockets): split out some of this into
(rfbInitListenSock): this.
(rfbSetAutoPort), (rfbSetPort): add these two.

* vino/server/libvncserver/rfb/rfb.h: add rfbSetAutoPort()
and rfbSetPort().

* vino/server/libvncserver/CHANGES: add note.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=vino&who=markmc&date=explicit&mindate=2006-10-13%2004:47&maxdate=2006-10-13%2004:49

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to