summaryrefslogtreecommitdiff
path: root/gui/gdmphotosetup.c
Commit message (Collapse)AuthorAgeFilesLines
* do the face browser warning only if gdmlogin is selected for both greetersGeorge Lebl2003-05-191-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mon May 19 13:03:57 2003 George Lebl <jirka@5z.com> * gui/gdmphotosetup.c: do the face browser warning only if gdmlogin is selected for both greeters * config/gdm.conf.in: add nfsnobody to Exclude * gui/gdmXnestchooser.c: when direct is on and we're looking at the local server don't check indirect key for being on * gui/greeter/Makefile.am, gui/greeter/greeter.c, gui/greeter/greeter_canvas_item.c, gui/greeter/greeter_configuration.h, gui/greeter/greeter_item.h, gui/greeter/greeter_item_pam.c, gui/greeter/greeter_parser.c, gui/greeter/greeter_item_ulist.[ch]: Based on a patch from Patrizio Bruno <desertconsulting@firenze.net>, add face browser support by adding a list item, this list item should have id of "userlist" and it will be populated with the users just like the gdmlogin browser. When a user name is selected (either by typing it in or selecting in the list) it will be always selected in the list as well (which should make some people happy). I think we should use this kind of browser in gtklogin as well, because it is much cooler. * gui/greeter/greeter.dtd: update DTD for the list item * configure.in, gui/greeter/themes/happygnome-list/*, gui/greeter/themes/Makefile.am: Add a happygnome theme with a face browser using the new list item
* add a suspend interruption and a SOP command. The greeter interrupts, theGeorge Lebl2003-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Thu May 15 02:17:55 2003 George Lebl <jirka@5z.com> * gui/gdmlogin.c, gui/greeter/greeter_system.c, daemon/gdm.[ch], daemon/slave.c: add a suspend interruption and a SOP command. The greeter interrupts, the slave notices and proxies with a SOP command to the master which suspends. perhaps a bit too complex ... Fixes #108700 * daemon/slave.c, daemon/gdm.[ch], config/gdm.conf.in, config/PostLogin, config/Makefile.am: Add a PostLogin script which is run right after login before any user setup is done and allows things like home mounting and stuff. Should address issues from bug #103258 * daemon/gdm.c, daemon/slave.c, gui/gdmlogin.c, gui/greeter/greeter.c, gui/gdmphotosetup.c: Fix #106207 by proper use of 'than' rather than 'then' * daemon/gdm.[ch], daemon/server.c, gui/gdmsetup.(c|glade), config/gdm.conf.in: Add a security/DisallowTCP setting which will append -nolisten tcp to X server command line always, and make this the default. Fixes #87291
* update the message when GDM is not runningGeorge Lebl2002-12-211-0/+56
| | | | | | | | | | | | | | | | Sat Dec 21 12:09:44 2002 George Lebl <jirka@5z.com> * gui/gdmcomm.c: update the message when GDM is not running * gui/gdmphotosetup.c: when not using GDM, then check for this and tell the user and not let him in as it would then make no sense. Fixes RH #70326 and GNOME #101653 * gui/greeter/greeter_item.c: Fix greeter_item_expand_text to be utf8 safe. Fixes GNOME #100738 * gui/greeter/greeter_session.c, gui/gdmlogin.c: Fix symlinks as session files. Fixes GNOME #95380
* update this, add MinimalUID, add a bunch of comments and reorganize aGeorge Lebl2002-08-131-2/+22
| | | | | | | | | | | | | | | Tue Aug 13 12:49:18 2002 George Lebl <jirka@5z.com> * config/gdm.conf.in: update this, add MinimalUID, add a bunch of comments and reorganize a little bit to be more logical * gui/gdmlogin.c: when the gdm.xpm isn't found for icon try gdm.png to make it easier for transition to the new nicer icon * gui/gdmphotosetup.c: Don't use gtk_dialog_run, that makes the main window here modal and we don't want that. Fixes #90613. * pixmaps/Makefile.am: don't install gdm.xpm anymore
* s/.gnome/.gnome2/, Applied patch from #89454. But still also readGeorge Lebl2002-07-301-3/+3
| | | | | | | | | Tue Jul 30 13:25:42 2002 George Lebl <jirka@5z.com> * daemon/slave.c, gui/gdmlogin.c, gui/gdmphotosetup.c, gui/greeter/greeter_session.c: s/.gnome/.gnome2/, Applied patch from #89454. But still also read .gnome/photo if we can't find .gnome2/photo
* use the ve_signal routines, remove gdm_signal routinesGeorge Lebl2002-07-301-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Jul 29 17:45:59 2002 George Lebl <jirka@5z.com> * daemon/gdm.[ch]: use the ve_signal routines, remove gdm_signal routines * gui/gdmlogin.c, gui/greeter/greeter.c, gui/greeter/greeter_item_clock.[ch]: use the ve_signal routines for the HUP signal to avoid possible crashes/races/hangs if the signal handler comes in a bad time. Also don't reset the graphical on every damn change, just the ones we care about, and update clock on the fly instead of restarting. * gui/gdmchooser.c: make glade_helper not use the gnome_program thingie, since we never init it here. * gui/Makefile.am, gui/gdmlogin.c, gui/gdmchooser.c, gui/gdmflexiserver.c, gui/gdmXnestchooser.c, gui/gdmcomm.c gui/greeter/Makefile.am, gui/greeter/greeter.c, gui/greeter/greeter_item_pam.c, gui/greeter/greeter_item_clock.c, gui/greeter/greeter_item_capslock.c, gui/greeter/greeter_item.c, gui/greeter/greeter_canvas_item.c: Compile without deprecated stuff. fix minor bugs found during the process. Also compile everything with warnings and fix those. * gui/gdmlogin.c, gui/gdmcomm.c, gui/gdmsetup.c, gui/greeter/greeter.c: Use the new ve-config routines rather then gnome_config. Fixed config bugs found in the process. This also makes gdmsetup not delete comments and empty lines from the config which makes debugging and hand editting SO MUCH SIMPLER! * gui/gdmsetup.c: recheck for gdm running before every update * gui/gdmlogin.c, gui/greeter/greeter.c: remove the g_io_channel_init call which was reseting the whole setup. So our channels were still buffered and encoded, which manifested itself when the read calls were replaced the read_chars. This could actually solve the FreeBSD issues too.
* remove some dead code, minor fixesGeorge Lebl2002-05-271-40/+0
| | | | | | | | | | | | | | | | | | Mon May 27 13:39:52 2002 George Lebl <jirka@5z.com> * daemon/auth.c, daemon/slave.c: remove some dead code, minor fixes * gui/gdmchooser.c: remove gnome init, remove dead code * gui/gdmlogin.c: remove hang on browser image getting * gui/gdmphotosetup.c: remove the trusted dir crap. Now we always copy to ~/.gnome/photo. this removes the need for needing to know gnome's pixmap path, and gets rid of some uglieness. We still support a bit of the trusted dir stuff in the daemon for compatibility. * gui/gdmsetup.c: don't create dirs only when running under gdm
* check for setresuidGeorge Lebl2002-05-211-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tue May 21 15:12:51 2002 George Lebl <jirka@5z.com> * configure.in, accconfig.h: check for setresuid * daemon/errorgui.c, daemon/misc.[ch]: use setresuid to really get rid of setuidiness * gui/gdmlogin.c: fix accelerators. Since now we have nice visible accelerators (mnemonics) we no longer need the Esc one which wasn't working anyway * daemon/gdm.c, daemon/slave.c, gui/gdmphotosetup.c: Don't init gnome. This only breaks the getting of the gnome pixmap dir, so whack the places where this is done. It's not a big deal really. And not initting things really helps a lot in both init speed, random crashes, hangs, and security. * daemon/slave.c, daemon/errorgui.[ch], config/Xsession: Now we open the .xsession-errors file early on, in fact for all non-failsafe sessions. If the session is less then 10 seconds long warn the user of possible errors and let him view the .xsession-errors file. * daemon/slave.c, daemon/auth.c: give error output when we can't setup the authentication file. * daemon/slave.c, daemon/errorgui.c: fix focus issues, fix crash for the error gui boxes * daemon/verify-pam.c: fix typo
* fixed crash, damnit I'm such an idiot, oh well fortunately the crash wouldGeorge Lebl2002-05-151-9/+3
| | | | | | | | Tue May 14 17:13:33 2002 George Lebl <jirka@5z.com> * gui/gdmphotosetup.c: fixed crash, damnit I'm such an idiot, oh well fortunately the crash would happen only after things finished so most users would only notice a new corefile being created on exit :)
* Apply some leak fixes from ali.akcaagac@stud.fh-wilhelmshaven.de (AliGeorge Lebl2002-05-141-13/+25
| | | | | | | | | | | | | | | | | | | | | | | Tue May 14 12:08:25 2002 George Lebl <jirka@5z.com> * gui/gdmphotosetup.c, daemon/auth.c: Apply some leak fixes from ali.akcaagac@stud.fh-wilhelmshaven.de (Ali Akcaagac) #80888. That is only those that really made sense * gui/gdmphotosetup.c: Port to GtkDialog, should fix #80835 * config/gdm.conf.in, daemon/gdm.c, daemon/slave.c: fix #80829 and add a whole bunch of checks for server paths so that we find servers other then /usr/bin/X11/X, also look for proggies in /opt/X11R6/bin * configure.in: check for socklen_t and define it to be size_t if not found, fixes #79373 * daemon/gdm.[ch], daemon/slave.c, daemon/display.c, daemon/xdmcp.c, daemon/misc.[ch], daemon/server.c: Fix slave notifications. We can't use a mainloop here since slaves are all synchroneous. So we use a variety of signals and hacks to get this to work.
* destroy dialogs after run which is the gtk+2 semanticsGeorge Lebl2002-04-231-0/+5
| | | | | | | Tue Apr 23 15:25:33 2002 George Lebl <jirka@5z.com> * gui/gdmphotosetup.c: destroy dialogs after run which is the gtk+2 semantics
* Changed button ordering to [Cancel] [ok] (#77151).Benedikt Roth2002-04-211-1/+1
| | | | | | | 2002-04-21 Benedikt Roth <Benedikt.Roth@gmx.net> * gui/gdmphotosetup.c: (main): Changed button ordering to [Cancel] [ok] (#77151).
* use GETTEXT_PACKAGEGeorge Lebl2002-01-221-2/+3
| | | | | | | | | | | | | | | | | | | | | | Mon Jan 21 19:14:28 2002 George Lebl <jirka@5z.com> * acconfig.h, configure.in: use GETTEXT_PACKAGE * daemon/gdm.c, daemon/misc.[ch], daemon/verify-pam.c, daemon/server.c, daemon/slave.c, daemon/display.c: When displaying something on a console display it only when the console is UTF-8, which is only true if "gdmopen vt-is-UTF8 -q" returns 0 status. Else don't actually translate anything and just print out the english/ASCII version. * daemon/verify-pam.c: Better check for existance of the pam gdm configuration * daemon/gdm.c, gui/gdmXnestchooser.c, gui/gdmchooser.c, gui/gdmconfig.c, gui/gdmflexiserver.c, gui/gdmlogin.c, gui/gdmphotosetup.c: property bind gettext stuff and make sure we correctly set it up for UTF-8
* Remove more deprecated things and minor fixes that were related. Doesn'tGeorge Lebl2001-12-221-32/+49
| | | | | | | | | Fri Dec 21 18:09:03 2001 George Lebl <jirka@5z.com> * gui/gdmlogin.c, gui/gdmconfig.c, gui/gdmphotosetup.c, gui/gdmchooser.c, gui/gdmwm.c: Remove more deprecated things and minor fixes that were related. Doesn't actually compile without deprecated things yet, but it's closer now.
* Begin GNOME 2.0 porting. Not complete yet, daemon may 'compile', guiGeorge Lebl2001-11-061-1/+2
| | | | | | | | Mon Nov 05 21:28:43 2001 George Lebl <jirka@5z.com> * configure.in, **/Makefile.am, daemon/*.[ch], utils/*.[ch], gui/*.[ch]: Begin GNOME 2.0 porting. Not complete yet, daemon may 'compile', gui doesn't compile yet
* Update for the server stuffGeorge Lebl2001-08-231-1/+0
| | | | | | | | | | | | | | | | | | Thu Aug 23 10:10:33 2001 George Lebl <jirka@5z.com> * config/gdm.conf.in: Update for the server stuff * daemon/display.c, daemon/errorgui.c, daemon/misc.c, daemon/slave.c: close fds no longer needed. Close all needed things after forking, Some other related cleanup as well. * gui/gdmlogin.c: A minor UI cleanup, make the entry at least 250 pixels wide, in an attempt t make the window not change size all the time * gui/gdmphotosetup.c: Don't require the browser to be on. Just warn the user that the browser is off, but still let him pick the face.
* When writing to .gnome/photo, first unlink the fileGeorge Lebl2001-08-151-1/+4
| | | | | | | Wed Aug 15 13:14:11 2001 George Lebl <jirka@5z.com> * gui/gdmphotosetup.c: When writing to .gnome/photo, first unlink the file
* Use vicious-extensions module rather then local routinesGeorge Lebl2001-07-091-2/+5
| | | | | | | | | | | | | | Mon Jul 09 00:14:02 2001 George Lebl <jirka@5z.com> * Makefile.am, autogen.sh, configure.in, daemon/Makefile.am, daemon/auth.c, daemon/gdm.c, daemon/gdm.h, daemon/misc.c, daemon/server.c, daemon/slave.c, daemon/verify-crypt.c, daemon/verify-pam.c, daemon/verify-shadow.c, daemon/xdmcp.c, gui/Makefile.am, gui/gdmchooser.c, gui/gdmconfig.c, gui/gdmlogin.c, gui/gdmphotosetup.c, gui/misc.[ch], po/POTFILES.in: Use vicious-extensions module rather then local routines * gui/icon-entry-hack.[ch]: remove, in vicious-extensions now
* Get a picture from the config file. when the picture is in a known pixmapGeorge Lebl2001-06-251-1/+42
| | | | | | | | | | Mon Jun 25 01:10:04 2001 George Lebl <jirka@5z.com> * gui/gdmphotosetup.c, daemon/slave.c: Get a picture from the config file. when the picture is in a known pixmap directory, don't check it since it's a system file. Makes it possible to select larger system files which will be then scaled down, but the user can't point it to a malicious picture.
* fix permission setting, and open the source before dest. Though a bitGeorge Lebl2001-05-311-9/+10
| | | | | | | | Wed May 30 19:17:46 2001 George Lebl <jirka@5z.com> * gui/gdmphotosetup.c: fix permission setting, and open the source before dest. Though a bit pointless since jrb is apprently rewriting the whole bit :)
* Fix some spelling errors and gramatical weirdness as pointed out byGeorge Lebl2001-05-211-1/+1
| | | | | | | | Sun May 20 19:32:52 2001 George Lebl <jirka@5z.com> * daemon/slave.c, daemon/gdm.c, gui/gdmphotosetup.c: Fix some spelling errors and gramatical weirdness as pointed out by Christian Rose <menthos@menthos.com>
* I'm an idiot -GeorgeGeorge Lebl2001-05-171-0/+152
I'm an idiot -George