Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 296385 Details for
Bug 395295
gnome-base/gdm-3.2.1.1-r1 fails to load session 'gdm-shell' when 'metacity' ebuild is not installed
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
files/gdm-3.2.1.1-xfwm4-compat.patch
gdm-3.2.1.1-xfwm4-compat.patch (text/plain), 1.33 KB, created by
Octavio Ruiz (Ta^3)
on 2011-12-19 19:50:06 UTC
(
hide
)
Description:
files/gdm-3.2.1.1-xfwm4-compat.patch
Filename:
MIME Type:
Creator:
Octavio Ruiz (Ta^3)
Created:
2011-12-19 19:50:06 UTC
Size:
1.33 KB
patch
obsolete
>--- a/gdm-3.2.1/gui/simple-chooser/gdm-chooser-session.c 2011-10-18 21:07:00.000000000 -0500 >+++ a/gdm-3.2.1/gui/simple-chooser/gdm-chooser-session.c 2011-11-01 13:00:10.468364266 -0500 >@@ -55,6 +55,32 @@ > static gpointer session_object = NULL; > > static gboolean >+launch_xfce (GdmChooserSession *session) >+{ >+ GError *error; >+ gboolean ret; >+ >+ g_debug ("GdmChooserSession: Launching xfce"); >+ >+ ret = FALSE; >+ >+ error = NULL; >+ g_spawn_command_line_async ("xfwm4", &error); >+ if (error != NULL) { >+ g_warning ("Error starting WM: %s", error->message); >+ g_error_free (error); >+ goto out; >+ } >+ >+ ret = TRUE; >+ >+ /* FIXME: should try to detect if it actually works */ >+ >+ out: >+ return ret; >+} >+ >+static gboolean > launch_compiz (GdmChooserSession *session) > { > GError *error; >@@ -115,9 +141,17 @@ > static void > start_window_manager (GdmChooserSession *session) > { >- if (! launch_metacity (session)) { >- launch_compiz (session); >+ gboolean ret; >+ >+ ret = launch_metacity (session); >+ if (ret) { >+ return; >+ } >+ ret = launch_xfce (session); >+ if (ret) { >+ return; > } >+ launch_compiz (session); > } > > static gboolean
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 395295
:
296383
|
296385