Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 65800 Details for
Bug 100543
xscreensaver-4.22-r2 newlogin feature broken for 2nd new display
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch against gdm-2.6.0.9
gdmflexiserver.patch (text/plain), 1.65 KB, created by
Christopher Cowart
on 2005-08-12 17:32:12 UTC
(
hide
)
Description:
Patch against gdm-2.6.0.9
Filename:
MIME Type:
Creator:
Christopher Cowart
Created:
2005-08-12 17:32:12 UTC
Size:
1.65 KB
patch
obsolete
>diff -ru gdm-2.6.0.9/gui/gdmflexiserver.c gdm-2.6.0.9-patched/gui/gdmflexiserver.c >--- gdm-2.6.0.9/gui/gdmflexiserver.c 2004-02-08 09:58:07.000000000 -0800 >+++ gdm-2.6.0.9-patched/gui/gdmflexiserver.c 2005-08-12 14:49:17.000000000 -0700 >@@ -51,6 +51,7 @@ > static const char *server = NULL; > static const char *chosen_server = NULL; > static gboolean debug = FALSE; >+static gboolean startnew = FALSE; > static char *auth_cookie = NULL; > > static int >@@ -306,8 +307,12 @@ > GtkWidget *treeview; > GtkTreeIter iter; > GtkTreeSelection *selection; >+ gint response; > >- dialog = gtk_dialog_new_with_buttons (_("Open Displays"), >+ if (startnew == TRUE) { >+ return; >+ } else { >+ dialog = gtk_dialog_new_with_buttons (_("Open Displays"), > NULL /* parent */, > 0 /* flags */, > _("_Open New Display"), >@@ -364,9 +369,11 @@ > FALSE); > > gtk_widget_show_all (dialog); >+ response = gtk_dialog_run (GTK_DIALOG (dialog)); >+ } > > run_again: >- switch (gtk_dialog_run (GTK_DIALOG (dialog))) { >+ switch (response) { > case RESPONSE_OPEN_NEW_DISPLAY: > gtk_widget_destroy (dialog); > /* just continue what you are doing */ >@@ -634,6 +641,7 @@ > { "no-lock", 'l', POPT_ARG_NONE, &no_lock, 0, N_("Do not lock current screen"), NULL }, > { "debug", 'd', POPT_ARG_NONE, &debug, 0, N_("Debugging output"), NULL }, > { "authenticate", 'a', POPT_ARG_NONE, &authenticate, 0, N_("Authenticate before running --command"), NULL }, >+ { "startnew", 's', POPT_ARG_NONE, &startnew, 0, N_("Start new flexible session, do not show popup"), NULL }, > { "monte-carlo-pi", 0, POPT_ARG_NONE, &monte_carlo_pi, 0, NULL, NULL }, > POPT_AUTOHELP > { NULL, 0, 0, NULL, 0}
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 100543
:
65634
|
65635
|
65636
| 65800 |
65801