~ubuntu-branches/ubuntu/maverick/gdm/maverick

« back to all changes in this revision

Viewing changes to gui/simple-chooser/gdm-host-chooser-widget.c

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook, Sebastien Bacher, Kees Cook, Robert Ancell, Martin Pitt
  • Date: 2010-08-06 13:02:51 UTC
  • mfrom: (1.4.45 upstream)
  • Revision ID: james.westby@ubuntu.com-20100806130251-dqy5pufiii6fb20m
Tags: 2.30.4-0ubuntu1
[ Sebastien Bacher ]
* New upstream versions:
  - Translation fixes
  - Many performance improvements for the greeter
  - Various robustness fixes
  - Fix XDMCP
  - Fix switch user menu item detection
  - Remove obsolete restart and stop scripts
  - Fixed #618834, GdmProductSlave does not handle OpenSession 
  - Fixed #342397, gdm doesn't respond to XDMCP querys if local X server fails
    to start 
  - Fixed #544730, XDMCP broadcast discovery not working on BSD w/ ipv6 
    enabled (lp: #393835)
  - Fixed #589536, gdm-simple-slave crashed with signal 5 in 
    g_return_if_fail_warning (lp: #403441)
  - Fixed #592183, GDM entry field loses focus after dialogs are presented 
  - Fixed #594857, Warning when type 'gdm --version' in terminal in new GDM 
  - Fixed #599683, xdmcp Queries from Older software 
  - Fixed #610179, GDM patch for accounts dialogue 
  - Fixed #616722, Xdmcp linking problem 
  - Fixed #616730, user-switch-applet build failure: missing -I for dbus-glib 
  - Fixed #617665, Panel doesn't shrink after disabling "high contrast" 
  - Fixed #619588, User's Real names should be escaped against XML markup 
    (lp: #499690, #585128)
  - Fixed #620430, memory leaks in gdm 
  - Fixed #620893, bottom panel is overlapping at smaller sizes 
  - Fixed #620908, gdm user switch applet goes nuts while 
    changing password file 
  - Fixed #621045, Improve startup performance of the greeter 
  - Fixed #621131, User switch applet performance issues 
  - Fixed #621661, Make slaves more robust against crashes 
  - Fixed #622069, greeter doesn't work when there's no local user 
  - Fixed #622337, shows shutdown buttons when connecting over xdmcp 
  - Fixed #622430, keyboard layout handling wonky 
  - Fixed #622431, cancel button not shown during timed login 
  - Fixed #601458, Add presence items to status menu and port to JS 
* Refresh distribution changes
* debian/patches/07_correct_distribution_version.patch:
  - use upstream version
* debian/patches/13_cache_ck_history.patch:
  - dropped since the new upstream version solves this issue differently
* debian/patches/23_login_window_hint.patch:
  - dropped, the change is in the new version

[ Kees Cook ]
* debian/patches/24_system_uid.patch: - updated for upstream code changes

[ Robert Ancell ]
* debian/xsession.desktop:
* debian/xterm.desktop:
  - Use clearer session names (LP: #599336)
* debian/patches/09_gdmsetup.patch:
  - Remove session comment from combo box to make it fit better

[ Martin Pitt ]
* 09_gdmsetup.patch: Only show "Play Login Sound" checkbox if we have
  /usr/share/gdm/autostart/LoginWindow/libcanberra-ready-sound.desktop.
* Add 01_upower.patch: Port to UPower.
* debian/control: libdevkit-power-gobject-dev → libupower-glib-dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
208
208
                return TRUE;
209
209
        }
210
210
 
 
211
        ss_len = (int)gdm_sockaddr_len (&clnt_ss);
 
212
 
211
213
        res = XdmcpFill (widget->priv->socket_fd, &buf, (XdmcpNetaddr)&clnt_ss, &ss_len);
212
214
        if G_UNLIKELY (! res) {
213
215
                g_debug (_("XDMCP: Could not create XDMCP buffer!"));
214
216
                return TRUE;
215
217
        }
216
 
        ss_len = (int)gdm_sockaddr_len (&clnt_ss);
217
218
 
218
219
        res = XdmcpReadHeader (&buf, &header);
219
220
        if G_UNLIKELY (! res) {
544
545
        widget->priv->socket_fd = socket (AF_INET6, SOCK_DGRAM, 0);
545
546
        if (widget->priv->socket_fd != -1) {
546
547
                widget->priv->have_ipv6 = TRUE;
 
548
#ifdef IPV6_V6ONLY
 
549
                {
 
550
                        int zero = 0;
 
551
                        if (setsockopt(widget->priv->socket_fd, IPPROTO_IPV6, IPV6_V6ONLY, &zero, sizeof(zero)) < 0)
 
552
                                g_warning("setsockopt(IPV6_V6ONLY): %s", g_strerror(errno));
 
553
                }
 
554
#endif
547
555
        }
548
556
#endif
549
557
        if (! widget->priv->have_ipv6) {