From 88055228d2cd8780d281eb31bf688170c23254ce Mon Sep 17 00:00:00 2001 From: Brendan Taylor Date: Sat, 2 Jul 2011 10:55:29 +0000 Subject: the status bar is now a custom gtk widget it gives the left side of the status bar as much space as it needs (but importantly, no more than the size of the window. this should put the window resize bug to rest for good... --- src/variables.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/variables.c') diff --git a/src/variables.c b/src/variables.c index a3621dd..5b717d9 100644 --- a/src/variables.c +++ b/src/variables.c @@ -505,11 +505,11 @@ cmd_set_geometry() { void cmd_set_status() { - if (!uzbl.behave.show_status) { - gtk_widget_hide(uzbl.gui.mainbar); - } else { - gtk_widget_show(uzbl.gui.mainbar); - } + if (!uzbl.behave.show_status) + gtk_widget_hide(uzbl.gui.status_bar); + else + gtk_widget_show(uzbl.gui.status_bar); + update_title(); } -- cgit v1.2.3