From 7e00903af721b997b03834ddf9f58c6cd322cdf0 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 20 Dec 2004 15:50:45 +0000 Subject: [PATCH] Don't show the secondary label on show_all(). (#161707, Christian Persch) 2004-12-20 Matthias Clasen * gtk/gtkmessagedialog.c (setup_primary_label_font): Don't show the secondary label on show_all(). (#161707, Christian Persch) --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gtk/gtkmessagedialog.c | 3 ++- 5 files changed, 22 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index bc31f0a8c5..6fec83ea2f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-12-20 Matthias Clasen + + * gtk/gtkmessagedialog.c (setup_primary_label_font): Don't show + the secondary label on show_all(). (#161707, Christian Persch) + 2004-12-19 Tor Lillqvist * gdk/win32/gdkdnd-win32.c (resolve_link, gdk_dropfiles_filter): diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index bc31f0a8c5..6fec83ea2f 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2004-12-20 Matthias Clasen + + * gtk/gtkmessagedialog.c (setup_primary_label_font): Don't show + the secondary label on show_all(). (#161707, Christian Persch) + 2004-12-19 Tor Lillqvist * gdk/win32/gdkdnd-win32.c (resolve_link, gdk_dropfiles_filter): diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index bc31f0a8c5..6fec83ea2f 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +2004-12-20 Matthias Clasen + + * gtk/gtkmessagedialog.c (setup_primary_label_font): Don't show + the secondary label on show_all(). (#161707, Christian Persch) + 2004-12-19 Tor Lillqvist * gdk/win32/gdkdnd-win32.c (resolve_link, gdk_dropfiles_filter): diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index bc31f0a8c5..6fec83ea2f 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2004-12-20 Matthias Clasen + + * gtk/gtkmessagedialog.c (setup_primary_label_font): Don't show + the secondary label on show_all(). (#161707, Christian Persch) + 2004-12-19 Tor Lillqvist * gdk/win32/gdkdnd-win32.c (resolve_link, gdk_dropfiles_filter): diff --git a/gtk/gtkmessagedialog.c b/gtk/gtkmessagedialog.c index b0d4db49d9..9f66b74ec1 100644 --- a/gtk/gtkmessagedialog.c +++ b/gtk/gtkmessagedialog.c @@ -174,7 +174,8 @@ gtk_message_dialog_init (GtkMessageDialog *dialog) priv->has_primary_markup = FALSE; priv->has_secondary_text = FALSE; priv->secondary_label = gtk_label_new (NULL); - + gtk_widget_set_no_show_all (priv->secondary_label, TRUE); + dialog->label = gtk_label_new (NULL); dialog->image = gtk_image_new_from_stock (NULL, GTK_ICON_SIZE_DIALOG); gtk_misc_set_alignment (GTK_MISC (dialog->image), 0.5, 0.0);