mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 13:46:01 +01:00
Document that workaround
And a remainder that we want to drop this once we don't support GTK+2 anymore. Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
c5e593d3c5
commit
033833c50d
1 changed files with 4 additions and 0 deletions
|
@ -1188,6 +1188,9 @@ zathura_jumplist_hide_inputbar(zathura_t* zathura)
|
|||
girara_isc_completion(zathura->ui.session, &arg, NULL, 0);
|
||||
|
||||
if (zathura->ui.session->global.autohide_inputbar == true) {
|
||||
/* XXX: This is a workaround for incremental-search. We should revisit this
|
||||
* when we drop GTK+3 support and the inputbar is placed in a GtkOverlay
|
||||
* widget. */
|
||||
char *input = gtk_editable_get_chars(GTK_EDITABLE(zathura->ui.session->gtk.inputbar_entry), 0, -1);
|
||||
bool res = false;
|
||||
|
||||
|
@ -1198,6 +1201,7 @@ zathura_jumplist_hide_inputbar(zathura_t* zathura)
|
|||
|
||||
return;
|
||||
}
|
||||
/* </workaround> */
|
||||
|
||||
gtk_widget_hide(zathura->ui.session->gtk.inputbar);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue