aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/commands.c
diff options
context:
space:
mode:
authorGravatar Brendan Taylor <whateley@gmail.com>2011-07-02 10:55:29 +0000
committerGravatar Brendan Taylor <whateley@gmail.com>2011-07-03 03:31:51 +0000
commit88055228d2cd8780d281eb31bf688170c23254ce (patch)
treeb1dad729d64ddba9ebfd02fd53a2f695e9de1e8d /src/commands.c
parent79270bf7f392e1a11f9b61bb94473d6751707fca (diff)
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...
Diffstat (limited to 'src/commands.c')
-rw-r--r--src/commands.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/commands.c b/src/commands.c
index c4f63af..1af351c 100644
--- a/src/commands.c
+++ b/src/commands.c
@@ -106,13 +106,9 @@ void
toggle_status (WebKitWebView* page, GArray *argv, GString *result) {
(void)page; (void)argv; (void)result;
- if (uzbl.behave.show_status) {
- gtk_widget_hide(uzbl.gui.mainbar);
- } else {
- gtk_widget_show(uzbl.gui.mainbar);
- }
uzbl.behave.show_status = !uzbl.behave.show_status;
- update_title();
+
+ cmd_set_status();
}
/*