From 9f8441461db0006ebb46d9d128d6b99506bc19da Mon Sep 17 00:00:00 2001 From: Moritz Lipp Date: Fri, 17 Dec 2010 03:40:57 +0100 Subject: [PATCH] Hide inputbar --- zathura.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zathura.c b/zathura.c index dfad617..14411bd 100644 --- a/zathura.c +++ b/zathura.c @@ -1956,6 +1956,9 @@ sc_abort(Argument* argument) gtk_label_set_markup((GtkLabel*) Zathura.Global.status_buffer, ""); } + if(!Zathura.Global.show_inputbar) + gtk_widget_hide(GTK_WIDGET(Zathura.UI.inputbar)); + /* Set back to normal mode */ change_mode(NORMAL); switch_view(Zathura.UI.document);