Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 304821 Details for
Bug 445449
GDM is ignoring options in the custom.conf
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch
show-users.patch (text/plain), 2.94 KB, created by
Matthias Clasen
on 2008-05-08 00:34:06 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Matthias Clasen
Created:
2008-05-08 00:34:06 UTC
Size:
2.94 KB
patch
obsolete
>--- gdm-2.22.0/gui/simple-greeter/gdm-user-chooser-widget.c 2008-05-01 18:35:35.000000000 -0400 >+++ hacked/gui/simple-greeter/gdm-user-chooser-widget.c 2008-05-07 20:27:09.000000000 -0400 >@@ -34,9 +34,14 @@ > #include <glib/gstdio.h> > #include <gtk/gtk.h> > >+#include <gconf/gconf-client.h> >+ > #include "gdm-user-manager.h" > #include "gdm-user-chooser-widget.h" > >+ >+#define KEY_SHOW_USERS "/apps/gdm/simple-greeter/show_users" >+ > enum { > USER_NO_DISPLAY = 1 << 0, > USER_ACCOUNT_DISABLED = 1 << 1, >@@ -59,6 +64,7 @@ > guint show_other_user : 1; > guint show_guest_user : 1; > guint show_auto_user : 1; >+ guint show_users : 1; > }; > > enum { >@@ -231,6 +237,25 @@ > } > } > >+static gboolean >+show_users (GdmUserChooserWidget *widget) >+{ >+ GConfClient *client; >+ GError *error; >+ gboolean result; >+ >+ client = gconf_client_get_default (); >+ error = NULL; >+ result = gconf_client_get_bool (client, KEY_SHOW_USERS, &error); >+ if (error != NULL) { >+ g_debug ("GdmUserChooserWidget: unable to get show-users configuration: %s", error->message); >+ g_error_free (error); >+ } >+ g_object_unref (client); >+ >+ return result; >+} >+ > static GObject * > gdm_user_chooser_widget_constructor (GType type, > guint n_construct_properties, >@@ -247,6 +272,8 @@ > gdm_user_chooser_widget_set_show_auto_user (user_chooser_widget, FALSE); > gdm_user_chooser_widget_set_show_other_user (user_chooser_widget, TRUE); > >+ user_chooser_widget->priv->show_users = show_users (user_chooser_widget); >+ > return G_OBJECT (user_chooser_widget); > } > >@@ -403,6 +430,9 @@ > char *tooltip; > gboolean is_logged_in; > >+ if (!widget->priv->show_users) >+ return; >+ > pixbuf = gdm_user_render_icon (user, ICON_SIZE); > if (pixbuf == NULL && widget->priv->stock_person_pixbuf != NULL) { > pixbuf = g_object_ref (widget->priv->stock_person_pixbuf); >--- gdm-2.22.0/gui/simple-greeter/gdm-simple-greeter.schemas.in 2008-05-07 20:28:57.000000000 -0400 >+++ hacked/gui/simple-greeter/gdm-simple-greeter.schemas.in 2008-05-07 20:22:33.000000000 -0400 >@@ -68,6 +68,17 @@ > </locale> > </schema> > <schema> >+ <key>/schemas/apps/gdm/simple-greeter/show_users</key> >+ <applyto>/apps/gdm/simple-greeter/show_users</applyto> >+ <owner>gdm-simple-greeter</owner> >+ <type>bool</type> >+ <default>TRUE</default> >+ <locale name="C"> >+ <short>Show users known users in the login window</short> >+ <long>Set to FALSE to disable showing known users in the login window.</long> >+ </locale> >+ </schema> >+ <schema> > <key>/schemas/apps/gdm/simple-greeter/wm_use_compiz</key> > <applyto>/apps/gdm/simple-greeter/wm_use_compiz</applyto> > <owner>gdm-simple-greeter</owner>
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 445449
: 304821