aboutsummaryrefslogtreecommitdiffhomepage
path: root/uzbl.c
diff options
context:
space:
mode:
authorGravatar Tom Adams <tom@holizz.com>2009-07-11 11:31:02 +0100
committerGravatar Tom Adams <tom@holizz.com>2009-07-11 11:31:02 +0100
commit6c98bc2ca042e0fbe6883fce849a4a6afa7c0f8f (patch)
tree35b73f53519df0b1de9af2a9dcde0c5f329539ce /uzbl.c
parent1f9accc3dd70612f510f6613520261626490fa8e (diff)
Set the background on the vbox, not the main_window.
Diffstat (limited to 'uzbl.c')
-rw-r--r--uzbl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/uzbl.c b/uzbl.c
index 66adc16..f6dc7b8 100644
--- a/uzbl.c
+++ b/uzbl.c
@@ -2120,11 +2120,11 @@ 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/vbox is ok as 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);
- else if (uzbl.gui.plug)
- gtk_widget_modify_bg ((GtkWidget * ) uzbl.gui.plug, 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)
+ if (uzbl.gui.main_window)
+ gtk_widget_modify_bg (uzbl.gui.main_window, GTK_STATE_NORMAL, &color);
+ else if (uzbl.gui.plug)
+ gtk_widget_modify_bg (GTK_WIDGET(uzbl.gui.plug), GTK_STATE_NORMAL, &color);
}
} else {
if (b->title_format_long) {