Hello community, here is the log from the commit of package gdm checked in at Fri Jun 2 01:51:46 CEST 2006. -------- --- GNOME/gdm/gdm.changes 2006-06-01 00:32:01.000000000 +0200 +++ gdm/gdm.changes 2006-06-01 01:07:03.000000000 +0200 @@ -1,0 +2,6 @@ +Thu Jun 1 01:06:50 CEST 2006 - hpj@suse.de + +- Don't let any user configure GDM from the login screen if a + theme with user list is in effect. Fixes Novell bug #180219. + +------------------------------------------------------------------- New: ---- gdm-2.8.0.7-prevent-unauthorized-config.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gdm.spec ++++++ --- /var/tmp/diff_new_pack.Ffs2ai/_old 2006-06-02 01:51:33.000000000 +0200 +++ /var/tmp/diff_new_pack.Ffs2ai/_new 2006-06-02 01:51:33.000000000 +0200 @@ -22,7 +22,7 @@ Group: System/GUI/GNOME Autoreqprov: on Version: 2.8.0.7 -Release: 65 +Release: 66 Summary: The GNOME 2.x Display Manager Source: %{name}-%{version}.tar.bz2 Source1: gdm.pamd @@ -55,6 +55,7 @@ Patch25: gdm-2.8.0.7-user-must-own-iceauthority.patch Patch26: gdm-2.8.0.7-some-info-in-dialog.patch Patch27: gdm-no-ja-in-console.patch +Patch28: gdm-2.8.0.7-prevent-unauthorized-config.patch URL: http://www.gnome.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Docdir: %{_defaultdocdir} @@ -112,6 +113,7 @@ %patch25 -p1 %patch26 -p1 %patch27 +%patch28 -p1 gnome-patch-translation-update # This patch has its own translation updater. %patch18 @@ -239,6 +241,9 @@ %endif %changelog -n gdm +* Thu Jun 01 2006 - hpj@suse.de +- Don't let any user configure GDM from the login screen if a + theme with user list is in effect. Fixes Novell bug #180219. * Thu Jun 01 2006 - dreveman@suse.de - Fix bg patch and change gdm.conf patch so we pass -br to X server for black root window. (bnc 179847) ++++++ gdm-2.8.0.7-prevent-unauthorized-config.patch ++++++ diff -Nurp gdm-2.8.0.7-pre/gui/gdmlogin.c gdm-2.8.0.7-post/gui/gdmlogin.c --- gdm-2.8.0.7-pre/gui/gdmlogin.c 2006-05-31 16:20:02.000000000 -0500 +++ gdm-2.8.0.7-post/gui/gdmlogin.c 2006-05-31 16:40:35.000000000 -0500 @@ -801,6 +801,8 @@ gdm_parse_enriched_string (const char *p static void gdm_run_gdmconfig (GtkWidget *w, gpointer data) { + gtk_widget_set_sensitive (browser, FALSE); + /* we should be now fine for focusing new windows */ gdm_wm_focus_new_windows (TRUE); diff -Nurp gdm-2.8.0.7-pre/gui/greeter/greeter.c gdm-2.8.0.7-post/gui/greeter/greeter.c --- gdm-2.8.0.7-pre/gui/greeter/greeter.c 2006-05-31 16:20:02.000000000 -0500 +++ gdm-2.8.0.7-post/gui/greeter/greeter.c 2006-05-31 16:40:31.000000000 -0500 @@ -438,7 +438,6 @@ greeter_ctrl_handler (GIOChannel *source buf[len-1] = '\0'; greeter_item_pam_set_user (buf); - greeter_item_ulist_enable (); printf ("%c\n", STX); fflush (stdout); break; @@ -595,6 +594,7 @@ greeter_ctrl_handler (GIOChannel *source printf ("%c\n", STX); fflush (stdout); greeter_ignore_buttons (FALSE); + greeter_item_ulist_enable (); break; case GDM_QUIT: @@ -1568,6 +1568,9 @@ main (int argc, char *argv[]) gtk_window_move (GTK_WINDOW (window), gdm_wm_screen.x, gdm_wm_screen.y); gtk_widget_show_now (window); + greeter_item_ulist_set_user (NULL); + greeter_item_ulist_enable (); + /* can it ever happen that it'd be NULL here ??? */ if G_UNLIKELY (window->window != NULL) { diff -Nurp gdm-2.8.0.7-pre/gui/greeter/greeter_item_ulist.c gdm-2.8.0.7-post/gui/greeter/greeter_item_ulist.c --- gdm-2.8.0.7-pre/gui/greeter/greeter_item_ulist.c 2005-11-22 14:43:50.000000000 -0600 +++ gdm-2.8.0.7-post/gui/greeter/greeter_item_ulist.c 2006-05-31 16:40:31.000000000 -0500 @@ -325,8 +325,6 @@ greeter_item_ulist_setup (void) force_no_tree_separators (user_list); greeter_generate_userlist (user_list); - if ( ! DOING_GDM_DEVELOPMENT) - greeter_item_ulist_disable (); /* Reset size of the widget canvas item so it * is the same size as the userlist. This diff -Nurp gdm-2.8.0.7-pre/gui/greeter/greeter_system.c gdm-2.8.0.7-post/gui/greeter/greeter_system.c --- gdm-2.8.0.7-pre/gui/greeter/greeter_system.c 2006-05-31 16:20:02.000000000 -0500 +++ gdm-2.8.0.7-post/gui/greeter/greeter_system.c 2006-05-31 16:40:31.000000000 -0500 @@ -121,6 +121,11 @@ greeter_suspend_handler (void) static void greeter_config_handler (void) { + greeter_item_ulist_disable (); + + /* Unselect the user */ + greeter_item_ulist_set_user (NULL); + /* we should be now fine for focusing new windows */ gdm_wm_focus_new_windows (TRUE); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit-help@opensuse.org
participants (1)
-
root@suse.de