summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog14
-rw-r--r--daemon/auth.c10
-rw-r--r--daemon/display.c4
-rw-r--r--daemon/errorgui.c6
-rw-r--r--daemon/filecheck.c6
-rw-r--r--daemon/fstype.c2
-rw-r--r--daemon/gdm-net.c12
-rw-r--r--daemon/gdm.c39
-rw-r--r--daemon/gdm.h1
-rw-r--r--daemon/gdmconfig.c48
-rw-r--r--daemon/misc.c37
-rw-r--r--daemon/server.c26
-rw-r--r--daemon/slave.c78
-rw-r--r--daemon/verify-pam.c6
-rw-r--r--daemon/xdmcp.c2
-rw-r--r--docs/es/es.po688
-rw-r--r--docs/es/gdm.xml4
-rw-r--r--gui/gdmXnestchooser.c9
-rw-r--r--gui/gdmchooser.c6
-rw-r--r--gui/gdmcomm.c4
-rw-r--r--gui/gdmcommon.c4
-rw-r--r--gui/gdmlogin.c4
-rw-r--r--gui/gdmphotosetup.c4
-rw-r--r--gui/gdmsetup.c32
-rw-r--r--gui/gdmuser.c2
-rw-r--r--gui/greeter/greeter.c8
-rw-r--r--gui/greeter/greeter_session.c2
-rw-r--r--gui/greeter/greeter_system.c2
-rw-r--r--utils/gdmprefetch.c50
29 files changed, 562 insertions, 548 deletions
diff --git a/ChangeLog b/ChangeLog
index cc0dc14f..19be5296 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2005-12-22 Brian Cameron <brian.cameron@sun.com>
+
+ * daemon/auth.c, daemon/display.c, daemon/errorgui.c,
+ daemon/filecheck.c, daemon/fstype.c, daemon/gdm-net.c,
+ daemon/gdm.[ch], daemon/gdmconfig.c, daemon/misc.c,
+ daemon/server.c, daemon/slave.c, daemon/verify-pam.c,
+ daemon/xdmcp.c, gui/gdmXnestchooser.c, gui/gdmchooser.c,
+ gui/gdmcommon.c, gui/gdmlogin.c, gui/gdmphotosetup.c,
+ gui/gdmsetup.c, gui/gdmuser.c, utils/gdmprefetch.c,
+ vicious-extensions/ve-config.c, vicious-extensions/ve-gnome.c,
+ vicious-extensions/ve-misc.[ch], vicious-extensions/ve-nongnome.c:
+ Now use g_ stdio function like g_chmod instead of chmod.
+ Fixes bug #310229.
+
2005-12-21 Brian Cameron <brian.cameron@sun.com>
* daemon/gdm.[ch], daemon/gdmconfig.c, daemon/server.c: Add new
diff --git a/daemon/auth.c b/daemon/auth.c
index 6c784cbe..01bdc39a 100644
--- a/daemon/auth.c
+++ b/daemon/auth.c
@@ -616,7 +616,7 @@ try_user_add_again:
d->userauth = g_build_filename (authdir, userauthfile, NULL);
user_auth_exists = (d->userauth != NULL &&
- access (d->userauth, F_OK) == 0);
+ g_access (d->userauth, F_OK) == 0);
/* Find out if the Xauthority file passes the paranoia check */
/* Note that this is not very efficient, we stat the files over
@@ -648,7 +648,7 @@ try_user_add_again:
was of wrong permissions, but more likely this is
file on NFS dir with root-squashing enabled) */
if ( ! user_auth_exists && d->userauth != NULL)
- unlink (d->userauth);
+ g_unlink (d->userauth);
/* No go. Let's create a fallback file in GDM_KEY_USER_AUTHDIR_FALLBACK (/tmp)
* or perhaps userauthfile directory (usually would be /tmp) */
@@ -814,14 +814,14 @@ gdm_auth_user_remove (GdmDisplay *d, uid_t user)
/* If we are using the fallback cookie location, simply nuke the
* cookie file */
if (d->authfb) {
- VE_IGNORE_EINTR (unlink (d->userauth));
+ VE_IGNORE_EINTR (g_unlink (d->userauth));
g_free (d->userauth);
d->userauth = NULL;
return;
}
/* if the file doesn't exist, oh well, just ignore this then */
- if G_UNLIKELY (access (d->userauth, F_OK) != 0) {
+ if G_UNLIKELY (g_access (d->userauth, F_OK) != 0) {
g_free (d->userauth);
d->userauth = NULL;
return;
@@ -990,7 +990,7 @@ gdm_auth_purge (GdmDisplay *d, FILE *af, gboolean remove_when_empty)
if (remove_when_empty &&
keep == NULL) {
- VE_IGNORE_EINTR (unlink (d->userauth));
+ VE_IGNORE_EINTR (g_unlink (d->userauth));
return NULL;
}
diff --git a/daemon/display.c b/daemon/display.c
index 91f5eca9..8cbd4866 100644
--- a/daemon/display.c
+++ b/daemon/display.c
@@ -482,14 +482,14 @@ gdm_display_dispose (GdmDisplay *d)
if (d->type == TYPE_XDMCP_PROXY) {
if (d->parent_auth_file != NULL) {
- VE_IGNORE_EINTR (unlink (d->parent_auth_file));
+ VE_IGNORE_EINTR (g_unlink (d->parent_auth_file));
}
g_free (d->parent_auth_file);
d->parent_auth_file = NULL;
}
if (d->parent_temp_auth_file != NULL) {
- VE_IGNORE_EINTR (unlink (d->parent_temp_auth_file));
+ VE_IGNORE_EINTR (g_unlink (d->parent_temp_auth_file));
}
g_free (d->parent_temp_auth_file);
d->parent_temp_auth_file = NULL;
diff --git a/daemon/errorgui.c b/daemon/errorgui.c
index b92d3e47..0a5ebc5e 100644
--- a/daemon/errorgui.c
+++ b/daemon/errorgui.c
@@ -257,7 +257,7 @@ setup_dialog (GdmDisplay *d, const char *name, int closefdexcept, gboolean set_g
gchar *gtkrc = gdm_get_value_string (GDM_KEY_GTKRC);
if ( ! ve_string_empty (gtkrc) &&
- access (gtkrc, R_OK) == 0)
+ g_access (gtkrc, R_OK) == 0)
gtk_rc_parse (gtkrc);
theme_name = d->theme_name;
@@ -269,7 +269,7 @@ setup_dialog (GdmDisplay *d, const char *name, int closefdexcept, gboolean set_g
g_free (theme_dir);
if ( ! ve_string_empty (theme) &&
- access (theme, R_OK) == 0)
+ g_access (theme, R_OK) == 0)
gtk_rc_parse (theme);
g_free (theme);
@@ -338,7 +338,7 @@ gdm_error_box_full (GdmDisplay *d, GtkMessageType type, const char *error,
GString *gs = g_string_new (NULL);
fp = NULL;
- VE_IGNORE_EINTR (r = lstat (details_file, &s));
+ VE_IGNORE_EINTR (r = g_lstat (details_file, &s));
if (r == 0) {
if (S_ISREG (s.st_mode)) {
VE_IGNORE_EINTR (fp = fopen (details_file, "r"));
diff --git a/daemon/filecheck.c b/daemon/filecheck.c
index c51771c4..a42d5032 100644
--- a/daemon/filecheck.c
+++ b/daemon/filecheck.c
@@ -54,7 +54,7 @@ gdm_file_check (const gchar *caller, uid_t user, const gchar *dir,
return FALSE;
/* Stat directory */
- VE_IGNORE_EINTR (r = stat (dir, &statbuf));
+ VE_IGNORE_EINTR (r = g_stat (dir, &statbuf));
if (r < 0) {
if ( ! absentdirok)
syslog (LOG_WARNING, _("%s: Directory %s does not exist."),
@@ -88,7 +88,7 @@ gdm_file_check (const gchar *caller, uid_t user, const gchar *dir,
fullpath = g_build_filename (dir, file, NULL);
/* Stat file */
- VE_IGNORE_EINTR (r = stat (fullpath, &statbuf));
+ VE_IGNORE_EINTR (r = g_stat (fullpath, &statbuf));
if (r < 0) {
/* Return true if file does not exist and that is ok */
if (absentok) {
@@ -156,7 +156,7 @@ gdm_auth_file_check (const gchar *caller, uid_t user, const gchar *authfile, gbo
return FALSE;
/* Stat file */
- VE_IGNORE_EINTR (r = lstat (authfile, &statbuf));
+ VE_IGNORE_EINTR (r = g_lstat (authfile, &statbuf));
if (s != NULL)
*s = statbuf;
if (r < 0) {
diff --git a/daemon/fstype.c b/daemon/fstype.c
index e6bef2fc..49605d49 100644
--- a/daemon/fstype.c
+++ b/daemon/fstype.c
@@ -295,7 +295,7 @@ filesystem_type_uncached (char *path, char *relpath, struct stat *statp)
else
#endif /* not hpux */
{
- if (stat (mnt->mnt_dir, &disk_stats) == -1) {
+ if (g_stat (mnt->mnt_dir, &disk_stats) == -1) {
if (errno == EACCES)
continue;
else
diff --git a/daemon/gdm-net.c b/daemon/gdm-net.c
index 14edbce7..2266899f 100644
--- a/daemon/gdm-net.c
+++ b/daemon/gdm-net.c
@@ -274,7 +274,7 @@ gdm_connection_open_unix (const char *sockname, mode_t mode)
try_again:
/* this is all for creating sockets in /tmp/ safely */
- VE_IGNORE_EINTR (unlink (sockname));
+ VE_IGNORE_EINTR (g_unlink (sockname));
if G_UNLIKELY (errno == EISDIR ||
errno == EPERM) {
/* likely a directory, someone's playing tricks on us */
@@ -284,8 +284,8 @@ try_again:
newname = g_strdup_printf ("%s-renamed-%u",
sockname,
(guint)g_random_int ());
- } while (access (newname, F_OK) == 0);
- VE_IGNORE_EINTR (rename (sockname, newname));
+ } while (g_access (newname, F_OK) == 0);
+ VE_IGNORE_EINTR (g_rename (sockname, newname));
if G_UNLIKELY (errno != 0)
try_again_attempts = 0;
g_free (newname);
@@ -308,7 +308,7 @@ try_again:
return NULL;
}
- VE_IGNORE_EINTR (chmod (sockname, mode));
+ VE_IGNORE_EINTR (g_chmod (sockname, mode));
conn = g_new0 (GdmConnection, 1);
conn->disp = NULL;
@@ -381,7 +381,7 @@ gdm_connection_open_fifo (const char *fifo, mode_t mode)
GdmConnection *conn;
int fd;
- VE_IGNORE_EINTR (unlink (fifo));
+ VE_IGNORE_EINTR (g_unlink (fifo));
if G_UNLIKELY (mkfifo (fifo, 0660) < 0) {
gdm_error (_("%s: Could not make FIFO"),
@@ -397,7 +397,7 @@ gdm_connection_open_fifo (const char *fifo, mode_t mode)
return NULL;
}
- VE_IGNORE_EINTR (chmod (fifo, mode));
+ VE_IGNORE_EINTR (g_chmod (fifo, mode));
conn = g_new0 (GdmConnection, 1);
conn->disp = NULL;
diff --git a/daemon/gdm.c b/daemon/gdm.c
index 49e87eea..653e1732 100644
--- a/daemon/gdm.c
+++ b/daemon/gdm.c
@@ -221,7 +221,7 @@ gdm_daemonify (void)
gdm_fail (_("%s: setsid () failed: %s!"), "gdm_daemonify",
strerror (errno));
- VE_IGNORE_EINTR (chdir (gdm_get_value_string (GDM_KEY_SERV_AUTHDIR)));
+ VE_IGNORE_EINTR (g_chdir (gdm_get_value_string (GDM_KEY_SERV_AUTHDIR)));
umask (022);
VE_IGNORE_EINTR (close (0));
@@ -363,7 +363,7 @@ gdm_final_cleanup (void)
char *path;
gdm_connection_close (fifoconn);
path = g_build_filename (gdm_get_value_string (GDM_KEY_SERV_AUTHDIR), ".gdmfifo", NULL);
- VE_IGNORE_EINTR (unlink (path));
+ VE_IGNORE_EINTR (g_unlink (path));
g_free (path);
fifoconn = NULL;
}
@@ -380,7 +380,7 @@ gdm_final_cleanup (void)
if (unixconn != NULL) {
gdm_connection_close (unixconn);
- VE_IGNORE_EINTR (unlink (GDM_SUP_SOCKET));
+ VE_IGNORE_EINTR (g_unlink (GDM_SUP_SOCKET));
unixconn = NULL;
}
@@ -388,7 +388,7 @@ gdm_final_cleanup (void)
pidfile = gdm_get_value_string (GDM_KEY_PID_FILE);
if (pidfile != NULL) {
- VE_IGNORE_EINTR (unlink (pidfile));
+ VE_IGNORE_EINTR (g_unlink (pidfile));
}
#ifdef HAVE_LOGINDEVPERM
@@ -408,7 +408,7 @@ deal_with_x_crashes (GdmDisplay *d)
char *bin = ve_first_word (failsafe);
/* Yay we have a failsafe */
if ( ! ve_string_empty (bin) &&
- access (bin, X_OK) == 0) {
+ g_access (bin, X_OK) == 0) {
gdm_info (_("%s: Trying failsafe X "
"server %s"),
"deal_with_x_crashes",
@@ -424,7 +424,7 @@ deal_with_x_crashes (GdmDisplay *d)
/* Eeek X keeps crashing, let's try the XKeepsCrashing script */
if ( ! ve_string_empty (keepscrashing) &&
- access (keepscrashing, X_OK|R_OK) == 0) {
+ g_access (keepscrashing, X_OK|R_OK) == 0) {
pid_t pid;
gdm_info (_("%s: Running the "
@@ -539,7 +539,7 @@ deal_with_x_crashes (GdmDisplay *d)
/* if we have "open" we can talk to the user, not as user
* friendly as the above script, but getting there */
if ( ! just_abort &&
- access (EXPANDED_LIBEXECDIR "/gdmopen", X_OK) == 0) {
+ g_access (EXPANDED_LIBEXECDIR "/gdmopen", X_OK) == 0) {
/* Shit if we knew what the program was to tell the user,
* the above script would have been defined and we'd run
* it for them */
@@ -584,7 +584,7 @@ suspend_machine (void)
/* Also make a new process group */
setsid ();
- VE_IGNORE_EINTR (chdir ("/"));
+ VE_IGNORE_EINTR (g_chdir ("/"));
/* short sleep to give some processing time to master */
usleep (1000);
@@ -612,7 +612,7 @@ change_to_first_and_clear (gboolean reboot)
g_setenv ("TERM", "linux", TRUE);
/* evil hack that will get the fonts right */
- if (access ("/bin/bash", X_OK) == 0)
+ if (g_access ("/bin/bash", X_OK) == 0)
system ("/bin/bash -l -c /bin/true");
/* clear screen and set to red */
@@ -635,7 +635,7 @@ halt_machine (void)
gdm_info (_("Master halting..."));
gdm_final_cleanup ();
- VE_IGNORE_EINTR (chdir ("/"));
+ VE_IGNORE_EINTR (g_chdir ("/"));
#ifdef __linux__
change_to_first_and_clear (FALSE /* reboot */);
@@ -657,7 +657,7 @@ reboot_machine (void)
gdm_info (_("Master rebooting..."));
gdm_final_cleanup ();
- VE_IGNORE_EINTR (chdir ("/"));
+ VE_IGNORE_EINTR (g_chdir ("/"));
#ifdef __linux__
change_to_first_and_clear (TRUE /* reboot */);
@@ -1298,7 +1298,7 @@ gdm_get_our_runlevel (void)
#ifdef __linux__
/* on linux we get our current runlevel, for use later
* to detect a shutdown going on, and not mess up. */
- if (access ("/sbin/runlevel", X_OK) == 0) {
+ if (g_access ("/sbin/runlevel", X_OK) == 0) {
char ign;
int rnl;
FILE *fp = popen ("/sbin/runlevel", "r");
@@ -1341,7 +1341,7 @@ gdm_make_global_cookie (void)
gdm_global_bcookie = (unsigned char *) faked.bcookie;
file = g_build_filename (gdm_get_value_string (GDM_KEY_SERV_AUTHDIR), ".cookie", NULL);
- VE_IGNORE_EINTR (unlink (file));
+ VE_IGNORE_EINTR (g_unlink (file));
oldmode = umask (077);
fp = gdm_safe_fopen_w (file);
@@ -1459,7 +1459,7 @@ main (int argc, char *argv[])
pidfile = gdm_get_value_string (GDM_KEY_PID_FILE);
/* Check if another gdm process is already running */
- if (access (pidfile, R_OK) == 0) {
+ if (g_access (pidfile, R_OK) == 0) {
/* Check if the existing process is still alive. */
gint pidv;
@@ -1507,15 +1507,15 @@ main (int argc, char *argv[])
}
- VE_IGNORE_EINTR (chdir (gdm_get_value_string (GDM_KEY_SERV_AUTHDIR)));
+ VE_IGNORE_EINTR (g_chdir (gdm_get_value_string (GDM_KEY_SERV_AUTHDIR)));
umask (022);
}
else
gdm_daemonify ();
#ifdef sun
- unlink (SDTLOGIN_DIR);
- mkdir (SDTLOGIN_DIR, 0700);
+ g_unlink (SDTLOGIN_DIR);
+ g_mkdir (SDTLOGIN_DIR, 0700);
#endif
/* Signal handling */
@@ -2623,7 +2623,7 @@ handle_flexi_server (GdmConnection *conn, int type, const char *server,
bin = ve_first_word (server);
if (ve_string_empty (server) ||
- access (bin, X_OK) != 0) {
+ g_access (bin, X_OK) != 0) {
g_free (bin);
if (conn != NULL)
gdm_connection_write (conn,
@@ -3054,9 +3054,6 @@ gdm_handle_user_message (GdmConnection *conn, const char *msg, gpointer data)
else if (g_strcasecmp (splitstr[1], "CHOOSER") == 0 &&
!svr->chooser)
gdm_connection_printf (conn, "OK false\n");
- else if (g_strcasecmp (splitstr[1], "PRIORITY") == 0 &&
- !svr->chooser)
- gdm_connection_printf (conn, "OK false\n");
else
gdm_connection_printf (conn, "ERROR 2 Key not valid\n");
diff --git a/daemon/gdm.h b/daemon/gdm.h
index 21efeb36..a01f5bd3 100644
--- a/daemon/gdm.h
+++ b/daemon/gdm.h
@@ -20,6 +20,7 @@
#define GDM_H
#include <glib.h>
+#include <glib/gstdio.h>
#include <X11/Xlib.h>
#include <X11/Xmd.h>
#include <X11/Xauth.h>
diff --git a/daemon/gdmconfig.c b/daemon/gdmconfig.c
index e9139462..e56fcc63 100644
--- a/daemon/gdmconfig.c
+++ b/daemon/gdmconfig.c
@@ -537,14 +537,14 @@ gdm_get_config (struct stat *statbuf)
/* Not NULL if config_file was set by command-line option. */
if (config_file != NULL) {
- VE_IGNORE_EINTR (r = stat (config_file, statbuf));
+ VE_IGNORE_EINTR (r = g_stat (config_file, statbuf));
if (r < 0) {
gdm_error (_("%s: No GDM configuration file: %s. Using defaults."),
"gdm_config_parse", config_file);
return NULL;
}
} else {
- VE_IGNORE_EINTR (r = stat (GDM_SYSCONFDIR_CONFIG_FILE, statbuf));
+ VE_IGNORE_EINTR (r = g_stat (GDM_SYSCONFDIR_CONFIG_FILE, statbuf));
if (r < 0) {
gdm_error (_("%s: No GDM configuration file: %s. Using defaults."),
"gdm_config_parse", GDM_SYSCONFDIR_CONFIG_FILE);
@@ -570,7 +570,7 @@ gdm_get_custom_config (struct stat *statbuf)
gchar *file = g_strdup_printf ("%s-custom", GDM_SYSCONFDIR_CONFIG_FILE);
int r;
- VE_IGNORE_EINTR (r = stat (file, statbuf));
+ VE_IGNORE_EINTR (r = g_stat (file, statbuf));
if (r >= 0) {
custom_config_file = file;
return ve_config_new (custom_config_file);
@@ -876,14 +876,14 @@ _gdm_set_value_string (gchar *key, gchar *value_in, gboolean doing_update)
bin = ve_first_word (value);
if G_UNLIKELY (ve_string_empty (bin) ||
- access (bin, X_OK) != 0) {
+ g_access (bin, X_OK) != 0) {
gdm_info (_("%s: Standard X server not found; trying alternatives"),
"gdm_config_parse");
- if (access ("/usr/X11R6/bin/X", X_OK) == 0) {
+ if (g_access ("/usr/X11R6/bin/X", X_OK) == 0) {
*setting = g_strdup ("/usr/X11R6/bin/X");
- } else if (access ("/opt/X11R6/bin/X", X_OK) == 0) {
+ } else if (g_access ("/opt/X11R6/bin/X", X_OK) == 0) {
*setting = g_strdup ("/opt/X11R6/bin/X");
- } else if (access ("/usr/bin/X11/X", X_OK) == 0) {
+ } else if (g_access ("/usr/bin/X11/X", X_OK) == 0) {
*setting = g_strdup ("/usr/bin/X11/X");
} else
*setting = g_strdup (value);
@@ -1428,8 +1428,8 @@ gdm_update_config (gchar* key)
}
/* Don't bother re-reading configuration if files have not changed */
- VE_IGNORE_EINTR (stat (config_file, &statbuf));
- VE_IGNORE_EINTR (stat (custom_config_file, &custom_statbuf));
+ VE_IGNORE_EINTR (g_stat (config_file, &statbuf));
+ VE_IGNORE_EINTR (g_stat (custom_config_file, &custom_statbuf));
/*
* Do not reset mtime to the latest values since there is no
@@ -1519,7 +1519,7 @@ check_logdir (void)
struct stat statbuf;
int r;
- VE_IGNORE_EINTR (r = stat (GdmLogDir, &statbuf));
+ VE_IGNORE_EINTR (r = g_stat (GdmLogDir, &statbuf));
if (r < 0 ||
! S_ISDIR (statbuf.st_mode)) {
gdm_error (_("%s: Logdir %s does not exist or isn't a directory. Using ServAuthDir %s."), "gdm_config_parse",
@@ -1535,7 +1535,7 @@ check_servauthdir (struct stat *statbuf)
int r;
/* Enter paranoia mode */
- VE_IGNORE_EINTR (r = stat (GdmServAuthDir, statbuf));
+ VE_IGNORE_EINTR (r = g_stat (GdmServAuthDir, statbuf));
if G_UNLIKELY (r < 0) {
gchar *s = g_strdup_printf
(C_(N_("Server Authorization directory "
@@ -1761,13 +1761,13 @@ gdm_config_parse (void)
}
bin = ve_first_word (GdmStandardXserver);
- if G_LIKELY (access (bin, X_OK) == 0) {
+ if G_LIKELY (g_access (bin, X_OK) == 0) {
server = GdmStandardXserver;
- } else if (access ("/usr/bin/X11/X", X_OK) == 0) {
+ } else if (g_access ("/usr/bin/X11/X", X_OK) == 0) {
server = "/usr/bin/X11/X";
- } else if (access ("/usr/X11R6/bin/X", X_OK) == 0) {
+ } else if (g_access ("/usr/X11R6/bin/X", X_OK) == 0) {
server = "/usr/X11R6/bin/X";
- } else if (access ("/opt/X11R6/bin/X", X_OK) == 0) {
+ } else if (g_access ("/opt/X11R6/bin/X", X_OK) == 0) {
server = "/opt/X11R6/bin/X";
}
g_free (bin);
@@ -1871,13 +1871,13 @@ gdm_config_parse (void)
/* Check that the greeter can be executed */
bin = ve_first_word (GdmGreeter);
- if G_UNLIKELY (ve_string_empty (bin) || access (bin, X_OK) != 0) {
+ if G_UNLIKELY (ve_string_empty (bin) || g_access (bin, X_OK) != 0) {
gdm_error (_("%s: Greeter not found or can't be executed by the GDM user"), "gdm_config_parse");
}
g_free (bin);
bin = ve_first_word (GdmRemoteGreeter);
- if G_UNLIKELY (ve_string_empty (bin) || access (bin, X_OK) != 0) {
+ if G_UNLIKELY (ve_string_empty (bin) || g_access (bin, X_OK) != 0) {
gdm_error (_("%s: Remote greeter not found or can't be executed by the GDM user"), "gdm_config_parse");
}
g_free (bin);
@@ -1885,7 +1885,7 @@ gdm_config_parse (void)
/* Check that chooser can be executed */
bin = ve_first_word (GdmChooser);
- if G_UNLIKELY (GdmIndirect && (ve_string_empty (bin) || access (bin, X_OK) != 0)) {
+ if G_UNLIKELY (GdmIndirect && (ve_string_empty (bin) || g_access (bin, X_OK) != 0)) {
gdm_error (_("%s: Chooser not found or it can't be executed by the GDM user"), "gdm_config_parse");
}
@@ -1912,7 +1912,7 @@ gdm_config_parse (void)
/* Now set things up for us as */
chown (GdmServAuthDir, 0, GdmGroupId);
- chmod (GdmServAuthDir, (S_IRWXU|S_IRWXG|S_ISVTX));
+ g_chmod (GdmServAuthDir, (S_IRWXU|S_IRWXG|S_ISVTX));
NEVER_FAILS_root_set_euid_egid (GdmUserId, GdmGroupId);
@@ -2089,7 +2089,7 @@ check_user_file (const char *path,
if (path == NULL)
return FALSE;
- if (access (path, R_OK) != 0)
+ if (g_access (path, R_OK) != 0)
return FALSE;
dir = g_path_get_dirname (path);
@@ -2115,7 +2115,7 @@ check_global_file (const char *path,
if (path == NULL)
return FALSE;
- if (access (path, R_OK) != 0)
+ if (g_access (path, R_OK) != 0)
return FALSE;
return TRUE;
@@ -2160,7 +2160,7 @@ get_facefile_from_gnome2_dir_config (const char *homedir,
if G_UNLIKELY (picfile != NULL &&
(picfile[0] != '/' ||
/* this catches readability by user */
- access (picfile, R_OK) != 0)) {
+ g_access (picfile, R_OK) != 0)) {
g_free (picfile);
picfile = NULL;
}
@@ -2215,7 +2215,7 @@ path_is_local (const char *path)
if (local == NULL) {
struct stat statbuf;
- if (stat (path, &statbuf) == 0) {
+ if (g_stat (path, &statbuf) == 0) {
char *type = filesystem_type ((char *)path, (char *)path, &statbuf);
gboolean is_local = ((strcmp (ve_sure_string (type), "nfs") != 0) &&
(strcmp (ve_sure_string (type), "afs") != 0) &&
@@ -2374,7 +2374,7 @@ gdm_get_session_exec (const char *session_name, gboolean check_try_exec)
g_free (file);
}
- if (ve_string_empty (full) || access (full, R_OK) != 0) {
+ if (ve_string_empty (full) || g_access (full, R_OK) != 0) {
g_free (full);
if (gdm_is_session_magic (session_name)) {
exec = g_strdup (session_name);
diff --git a/daemon/misc.c b/daemon/misc.c
index f69cd132..6d60cb98 100644
--- a/daemon/misc.c
+++ b/daemon/misc.c
@@ -153,7 +153,8 @@ have_ipv6_solaris (void)
}
#endif
-static gboolean have_ipv6 (void)
+static gboolean
+have_ipv6 (void)
{
int s;
static gboolean has_ipv6 = -1;
@@ -515,7 +516,7 @@ gdm_get_free_display (int start, uid_t server_uid)
/* if lock file exists and the process exists */
g_snprintf (buf, sizeof (buf), "/tmp/.X%d-lock", i);
- VE_IGNORE_EINTR (r = stat (buf, &s));
+ VE_IGNORE_EINTR (r = g_stat (buf, &s));
if (r == 0 &&
! S_ISREG (s.st_mode)) {
/*
@@ -541,7 +542,7 @@ gdm_get_free_display (int start, uid_t server_uid)
VE_IGNORE_EINTR (fclose (fp));
/* whack the file, it's a stale lock file */
- VE_IGNORE_EINTR (unlink (buf));
+ VE_IGNORE_EINTR (g_unlink (buf));
}
/* If starting as root, we'll be able to overwrite any
@@ -550,7 +551,7 @@ gdm_get_free_display (int start, uid_t server_uid)
if (server_uid > 0) {
g_snprintf (buf, sizeof (buf),
"/tmp/.X11-unix/X%d", i);
- VE_IGNORE_EINTR (r = stat (buf, &s));
+ VE_IGNORE_EINTR (r = g_stat (buf, &s));
if (r == 0 &&
s.st_uid != server_uid) {
continue;
@@ -558,7 +559,7 @@ gdm_get_free_display (int start, uid_t server_uid)
g_snprintf (buf, sizeof (buf),
"/tmp/.X%d-lock", i);
- VE_IGNORE_EINTR (r = stat (buf, &s));
+ VE_IGNORE_EINTR (r = g_stat (buf, &s));
if (r == 0 &&
s.st_uid != server_uid) {
continue;
@@ -580,7 +581,7 @@ gdm_text_message_dialog (const char *msg)
if ( ! gdm_get_value_bool (GDM_KEY_CONSOLE_NOTIFY))
return FALSE;
- if (access (EXPANDED_LIBEXECDIR "/gdmopen", X_OK) != 0)
+ if (g_access (EXPANDED_LIBEXECDIR "/gdmopen", X_OK) != 0)
return FALSE;
if (msg[0] == '-') {
@@ -658,7 +659,7 @@ gdm_text_yesno_dialog (const char *msg, gboolean *ret)
if ( ! gdm_get_value_bool (GDM_KEY_CONSOLE_NOTIFY))
return FALSE;
- if (access (EXPANDED_LIBEXECDIR "/gdmopen", X_OK) != 0)
+ if (g_access (EXPANDED_LIBEXECDIR "/gdmopen", X_OK) != 0)
return FALSE;
if (ret != NULL)
@@ -766,7 +767,7 @@ gdm_text_yesno_dialog (const char *msg, gboolean *ret)
}
}
- VE_IGNORE_EINTR (unlink (tempname));
+ VE_IGNORE_EINTR (g_unlink (tempname));
g_free (msg_quoted);
return TRUE;
@@ -782,7 +783,7 @@ gdm_exec_wait (char * const *argv, gboolean no_display,
if (argv == NULL ||
argv[0] == NULL ||
- access (argv[0], X_OK) != 0)
+ g_access (argv[0], X_OK) != 0)
return -1;
pid = gdm_fork_extra ();
@@ -983,7 +984,7 @@ ensure_tmp_socket_dir (const char *dir)
*/
old_umask = umask (0);
- if G_UNLIKELY (mkdir (dir, 01777) != 0) {
+ if G_UNLIKELY (g_mkdir (dir, 01777) != 0) {
/*
* If we can't create it, perhaps it
* already exists, in which case ensure the
@@ -991,18 +992,18 @@ ensure_tmp_socket_dir (const char *dir)
*/
struct stat s;
int r;
- VE_IGNORE_EINTR (r = lstat (dir, &s));
+ VE_IGNORE_EINTR (r = g_lstat (dir, &s));
if G_LIKELY (r == 0 && S_ISDIR (s.st_mode)) {
/* Make sure it is root and sticky */
VE_IGNORE_EINTR (chown (dir, 0, 0));
- VE_IGNORE_EINTR (chmod (dir, 01777));
+ VE_IGNORE_EINTR (g_chmod (dir, 01777));
} else {
/*
* There is a file/link/whatever of the same name?
* whack and try mkdir
*/
- VE_IGNORE_EINTR (unlink (dir));
- mkdir (dir, 01777);
+ VE_IGNORE_EINTR (g_unlink (dir));
+ g_mkdir (dir, 01777);
}
}
@@ -2041,7 +2042,7 @@ gdm_safe_fopen_w (const char *file)
{
int fd;
FILE *ret;
- VE_IGNORE_EINTR (unlink (file));
+ VE_IGNORE_EINTR (g_unlink (file));
do {
errno = 0;
fd = open (file, O_EXCL|O_CREAT|O_TRUNC|O_WRONLY
@@ -2066,7 +2067,7 @@ gdm_safe_fopen_ap (const char *file)
int fd;
FILE *ret;
- if (access (file, F_OK) == 0) {
+ if (g_access (file, F_OK) == 0) {
do {
errno = 0;
fd = open (file, O_APPEND|O_RDWR
@@ -2415,9 +2416,9 @@ gdm_get_last_info (const char *username)
char *info = NULL;
const char *cmd = NULL;
- if G_LIKELY (access ("/usr/bin/last", X_OK) == 0)
+ if G_LIKELY (g_access ("/usr/bin/last", X_OK) == 0)
cmd = "/usr/bin/last";
- else if (access ("/bin/last", X_OK) == 0)
+ else if (g_access ("/bin/last", X_OK) == 0)
cmd = "/bin/last";
if G_LIKELY (cmd != NULL) {
diff --git a/daemon/server.c b/daemon/server.c
index 7c4a4eb9..76e6dd90 100644
--- a/daemon/server.c
+++ b/daemon/server.c
@@ -86,12 +86,12 @@ gdm_server_whack_lockfile (GdmDisplay *disp)
/* if lock file exists and it is our process, whack it! */
g_snprintf (buf, sizeof (buf), "/tmp/.X%d-lock", disp->dispnum);
- VE_IGNORE_EINTR (unlink (buf));
+ VE_IGNORE_EINTR (g_unlink (buf));
/* whack the unix socket as well */
g_snprintf (buf, sizeof (buf),
"/tmp/.X11-unix/X%d", disp->dispnum);
- VE_IGNORE_EINTR (unlink (buf));
+ VE_IGNORE_EINTR (g_unlink (buf));
}
@@ -100,12 +100,12 @@ void
gdm_server_wipe_cookies (GdmDisplay *disp)
{
if ( ! ve_string_empty (disp->authfile)) {
- VE_IGNORE_EINTR (unlink (disp->authfile));
+ VE_IGNORE_EINTR (g_unlink (disp->authfile));
}
g_free (disp->authfile);
disp->authfile = NULL;
if ( ! ve_string_empty (disp->authfile_gdm)) {
- VE_IGNORE_EINTR (unlink (disp->authfile_gdm));
+ VE_IGNORE_EINTR (g_unlink (disp->authfile_gdm));
}
g_free (disp->authfile_gdm);
disp->authfile_gdm = NULL;
@@ -335,7 +335,7 @@ static gboolean
busy_ask_user (GdmDisplay *disp)
{
/* if we have "open" we can talk to the user */
- if (access (EXPANDED_LIBEXECDIR "/gdmopen", X_OK) == 0) {
+ if (g_access (EXPANDED_LIBEXECDIR "/gdmopen", X_OK) == 0) {
char *error = g_strdup_printf
(C_(N_("There already appears to be an X server "
"running on display %s. Should another "
@@ -905,16 +905,16 @@ safer_rename (const char *a, const char *b)
errno = 0;
if (link (a, b) < 0) {
if (errno == EEXIST) {
- VE_IGNORE_EINTR (unlink (a));
+ VE_IGNORE_EINTR (g_unlink (a));
return;
}
- VE_IGNORE_EINTR (unlink (b));
+ VE_IGNORE_EINTR (g_unlink (b));
/* likely this system doesn't support hard links */
- rename (a, b);
- VE_IGNORE_EINTR (unlink (a));
+ g_rename (a, b);
+ VE_IGNORE_EINTR (g_unlink (a));
return;
}
- VE_IGNORE_EINTR (unlink (a));
+ VE_IGNORE_EINTR (g_unlink (a));
}
static void
@@ -930,7 +930,7 @@ rotate_logs (const char *dname)
char *fname = gdm_make_filename (logdir, dname, ".log");
/* Rotate the logs (keep 4 last) */
- VE_IGNORE_EINTR (unlink (fname4));
+ VE_IGNORE_EINTR (g_unlink (fname4));
safer_rename (fname3, fname4);
safer_rename (fname2, fname3);
safer_rename (fname1, fname2);
@@ -1148,7 +1148,7 @@ gdm_server_spawn (GdmDisplay *d, const char *vtarg)
/* Log all output from spawned programs to a file */
logfile = gdm_make_filename (gdm_get_value_string (GDM_KEY_LOG_DIR), d->name, ".log");
- VE_IGNORE_EINTR (unlink (logfile));
+ VE_IGNORE_EINTR (g_unlink (logfile));
VE_IGNORE_EINTR (logfd = open (logfile, O_CREAT|O_TRUNC|O_WRONLY|O_EXCL, 0644));
if (logfd != -1) {
@@ -1296,7 +1296,7 @@ gdm_server_spawn (GdmDisplay *d, const char *vtarg)
char old_pipe[MAXPATHLEN];
sprintf (old_pipe, "%s/%d", SDTLOGIN_DIR, d->name);
- unlink (old_pipe);
+ g_unlink (old_pipe);
}
#endif
diff --git a/daemon/slave.c b/daemon/slave.c
index 361355ea..65e30b9b 100644
--- a/daemon/slave.c
+++ b/daemon/slave.c
@@ -1725,15 +1725,15 @@ run_config (GdmDisplay *display, struct passwd *pwent)
openlog ("gdm", LOG_PID, LOG_DAEMON);
- VE_IGNORE_EINTR (chdir (pwent->pw_dir));
+ VE_IGNORE_EINTR (g_chdir (pwent->pw_dir));
if G_UNLIKELY (errno != 0)
- VE_IGNORE_EINTR (chdir ("/"));
+ VE_IGNORE_EINTR (g_chdir ("/"));
/* exec the configurator */
argv = ve_split (gdm_get_value_string (GDM_KEY_CONFIGURATOR));
if G_LIKELY (argv != NULL &&
argv[0] != NULL &&
- access (argv[0], X_OK) == 0)
+ g_access (argv[0], X_OK) == 0)
VE_IGNORE_EINTR (execv (argv[0], argv));
gdm_error_box (d,
@@ -1747,7 +1747,7 @@ run_config (GdmDisplay *display, struct passwd *pwent)
argv = ve_split
(EXPANDED_LIBEXECDIR
"/gdmsetup --disable-sound --disable-crash-dialog");
- if (access (argv[0], X_OK) == 0)
+ if (g_access (argv[0], X_OK) == 0)
VE_IGNORE_EINTR (execv (argv[0], argv));
gdm_error_box (d,
@@ -1828,8 +1828,8 @@ play_login_sound (const char *sound_file)
if (ve_string_empty (soundprogram) ||
ve_string_empty (sound_file) ||
- access (soundprogram, X_OK) != 0 ||
- access (sound_file, F_OK) != 0)
+ g_access (soundprogram, X_OK) != 0 ||
+ g_access (sound_file, F_OK) != 0)
return FALSE;
gdm_sigchld_block_push ();
@@ -2134,7 +2134,7 @@ run_pictures (void)
continue;
}
- VE_IGNORE_EINTR (r = stat (picfile, &s));
+ VE_IGNORE_EINTR (r = g_stat (picfile, &s));
if G_UNLIKELY (r < 0 || s.st_size > gdm_get_value_int (GDM_KEY_USER_MAX_FILE)) {
NEVER_FAILS_root_set_euid_egid (0, gdm_get_gdmgid ());
@@ -2291,7 +2291,7 @@ copy_auth_file (uid_t fromuid, uid_t touid, const char *file)
name = gdm_make_filename (gdm_get_value_string (GDM_KEY_SERV_AUTHDIR),
d->name, ".XnestAuth");
- VE_IGNORE_EINTR (unlink (name));
+ VE_IGNORE_EINTR (g_unlink (name));
VE_IGNORE_EINTR (authfd = open (name, O_EXCL|O_TRUNC|O_WRONLY|O_CREAT, 0600));
if G_UNLIKELY (authfd < 0) {
@@ -2361,7 +2361,7 @@ exec_command (const char *command, const char *extra_arg)
ve_string_empty (argv[0]))
return;
- if (access (argv[0], X_OK) != 0)
+ if (g_access (argv[0], X_OK) != 0)
return;
if (extra_arg != NULL) {
@@ -3124,13 +3124,13 @@ find_prog (const char *name)
path = g_find_program_in_path (name);
if (path != NULL &&
- access (path, X_OK) == 0) {
+ g_access (path, X_OK) == 0) {
return path;
}
g_free (path);
for (i = 0; try[i] != NULL; i++) {
path = g_strconcat (try[i], name, NULL);
- if (access (path, X_OK) == 0) {
+ if (g_access (path, X_OK) == 0) {
return path;
}
g_free (path);
@@ -3160,9 +3160,9 @@ wipe_xsession_errors (struct passwd *pwent,
char *filename = g_build_filename (home_dir,
".xsession-errors",
NULL);
- if (access (filename, F_OK) == 0) {
+ if (g_access (filename, F_OK) == 0) {
wiped_something = TRUE;
- VE_IGNORE_EINTR (unlink (filename));
+ VE_IGNORE_EINTR (g_unlink (filename));
}
g_free (filename);
}
@@ -3177,7 +3177,7 @@ wipe_xsession_errors (struct passwd *pwent,
char *filename = g_strdup_printf ("/tmp/%s",
ent->d_name);
wiped_something = TRUE;
- VE_IGNORE_EINTR (unlink (filename));
+ VE_IGNORE_EINTR (g_unlink (filename));
g_free (filename);
}
VE_IGNORE_EINTR (ent = readdir (dir));
@@ -3216,7 +3216,7 @@ open_xsession_errors (struct passwd *pwent,
if G_LIKELY (setegid (pwent->pw_gid) == 0 &&
seteuid (pwent->pw_uid) == 0) {
/* unlink to be anal */
- VE_IGNORE_EINTR (unlink (filename));
+ VE_IGNORE_EINTR (g_unlink (filename));
VE_IGNORE_EINTR (logfd = open (filename, O_EXCL|O_CREAT|O_TRUNC|O_WRONLY, 0644));
}
NEVER_FAILS_root_set_euid_egid (old, oldg);
@@ -3427,7 +3427,7 @@ session_child_run (struct passwd *pwent,
/* Now still as root make the system authfile not readable by others,
and therefore not by the gdm user */
- VE_IGNORE_EINTR (chmod (GDM_AUTHFILE (d), 0640));
+ VE_IGNORE_EINTR (g_chmod (GDM_AUTHFILE (d), 0640));
setpgid (0, 0);
@@ -3445,18 +3445,18 @@ session_child_run (struct passwd *pwent,
* ok to gdm_fail here */
NEVER_FAILS_setegid (pwent->pw_gid);
- VE_IGNORE_EINTR (chdir (home_dir));
+ VE_IGNORE_EINTR (g_chdir (home_dir));
if G_UNLIKELY (errno != 0) {
- VE_IGNORE_EINTR (chdir ("/"));
+ VE_IGNORE_EINTR (g_chdir ("/"));
} else if (pwent->pw_uid != 0) {
if (seteuid (pwent->pw_uid) == 0 &&
- access (".ICEauthority", F_OK) == 0) {
+ g_access (".ICEauthority", F_OK) == 0) {
/* sanitize .ICEauthority to be of the correct
* permissions, if it exists */
struct stat s;
- if (stat (home_dir, &s) == 0 &&
+ if (g_stat (home_dir, &s) == 0 &&
s.st_uid == pwent->pw_uid &&
- stat (".ICEauthority", &s) &&
+ g_stat (".ICEauthority", &s) &&
S_ISREG (s.st_mode) &&
(s.st_uid != pwent->pw_uid ||
s.st_gid != pwent->pw_gid ||
@@ -3470,7 +3470,7 @@ session_child_run (struct passwd *pwent,
chown (".ICEauthority",
pwent->pw_uid,
pwent->pw_gid);
- chmod (".ICEauthority", S_IRUSR | S_IWUSR);
+ g_chmod (".ICEauthority", S_IRUSR | S_IWUSR);
}
}
seteuid (0);
@@ -3501,7 +3501,7 @@ session_child_run (struct passwd *pwent,
}
/* just in case there is some weirdness going on */
- VE_IGNORE_EINTR (chdir (home_dir));
+ VE_IGNORE_EINTR (g_chdir (home_dir));
if (usrcfgok && home_dir_ok)
gdm_set_user_session_lang (savesess, savelang, home_dir, save_session, language);
@@ -3544,7 +3544,7 @@ session_child_run (struct passwd *pwent,
char *basexsession = gdm_get_value_string (GDM_KEY_BASE_XSESSION);
/* cannot be possibly failsafe */
- if G_UNLIKELY (access (basexsession, X_OK) != 0) {
+ if G_UNLIKELY (g_access (basexsession, X_OK) != 0) {
gdm_error (_("%s: Cannot find or run the base Xsession script. Running the GNOME failsafe session instead."),
"session_child_run");
session = GDM_SESSION_FAILSAFE_GNOME;
@@ -4109,7 +4109,7 @@ gdm_slave_session_start (void)
/* Now still as root make the system authfile readable by others,
and therefore by the gdm user */
- VE_IGNORE_EINTR (chmod (GDM_AUTHFILE (d), 0644));
+ VE_IGNORE_EINTR (g_chmod (GDM_AUTHFILE (d), 0644));
end_time = time (NULL);
@@ -4176,7 +4176,7 @@ gdm_slave_session_stop (gboolean run_post_session,
/* Now still as root make the system authfile not readable by others,
and therefore not by the gdm user */
if (GDM_AUTHFILE (d) != NULL) {
- VE_IGNORE_EINTR (chmod (GDM_AUTHFILE (d), 0640));
+ VE_IGNORE_EINTR (g_chmod (GDM_AUTHFILE (d), 0640));
}
gdm_debug ("gdm_slave_session_stop: %s on %s", local_login, d->name);
@@ -4240,7 +4240,7 @@ gdm_slave_session_stop (gboolean run_post_session,
FALSE /* pass_stdout */);
}
- VE_IGNORE_EINTR (unlink (x_servers_file));
+ VE_IGNORE_EINTR (g_unlink (x_servers_file));
g_free (x_servers_file);
g_free (local_login);
@@ -4289,7 +4289,7 @@ gdm_slave_session_stop (gboolean run_post_session,
user will wait for a few moments. */
if ( ! need_to_quit_after_session_stop &&
! no_shutdown_check &&
- access ("/sbin/runlevel", X_OK) == 0) {
+ g_access ("/sbin/runlevel", X_OK) == 0) {
char ign;
int rnl;
FILE *fp = popen ("/sbin/runlevel", "r");
@@ -4927,7 +4927,7 @@ gdm_slave_whack_temp_auth_file (void)
if (old != 0)
seteuid (0);
if (d->parent_temp_auth_file != NULL) {
- VE_IGNORE_EINTR (unlink (d->parent_temp_auth_file));
+ VE_IGNORE_EINTR (g_unlink (d->parent_temp_auth_file));
}
g_free (d->parent_temp_auth_file);
d->parent_temp_auth_file = NULL;
@@ -4941,7 +4941,7 @@ create_temp_auth_file (void)
if (d->type == TYPE_FLEXI_XNEST &&
d->parent_auth_file != NULL) {
if (d->parent_temp_auth_file != NULL) {
- VE_IGNORE_EINTR (unlink (d->parent_temp_auth_file));
+ VE_IGNORE_EINTR (g_unlink (d->parent_temp_auth_file));
}
g_free (d->parent_temp_auth_file);
d->parent_temp_auth_file =
@@ -4979,14 +4979,14 @@ gdm_slave_exec_script (GdmDisplay *d, const gchar *dir, const char *login,
return EXIT_SUCCESS;
script = g_build_filename (dir, d->name, NULL);
- if (access (script, R_OK|X_OK) != 0) {
+ if (g_access (script, R_OK|X_OK) != 0) {
g_free (script);
script = NULL;
}
if (script == NULL &&
! ve_string_empty (d->hostname)) {
script = g_build_filename (dir, d->hostname, NULL);
- if (access (script, R_OK|X_OK) != 0) {
+ if (g_access (script, R_OK|X_OK) != 0) {
g_free (script);
script = NULL;
}
@@ -4994,7 +4994,7 @@ gdm_slave_exec_script (GdmDisplay *d, const gchar *dir, const char *login,
if (script == NULL &&
SERVER_IS_XDMCP (d)) {
script = g_build_filename (dir, "XDMCP", NULL);
- if (access (script, R_OK|X_OK) != 0) {
+ if (g_access (script, R_OK|X_OK) != 0) {
g_free (script);
script = NULL;
}
@@ -5002,14 +5002,14 @@ gdm_slave_exec_script (GdmDisplay *d, const gchar *dir, const char *login,
if (script == NULL &&
SERVER_IS_FLEXI (d)) {
script = g_build_filename (dir, "Flexi", NULL);
- if (access (script, R_OK|X_OK) != 0) {
+ if (g_access (script, R_OK|X_OK) != 0) {
g_free (script);
script = NULL;
}
}
if (script == NULL) {
script = g_build_filename (dir, "Default", NULL);
- if (access (script, R_OK|X_OK) != 0) {
+ if (g_access (script, R_OK|X_OK) != 0) {
g_free (script);
script = NULL;
}
@@ -5058,13 +5058,13 @@ gdm_slave_exec_script (GdmDisplay *d, const gchar *dir, const char *login,
if (ve_string_empty (pwent->pw_dir)) {
g_setenv ("HOME", "/", TRUE);
g_setenv ("PWD", "/", TRUE);
- VE_IGNORE_EINTR (chdir ("/"));
+ VE_IGNORE_EINTR (g_chdir ("/"));
} else {
g_setenv ("HOME", pwent->pw_dir, TRUE);
g_setenv ("PWD", pwent->pw_dir, TRUE);
- VE_IGNORE_EINTR (chdir (pwent->pw_dir));
+ VE_IGNORE_EINTR (g_chdir (pwent->pw_dir));
if (errno != 0) {
- VE_IGNORE_EINTR (chdir ("/"));
+ VE_IGNORE_EINTR (g_chdir ("/"));
g_setenv ("PWD", "/", TRUE);
}
}
@@ -5072,7 +5072,7 @@ gdm_slave_exec_script (GdmDisplay *d, const gchar *dir, const char *login,
} else {
g_setenv ("HOME", "/", TRUE);
g_setenv ("PWD", "/", TRUE);
- VE_IGNORE_EINTR (chdir ("/"));
+ VE_IGNORE_EINTR (g_chdir ("/"));
g_setenv ("SHELL", "/bin/sh", TRUE);
}
diff --git a/daemon/verify-pam.c b/daemon/verify-pam.c
index 19bf59e9..78dabf2d 100644
--- a/daemon/verify-pam.c
+++ b/daemon/verify-pam.c
@@ -312,7 +312,7 @@ solaris_xserver_cred (char *login, GdmDisplay *d, struct passwd *pwent)
if (!d->attached)
return;
- if (access (pwent->pw_dir, F_OK) != 0) {
+ if (g_access (pwent->pw_dir, F_OK) != 0) {
gdm_debug ("solaris_xserver_cred: no HOME dir access\n");
return;
}
@@ -328,7 +328,7 @@ solaris_xserver_cred (char *login, GdmDisplay *d, struct passwd *pwent)
sprintf (pipe, "%s/%d", SDTLOGIN_DIR, displayNumber);
- if ( stat (SDTLOGIN_DIR, &statbuf) == 0) {
+ if (g_stat (SDTLOGIN_DIR, &statbuf) == 0) {
if (! statbuf.st_mode & S_IFDIR) {
gdm_debug ("solaris_xserver_cred: %s is not a directory\n",
SDTLOGIN_DIR);
@@ -341,7 +341,7 @@ solaris_xserver_cred (char *login, GdmDisplay *d, struct passwd *pwent)
}
fd = open (pipe, O_RDWR);
- unlink (pipe);
+ g_unlink (pipe);
if (fd < 0) {
gdm_debug ("solaris_xserver_cred: could not open %s\n", pipe);
diff --git a/daemon/xdmcp.c b/daemon/xdmcp.c
index a832ebfd..7fa4d72b 100644
--- a/daemon/xdmcp.c
+++ b/daemon/xdmcp.c
@@ -1259,7 +1259,7 @@ gdm_xdmcp_send_willing (struct sockaddr_in *clnt_sa)
char statusBuf[256] = "";
bin = ve_first_word (willing);
if ( ! ve_string_empty (bin) &&
- access (bin, X_OK) == 0 &&
+ g_access (bin, X_OK) == 0 &&
(fd = popen (willing, "r")) != NULL) {
if (fgets (statusBuf, sizeof (statusBuf), fd) != NULL &&
! ve_string_empty (g_strstrip (statusBuf))) {
diff --git a/docs/es/es.po b/docs/es/es.po
index 64b2a24a..348d698a 100644
--- a/docs/es/es.po
+++ b/docs/es/es.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: es\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-12-21 06:11-0800\n"
+"POT-Creation-Date: 2005-12-22 08:45-0800\n"
"PO-Revision-Date: 2005-10-30 18:01+0100\n"
"Last-Translator: \n"
"Language-Team: <en@li.org>\n"
@@ -4498,22 +4498,24 @@ msgstr ""
#: ../C/gdm.xml:3536 (synopsis)
#, no-wrap
-msgid "priority=-5"
+msgid "priority=0"
msgstr ""
#: ../C/gdm.xml:3537 (para)
msgid ""
"Indicates that the X server should be started at a different process "
-"priority. This value can be between -20 and 20, with 0 being the default. "
-"For highly interactive applications, -5 yields good responsiveness."
+"priority. Values can be any integer value accepted by the setpriority C "
+"library function (normally between -20 and 20) with 0 being the default. For "
+"highly interactive applications, -5 yields good responsiveness. The default "
+"value is 0 and the setpriority function is not called if the value is 0."
msgstr ""
-#: ../C/gdm.xml:3553 (title)
+#: ../C/gdm.xml:3556 (title)
#, fuzzy
msgid "Per User Configuration"
msgstr "Configuración del interfaz"
-#: ../C/gdm.xml:3555 (para)
+#: ../C/gdm.xml:3558 (para)
msgid ""
"There are some per user configuration settings that control how GDM behaves. "
"GDM is picky about the file ownership and permissions of the user files it "
@@ -4527,7 +4529,7 @@ msgid ""
"checks failing."
msgstr ""
-#: ../C/gdm.xml:3569 (para)
+#: ../C/gdm.xml:3572 (para)
msgid ""
"First there is the <filename>~/.dmrc</filename> file. In theory this file "
"should be shared between GDM and KDM, so users only have to configure things "
@@ -4536,7 +4538,7 @@ msgid ""
"<filename>Session</filename> and <filename>Language</filename>."
msgstr ""
-#: ../C/gdm.xml:3578 (para)
+#: ../C/gdm.xml:3581 (para)
msgid ""
"The <filename>Session</filename> key specifies the basename of the session "
"<filename>.desktop</filename> file that the user wishes to normally use "
@@ -4546,7 +4548,7 @@ msgid ""
"default is used. The file would normally look as follows:"
msgstr ""
-#: ../C/gdm.xml:3587 (screen)
+#: ../C/gdm.xml:3590 (screen)
#, no-wrap
msgid ""
"\n"
@@ -4561,14 +4563,14 @@ msgstr ""
"Language=cs_CZ.UTF-8\n"
" "
-#: ../C/gdm.xml:3593 (para)
+#: ../C/gdm.xml:3596 (para)
msgid ""
"Normally GDM will write this file when the user logs in for the first time, "
"and rewrite it if the user chooses to change their default values on a "
"subsequent login."
msgstr ""
-#: ../C/gdm.xml:3599 (para)
+#: ../C/gdm.xml:3602 (para)
msgid ""
"If the GDM Face Browser is turned, then the file <filename>$HOME/.face</"
"filename> is accessed. This file should be a standard image that GTK+ can "
@@ -4582,7 +4584,7 @@ msgid ""
"takes care to not change the aspect ratio of the image."
msgstr ""
-#: ../C/gdm.xml:3614 (para)
+#: ../C/gdm.xml:3617 (para)
#, fuzzy
msgid ""
"Face images can also be placed in the global face directory, which is "
@@ -4602,22 +4604,22 @@ msgstr ""
"embargo, el demonio, proximiza las fotografías de los usuarios al interfaz y "
"debido a esto no tienen que ser leíbles por el usuario GDM sino por el root."
-#: ../C/gdm.xml:3626 (title)
+#: ../C/gdm.xml:3629 (title)
msgid "Controlling GDM"
msgstr ""
-#: ../C/gdm.xml:3628 (para)
+#: ../C/gdm.xml:3631 (para)
msgid ""
"You can control GDM behavior during runtime in several different ways. You "
"can either run certain commands, or you can talk to GDM using either a unix "
"socket protocol, or a FIFO protocol."
msgstr ""
-#: ../C/gdm.xml:3635 (title)
+#: ../C/gdm.xml:3638 (title)
msgid "Commands"
msgstr "Comandos"
-#: ../C/gdm.xml:3637 (para)
+#: ../C/gdm.xml:3640 (para)
msgid ""
"To stop GDM, you can either send the TERM signal to the main daemon or run "
"the <command>gdm-stop</command> command which is in the <filename>&lt;"
@@ -4630,7 +4632,7 @@ msgid ""
"directory as well."
msgstr ""
-#: ../C/gdm.xml:3650 (para)
+#: ../C/gdm.xml:3653 (para)
msgid ""
"The <command>gdmflexiserver</command> command can be used to start new "
"flexible (on demand) servers if your system supports virtual terminals. This "
@@ -4644,11 +4646,11 @@ msgid ""
"get a listing of possible options."
msgstr ""
-#: ../C/gdm.xml:3666 (title)
+#: ../C/gdm.xml:3669 (title)
msgid "The FIFO protocol"
msgstr ""
-#: ../C/gdm.xml:3668 (para)
+#: ../C/gdm.xml:3671 (para)
msgid ""
"GDM also provides a FIFO called <filename>.gdmfifo</filename> in the "
"<filename>ServAuthDir</filename> directory (usually <filename>&lt;var&gt;/"
@@ -4660,7 +4662,7 @@ msgid ""
"application)."
msgstr ""
-#: ../C/gdm.xml:3679 (para)
+#: ../C/gdm.xml:3682 (para)
msgid ""
"Full and up to date documentation of the commands and their use is contained "
"in the GDM source tree in the file <filename>daemon/gdm.h</filename>. Look "
@@ -4670,11 +4672,11 @@ msgid ""
"should not be used."
msgstr ""
-#: ../C/gdm.xml:3691 (title)
+#: ../C/gdm.xml:3694 (title)
msgid "Socket Protocol"
msgstr ""
-#: ../C/gdm.xml:3693 (para)
+#: ../C/gdm.xml:3696 (para)
msgid ""
"GDM provides a unix domain socket for communication at <filename>/tmp/."
"gdm_socket</filename>. Using this you can check if GDM is running, the "
@@ -4685,12 +4687,12 @@ msgid ""
"<command>gdmflexiserver</command> command."
msgstr ""
-#: ../C/gdm.xml:3703 (para)
+#: ../C/gdm.xml:3706 (para)
msgid ""
"gdmflexiserver accepts the following commands with the --command option:"
msgstr ""
-#: ../C/gdm.xml:3708 (screen)
+#: ../C/gdm.xml:3711 (screen)
#, fuzzy, no-wrap
msgid ""
"\n"
@@ -4733,17 +4735,17 @@ msgstr ""
"CLOSE\n"
" "
-#: ../C/gdm.xml:3729 (para)
+#: ../C/gdm.xml:3732 (para)
msgid ""
"These are described in detail below, including required arguments, response "
"format, and return codes."
msgstr ""
-#: ../C/gdm.xml:3735 (title)
+#: ../C/gdm.xml:3738 (title)
msgid "VERSION"
msgstr "VERSION"
-#: ../C/gdm.xml:3736 (screen)
+#: ../C/gdm.xml:3739 (screen)
#, fuzzy, no-wrap
msgid ""
"\n"
@@ -4768,11 +4770,11 @@ msgstr ""
" 999 = Unknown error\n"
" "
-#: ../C/gdm.xml:3749 (title)
+#: ../C/gdm.xml:3752 (title)
msgid "AUTH_LOCAL"
msgstr "AUTH_LOCAL"
-#: ../C/gdm.xml:3750 (screen)
+#: ../C/gdm.xml:3753 (screen)
#, no-wrap
msgid ""
"\n"
@@ -4804,11 +4806,11 @@ msgid ""
" "
msgstr ""
-#: ../C/gdm.xml:3780 (title)
+#: ../C/gdm.xml:3783 (title)
msgid "FLEXI_XSERVER"
msgstr "FLEXI_XSERVER"
-#: ../C/gdm.xml:3781 (screen)
+#: ../C/gdm.xml:3784 (screen)
#, fuzzy, no-wrap
msgid ""
"\n"
@@ -4842,11 +4844,11 @@ msgstr ""
" 999 = Unknown error\n"
" "
-#: ../C/gdm.xml:3803 (title)
+#: ../C/gdm.xml:3806 (title)
msgid "FLEXI_XNEST"
msgstr "FLEXI_XNEST"
-#: ../C/gdm.xml:3804 (screen)
+#: ../C/gdm.xml:3807 (screen)
#, no-wrap
msgid ""
"\n"
@@ -4886,11 +4888,11 @@ msgid ""
" "
msgstr ""
-#: ../C/gdm.xml:3842 (title)
+#: ../C/gdm.xml:3845 (title)
msgid "ADD_DYNAMIC_DISPLAY"
msgstr "ADD_DYNAMIC_DISPLAY"
-#: ../C/gdm.xml:3843 (screen)
+#: ../C/gdm.xml:3846 (screen)
#, fuzzy, no-wrap
msgid ""
"\n"
@@ -4924,11 +4926,11 @@ msgstr ""
" 999 = Unknown error\n"
" "
-#: ../C/gdm.xml:3865 (title)
+#: ../C/gdm.xml:3868 (title)
msgid "RELEASE_DYNAMIC_DISPLAYS"
msgstr "RELEASE_DYNAMIC_DISPLAYS"
-#: ../C/gdm.xml:3866 (screen)
+#: ../C/gdm.xml:3869 (screen)
#, fuzzy, no-wrap
msgid ""
"\n"
@@ -4956,11 +4958,11 @@ msgstr ""
" 999 = Unknown error\n"
" "
-#: ../C/gdm.xml:3882 (title)
+#: ../C/gdm.xml:3885 (title)
msgid "REMOVE_DYNAMIC_DISPLAY"
msgstr "REMOVE_DYNAMIC_DISPLAY"
-#: ../C/gdm.xml:3883 (screen)
+#: ../C/gdm.xml:3886 (screen)
#, fuzzy, no-wrap
msgid ""
"\n"
@@ -4989,11 +4991,11 @@ msgstr ""
" 999 = Unknown error\n"
" "
-#: ../C/gdm.xml:3900 (title)
+#: ../C/gdm.xml:3903 (title)
msgid "ATTACHED_SERVERS"
msgstr "ATTACHED_SERVERS"
-#: ../C/gdm.xml:3901 (screen)
+#: ../C/gdm.xml:3904 (screen)
#, no-wrap
msgid ""
"\n"
@@ -5027,11 +5029,11 @@ msgid ""
" "
msgstr ""
-#: ../C/gdm.xml:3933 (title)
+#: ../C/gdm.xml:3936 (title)
msgid "ALL_SERVERS"
msgstr "ALL_SERVERS"
-#: ../C/gdm.xml:3934 (screen)
+#: ../C/gdm.xml:3937 (screen)
#, fuzzy, no-wrap
msgid ""
"\n"
@@ -5066,12 +5068,12 @@ msgstr ""
" 999 = Unknown error\n"
" "
-#: ../C/gdm.xml:3957 (title)
+#: ../C/gdm.xml:3960 (title)
#, fuzzy
msgid "GET_SERVER_LIST"
msgstr "ALL_SERVERS"
-#: ../C/gdm.xml:3958 (screen)
+#: ../C/gdm.xml:3961 (screen)
#, fuzzy, no-wrap
msgid ""
"\n"
@@ -5100,12 +5102,12 @@ msgstr ""
" 999 = Unknown error\n"
" "
-#: ../C/gdm.xml:3975 (title)
+#: ../C/gdm.xml:3978 (title)
#, fuzzy
msgid "GET_SERVER_DETAILS"
msgstr "ALL_SERVERS"
-#: ../C/gdm.xml:3976 (screen)
+#: ../C/gdm.xml:3979 (screen)
#, fuzzy, no-wrap
msgid ""
"\n"
@@ -5142,11 +5144,11 @@ msgstr ""
" 999 = Unknown error\n"
" "
-#: ../C/gdm.xml:4001 (title)
+#: ../C/gdm.xml:4004 (title)
msgid "GET_CONFIG"
msgstr "GET_CONFIG"
-#: ../C/gdm.xml:4002 (screen)
+#: ../C/gdm.xml:4005 (screen)
#, no-wrap
msgid ""
"\n"
@@ -5171,11 +5173,11 @@ msgid ""
" "
msgstr ""
-#: ../C/gdm.xml:4025 (title)
+#: ../C/gdm.xml:4028 (title)
msgid "GET_CONFIG_FILE"
msgstr "GET_CONFIG_FILE"
-#: ../C/gdm.xml:4026 (screen)
+#: ../C/gdm.xml:4029 (screen)
#, fuzzy, no-wrap
msgid ""
"\n"
@@ -5204,11 +5206,11 @@ msgstr ""
" 999 = Unknown error\n"
" "
-#: ../C/gdm.xml:4043 (title)
+#: ../C/gdm.xml:4046 (title)
msgid "UPDATE_CONFIG"
msgstr "UPDATE_CONFIG"
-#: ../C/gdm.xml:4044 (screen)
+#: ../C/gdm.xml:4047 (screen)
#, no-wrap
msgid ""
"\n"
@@ -5286,11 +5288,11 @@ msgid ""
" "
msgstr ""
-#: ../C/gdm.xml:4120 (title)
+#: ../C/gdm.xml:4123 (title)
msgid "GREETERPIDS"
msgstr "GREETERPIDS"
-#: ../C/gdm.xml:4121 (screen)
+#: ../C/gdm.xml:4124 (screen)
#, fuzzy, no-wrap
msgid ""
"\n"
@@ -5318,11 +5320,11 @@ msgstr ""
" 999 = Unknown error\n"
" "
-#: ../C/gdm.xml:4137 (title)
+#: ../C/gdm.xml:4140 (title)
msgid "QUERY_LOGOUT_ACTION"
msgstr "QUERY_LOGOUT_ACTION"
-#: ../C/gdm.xml:4138 (screen)
+#: ../C/gdm.xml:4141 (screen)
#, fuzzy, no-wrap
msgid ""
"\n"
@@ -5356,12 +5358,12 @@ msgstr ""
" 999 = Unknown error\n"
" "
-#: ../C/gdm.xml:4160 (title)
+#: ../C/gdm.xml:4163 (title)
#, fuzzy
msgid "SET_LOGOUT_ACTION"
msgstr "SET_SAFE_LOGOUT_ACTION"
-#: ../C/gdm.xml:4161 (screen)
+#: ../C/gdm.xml:4164 (screen)
#, fuzzy, no-wrap
msgid ""
"\n"
@@ -5395,11 +5397,11 @@ msgstr ""
" 999 = Unknown error\n"
" "
-#: ../C/gdm.xml:4183 (title)
+#: ../C/gdm.xml:4186 (title)
msgid "SET_SAFE_LOGOUT_ACTION"
msgstr "SET_SAFE_LOGOUT_ACTION"
-#: ../C/gdm.xml:4184 (screen)
+#: ../C/gdm.xml:4187 (screen)
#, fuzzy, no-wrap
msgid ""
"\n"
@@ -5440,11 +5442,11 @@ msgstr ""
" 999 = Unknown error\n"
" "
-#: ../C/gdm.xml:4213 (title)
+#: ../C/gdm.xml:4216 (title)
msgid "QUERY_VT"
msgstr "QUERY_VT"
-#: ../C/gdm.xml:4214 (screen)
+#: ../C/gdm.xml:4217 (screen)
#, fuzzy, no-wrap
msgid ""
"\n"
@@ -5479,11 +5481,11 @@ msgstr ""
" 999 = Unknown error\n"
" "
-#: ../C/gdm.xml:4237 (title)
+#: ../C/gdm.xml:4240 (title)
msgid "SET_VT"
msgstr "SET_VT"
-#: ../C/gdm.xml:4238 (screen)
+#: ../C/gdm.xml:4241 (screen)
#, fuzzy, no-wrap
msgid ""
"\n"
@@ -5516,11 +5518,11 @@ msgstr ""
" 999 = Unknown error\n"
" "
-#: ../C/gdm.xml:4259 (title)
+#: ../C/gdm.xml:4262 (title)
msgid "CLOSE"
msgstr "CLOSE"
-#: ../C/gdm.xml:4260 (screen)
+#: ../C/gdm.xml:4263 (screen)
#, no-wrap
msgid ""
"\n"
@@ -5531,30 +5533,30 @@ msgid ""
" "
msgstr ""
-#: ../C/gdm.xml:4273 (title)
+#: ../C/gdm.xml:4276 (title)
#, fuzzy
msgid "GDM Commands"
msgstr "Comandos"
-#: ../C/gdm.xml:4276 (title)
+#: ../C/gdm.xml:4279 (title)
#, fuzzy
msgid "GDM User Commands"
msgstr "Comandos internos de GDM"
-#: ../C/gdm.xml:4278 (para)
+#: ../C/gdm.xml:4281 (para)
msgid ""
"The GDM package provides the following different commands in EXPANDED_BINDIR "
"intended to be used by the end-user:"
msgstr ""
-#: ../C/gdm.xml:4284 (title)
+#: ../C/gdm.xml:4287 (title)
#, fuzzy
msgid ""
"<command>gdmXnestchooser</command> and <command>gdmXnest</command> Command "
"Line Options"
msgstr "Opciones de línea de comandos de <command>gdmdynamic</command>"
-#: ../C/gdm.xml:4287 (para)
+#: ../C/gdm.xml:4290 (para)
msgid ""
"The <command>gdmXnestchooser</command> command automatically gets the "
"correct display number, sets up access, and runs <command>Xnest</command> "
@@ -5567,84 +5569,84 @@ msgid ""
"this command also supports standard GNOME options."
msgstr ""
-#: ../C/gdm.xml:4302 (title)
+#: ../C/gdm.xml:4305 (title)
#, fuzzy
msgid "<command>gdmXnestchooser</command> Command Line Options"
msgstr "Opciones de línea de comandos de <command>gdmdynamic</command>"
-#: ../C/gdm.xml:4305 (term)
+#: ../C/gdm.xml:4308 (term)
#, fuzzy
msgid "-x, --xnest=STRING"
msgstr "-n, --xnest"
-#: ../C/gdm.xml:4307 (para)
+#: ../C/gdm.xml:4310 (para)
msgid "Xnest command line, default is \"Xnest\""
msgstr ""
-#: ../C/gdm.xml:4314 (term)
+#: ../C/gdm.xml:4317 (term)
msgid "-o, --xnest-extra-options=OPTIONS"
msgstr ""
-#: ../C/gdm.xml:4316 (para)
+#: ../C/gdm.xml:4319 (para)
msgid "Extra options for Xnest, default is no options."
msgstr ""
-#: ../C/gdm.xml:4323 (term)
+#: ../C/gdm.xml:4326 (term)
#, fuzzy
msgid "-n, --no-query"
msgstr "-n, --xnest"
-#: ../C/gdm.xml:4325 (para)
+#: ../C/gdm.xml:4328 (para)
msgid "Just run Xnest, no query (no chooser)"
msgstr ""
-#: ../C/gdm.xml:4332 (term)
+#: ../C/gdm.xml:4335 (term)
#, fuzzy
msgid "-d, --direct"
msgstr "-d, --debug"
-#: ../C/gdm.xml:4334 (para)
+#: ../C/gdm.xml:4337 (para)
msgid "Do direct query instead of indirect (chooser)"
msgstr ""
-#: ../C/gdm.xml:4341 (term)
+#: ../C/gdm.xml:4344 (term)
#, fuzzy
msgid "-B, --broadcast"
msgstr "Browser=true"
-#: ../C/gdm.xml:4343 (para)
+#: ../C/gdm.xml:4346 (para)
msgid "Run broadcast instead of indirect (chooser)"
msgstr ""
-#: ../C/gdm.xml:4350 (term)
+#: ../C/gdm.xml:4353 (term)
msgid "-b, --background"
msgstr ""
-#: ../C/gdm.xml:4352 (para)
+#: ../C/gdm.xml:4355 (para)
msgid "Run in background"
msgstr ""
-#: ../C/gdm.xml:4359 (term)
+#: ../C/gdm.xml:4362 (term)
msgid "--no-gdm-check"
msgstr ""
-#: ../C/gdm.xml:4361 (para)
+#: ../C/gdm.xml:4364 (para)
msgid "Don't check for running GDM"
msgstr ""
-#: ../C/gdm.xml:4370 (title) ../C/gdm.xml:4414
+#: ../C/gdm.xml:4373 (title) ../C/gdm.xml:4417
#, fuzzy
msgid "<command>gdmflexichooser</command> Command Line Options"
msgstr "Opciones de línea de comandos de <command>gdmdynamic</command>"
-#: ../C/gdm.xml:4372 (para)
+#: ../C/gdm.xml:4375 (para)
msgid ""
"The <command>gdmflexiserver</command> command provides three features. It "
"can be used to run flexible (on demand) X servers, to run a flexible server "
"via Xnest, and to send commands to the GDM daemon process."
msgstr ""
-#: ../C/gdm.xml:4379 (para)
+#: ../C/gdm.xml:4382 (para)
msgid ""
"Starting a flexible X servers will normally lock the current session with a "
"screensaver and will redisplay the GDM login screen so a second user can log "
@@ -5658,7 +5660,7 @@ msgid ""
"have to enter the password to unlock the screen."
msgstr ""
-#: ../C/gdm.xml:4393 (para)
+#: ../C/gdm.xml:4396 (para)
msgid ""
"Flexible servers started via Xnest works on systems that do not support "
"virtual terminals. This option starts a flexible server in a window in the "
@@ -5666,48 +5668,48 @@ msgid ""
"as a flexible server started via virtual terminals."
msgstr ""
-#: ../C/gdm.xml:4401 (para)
+#: ../C/gdm.xml:4404 (para)
msgid ""
"The <command>gdmflexiserver --command</command> option provides a way to "
"send commands to the GDM daemon and can be used to debug problems or to "
"change the GDM configuration."
msgstr ""
-#: ../C/gdm.xml:4407 (para)
+#: ../C/gdm.xml:4410 (para)
msgid ""
"In addition to the following options, <command>gdmflexiserver</command> also "
"supports standard GNOME options."
msgstr ""
-#: ../C/gdm.xml:4417 (term)
+#: ../C/gdm.xml:4420 (term)
msgid "-c, --command=COMMAND"
msgstr ""
-#: ../C/gdm.xml:4419 (para)
+#: ../C/gdm.xml:4422 (para)
msgid "Send the specified protocol command to GDM"
msgstr "Enviar el comando de protocolo especificado a GDM"
-#: ../C/gdm.xml:4426 (term)
+#: ../C/gdm.xml:4429 (term)
msgid "-n, --xnest"
msgstr "-n, --xnest"
-#: ../C/gdm.xml:4428 (para)
+#: ../C/gdm.xml:4431 (para)
msgid "Start a flexible X server in Xnest mode"
msgstr ""
-#: ../C/gdm.xml:4435 (term)
+#: ../C/gdm.xml:4438 (term)
msgid "-l, --no-lock"
msgstr "-l, --no-lock"
-#: ../C/gdm.xml:4437 (para)
+#: ../C/gdm.xml:4440 (para)
msgid "Do not lock current screen"
msgstr "No bloquear la pantalla actual"
-#: ../C/gdm.xml:4444 (term)
+#: ../C/gdm.xml:4447 (term)
msgid "-d, --debug"
msgstr "-d, --debug"
-#: ../C/gdm.xml:4446 (para)
+#: ../C/gdm.xml:4449 (para)
msgid ""
"Turns on debugging output which gets sent to syslog. Same as turning on "
"debug in the configuration file."
@@ -5715,19 +5717,19 @@ msgstr ""
"Activar salida de depuración para enviarla a syslog. Lo mismo que cuadno se "
"activa la depuración en el archivo de configuración."
-#: ../C/gdm.xml:4454 (term)
+#: ../C/gdm.xml:4457 (term)
msgid "-a, --authenticate"
msgstr "-a, --authenticate"
-#: ../C/gdm.xml:4456 (para)
+#: ../C/gdm.xml:4459 (para)
msgid "Authenticate before running --command"
msgstr "Autenticar antes de ejecutar --command"
-#: ../C/gdm.xml:4463 (term)
+#: ../C/gdm.xml:4466 (term)
msgid "-s, --startnew"
msgstr "-s, --startnew"
-#: ../C/gdm.xml:4465 (para)
+#: ../C/gdm.xml:4468 (para)
msgid ""
"Starts a new flexible server without displaying a dialog asking the user if "
"they wish to continue any existing sessions."
@@ -5735,17 +5737,17 @@ msgstr ""
"Inicia un servidor flexible nuevo sin mostrar un diálogo preguntando al "
"usuario si quiere continuar cualquier sesión existente."
-#: ../C/gdm.xml:4476 (title) ../C/gdm.xml:4494
+#: ../C/gdm.xml:4479 (title) ../C/gdm.xml:4497
msgid "<command>gdmdynamic</command> Command Line Options"
msgstr "Opciones de línea de comandos de <command>gdmdynamic</command>"
-#: ../C/gdm.xml:4478 (para)
+#: ../C/gdm.xml:4481 (para)
msgid ""
"The <command>gdmdynamic</command> command which creates, runs, and removes "
"displays (X servers) on demand."
msgstr ""
-#: ../C/gdm.xml:4483 (para)
+#: ../C/gdm.xml:4486 (para)
msgid ""
"Some environments need the ability to tell GDM to create and manage new "
"displays on the fly, where it is not possible to list the possible displays "
@@ -5756,46 +5758,46 @@ msgid ""
"displays that match a pattern."
msgstr ""
-#: ../C/gdm.xml:4499 (emphasis)
+#: ../C/gdm.xml:4502 (emphasis)
msgid "One of the following options can be used per instance:"
msgstr "Una de las siguientes opciones pueden usarse por instancia:"
-#: ../C/gdm.xml:4506 (term)
+#: ../C/gdm.xml:4509 (term)
#, fuzzy
msgid "-a display=server"
msgstr "d nombre del display"
-#: ../C/gdm.xml:4508 (para)
+#: ../C/gdm.xml:4511 (para)
msgid ""
"Add a new display configuration. For example, <command>\"-a "
"2=StandardServerTwo\"</command><command>\"-a 3=/usr/X11R6/bin/X -dev /dev/fb2"
"\"</command>"
msgstr ""
-#: ../C/gdm.xml:4517 (term)
+#: ../C/gdm.xml:4520 (term)
msgid "-r"
msgstr ""
-#: ../C/gdm.xml:4519 (para)
+#: ../C/gdm.xml:4522 (para)
msgid "Release (run) all displays waiting in the DISPLAY_CONFIG state."
msgstr ""
-#: ../C/gdm.xml:4526 (term)
+#: ../C/gdm.xml:4529 (term)
#, fuzzy
msgid "-d display"
msgstr "d nombre del display"
-#: ../C/gdm.xml:4528 (para)
+#: ../C/gdm.xml:4531 (para)
msgid ""
"Delete a display, killing the X server and purging the display "
"configuration. For example, \"-d 3\"."
msgstr ""
-#: ../C/gdm.xml:4536 (term)
+#: ../C/gdm.xml:4539 (term)
msgid "-l [pattern]"
msgstr ""
-#: ../C/gdm.xml:4538 (para)
+#: ../C/gdm.xml:4541 (para)
msgid ""
"List displays via the ATTACHED_SERVERS command. Without a pattern lists all "
"attached displays. With a pattern will match using glob characters '*', '?', "
@@ -5803,44 +5805,44 @@ msgid ""
"*Xorg*\"</command>"
msgstr ""
-#: ../C/gdm.xml:4551 (emphasis)
+#: ../C/gdm.xml:4554 (emphasis)
msgid "These options can be added to the above:"
msgstr ""
-#: ../C/gdm.xml:4558 (term)
+#: ../C/gdm.xml:4561 (term)
msgid "-v"
msgstr ""
-#: ../C/gdm.xml:4560 (para)
+#: ../C/gdm.xml:4563 (para)
msgid "Verbose mode. Prinr diagnostic messages about each message sent to GDM."
msgstr ""
-#: ../C/gdm.xml:4568 (term)
+#: ../C/gdm.xml:4571 (term)
msgid "-b"
msgstr ""
-#: ../C/gdm.xml:4570 (para)
+#: ../C/gdm.xml:4573 (para)
msgid "Background mode. Fork child to do the work and return immediately."
msgstr ""
-#: ../C/gdm.xml:4579 (title)
+#: ../C/gdm.xml:4582 (title)
#, fuzzy
msgid "<command>gdmphotosetup</command> Command Line Options"
msgstr "Opciones de línea de comandos de <command>gdmdynamic</command>"
-#: ../C/gdm.xml:4581 (para)
+#: ../C/gdm.xml:4584 (para)
msgid ""
"Allows the user to select an image that will be used as the user's photo by "
"GDM's face browser, if enabled by GDM. The selected file is stored as ~/."
"face. This command accepts standard GNOME options."
msgstr ""
-#: ../C/gdm.xml:4589 (title)
+#: ../C/gdm.xml:4592 (title)
#, fuzzy
msgid "<command>gdmthemetester</command> Command Line Options"
msgstr "Opciones de línea de comandos de <command>gdmdynamic</command>"
-#: ../C/gdm.xml:4591 (para)
+#: ../C/gdm.xml:4594 (para)
msgid ""
"<command>gdmthemetester</command> takes two parameters. The first parameter "
"specifies the environment and the second parameter specifies the path name "
@@ -5859,24 +5861,24 @@ msgid ""
" </screen>"
msgstr ""
-#: ../C/gdm.xml:4617 (title)
+#: ../C/gdm.xml:4620 (title)
#, fuzzy
msgid "GDM Root User Commands"
msgstr "Comandos internos de GDM"
-#: ../C/gdm.xml:4619 (para)
+#: ../C/gdm.xml:4622 (para)
msgid ""
"The GDM package provides the following different commands in "
"EXPANDED_SBINDIR intended to be used by the root user:"
msgstr ""
-#: ../C/gdm.xml:4625 (title) ../C/gdm.xml:4641
+#: ../C/gdm.xml:4628 (title) ../C/gdm.xml:4644
#, fuzzy
msgid ""
"<command>gdm</command> and <command>gdm-binary</command> Command Line Options"
msgstr "Opciones de línea de comandos de <command>gdmdynamic</command>"
-#: ../C/gdm.xml:4628 (para)
+#: ../C/gdm.xml:4631 (para)
msgid ""
"The <command>gdm</command> command is really just a script which runs the "
"<command>gdm-binary</command>, passing along any options. Before launching "
@@ -5888,30 +5890,30 @@ msgid ""
"environment before launching GDM, you can do so in this script."
msgstr ""
-#: ../C/gdm.xml:4645 (term)
+#: ../C/gdm.xml:4648 (term)
msgid "--help"
msgstr "--help"
-#: ../C/gdm.xml:4647 (para)
+#: ../C/gdm.xml:4650 (para)
msgid "Gives a brief overview of the command line options."
msgstr ""
-#: ../C/gdm.xml:4654 (term)
+#: ../C/gdm.xml:4657 (term)
msgid "-nodaemon"
msgstr "-nodaemon"
-#: ../C/gdm.xml:4656 (para)
+#: ../C/gdm.xml:4659 (para)
msgid ""
"If this option is specified, then GDM does not fork into the background when "
"run. You can use just a single dash with this option to preserve "
"compatibility with XDM."
msgstr ""
-#: ../C/gdm.xml:4665 (term)
+#: ../C/gdm.xml:4668 (term)
msgid "--no-console"
msgstr "--no-console"
-#: ../C/gdm.xml:4667 (para)
+#: ../C/gdm.xml:4670 (para)
msgid ""
"Tell the daemon that it should not run anything on the console. This means "
"that none of the local servers from the <filename>[servers]</filename> "
@@ -5920,37 +5922,37 @@ msgid ""
"automatically implies this option."
msgstr ""
-#: ../C/gdm.xml:4679 (term)
+#: ../C/gdm.xml:4682 (term)
msgid "--config=CONFIGFILE"
msgstr "--config=CONFIGFILE"
-#: ../C/gdm.xml:4681 (para)
+#: ../C/gdm.xml:4684 (para)
msgid "Specify an alternative configuration file."
msgstr ""
-#: ../C/gdm.xml:4688 (term)
+#: ../C/gdm.xml:4691 (term)
msgid "--preserve-ld-vars"
msgstr "--preserve-ld-vars"
-#: ../C/gdm.xml:4690 (para)
+#: ../C/gdm.xml:4693 (para)
msgid ""
"When clearing the environment internally, preserve all variables starting "
"with LD_. This is mostly for debugging purposes."
msgstr ""
-#: ../C/gdm.xml:4698 (term)
+#: ../C/gdm.xml:4701 (term)
msgid "--version"
msgstr "--version"
-#: ../C/gdm.xml:4700 (para)
+#: ../C/gdm.xml:4703 (para)
msgid "Print the version of the GDM daemon."
msgstr ""
-#: ../C/gdm.xml:4707 (term)
+#: ../C/gdm.xml:4710 (term)
msgid "--wait-for-go"
msgstr "--wait-for-go"
-#: ../C/gdm.xml:4709 (para)
+#: ../C/gdm.xml:4712 (para)
msgid ""
"If started with this option, gdm will init, but only start the first local "
"display and then wait for a GO message in the fifo protocol. No greeter will "
@@ -5962,12 +5964,12 @@ msgid ""
"added in version 2.5.90.0."
msgstr ""
-#: ../C/gdm.xml:4727 (title)
+#: ../C/gdm.xml:4730 (title)
#, fuzzy
msgid "<command>gdmsetup</command> Command Line Options"
msgstr "Opciones de línea de comandos de <command>gdmdynamic</command>"
-#: ../C/gdm.xml:4729 (para)
+#: ../C/gdm.xml:4732 (para)
msgid ""
"<command>gdmsetup</command> runs a graphical application for modifying the "
"GDM configuration file. Normally on systems that support the PAM userhelper, "
@@ -5977,12 +5979,12 @@ msgid ""
"supports standard GNOME options."
msgstr ""
-#: ../C/gdm.xml:4741 (title)
+#: ../C/gdm.xml:4744 (title)
#, fuzzy
msgid "<command>gdm-restart</command> Command Line Options"
msgstr "Opciones de línea de comandos de <command>gdmdynamic</command>"
-#: ../C/gdm.xml:4743 (para)
+#: ../C/gdm.xml:4746 (para)
#, fuzzy
msgid ""
"<command>gdm-restart</command> stops and restarts GDM by sending the GDM "
@@ -5990,48 +5992,48 @@ msgid ""
"and log out users currently logged in with GDM."
msgstr "Opciones de línea de comandos de <command>gdmdynamic</command>"
-#: ../C/gdm.xml:4751 (title)
+#: ../C/gdm.xml:4754 (title)
#, fuzzy
msgid "<command>gdm-safe-restart</command> Command Line Options"
msgstr "Opciones de línea de comandos de <command>gdmdynamic</command>"
-#: ../C/gdm.xml:4753 (para)
+#: ../C/gdm.xml:4756 (para)
#, fuzzy
msgid ""
"<command>gdm-safe-restart</command> stops and restarts GDM by sending the "
"GDM daemon a USR1 signal. GDM will be restarted as soon as all users log out."
msgstr "Opciones de línea de comandos de <command>gdmdynamic</command>"
-#: ../C/gdm.xml:4761 (title)
+#: ../C/gdm.xml:4764 (title)
#, fuzzy
msgid "<command>gdm-stop</command> Command Line Options"
msgstr "Opciones de línea de comandos de <command>gdmdynamic</command>"
-#: ../C/gdm.xml:4763 (para)
+#: ../C/gdm.xml:4766 (para)
#, fuzzy
msgid ""
"<command>gdm-stop</command> stops GDM by sending the GDM daemon a TERM "
"signal."
msgstr "Opciones de línea de comandos de <command>gdmdynamic</command>"
-#: ../C/gdm.xml:4771 (title)
+#: ../C/gdm.xml:4774 (title)
msgid "GDM Internal Commands"
msgstr "Comandos internos de GDM"
-#: ../C/gdm.xml:4773 (para)
+#: ../C/gdm.xml:4776 (para)
msgid ""
"The GDM package provides the following different commands in "
"EXPANDED_LIBEXECDIR intended to be used by the gdm daemon process."
msgstr ""
-#: ../C/gdm.xml:4779 (title)
+#: ../C/gdm.xml:4782 (title)
#, fuzzy
msgid ""
"<command>gdmchooser</command> and <command>gdmlogin</command> Command Line "
"Options"
msgstr "Opciones de línea de comandos de <command>gdmdynamic</command>"
-#: ../C/gdm.xml:4782 (para)
+#: ../C/gdm.xml:4785 (para)
msgid ""
"The <command>gdmgreeter</command> and <command>gdmlogin</command> are two "
"different login applications, either can be used by GDM. "
@@ -6041,12 +6043,12 @@ msgid ""
"GNOME options."
msgstr ""
-#: ../C/gdm.xml:4793 (title) ../C/gdm.xml:4804
+#: ../C/gdm.xml:4796 (title) ../C/gdm.xml:4807
#, fuzzy
msgid "<command>gdmchooser</command> Command Line Options"
msgstr "Opciones de línea de comandos de <command>gdmdynamic</command>"
-#: ../C/gdm.xml:4795 (para)
+#: ../C/gdm.xml:4798 (para)
msgid ""
"The <command>gdmchooser</command> is the XDMCP chooser application. The "
"<command>gdmchooser</command> is normally executed by the GDM daemon. It "
@@ -6054,39 +6056,39 @@ msgid ""
"standard GNOME options and is found in support standard GNOME options."
msgstr ""
-#: ../C/gdm.xml:4807 (term)
+#: ../C/gdm.xml:4810 (term)
msgid "-xdmaddress=SOCKET"
msgstr "-xdmaddress=SOCKET"
-#: ../C/gdm.xml:4809 (para)
+#: ../C/gdm.xml:4812 (para)
msgid "Socket for XDM communication."
msgstr ""
-#: ../C/gdm.xml:4816 (term)
+#: ../C/gdm.xml:4819 (term)
msgid "--clientaddress=ADDRESS"
msgstr "--clientaddress=ADDRESS"
-#: ../C/gdm.xml:4818 (para)
+#: ../C/gdm.xml:4821 (para)
msgid ""
"Client address to return in response to XDM. This option is for running "
"gdmchooser with XDM, and is not used within GDM."
msgstr ""
-#: ../C/gdm.xml:4826 (term)
+#: ../C/gdm.xml:4829 (term)
msgid "-connectionType=TYPE"
msgstr "-connectionType=TYPE"
-#: ../C/gdm.xml:4828 (para)
+#: ../C/gdm.xml:4831 (para)
msgid ""
"Connection type to return in response to XDM. This option is for running "
"gdmchooser with XDM, and is not used within GDM."
msgstr ""
-#: ../C/gdm.xml:4842 (title)
+#: ../C/gdm.xml:4845 (title)
msgid "Themed Greeter"
msgstr "Interfaz con temas"
-#: ../C/gdm.xml:4844 (para)
+#: ../C/gdm.xml:4847 (para)
msgid ""
"This section describes the creation of themes for the Themed Greeter. For "
"examples including screenshots, see the standard installed themes and the "
@@ -6094,11 +6096,11 @@ msgid ""
"gdm_greeter/\"> the theme website</ulink>."
msgstr ""
-#: ../C/gdm.xml:4853 (title)
+#: ../C/gdm.xml:4856 (title)
msgid "Theme Overview"
msgstr "Descripción de los temas"
-#: ../C/gdm.xml:4855 (para)
+#: ../C/gdm.xml:4858 (para)
msgid ""
"GDM Themes can be created by creating an XML file that follows the "
"specification in gui/greeter/greeter.dtd. Theme files are stored in the "
@@ -6108,7 +6110,7 @@ msgid ""
"filename> which has similar format to other .desktop files and looks like:"
msgstr ""
-#: ../C/gdm.xml:4866 (screen)
+#: ../C/gdm.xml:4869 (screen)
#, no-wrap
msgid ""
"\n"
@@ -6123,7 +6125,7 @@ msgid ""
" "
msgstr ""
-#: ../C/gdm.xml:4877 (para)
+#: ../C/gdm.xml:4880 (para)
msgid ""
"The Name, Description, Author and Copyright fields can be translated just "
"like the other <filename>.desktop</filename>files. All the files that are "
@@ -6134,7 +6136,7 @@ msgid ""
"description will be given later."
msgstr ""
-#: ../C/gdm.xml:4887 (para)
+#: ../C/gdm.xml:4890 (para)
msgid ""
"Once you have theme ready and installed you can test it with the installed "
"<command>gdmthemetester</command> script. This script assumes that you also "
@@ -6149,11 +6151,11 @@ msgid ""
"would run:"
msgstr ""
-#: ../C/gdm.xml:4901 (command)
+#: ../C/gdm.xml:4904 (command)
msgid "gdmthemetester xdmcp circles"
msgstr ""
-#: ../C/gdm.xml:4903 (para)
+#: ../C/gdm.xml:4906 (para)
msgid ""
"Be sure to test all the environments with your theme, and make sure to test "
"how the caps lock warning looks by pressing caps lock. This is also a good "
@@ -6162,7 +6164,7 @@ msgid ""
"PrintScreen."
msgstr ""
-#: ../C/gdm.xml:4911 (para)
+#: ../C/gdm.xml:4914 (para)
msgid ""
"Once you have all this done, then make a tarball that contains the directory "
"name (so that you could just untar it in the <filename>/usr/share/gdm/"
@@ -6174,16 +6176,16 @@ msgid ""
" </screen>"
msgstr ""
-#: ../C/gdm.xml:4926 (title)
+#: ../C/gdm.xml:4929 (title)
msgid "Detailed Description of Theme XML format"
msgstr ""
-#: ../C/gdm.xml:4929 (title)
+#: ../C/gdm.xml:4932 (title)
#, fuzzy
msgid "Box Nodes"
msgstr "Mostrar nodo."
-#: ../C/gdm.xml:4931 (para)
+#: ../C/gdm.xml:4934 (para)
msgid ""
"Box nodes are container nodes for item nodes. Box nodes are specified as "
"follows: <screen>\n"
@@ -6195,24 +6197,24 @@ msgid ""
"of \"homogeneous\", and \"vertical\" for the orientation."
msgstr ""
-#: ../C/gdm.xml:4944 (para)
+#: ../C/gdm.xml:4947 (para)
msgid ""
"If the box is homogeneous then the children are allocated equal amount of "
"space."
msgstr ""
-#: ../C/gdm.xml:4949 (para)
+#: ../C/gdm.xml:4952 (para)
msgid ""
"The \"min-width\" must be specified in pixels. Obviously there is also a "
"corresponding \"min-height\" property as well."
msgstr ""
-#: ../C/gdm.xml:4956 (title)
+#: ../C/gdm.xml:4959 (title)
#, fuzzy
msgid "Fixed Nodes"
msgstr "Mostrar nodo."
-#: ../C/gdm.xml:4958 (para)
+#: ../C/gdm.xml:4961 (para)
msgid ""
"Fixed is a container that has its children scattered about laid out with "
"precise coordinates. The size of this container is the biggest rectangle "
@@ -6221,72 +6223,72 @@ msgid ""
"proper position nodes inside this."
msgstr ""
-#: ../C/gdm.xml:4967 (para)
+#: ../C/gdm.xml:4970 (para)
msgid "The \"toplevel\" node is really just like a fixed node."
msgstr ""
-#: ../C/gdm.xml:4973 (title)
+#: ../C/gdm.xml:4976 (title)
#, fuzzy
msgid "Item Nodes"
msgstr "Mostrar nodo."
-#: ../C/gdm.xml:4975 (para)
+#: ../C/gdm.xml:4978 (para)
msgid ""
"A GDM Theme is created by specifying a hierarchy of item and box nodes. Item "
"nodes can have the following value for \"type\":"
msgstr ""
-#: ../C/gdm.xml:4982 (term)
+#: ../C/gdm.xml:4985 (term)
msgid "entry"
msgstr "entrada"
-#: ../C/gdm.xml:4984 (para)
+#: ../C/gdm.xml:4987 (para)
msgid "Text entry field."
msgstr "Campo de entrada de texto."
-#: ../C/gdm.xml:4991 (term)
+#: ../C/gdm.xml:4994 (term)
msgid "list"
msgstr "lista"
-#: ../C/gdm.xml:4993 (para)
+#: ../C/gdm.xml:4996 (para)
msgid "A list widget."
msgstr "Un widget de lista"
-#: ../C/gdm.xml:5000 (term)
+#: ../C/gdm.xml:5003 (term)
msgid "label"
msgstr "etiqueta"
-#: ../C/gdm.xml:5002 (para)
+#: ../C/gdm.xml:5005 (para)
msgid "A text label. Must have a \"text\" node to specify the text."
msgstr ""
-#: ../C/gdm.xml:5009 (term)
+#: ../C/gdm.xml:5012 (term)
msgid "pixmap"
msgstr "imagen"
-#: ../C/gdm.xml:5011 (para)
+#: ../C/gdm.xml:5014 (para)
msgid ""
"An pixmap image in a format that gdk-pixbuf supports like PNG, JPEG, Tiff, "
"etc...)"
msgstr ""
-#: ../C/gdm.xml:5019 (term)
+#: ../C/gdm.xml:5022 (term)
msgid "rect"
msgstr "rect"
-#: ../C/gdm.xml:5021 (para)
+#: ../C/gdm.xml:5024 (para)
msgid "Rectangle."
msgstr "Rectángulo."
-#: ../C/gdm.xml:5028 (term)
+#: ../C/gdm.xml:5031 (term)
msgid "svg"
msgstr "svg"
-#: ../C/gdm.xml:5030 (para)
+#: ../C/gdm.xml:5033 (para)
msgid "Scaled Vector Graphic image."
msgstr "Imagen Scaled Vector Graphic"
-#: ../C/gdm.xml:5037 (para)
+#: ../C/gdm.xml:5040 (para)
msgid ""
"For example: <screen>&lt;item type=\"label\"&gt;</screen> Items can specify "
"ID values which gives them a specific look and feel or formatting. "
@@ -6294,192 +6296,192 @@ msgid ""
"with custom id's for some items (currently only the list item)"
msgstr ""
-#: ../C/gdm.xml:5046 (para)
+#: ../C/gdm.xml:5049 (para)
msgid "Entry items can have id values as follows:"
msgstr ""
-#: ../C/gdm.xml:5052 (term)
+#: ../C/gdm.xml:5055 (term)
msgid "user-pw-entry"
msgstr ""
-#: ../C/gdm.xml:5054 (para)
+#: ../C/gdm.xml:5057 (para)
msgid ""
"Entry field for userid and password entry. This is the field used for "
"responses for the PAM/GDM questions (Username, Password, etc..)."
msgstr ""
-#: ../C/gdm.xml:5064 (para)
+#: ../C/gdm.xml:5067 (para)
msgid "List items can have id values as follows:"
msgstr ""
-#: ../C/gdm.xml:5070 (term)
+#: ../C/gdm.xml:5073 (term)
msgid "userlist"
msgstr "lista de usuarios"
-#: ../C/gdm.xml:5072 (para)
+#: ../C/gdm.xml:5075 (para)
msgid ""
"A Face Browser list, so that users can pick their username by clicking on "
"this instead of typing."
msgstr ""
-#: ../C/gdm.xml:5081 (para)
+#: ../C/gdm.xml:5084 (para)
msgid ""
"Furthermore, you can have an arbitrary id (I'd recommend starting the id "
"with 'custom' not to conflict with future additions to this spec) and ask "
"extra information of the user. See the section 'Custom Widgetry'"
msgstr ""
-#: ../C/gdm.xml:5088 (para)
+#: ../C/gdm.xml:5091 (para)
msgid "Label items can have id values as follows:"
msgstr ""
-#: ../C/gdm.xml:5094 (term)
+#: ../C/gdm.xml:5097 (term)
msgid "clock"
msgstr "reloj"
-#: ../C/gdm.xml:5096 (para)
+#: ../C/gdm.xml:5099 (para)
msgid "Label the displays the date and time."
msgstr "Etiqueta que muesta la fecha y la hora."
-#: ../C/gdm.xml:5103 (term)
+#: ../C/gdm.xml:5106 (term)
#, fuzzy
msgid "pam-prompt"
msgstr "Cameron"
-#: ../C/gdm.xml:5105 (para)
+#: ../C/gdm.xml:5108 (para)
msgid ""
"Label the displays PAM prompt. This is the prompt that PAM uses to ask for "
"username, password, etc..."
msgstr ""
-#: ../C/gdm.xml:5113 (term)
+#: ../C/gdm.xml:5116 (term)
#, fuzzy
msgid "pam-error"
msgstr "Cameron"
-#: ../C/gdm.xml:5115 (para)
+#: ../C/gdm.xml:5118 (para)
msgid ""
"Label the displays PAM/GDM error messages. Such as when user can't log in."
msgstr ""
-#: ../C/gdm.xml:5123 (term)
+#: ../C/gdm.xml:5126 (term)
msgid "pam-message"
msgstr ""
-#: ../C/gdm.xml:5125 (para)
+#: ../C/gdm.xml:5128 (para)
msgid ""
"Label the displays PAM message. These are messages that PAM/GDM gives about "
"state of the account, help about the prompts and other information."
msgstr ""
-#: ../C/gdm.xml:5134 (term)
+#: ../C/gdm.xml:5137 (term)
#, fuzzy
msgid "timed-label"
msgstr "etiqueta"
-#: ../C/gdm.xml:5136 (para)
+#: ../C/gdm.xml:5139 (para)
msgid "Label that displays timed login information."
msgstr "Etiqueta que muestra la información de la entrada temporizada."
-#: ../C/gdm.xml:5143 (para)
+#: ../C/gdm.xml:5146 (para)
msgid "Rectangles can have id values as follows:"
msgstr ""
-#: ../C/gdm.xml:5149 (term)
+#: ../C/gdm.xml:5152 (term)
msgid "caps-lock-warning"
msgstr ""
-#: ../C/gdm.xml:5151 (para)
+#: ../C/gdm.xml:5154 (para)
msgid ""
"Displays an icon that shows if the CAPS LOCK key is depressed. This "
"rectangle will be hidden/shown appropriately"
msgstr ""
-#: ../C/gdm.xml:5160 (para)
+#: ../C/gdm.xml:5163 (para)
msgid ""
"If an item is of type rect, the item can be a button. Buttons must also "
"include a \"button\" value as follows: <screen>&lt;item type=\"rect\" id="
"\"disconnect_button\" button=\"true\"&gt;.</screen>"
msgstr ""
-#: ../C/gdm.xml:5166 (para)
+#: ../C/gdm.xml:5169 (para)
msgid "Possible values for button ids are as follows:"
msgstr ""
-#: ../C/gdm.xml:5172 (term)
+#: ../C/gdm.xml:5175 (term)
#, fuzzy
msgid "chooser_button"
msgstr "ChooserButton"
-#: ../C/gdm.xml:5174 (para)
+#: ../C/gdm.xml:5177 (para)
msgid "Runs the XDMCP chooser."
msgstr ""
-#: ../C/gdm.xml:5181 (term)
+#: ../C/gdm.xml:5184 (term)
#, fuzzy
msgid "config_button"
msgstr "Configuración"
-#: ../C/gdm.xml:5183 (para)
+#: ../C/gdm.xml:5186 (para)
msgid "Runs the GDM configuration application."
msgstr "Ejecuta la aplicación de configuración de GDM."
-#: ../C/gdm.xml:5190 (term)
+#: ../C/gdm.xml:5193 (term)
#, fuzzy
msgid "disconnect_button"
msgstr "botón_sesión"
-#: ../C/gdm.xml:5192 (para)
+#: ../C/gdm.xml:5195 (para)
msgid "Disconnect from remote session."
msgstr "Desconectar de una sesión remota."
-#: ../C/gdm.xml:5199 (term)
+#: ../C/gdm.xml:5202 (term)
msgid "language_button"
msgstr "botón_idioma"
-#: ../C/gdm.xml:5201 (para)
+#: ../C/gdm.xml:5204 (para)
msgid "Displays the language selection dialog."
msgstr "Muestra el diálogo de selección del idioma."
-#: ../C/gdm.xml:5208 (term)
+#: ../C/gdm.xml:5211 (term)
msgid "halt_button"
msgstr "botón_detener"
-#: ../C/gdm.xml:5210 (para)
+#: ../C/gdm.xml:5213 (para)
#, fuzzy
msgid "Halt (shuts down) the system."
msgstr "Suspender el sistema"
-#: ../C/gdm.xml:5217 (term)
+#: ../C/gdm.xml:5220 (term)
msgid "reboot_button"
msgstr "botón reiniciar"
-#: ../C/gdm.xml:5219 (para)
+#: ../C/gdm.xml:5222 (para)
msgid "Reboot the system."
msgstr "Reiniciar el sistema"
-#: ../C/gdm.xml:5226 (term)
+#: ../C/gdm.xml:5229 (term)
msgid "session_button"
msgstr "botón_sesión"
-#: ../C/gdm.xml:5228 (para)
+#: ../C/gdm.xml:5231 (para)
#, fuzzy
msgid "List and select from available sessions."
msgstr "Desconectar de una sesión remota."
-#: ../C/gdm.xml:5235 (term)
+#: ../C/gdm.xml:5238 (term)
msgid "suspend_button"
msgstr "botón_suspender"
-#: ../C/gdm.xml:5237 (para)
+#: ../C/gdm.xml:5240 (para)
msgid "Suspend the system."
msgstr "Suspender el sistema"
-#: ../C/gdm.xml:5244 (term)
+#: ../C/gdm.xml:5247 (term)
msgid "system_button"
msgstr "botón_sistema"
-#: ../C/gdm.xml:5246 (para)
+#: ../C/gdm.xml:5249 (para)
msgid ""
"Perform halt/reboot/suspend/etc. options (if allowed by GDM configuration). "
"Also allows user to run configurator if user enters root password (again if "
@@ -6487,26 +6489,26 @@ msgid ""
"referred to as the Actions menu."
msgstr ""
-#: ../C/gdm.xml:5260 (title)
+#: ../C/gdm.xml:5263 (title)
#, fuzzy
msgid "Position Node"
msgstr "PositionX"
-#: ../C/gdm.xml:5262 (para)
+#: ../C/gdm.xml:5265 (para)
msgid ""
"Each item can specify its position and size via the \"pos\" node. For "
"example: <screen>&lt;pos x=\"0\" y=\"4\" width=\"100%\" height=\"100%\"/&gt;"
"</screen>"
msgstr ""
-#: ../C/gdm.xml:5268 (para)
+#: ../C/gdm.xml:5271 (para)
msgid ""
"Both position and size can be given in percent and it will be taken as the "
"percentage of the size of the current container. For toplevel items it's the "
"percentage of the whole screen."
msgstr ""
-#: ../C/gdm.xml:5274 (para)
+#: ../C/gdm.xml:5277 (para)
msgid ""
"For x and y, you can also specify a negative position which means position "
"from the right or bottom edge. But this only applies with absolute "
@@ -6514,7 +6516,7 @@ msgid ""
"be still from the same edge."
msgstr ""
-#: ../C/gdm.xml:5281 (para)
+#: ../C/gdm.xml:5284 (para)
msgid ""
"The position also specifies the anchor of the item, this can be \"n\", \"ne"
"\", \"e\", \"se\", \"s\", \"sw\", \"w\" and \"nw\" or \"center\" which stand "
@@ -6523,28 +6525,28 @@ msgid ""
"&gt;</screen>"
msgstr ""
-#: ../C/gdm.xml:5288 (para)
+#: ../C/gdm.xml:5291 (para)
msgid ""
"If the item contains a box, you can specify width and height to be \"box\" "
"to mean that they are supposed to be the width and height of the box, that "
"is the items in the box plus the padding."
msgstr ""
-#: ../C/gdm.xml:5294 (para)
+#: ../C/gdm.xml:5297 (para)
msgid ""
"If the item contains an SVG image, you can specify width and height to be "
"\"scale\" to mean that the SVG image should be scaled to fit the requested "
"area."
msgstr ""
-#: ../C/gdm.xml:5300 (para)
+#: ../C/gdm.xml:5303 (para)
msgid ""
"You can also specify an \"expand\" property to either be \"true\" or false. "
"If true then the child will be expanded in the box as much as possible (that "
"is it will be given more space if available)."
msgstr ""
-#: ../C/gdm.xml:5306 (para)
+#: ../C/gdm.xml:5309 (para)
msgid ""
"There are two extra properties you can specify (as of 2.4.4.3) for labels "
"(and labels only). The first is \"max-width\" which will specify the maximum "
@@ -6557,53 +6559,53 @@ msgid ""
" </screen>"
msgstr ""
-#: ../C/gdm.xml:5322 (title)
+#: ../C/gdm.xml:5325 (title)
msgid "Show Node"
msgstr "Mostrar nodo."
-#: ../C/gdm.xml:5324 (para)
+#: ../C/gdm.xml:5327 (para)
msgid ""
"Some items may only display in certain modes, like when doing a remote "
"display. Multiple values can be specified and must be separated with commas. "
"The following values are possible:"
msgstr ""
-#: ../C/gdm.xml:5330 (para)
+#: ../C/gdm.xml:5333 (para)
msgid "<filename>console</filename> - In console mode."
msgstr ""
-#: ../C/gdm.xml:5333 (para)
+#: ../C/gdm.xml:5336 (para)
msgid "<filename>console-fixed</filename> - In console non-flexi mode."
msgstr ""
-#: ../C/gdm.xml:5336 (para)
+#: ../C/gdm.xml:5339 (para)
msgid "<filename>console-flexi</filename> - In console &amp; flexi mode."
msgstr ""
-#: ../C/gdm.xml:5339 (para)
+#: ../C/gdm.xml:5342 (para)
msgid "<filename>flexi</filename> - In flexi mode."
msgstr ""
-#: ../C/gdm.xml:5342 (para)
+#: ../C/gdm.xml:5345 (para)
msgid "<filename>remote</filename> - In remote mode."
msgstr ""
-#: ../C/gdm.xml:5345 (para)
+#: ../C/gdm.xml:5348 (para)
msgid "<filename>remote-flexi</filename> - In remote &amp; flexi mode."
msgstr ""
-#: ../C/gdm.xml:5349 (para)
+#: ../C/gdm.xml:5352 (para)
msgid "For example: <screen>&lt;show modes=\"flexi,remote\"/&gt;</screen>"
msgstr ""
-#: ../C/gdm.xml:5354 (para)
+#: ../C/gdm.xml:5357 (para)
msgid ""
"You can also specify the \"type\" value to indicate that certain items "
"should only be displayed if the type is true. Valid values include the "
"following:"
msgstr ""
-#: ../C/gdm.xml:5360 (para)
+#: ../C/gdm.xml:5363 (para)
#, fuzzy
msgid ""
"<filename>chooser</filename>, if ChooserButton is set to \"true\" in the GDM "
@@ -6612,7 +6614,7 @@ msgstr ""
"El archivo de configuración <filename>gdm.conf</filename> contiene las "
"opciones de configuración principales de GDM."
-#: ../C/gdm.xml:5364 (para)
+#: ../C/gdm.xml:5367 (para)
#, fuzzy
msgid ""
"<filename>config</filename>, if ConfigAvailable is set to \"true\" in the "
@@ -6621,7 +6623,7 @@ msgstr ""
"El archivo de configuración <filename>gdm.conf</filename> contiene las "
"opciones de configuración principales de GDM."
-#: ../C/gdm.xml:5368 (para)
+#: ../C/gdm.xml:5371 (para)
#, fuzzy
msgid ""
"<filename>halt</filename>, if HaltDaemon is specified in the GDM "
@@ -6630,7 +6632,7 @@ msgstr ""
"El archivo de configuración <filename>gdm.conf</filename> contiene las "
"opciones de configuración principales de GDM."
-#: ../C/gdm.xml:5372 (para)
+#: ../C/gdm.xml:5375 (para)
#, fuzzy
msgid ""
"<filename>reboot</filename>, if RebootCommand is specified in the GDM "
@@ -6639,7 +6641,7 @@ msgstr ""
"El archivo de configuración <filename>gdm.conf</filename> contiene las "
"opciones de configuración principales de GDM."
-#: ../C/gdm.xml:5376 (para)
+#: ../C/gdm.xml:5379 (para)
#, fuzzy
msgid ""
"<filename>suspend</filename>, if SuspendCommand is specified in the GDM "
@@ -6648,7 +6650,7 @@ msgstr ""
"El archivo de configuración <filename>gdm.conf</filename> contiene las "
"opciones de configuración principales de GDM."
-#: ../C/gdm.xml:5380 (para)
+#: ../C/gdm.xml:5383 (para)
#, fuzzy
msgid ""
"<filename>system</filename>, if SystemMenu is specified in the GDM "
@@ -6657,7 +6659,7 @@ msgstr ""
"El archivo de configuración <filename>gdm.conf</filename> contiene las "
"opciones de configuración principales de GDM."
-#: ../C/gdm.xml:5384 (para)
+#: ../C/gdm.xml:5387 (para)
#, fuzzy
msgid ""
"<filename>timed</filename>, if TimedLoginEnabled is set to \"true\" in the "
@@ -6666,95 +6668,95 @@ msgstr ""
"El archivo de configuración <filename>gdm.conf</filename> contiene las "
"opciones de configuración principales de GDM."
-#: ../C/gdm.xml:5389 (para)
+#: ../C/gdm.xml:5392 (para)
msgid ""
"For example: <screen>&lt;show modes=\"console\" type=\"system\"/&gt;</screen>"
msgstr ""
-#: ../C/gdm.xml:5394 (para)
+#: ../C/gdm.xml:5397 (para)
msgid ""
"Note that if SystemMenu is off then all of halt, reboot, suspend, chooser "
"and config will not show, so this is a global toggle for them all. See some "
"of the standard themes for how the show modes are used."
msgstr ""
-#: ../C/gdm.xml:5403 (title)
+#: ../C/gdm.xml:5406 (title)
msgid "Normal/Active/Prelight Nodes"
msgstr ""
-#: ../C/gdm.xml:5405 (para)
+#: ../C/gdm.xml:5408 (para)
msgid ""
"Depending on the item type (except for userlist - refer to Color node "
"below), it can specify its color, font, or image via the following tags:"
msgstr ""
-#: ../C/gdm.xml:5410 (para)
+#: ../C/gdm.xml:5413 (para)
msgid "<filename>normal</filename> - normal state."
msgstr ""
-#: ../C/gdm.xml:5413 (para)
+#: ../C/gdm.xml:5416 (para)
msgid "<filename>active</filename> - when the item has active focus."
msgstr ""
-#: ../C/gdm.xml:5416 (para)
+#: ../C/gdm.xml:5419 (para)
msgid ""
"<filename>prelight</filename> - when the mouse is hovering over the item."
msgstr ""
-#: ../C/gdm.xml:5421 (para)
+#: ../C/gdm.xml:5424 (para)
msgid ""
"When item is \"rect\" (alpha can be omitted and defaults to 0.0): "
"<screen>&lt;normal color=\"#ffffff\" alpha=\"0.0\"&gt;</screen>"
msgstr ""
-#: ../C/gdm.xml:5426 (para)
+#: ../C/gdm.xml:5429 (para)
msgid ""
"When item is \"label\": <screen>&lt;normal color=\"#ffffff\" font=\"Sans 14"
"\"/&gt;</screen>"
msgstr ""
-#: ../C/gdm.xml:5431 (para)
+#: ../C/gdm.xml:5434 (para)
msgid ""
"When the item type is \"pixmap\" or \"SVG\", then the normal, active, and "
"prelight tags specify the images to use as follows: <screen>&lt;normal file="
"\"picture.png\" tint=\"#dddddd\"/&gt;</screen>"
msgstr ""
-#: ../C/gdm.xml:5437 (para)
+#: ../C/gdm.xml:5440 (para)
msgid ""
"Note that relative pathnames are assumed to be in the same directory as the "
"theme <filename>.xml</filename> file in <filename>&lt;share&gt;/gdm/themes/"
"&lt;theme_name&gt;</filename>."
msgstr ""
-#: ../C/gdm.xml:5445 (title)
+#: ../C/gdm.xml:5448 (title)
msgid "Face Browser Icon/Label Color Nodes"
msgstr ""
-#: ../C/gdm.xml:5447 (para)
+#: ../C/gdm.xml:5450 (para)
msgid ""
"If the item type is of userlist, then the background color for the icon and "
"label can be set separately via the the following tag:"
msgstr ""
-#: ../C/gdm.xml:5453 (screen)
+#: ../C/gdm.xml:5456 (screen)
#, no-wrap
msgid "&lt;color iconcolor=\"#dddddd\" labelcolor=\"#ffffff\"/&gt;"
msgstr ""
-#: ../C/gdm.xml:5458 (title)
+#: ../C/gdm.xml:5461 (title)
#, fuzzy
msgid "Text Node"
msgstr "Mostrar nodo."
-#: ../C/gdm.xml:5460 (para)
+#: ../C/gdm.xml:5463 (para)
msgid ""
"Text tags are used by labels. They can be used to display localized text as "
"follows (if the \"xml:lang\" attribute is omitted, the C locale is assumed): "
"<screen>&lt;text xml:lang=\"fr\"&gt;Option&lt;/text&gt;</screen>"
msgstr ""
-#: ../C/gdm.xml:5467 (para)
+#: ../C/gdm.xml:5470 (para)
msgid ""
"You can include pango markup in the text nodes for labels, however you must "
"encode it. So for example to have the label of \"foo&lt;sup&gt;bar&lt;/"
@@ -6762,11 +6764,11 @@ msgid ""
"bar&amp;lt;/sup&amp;gt;&lt;/text&gt;</screen>"
msgstr ""
-#: ../C/gdm.xml:5477 (title)
+#: ../C/gdm.xml:5480 (title)
msgid "Stock"
msgstr "Stock"
-#: ../C/gdm.xml:5479 (para)
+#: ../C/gdm.xml:5482 (para)
msgid ""
"Certain common localized labels can be specified via the stock tags. The "
"\"text\" tag is ignored if the \"stock\" tag is used. You should really use "
@@ -6775,76 +6777,76 @@ msgid ""
"following values are valid:"
msgstr ""
-#: ../C/gdm.xml:5487 (para)
+#: ../C/gdm.xml:5490 (para)
msgid "<filename>cancel</filename>, _(\"_Cancel\")"
msgstr ""
-#: ../C/gdm.xml:5490 (para)
+#: ../C/gdm.xml:5493 (para)
msgid "<filename>caps-lock-warning</filename>, _(\"You've got capslock on!\")"
msgstr ""
-#: ../C/gdm.xml:5493 (para)
+#: ../C/gdm.xml:5496 (para)
msgid "<filename>chooser</filename>, _(\"_XDMCP Chooser\")"
msgstr ""
-#: ../C/gdm.xml:5496 (para)
+#: ../C/gdm.xml:5499 (para)
msgid "<filename>disconnect</filename>, _(\"D_isconnect\")"
msgstr ""
-#: ../C/gdm.xml:5499 (para)
+#: ../C/gdm.xml:5502 (para)
msgid "<filename>halt</filename>, _(\"Shut_down\")"
msgstr ""
-#: ../C/gdm.xml:5502 (para)
+#: ../C/gdm.xml:5505 (para)
msgid "<filename>language</filename>, _(\"_Language\")"
msgstr ""
-#: ../C/gdm.xml:5505 (para)
+#: ../C/gdm.xml:5508 (para)
msgid "<filename>ok</filename>, _(\"_OK\")"
msgstr ""
-#: ../C/gdm.xml:5508 (para)
+#: ../C/gdm.xml:5511 (para)
msgid "<filename>quit</filename>, _(\"_Quit\")"
msgstr ""
-#: ../C/gdm.xml:5511 (para)
+#: ../C/gdm.xml:5514 (para)
msgid "<filename>reboot</filename>, _(\"_Reboot\")"
msgstr ""
-#: ../C/gdm.xml:5514 (para)
+#: ../C/gdm.xml:5517 (para)
msgid "<filename>session</filename>, _(\"_Session\")"
msgstr ""
-#: ../C/gdm.xml:5517 (para)
+#: ../C/gdm.xml:5520 (para)
msgid "<filename>suspend</filename>, _(\"Sus_pend\")"
msgstr ""
-#: ../C/gdm.xml:5520 (para)
+#: ../C/gdm.xml:5523 (para)
msgid "<filename>system</filename>, _(\"_Actions\") (Formerly \"S_ystem\")"
msgstr ""
-#: ../C/gdm.xml:5523 (para)
+#: ../C/gdm.xml:5526 (para)
msgid ""
"<filename>timed-label</filename>, _(\"User %s will login in %d seconds\")"
msgstr ""
-#: ../C/gdm.xml:5527 (para)
+#: ../C/gdm.xml:5530 (para)
msgid "<filename>username-label</filename>, _(\"Username:\")"
msgstr ""
-#: ../C/gdm.xml:5530 (para)
+#: ../C/gdm.xml:5533 (para)
msgid "<filename>welcome-label</filename>, _(\"Welcome to %h\")"
msgstr ""
-#: ../C/gdm.xml:5534 (para)
+#: ../C/gdm.xml:5537 (para)
msgid "For example: <screen>&lt;stock type=\"welcome-label\"/&gt;</screen>"
msgstr ""
-#: ../C/gdm.xml:5541 (title)
+#: ../C/gdm.xml:5544 (title)
msgid "Custom Widgetry"
msgstr ""
-#: ../C/gdm.xml:5543 (para)
+#: ../C/gdm.xml:5546 (para)
msgid ""
"Currently there is one item which can be customizable and this is the list "
"item. If you need to ask the user extra things, such as to pick from a list "
@@ -6855,14 +6857,14 @@ msgid ""
"<filename>&lt;list id&gt;=&lt;listitem id&gt;</filename>."
msgstr ""
-#: ../C/gdm.xml:5554 (para)
+#: ../C/gdm.xml:5557 (para)
msgid ""
"For example suppose we are on display :0, <filename>ServAuthDir</filename> "
"is <filename>&lt;var&gt;/gdm</filename> and we have the following in the "
"theme:"
msgstr ""
-#: ../C/gdm.xml:5560 (screen)
+#: ../C/gdm.xml:5563 (screen)
#, no-wrap
msgid ""
"\n"
@@ -6878,17 +6880,17 @@ msgid ""
" "
msgstr ""
-#: ../C/gdm.xml:5572 (para)
+#: ../C/gdm.xml:5575 (para)
msgid ""
"Then if the user chooses 'Foo' then <filename>&lt;var&gt;/gdm/:0."
"GreeterInfo</filename> will contain: <screen>custom-config=foo</screen>"
msgstr ""
-#: ../C/gdm.xml:5582 (title)
+#: ../C/gdm.xml:5585 (title)
msgid "Accessibility"
msgstr "Accesibilidad"
-#: ../C/gdm.xml:5583 (para)
+#: ../C/gdm.xml:5586 (para)
msgid ""
"GDM supports \"Accessible Login\" to allow users to log in to their desktop "
"session even if they cannot easily use the screen, mouse, or keyboard in the "
@@ -6902,11 +6904,11 @@ msgid ""
"to the GTK+ Greeter \"gdmlogin\"."
msgstr ""
-#: ../C/gdm.xml:5598 (title)
+#: ../C/gdm.xml:5601 (title)
msgid "Accessibility Configuration"
msgstr "Configuración de accesibilidad"
-#: ../C/gdm.xml:5599 (para)
+#: ../C/gdm.xml:5602 (para)
msgid ""
"In order to enable Accessible Login, the system administrator must make some "
"changes to the default login configuration by manually modifying three human-"
@@ -6914,26 +6916,26 @@ msgid ""
"AccessKeyMouseEvents and AccessDwellMouseEvents."
msgstr ""
-#: ../C/gdm.xml:5607 (para)
+#: ../C/gdm.xml:5610 (para)
msgid ""
"In order to allow users to change the color and contrast scheme of the login "
"dialog, make sure the \"AllowThemeChange\" parameter in the GDM "
"configuration is set to \"true\"."
msgstr ""
-#: ../C/gdm.xml:5613 (para)
+#: ../C/gdm.xml:5616 (para)
msgid ""
"To restrict user changes to the visual appearance to a subset of available "
"themes, the \"GtkThemesToAllow\" parameter in the GDM configuration can be "
"set to a list of acceptable themes separated by commas. For example:"
msgstr ""
-#: ../C/gdm.xml:5620 (screen)
+#: ../C/gdm.xml:5623 (screen)
#, no-wrap
msgid "GtkThemesToAllow=HighContrast,HighContrastInverse"
msgstr ""
-#: ../C/gdm.xml:5622 (para)
+#: ../C/gdm.xml:5625 (para)
msgid ""
"To enable the use of assistive technologies such as the Onscreen Keyboard, "
"Screen Reader, or Magnifier, the \"AddGtkModules\" parameter in the GDM "
@@ -6941,12 +6943,12 @@ msgid ""
"\"GtkModulesList\" parameter must be uncommented and set as follows:"
msgstr ""
-#: ../C/gdm.xml:5630 (screen)
+#: ../C/gdm.xml:5633 (screen)
#, no-wrap
msgid "GtkModulesList=gail:atk-bridge:dwellmouselistener:keymouselistener"
msgstr ""
-#: ../C/gdm.xml:5632 (para)
+#: ../C/gdm.xml:5635 (para)
msgid ""
"System administrators may wish to load only the minimum subset of these "
"modules which is required to support their user base. Depending on the end-"
@@ -6961,7 +6963,7 @@ msgid ""
"optimum accessibility we recommend including gail and atk-bridge."
msgstr ""
-#: ../C/gdm.xml:5648 (para)
+#: ../C/gdm.xml:5651 (para)
msgid ""
"Once \"keymouselistener\" and/or \"dwellmouselistener\" have been added to "
"the GtkModules loaded by GDM, you can assign end-user actions with the "
@@ -6970,7 +6972,7 @@ msgid ""
"respectively. The gesture format is described in the two configuration files."
msgstr ""
-#: ../C/gdm.xml:5657 (para)
+#: ../C/gdm.xml:5660 (para)
msgid ""
"The AccessKeyMouseEvents file controls the keymouselistener Gesture Listener "
"and is used to define key-press, mouse button, or XInput device sequences "
@@ -6979,7 +6981,7 @@ msgid ""
"associated with multiple switch presses and/or minimum durations."
msgstr ""
-#: ../C/gdm.xml:5666 (para)
+#: ../C/gdm.xml:5669 (para)
msgid ""
"The DwellKeyMouseEvents file controls the dwellmouselistner and supports "
"gestures that involve only motion of a pointing device such as the system "
@@ -6989,7 +6991,7 @@ msgid ""
"alternate input device."
msgstr ""
-#: ../C/gdm.xml:5676 (para)
+#: ../C/gdm.xml:5679 (para)
msgid ""
"Motion gestures are defined as \"crossing events\" into and out of the login "
"dialog window. If the 'dwellmouselistener' GtkModule is loaded, alternative "
@@ -6997,14 +6999,14 @@ msgid ""
"motion from alternative devices results in movement of the onscreen pointer."
msgstr ""
-#: ../C/gdm.xml:5684 (para)
+#: ../C/gdm.xml:5687 (para)
msgid ""
"In order to use text-to-speech services at login time (for instance, when "
"using the Screen Reader in speech mode) on some operating systems, the GDM "
"user must be made a member of the \"audio\" group"
msgstr ""
-#: ../C/gdm.xml:5691 (para)
+#: ../C/gdm.xml:5694 (para)
msgid ""
"Currently GDM does not remember what accessible technology programs have "
"been started when switching applications. So if the user switches between "
@@ -7015,7 +7017,7 @@ msgid ""
"the user session has started."
msgstr ""
-#: ../C/gdm.xml:5702 (para)
+#: ../C/gdm.xml:5705 (para)
msgid ""
"There are some issues that cause some users to have problems getting the "
"gesture listeners to work. It is recommended that people use GDM version "
@@ -7031,12 +7033,12 @@ msgid ""
"recognize them."
msgstr ""
-#: ../C/gdm.xml:5720 (title)
+#: ../C/gdm.xml:5723 (title)
#, fuzzy
msgid "Accessibility Login Sound Configuration"
msgstr "Configuración de accesibilidad"
-#: ../C/gdm.xml:5721 (para)
+#: ../C/gdm.xml:5724 (para)
msgid ""
"By default, GDM requires a media application such as \"sox\" to be present "
"to play sounds for successful or failed login. GDM defaults the location of "
@@ -7047,22 +7049,22 @@ msgid ""
"audio."
msgstr ""
-#: ../C/gdm.xml:5735 (title)
+#: ../C/gdm.xml:5738 (title)
msgid "Solaris Specific Features"
msgstr "Características específicas de Solaris"
-#: ../C/gdm.xml:5737 (para)
+#: ../C/gdm.xml:5740 (para)
msgid "GDM supports a few features specific to Solaris, as follows:"
msgstr ""
"GDM soporta unas pocas características específicas a Solaris, como las "
"siguientes:"
-#: ../C/gdm.xml:5741 (para)
+#: ../C/gdm.xml:5744 (para)
msgid "GDM supports Solaris Auditing if running on Solaris 10 or higher."
msgstr ""
"GDM soporta Solaris Auditing si se ejecuta sobre Solaris 10 o superior."
-#: ../C/gdm.xml:5745 (para)
+#: ../C/gdm.xml:5748 (para)
msgid ""
"GDM supports a security feature which causes the Xserver to run as the user "
"instead of as the root user. GDM must be using PAM for this feature to be "
@@ -7071,7 +7073,7 @@ msgid ""
"disables the AlwaysRestartServer configuration option."
msgstr ""
-#: ../C/gdm.xml:5754 (para)
+#: ../C/gdm.xml:5757 (para)
msgid ""
"Solaris supports the <filename>/etc/default/login</filename> interface, "
"which affects the <filename>DefaultPath</filename>, <filename>RootPath</"
@@ -7080,11 +7082,11 @@ msgid ""
"Configuration section."
msgstr ""
-#: ../C/gdm.xml:5766 (title)
+#: ../C/gdm.xml:5769 (title)
msgid "Example Configurations"
msgstr "Configuraciones de ejemplo"
-#: ../C/gdm.xml:5768 (para)
+#: ../C/gdm.xml:5771 (para)
msgid ""
"This section has some example configurations that are useful for various "
"setups."
@@ -7092,18 +7094,18 @@ msgstr ""
"Esta sección tiene algunas configuraciones de ejemplo que son útiles para "
"varias configuraciones."
-#: ../C/gdm.xml:5774 (title)
+#: ../C/gdm.xml:5777 (title)
msgid "Terminal Lab With One Server"
msgstr ""
-#: ../C/gdm.xml:5776 (para)
+#: ../C/gdm.xml:5779 (para)
msgid ""
"Suppose you want to make a lab full of X terminals that all connect to one "
"main server. So let's call one X terminal <filename>xterminal</filename> and "
"lets call the server <filename>appserver</filename>. You install GDM on both."
msgstr ""
-#: ../C/gdm.xml:5783 (para)
+#: ../C/gdm.xml:5786 (para)
msgid ""
"On <filename>appserver</filename> you enable XDMCP, so you have <screen>\n"
"[xdmcp]\n"
@@ -7112,7 +7114,7 @@ msgid ""
"<filename>[servers]</filename> section empty."
msgstr ""
-#: ../C/gdm.xml:5793 (para)
+#: ../C/gdm.xml:5796 (para)
msgid ""
"On the <filename>xterminal</filename> you disable XDMCP (you don't want "
"anyone to connect to the xterminal really). You will add a server type "
@@ -7134,11 +7136,11 @@ msgid ""
"<filename>appserver</filename>."
msgstr ""
-#: ../C/gdm.xml:5821 (title)
+#: ../C/gdm.xml:5824 (title)
msgid "Terminal Lab With Two Or More Servers"
msgstr ""
-#: ../C/gdm.xml:5823 (para)
+#: ../C/gdm.xml:5826 (para)
msgid ""
"Suppose you want to make a lab full of X terminals that all connect to some "
"choice of servers. For now let's make it <filename>appserverone</filename> "
@@ -7149,7 +7151,7 @@ msgid ""
"choosers locally on the X terminals."
msgstr ""
-#: ../C/gdm.xml:5834 (para)
+#: ../C/gdm.xml:5837 (para)
msgid ""
"So on the <filename>xterminal</filename> you again disable XDMCP. You will "
"add a server type perhaps called <filename>Chooser</filename> as follows: "
@@ -7169,7 +7171,7 @@ msgid ""
" </screen>"
msgstr ""
-#: ../C/gdm.xml:5856 (para)
+#: ../C/gdm.xml:5859 (para)
msgid ""
"The XDMCP chooser on the X terminal will normally give a broadcast query to "
"see which servers exist on the network. If the two servers are not reachable "
@@ -7179,7 +7181,7 @@ msgid ""
"wish the users to be able to connect to."
msgstr ""
-#: ../C/gdm.xml:5866 (para)
+#: ../C/gdm.xml:5869 (para)
msgid ""
"Sometimes you may want to run the chooser on the server side however. Then "
"what you want to do is to run a configuration similar to the previous "
@@ -7197,11 +7199,11 @@ msgid ""
"terminals."
msgstr ""
-#: ../C/gdm.xml:5890 (title)
+#: ../C/gdm.xml:5893 (title)
msgid "License"
msgstr ""
-#: ../C/gdm.xml:5891 (para)
+#: ../C/gdm.xml:5894 (para)
msgid ""
"This program is free software; you can redistribute it and/or modify it "
"under the terms of the <ulink type=\"help\" url=\"gnome-help:gpl"
@@ -7210,7 +7212,7 @@ msgid ""
"option) any later version."
msgstr ""
-#: ../C/gdm.xml:5899 (para)
+#: ../C/gdm.xml:5902 (para)
msgid ""
"This program is distributed in the hope that it will be useful, but WITHOUT "
"ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
@@ -7218,7 +7220,7 @@ msgid ""
"License</citetitle> for more details."
msgstr ""
-#: ../C/gdm.xml:5905 (para)
+#: ../C/gdm.xml:5908 (para)
msgid ""
"A copy of the <citetitle>GNU General Public License</citetitle> is included "
"as an appendix to the <citetitle>GNOME Users Guide</citetitle>. You may also "
diff --git a/docs/es/gdm.xml b/docs/es/gdm.xml
index 02219daa..c9a7b4d3 100644
--- a/docs/es/gdm.xml
+++ b/docs/es/gdm.xml
@@ -1722,8 +1722,8 @@ XKeepsCrashing
<varlistentry>
<term>priority</term>
<listitem>
- <synopsis>priority=-5</synopsis>
- <para>Indicates that the X server should be started at a different process priority. This value can be between -20 and 20, with 0 being the default. For highly interactive applications, -5 yields good responsiveness.</para>
+ <synopsis>priority=0</synopsis>
+ <para>Indicates that the X server should be started at a different process priority. Values can be any integer value accepted by the setpriority C library function (normally between -20 and 20) with 0 being the default. For highly interactive applications, -5 yields good responsiveness. The default value is 0 and the setpriority function is not called if the value is 0.</para>
</listitem>
</varlistentry>
diff --git a/gui/gdmXnestchooser.c b/gui/gdmXnestchooser.c
index 13bd0ae7..000b2d77 100644
--- a/gui/gdmXnestchooser.c
+++ b/gui/gdmXnestchooser.c
@@ -44,7 +44,8 @@
static pid_t xnest_pid = 0;
#ifdef ENABLE_IPV6
-static gboolean have_ipv6 () {
+static gboolean
+have_ipv6 () {
gint s;
s = socket (AF_INET6, SOCK_STREAM, 0);
@@ -132,13 +133,13 @@ get_free_display (void)
}
g_snprintf (buf, sizeof (buf), "/tmp/.X11-unix/X%d", i);
- if (stat (buf, &s) == 0 &&
+ if (g_stat (buf, &s) == 0 &&
s.st_uid != getuid ()) {
continue;
}
g_snprintf (buf, sizeof (buf), "/tmp/.X%d-lock", i);
- if (stat (buf, &s) == 0 &&
+ if (g_stat (buf, &s) == 0 &&
s.st_uid != getuid ()) {
continue;
}
@@ -658,7 +659,7 @@ main (int argc, char *argv[])
xnest_pid = 0;
socket = g_strdup_printf ("/tmp/.X11-unix/X%d", display);
- unlink (socket);
+ g_unlink (socket);
g_free (socket);
if (no_query)
diff --git a/gui/gdmchooser.c b/gui/gdmchooser.c
index 21c24933..f2514ac2 100644
--- a/gui/gdmchooser.c
+++ b/gui/gdmchooser.c
@@ -233,12 +233,12 @@ gdm_chooser_host_alloc (const char *hostname,
hostimgdir = gdm_config_get_string (GDM_KEY_HOST_IMAGE_DIR);
hostimg = g_strconcat (hostimgdir, "/", hostname, NULL);
- if (access (hostimg, R_OK) != 0) {
+ if (g_access (hostimg, R_OK) != 0) {
g_free (hostimg);
hostimg = g_strconcat (hostimgdir, "/", hostname, ".png", NULL);
}
- if (access (hostimg, R_OK) == 0 &&
+ if (g_access (hostimg, R_OK) == 0 &&
(img = gdk_pixbuf_new_from_file (hostimg, NULL)) != NULL) {
gint w, h, maxw, maxh;
@@ -1661,7 +1661,7 @@ gdm_chooser_gui_init (void)
defaulthosticon = gdm_config_get_string (GDM_KEY_DEFAULT_HOST_IMG);
/* Load default host image */
- if (access (defaulthosticon, R_OK) != 0) {
+ if (g_access (defaulthosticon, R_OK) != 0) {
gdm_chooser_warn (_("Can't open default host icon: %s"), defaulthosticon);
/* bogus image */
defhostimg = gdk_pixbuf_new (GDK_COLORSPACE_RGB,
diff --git a/gui/gdmcomm.c b/gui/gdmcomm.c
index 235241cb..b8ace9ab 100644
--- a/gui/gdmcomm.c
+++ b/gui/gdmcomm.c
@@ -429,10 +429,10 @@ gdmcomm_check (gboolean show_dialog)
return FALSE;
}
- VE_IGNORE_EINTR (statret = stat (GDM_SUP_SOCKET, &s));
+ VE_IGNORE_EINTR (statret = g_stat (GDM_SUP_SOCKET, &s));
if (statret < 0 ||
s.st_uid != 0 ||
- access (GDM_SUP_SOCKET, R_OK|W_OK) != 0) {
+ g_access (GDM_SUP_SOCKET, R_OK|W_OK) != 0) {
if (show_dialog) {
dialog = ve_hig_dialog_new
(NULL /* parent */,
diff --git a/gui/gdmcommon.c b/gui/gdmcommon.c
index f69d6801..5ff093bb 100644
--- a/gui/gdmcommon.c
+++ b/gui/gdmcommon.c
@@ -78,8 +78,8 @@ gdm_common_login_sound (const gchar *GdmSoundProgram,
if (ve_string_empty (g_getenv ("GDM_IS_LOCAL")) ||
ve_string_empty (GdmSoundProgram) ||
ve_string_empty (GdmSoundOnLoginReadyFile) ||
- access (GdmSoundProgram, F_OK) != 0 ||
- access (GdmSoundOnLoginReadyFile, F_OK) != 0) {
+ g_access (GdmSoundProgram, F_OK) != 0 ||
+ g_access (GdmSoundOnLoginReadyFile, F_OK) != 0) {
gdk_beep ();
} else {
/* login sound interruption */
diff --git a/gui/gdmlogin.c b/gui/gdmlogin.c
index 6507b961..377a7934 100644
--- a/gui/gdmlogin.c
+++ b/gui/gdmlogin.c
@@ -916,7 +916,7 @@ gdm_login_session_lookup (const gchar* savedsess)
* irrelevant, we are in "switchdesk mode" and the relevant
* thing is the saved session in .Xclients
*/
- if (access ("/usr/bin/switchdesk", F_OK) == 0) {
+ if (g_access ("/usr/bin/switchdesk", F_OK) == 0) {
firstmsg = g_strdup_printf (_("You have chosen %s for this "
"session."),
gdm_session_name (session));
@@ -2383,7 +2383,7 @@ bin_exists (const char *command)
/* Note, check only for existence, not for executability */
bin = ve_first_word (command);
if (bin != NULL &&
- access (bin, F_OK) == 0) {
+ g_access (bin, F_OK) == 0) {
g_free (bin);
return TRUE;
} else {
diff --git a/gui/gdmphotosetup.c b/gui/gdmphotosetup.c
index dcc47844..84adc4fd 100644
--- a/gui/gdmphotosetup.c
+++ b/gui/gdmphotosetup.c
@@ -201,7 +201,7 @@ set_face_from_filename (const char *filename)
g_free (msg);
} else {
/* Change to g_chmod after glib 2.8 release */
- chmod (photofile, 0644);
+ g_chmod (photofile, 0644);
}
gtk_image_set_from_file (GTK_IMAGE (image), photofile);
@@ -324,7 +324,7 @@ main (int argc, char *argv[])
gtk_widget_set_size_request (browse_button, MAX (max_width, 230), MAX (max_height, 130));
- if (access (photofile, R_OK) == 0) {
+ if (g_access (photofile, R_OK) == 0) {
gtk_image_set_from_file (GTK_IMAGE (face_image),
photofile);
} else {
diff --git a/gui/gdmsetup.c b/gui/gdmsetup.c
index 76380a9a..5ed17e13 100644
--- a/gui/gdmsetup.c
+++ b/gui/gdmsetup.c
@@ -2965,7 +2965,7 @@ test_sound (GtkWidget *button, gpointer data)
const char *file = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (acc_sound_file_chooser));
const char *argv[3];
- if ((file == NULL) || access (file, R_OK) != 0 ||
+ if ((file == NULL) || g_access (file, R_OK) != 0 ||
ve_string_empty (GdmSoundProgram))
return;
@@ -3180,7 +3180,7 @@ get_theme_dir (void)
if (theme_dir == NULL ||
theme_dir[0] == '\0' ||
- access (theme_dir, R_OK) != 0) {
+ g_access (theme_dir, R_OK) != 0) {
g_free (theme_dir);
theme_dir = g_strdup (EXPANDED_DATADIR "/gdm/themes/");
}
@@ -3387,12 +3387,12 @@ read_themes (GtkListStore *store, const char *theme_dir, DIR *dir,
continue;
n = g_strconcat (theme_dir, "/", dent->d_name,
"/GdmGreeterTheme.desktop", NULL);
- if (access (n, R_OK) != 0) {
+ if (g_access (n, R_OK) != 0) {
g_free (n);
n = g_strconcat (theme_dir, "/", dent->d_name,
"/GdmGreeterTheme.info", NULL);
}
- if (access (n, R_OK) != 0) {
+ if (g_access (n, R_OK) != 0) {
g_free (n);
continue;
}
@@ -3402,7 +3402,7 @@ read_themes (GtkListStore *store, const char *theme_dir, DIR *dir,
file = gdm_get_theme_greeter (n, dent->d_name);
full = g_strconcat (theme_dir, "/", dent->d_name,
"/", file, NULL);
- if (access (full, R_OK) != 0) {
+ if (g_access (full, R_OK) != 0) {
g_free (file);
g_free (full);
g_free (n);
@@ -3447,7 +3447,7 @@ read_themes (GtkListStore *store, const char *theme_dir, DIR *dir,
full = NULL;
if ( ! ve_string_empty (full) &&
- access (full, R_OK) == 0) {
+ g_access (full, R_OK) == 0) {
pb = gdk_pixbuf_new_from_file (full, NULL);
if (pb != NULL) {
@@ -3666,7 +3666,7 @@ find_unzip (const char *filename)
return prog;
for (i = 0; tryb[i] != NULL; i++) {
- if (access (tryb[i], X_OK) == 0)
+ if (g_access (tryb[i], X_OK) == 0)
return g_strdup (tryb[i]);
}
}
@@ -3676,7 +3676,7 @@ find_unzip (const char *filename)
return prog;
for (i = 0; tryg[i] != NULL; i++) {
- if (access (tryg[i], X_OK) == 0)
+ if (g_access (tryg[i], X_OK) == 0)
return g_strdup (tryg[i]);
}
/* Hmmm, fallback */
@@ -3704,7 +3704,7 @@ find_tar (void)
return tar_prog;
for (i = 0; try[i] != NULL; i++) {
- if (access (try[i], X_OK) == 0)
+ if (g_access (try[i], X_OK) == 0)
return g_strdup (try[i]);
}
/* Hmmm, fallback */
@@ -3728,7 +3728,7 @@ find_chmod (void)
return chmod_prog;
for (i = 0; try[i] != NULL; i++) {
- if (access (try[i], X_OK) == 0)
+ if (g_access (try[i], X_OK) == 0)
return g_strdup (try[i]);
}
/* Hmmm, fallback */
@@ -3752,7 +3752,7 @@ find_chown (void)
return chown_prog;
for (i = 0; try[i] != NULL; i++) {
- if (access (try[i], X_OK) == 0)
+ if (g_access (try[i], X_OK) == 0)
return g_strdup (try[i]);
}
/* Hmmm, fallback */
@@ -3843,7 +3843,7 @@ get_archive_dir (const char *filename, char **untar_cmd, char **error)
*error = NULL;
- if (access (filename, F_OK) != 0) {
+ if (g_access (filename, F_OK) != 0) {
*error = _("File does not exist");
return NULL;
}
@@ -4035,7 +4035,7 @@ install_theme_file (gchar *filename, GtkListStore *store, GtkWindow *parent)
g_assert (untar_cmd != NULL);
- if (chdir (theme_dir) == 0 &&
+ if (g_chdir (theme_dir) == 0 &&
/* this is a security sanity check */
strchr (dir, '/') == NULL &&
system (untar_cmd) == 0) {
@@ -4285,7 +4285,7 @@ delete_theme (GtkWidget *button, gpointer data)
if (gtk_dialog_run (GTK_DIALOG (dlg)) == GTK_RESPONSE_YES) {
char *theme_dir = get_theme_dir ();
char *cwd = g_get_current_dir ();
- if (chdir (theme_dir) == 0 &&
+ if (g_chdir (theme_dir) == 0 &&
/* this is a security sanity check, since we're doing rm -fR */
strchr (dir, '/') == NULL) {
/* HACK! */
@@ -4316,7 +4316,7 @@ delete_theme (GtkWidget *button, gpointer data)
}
}
- chdir (cwd);
+ g_chdir (cwd);
g_free (cwd);
g_free (theme_dir);
}
@@ -6601,7 +6601,7 @@ main (int argc, char *argv[])
GdmAllowRemoteRoot = gdm_config_get_bool (GDM_KEY_ALLOW_REMOTE_ROOT);
if (ve_string_empty (GdmSoundProgram) ||
- access (GdmSoundProgram, X_OK) != 0) {
+ g_access (GdmSoundProgram, X_OK) != 0) {
GdmSoundProgram = NULL;
}
diff --git a/gui/gdmuser.c b/gui/gdmuser.c
index ca362d8e..0285c2d8 100644
--- a/gui/gdmuser.c
+++ b/gui/gdmuser.c
@@ -144,7 +144,7 @@ gdm_user_alloc (const gchar *logname,
/* read the "done" bit, but don't check */
read (STDIN_FILENO, buf, sizeof (buf));
- } else if (access (&buf[1], R_OK) == 0) {
+ } else if (g_access (&buf[1], R_OK) == 0) {
img = gdm_common_get_face (&buf[1],
NULL,
gdm_config_get_int (GDM_KEY_MAX_ICON_WIDTH),
diff --git a/gui/greeter/greeter.c b/gui/greeter/greeter.c
index 50be48cc..b608152d 100644
--- a/gui/greeter/greeter.c
+++ b/gui/greeter/greeter.c
@@ -804,14 +804,14 @@ get_theme_file (const char *in, char **theme_dir)
dir = NULL;
if (DOING_GDM_DEVELOPMENT)
{
- if (access (in, F_OK) == 0)
+ if (g_access (in, F_OK) == 0)
{
dir = g_strdup (in);
}
else
{
dir = g_build_filename ("themes", in, NULL);
- if (access (dir, F_OK) != 0)
+ if (g_access (dir, F_OK) != 0)
{
g_free (dir);
dir = NULL;
@@ -825,11 +825,11 @@ get_theme_file (const char *in, char **theme_dir)
*theme_dir = dir;
info = g_build_filename (dir, "GdmGreeterTheme.desktop", NULL);
- if (access (info, F_OK) != 0) {
+ if (g_access (info, F_OK) != 0) {
g_free (info);
info = g_build_filename (dir, "GdmGreeterTheme.info", NULL);
}
- if (access (info, F_OK) != 0)
+ if (g_access (info, F_OK) != 0)
{
char *base = g_path_get_basename (in);
/* just guess the name, we have no info about the theme at
diff --git a/gui/greeter/greeter_session.c b/gui/greeter/greeter_session.c
index d2543fda..2a11a422 100644
--- a/gui/greeter/greeter_session.c
+++ b/gui/greeter/greeter_session.c
@@ -166,7 +166,7 @@ greeter_session_lookup (const char *saved_session)
* irrelevant, we are in "switchdesk mode" and the relevant
* thing is the saved session in .Xclients
*/
- if (access ("/usr/bin/switchdesk", F_OK) == 0)
+ if (g_access ("/usr/bin/switchdesk", F_OK) == 0)
{
firstmsg = g_strdup_printf (_("You have chosen %s for this "
"session"),
diff --git a/gui/greeter/greeter_system.c b/gui/greeter/greeter_system.c
index 82a3fb21..90dce540 100644
--- a/gui/greeter/greeter_system.c
+++ b/gui/greeter/greeter_system.c
@@ -48,7 +48,7 @@ bin_exists (const char *command)
/* Note, check only for existance, not for executability */
bin = ve_first_word (command);
if (bin != NULL &&
- access (bin, F_OK) == 0) {
+ g_access (bin, F_OK) == 0) {
g_free (bin);
return TRUE;
} else {
diff --git a/utils/gdmprefetch.c b/utils/gdmprefetch.c
index 2d6bfc64..d37e2a66 100644
--- a/utils/gdmprefetch.c
+++ b/utils/gdmprefetch.c
@@ -38,45 +38,43 @@ doout(char *s)
void *map;
struct stat buf;
- if (((fd = open(s, O_RDONLY)) < 0) ||
- (fstat(fd, &buf) < 0) ||
- ((map = mmap(NULL, buf.st_size, PROT_READ, MAP_PRIVATE, fd, 0)) ==
+ if (((fd = open (s, O_RDONLY)) < 0) ||
+ (fstat (fd, &buf) < 0) ||
+ ((map = mmap (NULL, buf.st_size, PROT_READ, MAP_PRIVATE, fd, 0)) ==
MAP_FAILED)) {
(void)close(fd);
return (-1);
}
- (void)close(fd);
- (void)msync(map, buf.st_size, MS_INVALIDATE);
- (void)munmap(map, buf.st_size);
+ (void)close (fd);
+ (void)msync (map, buf.st_size, MS_INVALIDATE);
+ (void)munmap (map, buf.st_size);
return (0);
}
#define SIZE 1024*128
int
-doin(char *s)
+doin (char *s)
{
int fd;
char buffer[SIZE];
if ((fd = open(s, O_RDONLY)) < 0) {
- fprintf(stderr, "fopen: %s %s\n", strerror(errno), s);
+ fprintf (stderr, "fopen: %s %s\n", strerror(errno), s);
return (-1);
}
- while (read(fd, buffer, SIZE) != 0)
+ while (read (fd, buffer, SIZE) != 0)
;
- (void)close(fd);
+ (void)close (fd);
return (0);
}
-
-
int
-main(int argc, char *argv[])
+main (int argc, char *argv[])
{
FILE *fp = 0;
int c, errflg = 0;
@@ -84,8 +82,8 @@ main(int argc, char *argv[])
extern char *optarg;
int i;
- while ((c = getopt(argc, argv, "o:")) != -1) {
- switch(c) {
+ while ((c = getopt (argc, argv, "o:")) != -1) {
+ switch (c) {
case 'o':
out = 1;
@@ -98,27 +96,27 @@ main(int argc, char *argv[])
}
if (errflg) {
- fprintf(stderr, "usage: %s [-o] filename [filename]\n",
+ fprintf (stderr, "usage: %s [-o] filename [filename]\n",
argv[0]);
- exit(1);
+ exit (1);
}
for (; optind < argc; optind++) {
- if ((argv[optind][0] == '@') && ((fp = fopen(argv[optind], "r")) == 0)) {
+ if ((argv[optind][0] == '@') && ((fp = fopen (argv[optind], "r")) == 0)) {
char path[1024];
- if ((fp = fopen(&(argv[optind][1]), "r")) == 0) {
- fprintf(stderr, "fopen: %s %s\n", strerror(errno), &argv[optind][1]);
+ if ((fp = fopen (&(argv[optind][1]), "r")) == 0) {
+ fprintf (stderr, "fopen: %s %s\n", strerror (errno), &argv[optind][1]);
continue;
}
- while (fgets(path, sizeof(path), fp) != 0) {
+ while (fgets (path, sizeof (path), fp) != 0) {
path[strlen(path) -1] = '\0';
if (!out) {
- doin(path);
+ doin (path);
} else {
- doout(path);
+ doout (path);
}
}
fclose (fp);
@@ -131,12 +129,12 @@ main(int argc, char *argv[])
}
if (!out) {
- doin(argv[optind]);
+ doin (argv[optind]);
} else {
- doout(argv[optind]);
+ doout (argv[optind]);
}
}
}
- exit(0);
+ exit (0);
}