1. 04 Mar, 2016 3 commits
    • Ray Strode's avatar
      manager: retry end session when inhibitor goes away · e83da6fb
      Ray Strode authored
      If an inhibitor goes away, we should try to end the session again,
      since that inhibitor may have been the reason that the session
      hasn't ended yet.
      
      Also, we should reshow the dialog if relevant, so the user can pick
      a different inhibiting app from the list.
      e83da6fb
    • Ray Strode's avatar
      manager: show dialog again if user requests logout again · 7ab62639
      Ray Strode authored
      Right now we ignore requests to show the logout dialog if we're
      already shutting down.  This can make the desktop seem broken in
      some situations.
      
      Always show the dialog if the user asks for it.
      7ab62639
    • Ray Strode's avatar
      shell: deduplicate shell signal logic · afa21fb4
      Ray Strode authored
      Anytime the shell sends us a signal about the end session dialog
      we need to do the same things:
      
      1) stop listening for new inhibitor updates
      2) stop any queued operations for redisplaying the inhibitor dialog
      3) emit the signal to on the gsm-shell object so other parts of the
      code can listen for.
      
      We currently have a separate signal handler for every signal, and
      they all do they same thing.  Well, they're supposed to anyway, some
      bits are erroneously missing from some of the handlers.
      
      This commit consolidates all the code, so we don't have it reimplemently
      badly in several places.
      afa21fb4
  2. 03 Mar, 2016 1 commit
  3. 25 Feb, 2016 2 commits
  4. 21 Jan, 2016 2 commits
  5. 18 Jan, 2016 1 commit
    • Ray Strode's avatar
      manager: restart gnome-shell on X11 if it crashes · 91e74ccf
      Ray Strode authored
      gnome-shell calls itself a DisplayServer for ordering reasons,
      and because we share one file between wayland an X11.
      
      gnome-session currently doesn't try to restart a DisplayServer if
      it crashes, since the presumption is the old session will come down
      with it.
      
      This commit restarts "display server" applications on anything but
      wayland, because they can't actually be a display server in other
      cases.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=760332
      91e74ccf
  6. 09 Nov, 2015 1 commit
  7. 07 Nov, 2015 2 commits
  8. 06 Nov, 2015 2 commits
  9. 15 Oct, 2015 1 commit
  10. 14 Oct, 2015 5 commits
  11. 21 Sep, 2015 1 commit
  12. 17 Sep, 2015 1 commit
    • Ray Strode's avatar
      gsm-util: save environment to $XDG_RUNTIME_DIR/gnome/environment · db7ce81e
      Ray Strode authored
      Environment variables are problematic because they require a parent
      child inheritance model, but they're often used in a per-session scope.
      
      gnome-session provides a mechanism for children to affect the
      environment of future siblings via the SetEnv dbus method call.
      Unfortunately that change does not affect existing siblings, or their
      offspring.
      
      This commit centralizes gnome-session's environment into a file,
      
           $XDG_RUNTIME_DIR/gnome/environment
      
      so other components in the session can ensure their children get the
      most up to date environment possible.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=738205
      db7ce81e
  13. 09 Mar, 2015 4 commits
  14. 18 Feb, 2015 3 commits
  15. 04 Feb, 2015 1 commit
  16. 05 Jan, 2015 1 commit
  17. 18 Dec, 2014 1 commit
  18. 17 Dec, 2014 2 commits
  19. 12 Dec, 2014 6 commits