gdm r6201 - in branches/gnome-2-20: . gui



Author: bcameron
Date: Fri May  2 01:11:54 2008
New Revision: 6201
URL: http://svn.gnome.org/viewvc/gdm?rev=6201&view=rev

Log:
2008-05-01 Brian Cameron <brian cameron sun com>

        * gui/gdmsession.c: If a GDM session desktop file is marked as
          "Hidden=true" then do not show it in the session dialog.


Modified:
   branches/gnome-2-20/ChangeLog
   branches/gnome-2-20/gui/gdmsession.c

Modified: branches/gnome-2-20/gui/gdmsession.c
==============================================================================
--- branches/gnome-2-20/gui/gdmsession.c	(original)
+++ branches/gnome-2-20/gui/gdmsession.c	Fri May  2 01:11:54 2008
@@ -212,10 +212,6 @@
 		    hidden = FALSE;
 		    gdm_common_config_get_boolean (cfg, "Desktop Entry/Hidden=false", &hidden, NULL);
 		    if (hidden) {
-			    session = g_new0 (GdmSession, 1);
-			    session->name      = g_strdup (dent->d_name);
-			    session->clearname = NULL;
-			    g_hash_table_insert (*sessnames, g_strdup (dent->d_name), session);
 			    g_key_file_free (cfg);
 			    dent = readdir (sessdir);
 			    continue;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]