diff options
author | Rodney Dawes <dobey@novell.com> | 2005-02-03 09:02:13 +0800 |
---|---|---|
committer | Rodney Dawes <dobey@src.gnome.org> | 2005-02-03 09:02:13 +0800 |
commit | c67025743b0f0ef8f082b88559606dd0100aba3e (patch) | |
tree | 59d9019338569626c1dfa30015a75a459619e134 /mail | |
parent | 37ca97bfbc298dae0f15957ad15c83b342e12a6a (diff) | |
download | gsoc2013-evolution-c67025743b0f0ef8f082b88559606dd0100aba3e.tar gsoc2013-evolution-c67025743b0f0ef8f082b88559606dd0100aba3e.tar.gz gsoc2013-evolution-c67025743b0f0ef8f082b88559606dd0100aba3e.tar.bz2 gsoc2013-evolution-c67025743b0f0ef8f082b88559606dd0100aba3e.tar.lz gsoc2013-evolution-c67025743b0f0ef8f082b88559606dd0100aba3e.tar.xz gsoc2013-evolution-c67025743b0f0ef8f082b88559606dd0100aba3e.tar.zst gsoc2013-evolution-c67025743b0f0ef8f082b88559606dd0100aba3e.zip |
Use the gtk_widget_ensure_style method instead of gtk_widget_realize when
2005-02-02 Rodney Dawes <dobey@novell.com>
* em-subscribe-editor.c (em_subscribe_editor_new): Use the
gtk_widget_ensure_style method instead of gtk_widget_realize when
setting the border widths of the dialog containers for HIG compliance
Fixes #68743
svn path=/trunk/; revision=28682
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 8 | ||||
-rw-r--r-- | mail/em-subscribe-editor.c | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index b7c4a4a4cf..2b7c05643a 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,11 @@ +2005-02-02 Rodney Dawes <dobey@novell.com> + + * em-subscribe-editor.c (em_subscribe_editor_new): Use the + gtk_widget_ensure_style method instead of gtk_widget_realize when + setting the border widths of the dialog containers for HIG compliance + + Fixes #68743 + 2005-02-02 Jeffrey Stedfast <fejj@novell.com> Fixes bug #70454 diff --git a/mail/em-subscribe-editor.c b/mail/em-subscribe-editor.c index 82d03ae975..8147c397a5 100644 --- a/mail/em-subscribe-editor.c +++ b/mail/em-subscribe-editor.c @@ -844,7 +844,7 @@ GtkDialog *em_subscribe_editor_new(void) se->dialog = (GtkDialog *)glade_xml_get_widget (xml, "subscribe_dialog"); g_signal_connect(se->dialog, "destroy", G_CALLBACK(sub_editor_destroy), se); - gtk_widget_realize ((GtkWidget *)se->dialog); + gtk_widget_ensure_style ((GtkWidget *)se->dialog); gtk_container_set_border_width ((GtkContainer *) ((GtkDialog *)se->dialog)->action_area, 12); gtk_container_set_border_width ((GtkContainer *) ((GtkDialog *)se->dialog)->vbox, 0); |