diff options
author | Tom Adams <tom@holizz.com> | 2009-06-29 10:48:56 +0100 |
---|---|---|
committer | Mason Larobina <mason.larobina@gmail.com> | 2009-06-29 17:57:30 +0800 |
commit | 30cb1ccc7c5c05ed05191313356192d8ec1595e9 (patch) | |
tree | d9a7e09fc83e58be6246902478bf66c3daba5f02 /uzbl.c | |
parent | 7d864e7411ca1660db85e284fb65b112bd2825ab (diff) |
Set the background on the vbox, not the main_window.
Diffstat (limited to 'uzbl.c')
-rw-r--r-- | uzbl.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -2118,9 +2118,8 @@ update_title (void) { if (b->status_background) { GdkColor color; gdk_color_parse (b->status_background, &color); - //labels and hboxes do not draw their own background. applying this on the window is ok as we the statusbar is the only affected widget. (if not, we could also use GtkEventBox) - if (uzbl.gui.main_window) - gtk_widget_modify_bg (uzbl.gui.main_window, GTK_STATE_NORMAL, &color); + //labels and hboxes do not draw their own background. applying this on the vbox is ok as the statusbar is the only affected widget. (if not, we could also use GtkEventBox) + gtk_widget_modify_bg (uzbl.gui.vbox, GTK_STATE_NORMAL, &color); } } else { if (b->title_format_long) { |