summaryrefslogtreecommitdiff
path: root/gui/gdmphotosetup.c
diff options
context:
space:
mode:
authorGeorge Lebl <jirka@5z.com>2003-07-07 19:48:02 +0000
committerGeorge Lebl <jirka@src.gnome.org>2003-07-07 19:48:02 +0000
commit581c9308e27d44ef9b7702f42ff7943e2711be71 (patch)
treeabb0f3fab17244c4b322746e4cb3edb231a75a4a /gui/gdmphotosetup.c
parentf85de9bc0d1d03d72ad9f03a3a7203ca6514097f (diff)
downloadgdm-581c9308e27d44ef9b7702f42ff7943e2711be71.tar.gz
Change so that messages in the .po files do not contain unneccessary
Mon Jul 07 12:41:21 2003 George Lebl <jirka@5z.com> * gui/gdmsetup.(c|glade), gui/gdmcomm.c, gui/gdmphotosetup.c: Change so that messages in the .po files do not contain unneccessary markup. Fixes #101794 and #101795 * config/Makefile.am: make the /etc/X11/dm dir if it doesn't exist fixes #116836
Diffstat (limited to 'gui/gdmphotosetup.c')
-rw-r--r--gui/gdmphotosetup.c19
1 files changed, 11 insertions, 8 deletions
diff --git a/gui/gdmphotosetup.c b/gui/gdmphotosetup.c
index fdfe197d..83992cda 100644
--- a/gui/gdmphotosetup.c
+++ b/gui/gdmphotosetup.c
@@ -57,6 +57,7 @@ gdm_check (void)
if (pid <= 1 ||
(kill (pid, 0) < 0 &&
errno != EPERM)) {
+ char *s;
dialog = gtk_message_dialog_new
(NULL /* parent */,
GTK_DIALOG_MODAL /* flags */,
@@ -64,16 +65,18 @@ gdm_check (void)
GTK_BUTTONS_OK,
"foo");
gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
+ s = g_strdup_printf ("<b>%s</b>\n\n%s\n%s",
+ _("GDM (The GNOME Display Manager) "
+ "is not running."),
+ _("You might in fact be using a different "
+ "display manager, such as KDM "
+ "(KDE Display Manager or xdm)."),
+ _("If you still wish to use this feature, "
+ "either start GDM yourself or ask your "
+ "system administrator to start GDM."));
gtk_label_set_markup
(GTK_LABEL (GTK_MESSAGE_DIALOG (dialog)->label),
- _("<b>GDM (The GNOME Display Manager) "
- "is not running.</b>\n\n"
- "You might in fact be using a different "
- "display manager, such as KDM "
- "(KDE Display Manager or xdm).\n"
- "If you still wish to use this feature, "
- "either start GDM your self or ask your "
- "system administrator to start GDM."));
+ s);
gtk_widget_show_all (dialog);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);