From 925d5eda37353b9e883d3eab64f55f125d4cbab2 Mon Sep 17 00:00:00 2001 From: Brian Cameron Date: Tue, 30 May 2006 20:11:24 +0000 Subject: Remove some unused code. Fix so when you click on the include_all button, 2006-05-30 Brian Cameron * daemon/gdm.c: Remove some unused code. * gui/gdmsetup.c: Fix so when you click on the include_all button, the Automatic/Timed login values update properly. --- ChangeLog | 282 +++++++++++++++++++++++++++++--------------------------- daemon/gdm.c | 9 -- docs/es/gdm.xml | 4 +- docs/uk/gdm.xml | 4 +- gui/gdmsetup.c | 36 ++++---- 5 files changed, 167 insertions(+), 168 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6b01a316..5192647e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,9 +1,15 @@ +2006-05-30 Brian Cameron + + * daemon/gdm.c: Remove some unused code. + * gui/gdmsetup.c: Fix so when you click on the include_all + button, the Automatic/Timed login values update properly. + 2006-05-24 Brian Cameron * daemon/gdm.c, docs/C/gdm.xml: Put back support for -nodaemon argument, lost in the 5-12 patch by Christian Kirbach. This fixes bug #324831. Patch provided by Ray Strode - . + . 2006-05-23 Brian Cameron @@ -48,8 +54,8 @@ 2006-05-15 Brian Cameron - * Release 2.15.3: - * NEWS: Updated. Also include 2.14.6 NEWS. + * Release 2.15.3: + * NEWS: Updated. Also include 2.14.6 NEWS. * configure.ac: Update to new release version. 2006-05-15 Brian Cameron @@ -93,8 +99,8 @@ 2006-05-12 Brian Cameron - * Release 2.15.2: - * NEWS: Updated. + * Release 2.15.2: + * NEWS: Updated. * configure.ac: Update to new release version. 2006-05-12 Brian Cameron @@ -104,8 +110,8 @@ 2006-05-12 Brian Cameron - * Release 2.15.1: - * NEWS: Updated. + * Release 2.15.1: + * NEWS: Updated. * configure.ac: Update to new release version. * docs/C/gdm.xml: Updated to reflect which interfaces are supported starting with 2.14.6. @@ -148,7 +154,7 @@ 2006-05-09 Brian Cameron - * config/Makefile.am: Do chown after chmod. + * config/Makefile.am: Do chown after chmod. 2006-05-09 Brian Cameron @@ -201,15 +207,15 @@ 2006-05-02 Brian Cameron - * Release 2.15.0: - * NEWS: Updated. + * Release 2.15.0: + * NEWS: Updated. * configure.ac: Update to new release version. * gui/gdmlogin.c: Now use "Start Over" instead of Cancel. 2006-05-02 Brian Cameron - * Release 2.14.5: - * NEWS: Updated. + * Release 2.14.5: + * NEWS: Updated. * configure.ac: Update to new release version. 2006-05-02 Brian Cameron @@ -228,7 +234,7 @@ * config/gettextfoo.h, config/XKeepsCrashing: Updated by running 'cd config && cat XKeepsCrashing Xsession.in|./extract-shell.sh - > gettextfoo.h', so the file is regenerated to have the latest + > gettextfoo.h', so the file is regenerated to have the latest strings. Fixes bug #340017. 2006-04-27 Brian Cameron @@ -620,7 +626,7 @@ 2006-02-21 Brian Cameron * gui/greeter/greeter_parser.c: Add new "gtk-theme" property - to tag theme xml format, so the theme can specify a + to tag theme xml format, so the theme can specify a GtkTheme to be used for gdmgreeter. This allows theming of the "Options" menu and the entry field, and any other GTK+ widgets used by gdmgreeter. This also makes it possible to @@ -718,7 +724,7 @@ gui/greeter/greeter_canvas_item.c, gui/greeter/greeter_events.c, gui/greeter/greeter_session.c, gui/greeter/greeter_system.c: Fix problem with options button and F10 menu not working if the - button is not in the theme. This only affects buttons that can + button is not in the theme. This only affects buttons that can be in the F10 button but may not be in the theme (language, system, session, halt, reboot, shutdown). Fixes bug #330343. @@ -734,12 +740,12 @@ is sometimes run with the --command option when there is no display. * README, README.install: Updated with some new features and moved some - info to docs/C/gdm.xml where the info is more useful. + info to docs/C/gdm.xml where the info is more useful. * TODO: Updated. * configure.ac: Fixed the mess about /usr/opensolaris/bin * gui/greeter/greeter_system.c: Do not put tooltips on menus. They are - a bad idea and their use is discouraged by the HIG because they break - a11y. + a bad idea and their use is discouraged by the HIG because they break + a11y. * docs/C/gdm.xml: Updated docs with a bunch of information from the README and README.install file that really belonged in the docs. @@ -823,7 +829,7 @@ the slave will sleep 1 second before retry (normally retries 5 times). If all retries fail, it will not try sleeping on subsequent calls to the daemon. This greatly improves performance when the - daemon is flooded with slave requests. In normal usage, this will + daemon is flooded with slave requests. In normal usage, this will likely not happen, but it is good for GDM to not fail so easily. Added better debug. Added gdm_comm_close function so that slaves can ask to close the socket when done reading config. Now uses @@ -1489,14 +1495,14 @@ 2005-11-22 Brian Cameron - * gui/modules/keymouselistener.c, - gui/modules/dwellmouselistener.c: Backing out this fix. It is not + * gui/modules/keymouselistener.c, + gui/modules/dwellmouselistener.c: Backing out this fix. It is not needed. 2005-11-22 Brian Cameron - * gui/modules/keymouselistener.c, - gui/modules/dwellmouselistener.c: Fix build on Darwin. Fixes bug + * gui/modules/keymouselistener.c, + gui/modules/dwellmouselistener.c: Fix build on Darwin. Fixes bug #322085. Patch provided by dmacks@netspace.org. 2005-11-22 Brian Cameron @@ -1524,7 +1530,7 @@ 2005-11-22 Brian Cameron - * gui/gdmlogin.c: Now use GDK_RGB_DITHER_MAX so that GDM always + * gui/gdmlogin.c: Now use GDK_RGB_DITHER_MAX so that GDM always displays a nice background regardless of X configuration (X in 16bpp mode). Fixes bug #322029. Patch provided by Frederic Crozat. @@ -1639,9 +1645,9 @@ 2005-11-11 Brian Cameron - * configure.ac: Update check for socklen_t so it includes sys/socket.h. + * configure.ac: Update check for socklen_t so it includes sys/socket.h. Some BSD platforms define socklen_t there. Patch provided by - dmacks@netspace.org. Fixes bug #320930. + dmacks@netspace.org. Fixes bug #320930. 2005-11-09 Brian Cameron @@ -1798,7 +1804,7 @@ 2005-10-28 Brian Cameron - * daemon/display.c: If the slave doesn't respond to a SIGTERM, try + * daemon/display.c: If the slave doesn't respond to a SIGTERM, try SIGKILL the second time. GDM has a problem where it will sometimes stop managing a display because it just keeps waiting for a slave to die after sending it a SIGTERM. Some users have found that this @@ -1807,10 +1813,10 @@ 2005-10-28 Brian Cameron . 2005-10-28 Jürg Billeter @@ -1904,7 +1910,7 @@ 2005-10-03 Brian Cameron * Release 2.8.0.5 - * configure.in, NEWS, AUTHORS: Updated. + * configure.in, NEWS, AUTHORS: Updated. 2005-10-03 Brian Cameron @@ -1930,18 +1936,18 @@ 2005-09-28 William Jon McCann - * gui/gdmflexiserver.c (is_program_in_path, maybe_lock_screen) - (run_logged_in_dialogue, main): Consolidate screensaver activation + * gui/gdmflexiserver.c (is_program_in_path, maybe_lock_screen) + (run_logged_in_dialogue, main): Consolidate screensaver activation code. Don't use deprecated gnome-exec. Fixes #311497. 2005-09-27 Brian Cameron - * gui/greeter/greeter_item_ulist.c: Now print syslog warning if GDM + * gui/greeter/greeter_item_ulist.c: Now print syslog warning if GDM theme has ulist but does not have pam-message. 2005-09-26 Brian Cameron - * gui/gdmsetup.c, gui/gdmphotosetup.c: Only set right/left mouse + * gui/gdmsetup.c, gui/gdmphotosetup.c: Only set right/left mouse buttons to map to button1 when RUNNING_UNDER_GDM and now show hidden files by default in file dialogs. Fixes bug #317152. * gui/gdmflexiserver.c: Cleaned up startnew option. @@ -1996,9 +2002,9 @@ 2005-09-14 Brian Cameron - * gui/gdmsetup.c: Fix gdmsetup so that when user modifies + * gui/gdmsetup.c: Fix gdmsetup so that when user modifies Include/Exclude list, it also updates automatic/timed login dropdown - immediately. + immediately. * gui/modules/keymouselistener.c: Remove incorrect comment. 2005-09-13 Brian Cameron @@ -2025,8 +2031,8 @@ 2005-09-06 Brian Cameron - * Release 2.8.0.4. - * configure.in, NEWS: Updated. + * Release 2.8.0.4. + * configure.in, NEWS: Updated. 2005-08-30 Brian Cameron @@ -2082,8 +2088,8 @@ 2005-08-20 Brian Cameron - * Release 2.8.0.3. - * configure.in, NEWS: Updated. + * Release 2.8.0.3. + * configure.in, NEWS: Updated. 2005-08-20 Brian Cameron @@ -2319,38 +2325,38 @@ * gui/face/sky.jpg: Updated images. * gui/face/astronaut.jpg: - * gui/face/baseball.png: - * gui/face/butterfly.png: - * gui/face/cat-eye.jpg: - * gui/face/chess.jpg: - * gui/face/coffee.jpg: - * gui/face/energy-arc.jpg: - * gui/face/fish.jpg: - * gui/face/flake.jpg: - * gui/face/flower.jpg: - * gui/face/grapes.jpg: - * gui/face/guitar.jpg: - * gui/face/launch.jpg: - * gui/face/leaf.jpg: - * gui/face/lightning.jpg: - * gui/face/penguin.jpg: - * gui/face/puppy.jpg: - * gui/face/soccerball.png: - * gui/face/sunflower.jpg: - * gui/face/sunset.jpg: - * gui/face/tennis-ball.png: - * gui/face/yellow-rose.jpg: New images. All + * gui/face/baseball.png: + * gui/face/butterfly.png: + * gui/face/cat-eye.jpg: + * gui/face/chess.jpg: + * gui/face/coffee.jpg: + * gui/face/energy-arc.jpg: + * gui/face/fish.jpg: + * gui/face/flake.jpg: + * gui/face/flower.jpg: + * gui/face/grapes.jpg: + * gui/face/guitar.jpg: + * gui/face/launch.jpg: + * gui/face/leaf.jpg: + * gui/face/lightning.jpg: + * gui/face/penguin.jpg: + * gui/face/puppy.jpg: + * gui/face/soccerball.png: + * gui/face/sunflower.jpg: + * gui/face/sunset.jpg: + * gui/face/tennis-ball.png: + * gui/face/yellow-rose.jpg: New images. All derived from images on wikipedia and wikimedia with free licenses. * gui/face/bonfire.jpg: * gui/face/cdrom.jpg: - * gui/face/clock.jpg: - * gui/face/hollyleaf.jpg: - * gui/face/lamas.jpg: - * gui/face/seal.jpg: - * gui/face/skyline.jpg: - * gui/face/daisy.jpg: Removed. + * gui/face/clock.jpg: + * gui/face/hollyleaf.jpg: + * gui/face/lamas.jpg: + * gui/face/seal.jpg: + * gui/face/skyline.jpg: + * gui/face/daisy.jpg: Removed. 2005-07-22 Brian Cameron @@ -2685,12 +2691,12 @@ 2005-05-16 Danilo \305\240egan - * gui/gdmsetup-strings.c: Removed. - * gui/gdmchooser-strings.c: Removed. + * gui/gdmsetup-strings.c: Removed. + * gui/gdmchooser-strings.c: Removed. - * gui/Makefile.am: Remove gdmchooser-strings.c and gdmsetup-strings.c, - as well as duplicate entries for glade files from EXTRA_DIST. Fixes - bug #55635 + * gui/Makefile.am: Remove gdmchooser-strings.c and gdmsetup-strings.c, + as well as duplicate entries for glade files from EXTRA_DIST. Fixes + bug #55635 2005-05-16 Brian Cameron @@ -3043,7 +3049,7 @@ 2005-03-31 Steve Murphy - * configure.in: Added "rw" to ALL_LINGUAS. + * configure.in: Added "rw" to ALL_LINGUAS. 2005-04-01 Brian Cameron @@ -3218,7 +3224,7 @@ Thu Mar 10 14:16:00 2005 Adi Attar Tue Mar 08 14:35:00 2005 Brian Cameron - * gui/modules/AccessKeyMouseEvents.in: Added -u when launching + * gui/modules/AccessKeyMouseEvents.in: Added -u when launching magnifier so it is launched in horizontal split mode which works better. * acconfig.h, configure.in, AccessDwellMouseEvents.in, @@ -3328,17 +3334,17 @@ Mon Feb 14 16:42:00 2005 Brian Cameron Mon Feb 14 16:25:00 2005 Brian Cameron - * gui/gdmwm.c: - (add_deco): Add PropertyChangeMask to notify mask. - (gdm_wm_update_struts): New, listen for strut changes. - (constrain_window): New, make sure a window doesn't overlap - struts that it doesn't own. - (event_process): Handle PropertyNotify events, - and call gdm_wm_update_struts and constrain_all_windows - if _NET_WM_STRUT property changes. - (constrain_all_windows): New, constrain all windows in the - gdmwm list. - Fixes bug #143634. Adds STRUTS support to GDM2's light + * gui/gdmwm.c: + (add_deco): Add PropertyChangeMask to notify mask. + (gdm_wm_update_struts): New, listen for strut changes. + (constrain_window): New, make sure a window doesn't overlap + struts that it doesn't own. + (event_process): Handle PropertyNotify events, + and call gdm_wm_update_struts and constrain_all_windows + if _NET_WM_STRUT property changes. + (constrain_all_windows): New, constrain all windows in the + gdmwm list. + Fixes bug #143634. Adds STRUTS support to GDM2's light window manager for better a11y support. Makes gdm2 work better with gok. Patch provided by Bill Haneman. @@ -3405,7 +3411,7 @@ Tue Jan 28 15:35:00 2005 Brian Cameron versions of intltool. * omf.make, xmldocs.make: Fixed errors in "makedist". I found a pointer to the fix here: - mail.gnome.org/archives/desktop-devel-list/2003-December/msg00587.html + mail.gnome.org/archives/desktop-devel-list/2003-December/msg00587.html * gui/Makefile.am, gui/greeter/themes/circles/Makefile.am, gui/modules/Makefile.am, gui/greeter/themes/happygnome/Makefile.am, config/Makefile.am, gui/greeter/themes/happygnome-list/Makefile.am: @@ -3550,7 +3556,7 @@ Tue Sep 14 15:29:22 2004 George Lebl 2004-08-27 Akagic Amila - * configure.in: Added 'bs' to ALL_LINGUAS. + * configure.in: Added 'bs' to ALL_LINGUAS. Thu Aug 26 15:55:00 2004 Brian Cameron @@ -3873,7 +3879,7 @@ Tue May 04 09:47:21 2004 George Lebl 2004-04-09 John C Barstow - * configure.in: Added "mi" (Maori) to ALL_LINGUAS. + * configure.in: Added "mi" (Maori) to ALL_LINGUAS. Fri Apr 16 16:02:53 2004 George Lebl @@ -3900,7 +3906,7 @@ Tue Apr 13 11:22:00 2004 George Lebl 2004-04-09 Guntupalli Karunakar - * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS. + * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS. 2004-04-08 Vijaykumar Patwari @@ -3931,7 +3937,7 @@ Tue Mar 30 15:47:33 2004 George Lebl 2004-03-23 Guntupalli Karunakar - * configure.in: Added "mr" for Marathi in ALL_LINGUAS. + * configure.in: Added "mr" for Marathi in ALL_LINGUAS. 2004-03-18 Gareth Owen @@ -4170,11 +4176,11 @@ Tue Jan 06 16:06:12 2004 George Lebl Tue Jan 06 Brian Cameron * gui/modules/dwellmouselistener.c, - gui/modules/keymouselistener.c: Moved include of vicious.h - before gnome.h because gnome.h causes macros to be defined - for dcgettext, dgettext, gettext, textdomain, bindtextdomain. - And this causes a conflict with Solaris libintl.h which is - included by locale.h which is included by vicious.h. + gui/modules/keymouselistener.c: Moved include of vicious.h + before gnome.h because gnome.h causes macros to be defined + for dcgettext, dgettext, gettext, textdomain, bindtextdomain. + And this causes a conflict with Solaris libintl.h which is + included by locale.h which is included by vicious.h. Tue Jan 06 11:49:29 2004 George Lebl @@ -4251,7 +4257,7 @@ Fri Jan 02 16:31:34 2004 George Lebl 2004-01-03 Robert Sedak - * configure.in: Added "hr" in ALL_LINGUAS. + * configure.in: Added "hr" in ALL_LINGUAS. Thu Jan 01 11:24:30 2004 Ray Strode @@ -4371,7 +4377,7 @@ Fri Dec 12 17:14:41 2003 George Lebl Fri Dec 12 09:36:34 2003 George Lebl - * gui/gdmcomm.c: check ownership of /tmp/.gdm_socket before using + * gui/gdmcomm.c: check ownership of /tmp/.gdm_socket before using Wed Dec 10 18:40:48 2003 George Lebl @@ -4391,9 +4397,9 @@ Wed Dec 10 15:44:53 2003 George Lebl Wed Dec 10 15:36:31 2003 George Lebl - * daemon/display.c: Fix #126465 where xdmcp_sessions would not - get decremented on normal logout. Doh! Just do a recount of - all the limits on display dispose that is just a lot more robust. + * daemon/display.c: Fix #126465 where xdmcp_sessions would not + get decremented on normal logout. Doh! Just do a recount of + all the limits on display dispose that is just a lot more robust. * daemon/xdmcp.c: minor cosmetic cleanup @@ -5328,7 +5334,7 @@ Wed Aug 13 Brian Cameron * acconfig.h, configure.in: add check for fbconsole (fallback (console) * daemon/server.c: add call to start fbconsole (if present) - after the Xserver starts. + after the Xserver starts. Tue Aug 12 17:48:45 2003 George Lebl @@ -6719,16 +6725,16 @@ Tue Jun 03 13:37:31 2003 George Lebl Tue Jun 03 11:11:20 2003 George Lebl - * gui/greeter/greeter_item.[ch], gui/greeter/greeter_parser.c: - whack subtype, though read it from "legacy" xml files into "type" - (as long as type was "system"), also add a "config" stock label - if someone really wanted to do a config button. If the type - is now config, halt, reboot, suspend or chooser, automatically - check if SystemMenu is enabled, which avoids the whole subtype - nonsense. + * gui/greeter/greeter_item.[ch], gui/greeter/greeter_parser.c: + whack subtype, though read it from "legacy" xml files into "type" + (as long as type was "system"), also add a "config" stock label + if someone really wanted to do a config button. If the type + is now config, halt, reboot, suspend or chooser, automatically + check if SystemMenu is enabled, which avoids the whole subtype + nonsense. - * gui/greeter/greeter.dtd: Update for the above and also add the - stock labels for config and chooser + * gui/greeter/greeter.dtd: Update for the above and also add the + stock labels for config and chooser Tue Jun 03 10:41:03 2003 George Lebl @@ -7006,13 +7012,13 @@ Mon May 05 13:33:28 2003 George Lebl 2003-04-30 Niall Power - * configure.in config/gdm.conf.in gui/Makefile.am gui/gdmlogin.c - po/POTFILES.in - Added Files: gui/modules/AccessKeyMouseEvents.in, - gui/modules/Makefile.am, gui/modules/keymouselistener.c + * configure.in config/gdm.conf.in gui/Makefile.am gui/gdmlogin.c + po/POTFILES.in + Added Files: gui/modules/AccessKeyMouseEvents.in, + gui/modules/Makefile.am, gui/modules/keymouselistener.c Added a keyboard/mouse button gesture listener. This is a gtk - module that is configurable by editing AccessKeyMouseEvents - in ($sysconfdir)/gdm/modules + module that is configurable by editing AccessKeyMouseEvents + in ($sysconfdir)/gdm/modules 2003-04-30 Laurent Dhima @@ -7212,8 +7218,8 @@ Thu Jan 02 10:53:35 2003 George Lebl Sat Dec 21 14:30:01 2002 George Lebl * gui/greeter/greeter.c: Fixing #94554, by drawing the BackgroundColor - on the background always. This doesn't make any difference - on local displays, but should look less bad on Xinerama displays. + on the background always. This doesn't make any difference + on local displays, but should look less bad on Xinerama displays. Sat Dec 21 14:05:40 2002 George Lebl @@ -7595,7 +7601,7 @@ Tue Aug 13 11:52:28 2002 George Lebl Tue Aug 13 08:27:18 2002 George Lebl * config/gdm.conf.in: update comment on top to be correct - (USR1 vs. HUP) redhat bug 71308 + (USR1 vs. HUP) redhat bug 71308 Thu Aug 08 09:36:11 2002 George Lebl @@ -9201,9 +9207,9 @@ Fri Feb 8 17:33:20 2002 Jonathan Blandford * gui/gdmconfig-strings.c: Fixed a typo. - * config/gettextfoo.h: Fixed a typo. - * daemon/verify-pam.c: Ditto. - * gui/gdmconfig-strings.c: Ditto. + * config/gettextfoo.h: Fixed a typo. + * daemon/verify-pam.c: Ditto. + * gui/gdmconfig-strings.c: Ditto. 2002-01-30 Alex Larsson @@ -11662,7 +11668,7 @@ Sun Apr 29 18:06:25 2001 George Lebl Sun Apr 29 21:40:00 2001 Lee Mallabone - * gui/gdmconfig.c, gui/gdmconfig.glade: Add the "run configurator" + * gui/gdmconfig.c, gui/gdmconfig.glade: Add the "run configurator" options and gdmconfig path to gdmconfig itself. (hmmm). * gui/gdmconfig.c, gui/gdmconfig.glade: Add a new notebook tab to @@ -11713,7 +11719,7 @@ Sat Apr 28 16:01:48 2001 George Lebl Sat Apr 28 17:50:00 2001 Lee Mallabone - * gui/gdmlogin.c, daemon/gdm.h, config/gdm.conf.in: Add the option + * gui/gdmlogin.c, daemon/gdm.h, config/gdm.conf.in: Add the option (and relevant paths in the config) to run gdmconfig from the system menu in gdmlogin. Disabled by default for obvious reasons. This closes bug #53783. @@ -11974,7 +11980,7 @@ Mon Mar 05 18:17:42 2001 George Lebl Mon Mar 05 23:41:40 2001 Lee Mallabone - * gui/gdmconfig.[ch]: Fix bug that caused only values of 0 and 1 for + * gui/gdmconfig.[ch]: Fix bug that caused only values of 0 and 1 for RelaxPerms to be used/written. * gui/gdmconfig.glade: Change RelaxPerms toggle to 3 radio buttons, @@ -11982,7 +11988,7 @@ Mon Mar 05 23:41:40 2001 Lee Mallabone Mon Mar 05 22:42:54 2001 Lee Mallabone - * gui/Makefile.am: Change shared directory for glade files + * gui/Makefile.am: Change shared directory for glade files to allow centralized storage of all gdm .glade files. Link gdmchooser against libglade. @@ -12021,7 +12027,7 @@ Sun Mar 04 12:27:50 2001 George Lebl Sun Mar 4 16:13:55 2001 Lee Mallabone - * docs/gdmconfig/*: Added initial directory structure/files for + * docs/gdmconfig/*: Added initial directory structure/files for the gdmconfig user guide. Not installed yet. * docs/gdmconfig/C/gdmconfig.sgml: Initial gdmconfig user guide @@ -12034,7 +12040,7 @@ Wed Feb 28 19:23:42 2001 George Lebl Web Feb 28 18:47:14 2001 Lee Mallabone - * gdmconfig-pam, gdmconfig-security: New files to support + * gdmconfig-pam, gdmconfig-security: New files to support privileged non-root users running gdmconfig. * Makefile.am, configure.in, gdm.spec.in: Add option to configure @@ -12048,7 +12054,7 @@ Tue Feb 27 16:44:34 2001 George Lebl Tue Feb 27 13:27:00 2001 Lee Mallabone - * gui/gdmconfig.c, gui/gdmconfig-strings.c, gui/gdmconfig.glade: + * gui/gdmconfig.c, gui/gdmconfig-strings.c, gui/gdmconfig.glade: Fix version number and add bugzilla URL to about box. 2001-02-27 Gediminas Paulauskas @@ -12227,8 +12233,8 @@ Thu Feb 01 17:05:54 2001 George Lebl configuratior (gui/gdmconfig.c) to include the screen option * gui/gdmlogin.c, configure.in: added support for Xinerama, - the new key greeter/XineramaScreen selects on which screen the - greeter will be centered + the new key greeter/XineramaScreen selects on which screen the + greeter will be centered Thu Feb 01 04:49:11 2001 George Lebl @@ -12524,7 +12530,7 @@ Tue Jan 09 18:50:51 2001 George Lebl * daemon/verify.c (gdm_verify_user): Added fix for expired passwords when using PAM (Philip Spencer ). - + 1999-11-11 * daemon/misc.c (gdm_setenv): New function to work around POSIX @@ -12547,7 +12553,7 @@ Tue Jan 09 18:50:51 2001 George Lebl 1999-10-21 Sergey Panov - * configure.in (ALL_LINGUAS): Added ru. + * configure.in (ALL_LINGUAS): Added ru. 1999-10-03 @@ -12624,7 +12630,7 @@ Tue Jan 09 18:50:51 2001 George Lebl 1999-09-03 Zbigniew Chyla - * configure.in (ALL_LINGUAS): Added pl. + * configure.in (ALL_LINGUAS): Added pl. 1999-09-01 @@ -13168,7 +13174,7 @@ Tue Jan 09 18:50:51 2001 George Lebl gdm_slave_windows_kill to hang on second login. The X server takes a while to recover consciousness after a reset. I take this into account by sleeping for a while if XOpenDisplay fails. - Unfortunately, dsp was already initialized in second run + Unfortunately, dsp was already initialized in second run (but invalid after the X server reset) causing my retry condition to be ignored. Always check your pointers! *sigh* @@ -13268,7 +13274,7 @@ Tue Jan 09 18:50:51 2001 George Lebl * config/Makefile.am (install-data-hook): Make sure that install-data-hook depends on targets gdm.conf gnomerc and Gnome. - Otherwise they are never built. Also, if the directories that + Otherwise they are never built. Also, if the directories that these files are supposed to go in don't exist, create them with the proper mode. @@ -13406,7 +13412,7 @@ Thu Sep 24 22:09:39 CEST 1998 Jochen Friedrich 1998-09-10 Miguel de Icaza - * src/gdm.c (gdm_config_parse): Simplify as well. + * src/gdm.c (gdm_config_parse): Simplify as well. * src/gdmgreeter.c (gdm_greeter_user_alloc): Fix my oversimplication from last night. diff --git a/daemon/gdm.c b/daemon/gdm.c index 4b15e01e..59783ee0 100644 --- a/daemon/gdm.c +++ b/daemon/gdm.c @@ -3162,25 +3162,16 @@ gdm_handle_user_message (GdmConnection *conn, const gchar *msg, gpointer data) g_strfreev (splitstr); } } else if (strcmp (msg, GDM_SUP_GET_CONFIG_FILE) == 0) { - GString *msg; - - msg = g_string_new ("OK"); - g_string_append (msg, "\n"); gdm_connection_printf (conn, "OK %s\n", config_file); - g_string_free (msg, TRUE); } else if (strcmp (msg, GDM_SUP_GET_CUSTOM_CONFIG_FILE) == 0) { - GString *msg; gchar *ret; - msg = g_string_new ("OK"); - g_string_append (msg, "\n"); ret = gdm_get_custom_config_file (); if (ret) gdm_connection_printf (conn, "OK %s\n", ret); else gdm_connection_write (conn, "ERROR 1 File not found\n"); - g_string_free (msg, TRUE); } else if (strcmp (msg, GDM_SUP_QUERY_LOGOUT_ACTION) == 0) { GdmLogoutAction logout_action; GdmDisplay *disp; diff --git a/docs/es/gdm.xml b/docs/es/gdm.xml index f689ae4c..10292b49 100644 --- a/docs/es/gdm.xml +++ b/docs/es/gdm.xml @@ -111,7 +111,7 @@ Nota: las distribuciones a menudo cambian los valores predeterminados de las claves para soportar su plataforma. Los interfaces de línea de comandos para los programas GDM instalados en <bin> y <sbin> se consideran estables. Refiérase a su documentación de la distribución para ver si hay cualquier cambio específico de la distribución a estos interfaces de GDM y qué soporte existe para ellos. - As of the GDM 2.15 development series one-dash arguments are no longer supported. This includes the "-nodaemon" argument used by gdm and gdm-binary. It also includes the "-xdmaddress", "-clientaddress", and "-connectionType" arguments used by gdmchooser. These arguments have been changed to now use two dashes. GDM previously supported the one-dash arguments to be more similar with the XDM login manager, but one-dash command line arguments is deprecated in the GNOME stack. + As of the GDM 2.15 development series, some one-dash arguments are no longer supported. This includes the "-xdmaddress", "-clientaddress", and "-connectionType" arguments used by gdmchooser. These arguments have been changed to now use two dashes. Si se descubrieran problemas que rompiesen la compatibilidad, por favor envíe un error con una prioridad «urgente». @@ -2775,7 +2775,7 @@ remote-flexi - In remote (XDMCP) & flexi mode. --nodaemon - If this option is specified, then GDM does not fork into the background when run. Note that you cannot use the single-dash option any more that e.g. XDM understands. + If this option is specified, then GDM does not fork into the background when run. You can also use a single-dash version, "-nodaemon" for compatibility with other display managers. diff --git a/docs/uk/gdm.xml b/docs/uk/gdm.xml index 152cc415..5a26cd9f 100644 --- a/docs/uk/gdm.xml +++ b/docs/uk/gdm.xml @@ -111,7 +111,7 @@ Note: distributions often change the default values of keys to support their platform. Command-line interfaces for GDM programs installed to <bin> and <sbin> are considered stable. Refer to your distribution documentation to see if there are any distribution-specific changes to these GDM interfaces and what support exists for them. - As of the GDM 2.15 development series one-dash arguments are no longer supported. This includes the "-nodaemon" argument used by gdm and gdm-binary. It also includes the "-xdmaddress", "-clientaddress", and "-connectionType" arguments used by gdmchooser. These arguments have been changed to now use two dashes. GDM previously supported the one-dash arguments to be more similar with the XDM login manager, but one-dash command line arguments is deprecated in the GNOME stack. + As of the GDM 2.15 development series, some one-dash arguments are no longer supported. This includes the "-xdmaddress", "-clientaddress", and "-connectionType" arguments used by gdmchooser. These arguments have been changed to now use two dashes. If issues are discovered that break compatibility, please file a bug with an "urgent" priority. @@ -2773,7 +2773,7 @@ remote-flexi - In remote (XDMCP) & flexi mode. --nodaemon - If this option is specified, then GDM does not fork into the background when run. Note that you cannot use the single-dash option any more that e.g. XDM understands. + If this option is specified, then GDM does not fork into the background when run. You can also use a single-dash version, "-nodaemon" for compatibility with other display managers. diff --git a/gui/gdmsetup.c b/gui/gdmsetup.c index 5dfeda3d..7de9be66 100644 --- a/gui/gdmsetup.c +++ b/gui/gdmsetup.c @@ -2190,6 +2190,20 @@ setup_face (void) G_CALLBACK (browser_apply), &fc); } +static void +include_all_toggle (GtkWidget *toggle) +{ + if (GTK_TOGGLE_BUTTON (toggle)->active) + GdmIncludeAll = TRUE; + else + GdmIncludeAll = FALSE; + + setup_user_combobox_list ("autologin_combo", + GDM_KEY_AUTOMATIC_LOGIN); + setup_user_combobox_list ("timedlogin_combo", + GDM_KEY_TIMED_LOGIN); +} + static gboolean greeter_toggle_timeout (GtkWidget *toggle) { @@ -2222,6 +2236,10 @@ greeter_toggle_timeout (GtkWidget *toggle) } gdm_setup_config_set_bool (key, GTK_TOGGLE_BUTTON (toggle)->active); update_greeters (); + + if (strcmp (ve_sure_string (key), GDM_KEY_INCLUDE_ALL) == 0) { + include_all_toggle (toggle); + } } return FALSE; @@ -2313,20 +2331,6 @@ local_background_type_toggled (GtkWidget *toggle) run_timeout (toggle, 200, local_background_type_toggle_timeout); } -static void -include_all_toggle (GtkWidget *toggle) -{ - if (GTK_TOGGLE_BUTTON (toggle)->active) - GdmIncludeAll = TRUE; - else - GdmIncludeAll = FALSE; - - setup_user_combobox_list ("autologin_combo", - GDM_KEY_AUTOMATIC_LOGIN); - setup_user_combobox_list ("timedlogin_combo", - GDM_KEY_TIMED_LOGIN); -} - static void setup_greeter_toggle (const char *name, const char *key) @@ -2391,8 +2395,6 @@ setup_greeter_toggle (const char *name, G_CALLBACK (list_selection_toggled), fb_includeremove); g_signal_connect (G_OBJECT (toggle), "toggled", G_CALLBACK (sensitive_entry_toggled), fb_includelabel); - g_signal_connect (G_OBJECT (toggle), "toggled", - G_CALLBACK (include_all_toggle), NULL); } else if (strcmp ("acc_sound_ready", ve_sure_string (name)) == 0) { @@ -6533,7 +6535,7 @@ main (int argc, char *argv[]) GdmIconMaxHeight = gdm_config_get_int (GDM_KEY_MAX_ICON_HEIGHT); GdmIconMaxWidth = gdm_config_get_int (GDM_KEY_MAX_ICON_WIDTH); GdmMinimalUID = gdm_config_get_int (GDM_KEY_MINIMAL_UID); - GdmIncludeAll = gdm_config_get_bool ( GDM_KEY_INCLUDE_ALL); + GdmIncludeAll = gdm_config_get_bool (GDM_KEY_INCLUDE_ALL); GdmInclude = gdm_config_get_string (GDM_KEY_INCLUDE); GdmExclude = gdm_config_get_string (GDM_KEY_EXCLUDE); GdmSoundProgram = gdm_config_get_string (GDM_KEY_SOUND_PROGRAM); -- cgit v1.2.1