aboutsummaryrefslogtreecommitdiffhomepage
path: root/uzbl.c
diff options
context:
space:
mode:
authorGravatar Mason Larobina <mason.larobina@gmail.com>2009-06-29 19:12:29 +0800
committerGravatar Mason Larobina <mason.larobina@gmail.com>2009-06-29 19:12:29 +0800
commit9f0a7d60525fb466d134a2026bda8b1c41262a8b (patch)
tree0cac54575237d79dadfba0006fd5926807ef6f75 /uzbl.c
parent3a55067d8dba53a47c3e20ac93735e9aa6d6a7b5 (diff)
Manually added commit 51a38.. from holizz
Diffstat (limited to 'uzbl.c')
-rw-r--r--uzbl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/uzbl.c b/uzbl.c
index e5db9e7..1bb94fd 100644
--- a/uzbl.c
+++ b/uzbl.c
@@ -2119,7 +2119,10 @@ update_title (void) {
GdkColor color;
gdk_color_parse (b->status_background, &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);
+ 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 (uzbl.gui.plug, GTK_STATE_NORMAL, &color);
}
} else {
if (b->title_format_long) {