diff options
author | Larry Ewing <lewing@ximian.com> | 2003-04-09 16:22:23 +0800 |
---|---|---|
committer | Larry Ewing <lewing@src.gnome.org> | 2003-04-09 16:22:23 +0800 |
commit | 644d6945827035dfecf86467e83e3eeeed31b79b (patch) | |
tree | 16af43ec9e99667668d8ef03731b3242a5de7a13 | |
parent | 73a4fab3f10a11b55a699f3a670ea348cec9cd91 (diff) | |
download | gsoc2013-evolution-644d6945827035dfecf86467e83e3eeeed31b79b.tar gsoc2013-evolution-644d6945827035dfecf86467e83e3eeeed31b79b.tar.gz gsoc2013-evolution-644d6945827035dfecf86467e83e3eeeed31b79b.tar.bz2 gsoc2013-evolution-644d6945827035dfecf86467e83e3eeeed31b79b.tar.lz gsoc2013-evolution-644d6945827035dfecf86467e83e3eeeed31b79b.tar.xz gsoc2013-evolution-644d6945827035dfecf86467e83e3eeeed31b79b.tar.zst gsoc2013-evolution-644d6945827035dfecf86467e83e3eeeed31b79b.zip |
remove call to gtk_html_set_default_background_color, replace with calls
2003-04-09 Larry Ewing <lewing@ximian.com>
* e-shell-importer.c (create_html): remove call to
gtk_html_set_default_background_color, replace with calls to
gtk_widget_modify_style_*
svn path=/trunk/; revision=20777
-rw-r--r-- | shell/e-shell-importer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/e-shell-importer.c b/shell/e-shell-importer.c index a093d4dd4c..327f2a1ce2 100644 --- a/shell/e-shell-importer.c +++ b/shell/e-shell-importer.c @@ -176,8 +176,8 @@ create_html (const char *name) if (!style) style = gtk_widget_get_style (html); if (style) { - gtk_html_set_default_background_color (GTK_HTML (html), - &style->bg[0]); + gtk_widget_modify_base (html, &style->bg[GTK_STATE_NORMAL]); + gtk_widget_modify_text (html, &style->fg[GTK_STATE_NORMAL]); } gtk_widget_show (html); |