After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 738264 - Don't require org.gnome.Shell for end session dialog
Don't require org.gnome.Shell for end session dialog
Status: RESOLVED OBSOLETE
Product: gnome-session
Classification: Core
Component: gnome-session
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Session Maintainers
Session Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-10-09 22:05 UTC by Alberts Muktupāvels
Modified: 2021-06-14 18:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Don't require org.gnome.Shell for end session dailog (3.35 KB, patch)
2014-10-09 22:05 UTC, Alberts Muktupāvels
none Details | Review
create GsmEndSessionDialog based on GsmShell (25.23 KB, patch)
2014-10-22 17:53 UTC, Alberts Muktupāvels
none Details | Review
use GsmEndSessionDialog not GsmShell (15.93 KB, patch)
2014-10-22 17:54 UTC, Alberts Muktupāvels
none Details | Review
gsm-shell: remove end session dialog (19.34 KB, patch)
2014-10-22 17:54 UTC, Alberts Muktupāvels
none Details | Review
own dbus name - org.gnome.SessionManager.EndSessionDialog (974 bytes, patch)
2014-10-22 17:55 UTC, Alberts Muktupāvels
none Details | Review
own dbus name - org.gnome.SessionManager.EndSessionDialog (1.19 KB, patch)
2014-11-02 23:50 UTC, Alberts Muktupāvels
none Details | Review
don't use org.gnome.Shell for end session dialog (53.12 KB, patch)
2014-12-13 12:21 UTC, Alberts Muktupāvels
none Details | Review

Description Alberts Muktupāvels 2014-10-09 22:05:55 UTC
Created attachment 288176 [details] [review]
Don't require org.gnome.Shell for end session dailog

Don't require org.gnome.Shell for end session dialog. If shell is not running try to use org.gnome.SessionManager.EndSessionDialog for end session dialog.

I have created patch for this.

More info:
https://mail.gnome.org/archives/desktop-devel-list/2014-September/msg00126.html
Comment 1 Alberts Muktupāvels 2014-10-22 17:53:39 UTC
Created attachment 289156 [details] [review]
create GsmEndSessionDialog based on GsmShell

Create new GsmEndSessionDialog class that will be used only for
one task - show end session dialog.

This is mostly same code that is available in GsmShell with small
modifications.
Comment 2 Alberts Muktupāvels 2014-10-22 17:54:06 UTC
Created attachment 289157 [details] [review]
use GsmEndSessionDialog not GsmShell

Start to use GsmEndSessionDialog to show end session dialog. This
is almost only about renaming.
Comment 3 Alberts Muktupāvels 2014-10-22 17:54:33 UTC
Created attachment 289158 [details] [review]
gsm-shell: remove end session dialog

End session dialog has been moved to separate files.
Comment 4 Alberts Muktupāvels 2014-10-22 17:55:17 UTC
Created attachment 289159 [details] [review]
own dbus name - org.gnome.SessionManager.EndSessionDialog

Patch for gnome-shell
Comment 5 Alberts Muktupāvels 2014-10-22 18:07:41 UTC
I have created new patches for this. Three are for gnome-session and one for gnome-shell. This is almost only about moving code and/or renaming.

I have tested this with GNOME Shell and GNOME Flashback.
Comment 6 Alberts Muktupāvels 2014-11-02 23:50:17 UTC
Created attachment 289854 [details] [review]
own dbus name - org.gnome.SessionManager.EndSessionDialog

Better patch for gnome-shell.
Comment 7 Alberts Muktupāvels 2014-12-13 12:21:24 UTC
Created attachment 292660 [details] [review]
don't use org.gnome.Shell for end session dialog
Comment 8 André Klapper 2021-06-14 18:20:40 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version of gnome-session, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/gnome-session/-/issues/

Thank you for your understanding and your help.