~ubuntu-branches/ubuntu/oneiric/lightdm/oneiric

« back to all changes in this revision

Viewing changes to src/display.h

  • Committer: Package Import Robot
  • Author(s): Robert Ancell, Steve Langasek, Robert Ancell, 0.9.8, 1.0.0, Lionel Le Folgoc
  • Date: 2011-09-28 16:00:20 UTC
  • mfrom: (1.1.14 upstream)
  • Revision ID: package-import@ubuntu.com-20110928160020-bwirj2egm2355lwk
Tags: 1.0.0-0ubuntu1
[ Steve Langasek ]
* don't start on graphics-device-added; reintroducing this reverted the fix
  for bug #615549 from maverick without explanation.
* clean up the completely illegible start rule for debian/lightdm.upstart,
  killing off the unnecessary parentheses
* debian/lightdm.upstart: when lightdm is shut down by a runlevel call,
  emit an upstart event that can be caught by plymouth so it can
  distinguish between the DM shutting down for a runlevel change vs. other
  causes.  LP: #854329.

[ Robert Ancell ]
* New upstream release.
  [ 0.9.8 ]
  - GetSeatForCookie and GetSessionForCookie are now deprecated.  They
    remain for now but use the XDG_SEAT_PATH and XDG_SESSION_PATH
    environment variables instead.
  - Change log filenames to be unique across different display types.
  - Fix up script hooks, add regression tests for them
  - Complete removal of X code from the core of LightDM, so it can better
    support various display types
  - Add ability to set the language of a user from the greeter (LP: #803858)
  - Set LANG variable based on the user language
  - Add language selector into GTK greeter (disabled by default)
  - Allow TCP/IP connections if xserver-allow-tcp is true
  - Allow lightdm --version to be run as non-root
  - Automatically respond to PAM messages without prompts (LP: #783598)
  - Create 'AddLocalXSeat' D-Bus method, and require root to use 'AddSeat'
  - Fix multi-seat configuration picking the same display number (LP: #851362)
  - Use correct D-Bus and power interface in liblightdm-qt (LP: #852803)
  - Run pam_setcred inside the session process so pam_group works
    (LP: #851347)
  - Make sure one session is always selected in the GTK greeter (LP: #819177)
  [ 1.0.0 ]
  - Explicitly grab keyboard focus in GTK greeter
  - Fix removed power and a11y menu items in GTK greeter
  - Put system binary directory into path when running in test mode
    (LP: #860003)
  - Call pam_getenvlist after pam_setcred

[ Lionel Le Folgoc ]
* Make the gtk greeter easily themable by derivatives: (LP: #845549)
  - rename lightdm-gtk-greeter.conf to lightdm-gtk-greeter-ubuntu.conf,
    and handle the move in maintainer scripts.
  - manage /etc/lightdm/lightdm-gtk-greeter.conf with update-alternatives,
    by default it uses /etc/lightdm/lightdm-gtk-greeter-ubuntu.conf with a
    very low priority.
* debian/control: lightdm-gtk-greeter provides lightdm-gtk-greeter-config.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
#include "display-server.h"
18
18
#include "session.h"
19
 
#include "user.h"
 
19
#include "accounts.h"
20
20
 
21
21
G_BEGIN_DECLS
22
22
 
37
37
{
38
38
    GObjectClass parent_class;
39
39
 
 
40
    gboolean (*display_server_ready)(Display *display);
 
41
    gboolean (*start_greeter)(Display *display);
 
42
    gboolean (*start_session)(Display *display);
40
43
    Session *(*create_session) (Display *display);
41
 
 
42
 
    void (*started)(Display *display);
43
44
    void (*ready)(Display *display);
44
45
    gboolean (*switch_to_user)(Display *display, User *user);
45
46
    gboolean (*switch_to_guest)(Display *display);
46
47
    gchar *(*get_guest_username)(Display *display);
47
 
    gboolean (*start_display_server)(Display *display);
48
 
    gboolean (*start_greeter)(Display *display);
49
 
    gboolean (*start_session)(Display *display);
50
48
    void (*stopped)(Display *display);
51
49
} DisplayClass;
52
50
 
53
51
GType display_get_type (void);
54
52
 
55
 
void display_set_display_server (Display *display, DisplayServer *display_server);
 
53
Display *display_new (DisplayServer *display_server);
56
54
 
57
55
DisplayServer *display_get_display_server (Display *display);
58
56