Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gtk+/ChangeLog,v
retrieving revision 1.4821
diff -u -r1.4821 ChangeLog
--- ChangeLog	20 Jan 2004 23:17:11 -0000	1.4821
+++ ChangeLog	20 Jan 2004 23:29:22 -0000
@@ -1,5 +1,14 @@
 2004-01-20  Federico Mena Quintero  <federico@ximian.com>
 
+	Fix #68938.
+
+	* gtk/gtkmessagedialog.c (gtk_message_dialog_class_init): Add a
+	use_separator style property.
+	(gtk_message_dialog_style_set): Change the dialog's separator
+	based on the style property.
+
+2004-01-20  Federico Mena Quintero  <federico@ximian.com>
+
 	* NEWS: Added details about GtkFileChooser changes.
 
 2004-01-20  Federico Mena Quintero  <federico@ximian.com>
Index: gtk/gtkmessagedialog.c
===================================================================
RCS file: /cvs/gnome/gtk+/gtk/gtkmessagedialog.c,v
retrieving revision 1.17
diff -u -r1.17 gtkmessagedialog.c
--- gtk/gtkmessagedialog.c	16 Jan 2004 23:09:31 -0000	1.17
+++ gtk/gtkmessagedialog.c	20 Jan 2004 23:29:48 -0000
@@ -109,6 +109,13 @@
                                                              G_MAXINT,
                                                              8,
                                                              G_PARAM_READABLE));
+  gtk_widget_class_install_style_property (widget_class,
+					   g_param_spec_boolean ("use_separator",
+								 P_("Use separator"),
+								 P_("Whether to put a separator between the message dialog's text "
+								    "and the buttons"),
+								 FALSE,
+								 G_PARAM_READABLE));
   g_object_class_install_property (gobject_class,
                                    PROP_MESSAGE_TYPE,
                                    g_param_spec_enum ("message_type",
@@ -499,6 +506,7 @@
 {
   GtkWidget *parent;
   gint border_width = 0;
+  gboolean use_separator;
 
   parent = GTK_WIDGET (GTK_MESSAGE_DIALOG (widget)->image->parent);
 
@@ -511,6 +519,11 @@
                                       border_width);
     }
 
+  gtk_widget_style_get (widget,
+			"use_separator", &use_separator,
+			NULL);
+  gtk_dialog_set_has_separator (GTK_DIALOG (widget), use_separator);
+
   if (GTK_WIDGET_CLASS (parent_class)->style_set)
     (GTK_WIDGET_CLASS (parent_class)->style_set) (widget, prev_style);
 }
