Hide inputbar

This commit is contained in:
Moritz Lipp 2010-12-17 03:40:57 +01:00
parent e30a31dcf6
commit ac12830a00

View File

@ -1956,6 +1956,9 @@ sc_abort(Argument* argument)
gtk_label_set_markup((GtkLabel*) Zathura.Global.status_buffer, ""); 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 */ /* Set back to normal mode */
change_mode(NORMAL); change_mode(NORMAL);
switch_view(Zathura.UI.document); switch_view(Zathura.UI.document);