Commit 651f3ccb authored by Brian Cameron's avatar Brian Cameron

Brian Cameron <brian.cameron@sun.com>

        * gui/gdmsetup.diff:  Patch to fix c99 compiling.  Patch by
          Jens Granseuer <jensgr@gmx.net>.  Fixes bug #399486.

svn path=/trunk/; revision=4537
parent 0ad3d81a
2006-01-22 Brian Cameron <brian.cameron@sun.com>
* gui/gdmsetup.diff: Patch to fix c99 compiling. Patch by
Jens Granseuer <jensgr@gmx.net>. Fixes bug #399486.
2006-01-21 Brian Cameron <brian.cameron@sun.com>
* Release 2.17.6:
......
......@@ -8385,15 +8385,16 @@ main (int argc, char *argv[])
config_file = gdm_common_get_config_file ();
if (config_file == NULL) {
GtkWidget *dialog;
/* Done using socket */
gdmcomm_comm_bulk_stop ();
GtkWidget *dialog = ve_hig_dialog_new (NULL /* parent */,
GTK_DIALOG_MODAL /* flags */,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_OK,
_("Could not access configuration file (defaults.conf)"
""),
_("Make sure that the file exists before launching login manager config utility."));
dialog = ve_hig_dialog_new (NULL /* parent */,
GTK_DIALOG_MODAL /* flags */,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_OK,
_("Could not access configuration file (defaults.conf)"),
_("Make sure that the file exists before launching login manager config utility."));
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
......@@ -8401,15 +8402,17 @@ main (int argc, char *argv[])
}
custom_config_file = gdm_common_get_custom_config_file ();
if (custom_config_file == NULL) {
GtkWidget *dialog;
/* Done using socket */
gdmcomm_comm_bulk_stop ();
GtkWidget *dialog = ve_hig_dialog_new (NULL /* parent */,
GTK_DIALOG_MODAL /* flags */,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_OK,
_("Could not access configuration file (custom.conf)"
""),
_("Make sure that the file exists before launching login manager config utility."));
dialog = ve_hig_dialog_new (NULL /* parent */,
GTK_DIALOG_MODAL /* flags */,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_OK,
_("Could not access configuration file (custom.conf)"),
_("Make sure that the file exists before launching login manager config utility."));
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
exit (EXIT_FAILURE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment