mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-15 05:43:48 +01:00
Completion fix 1
This commit is contained in:
parent
5cbc7de33f
commit
a70cd3c900
@ -1704,7 +1704,6 @@ sc_change_buffer(Argument* argument)
|
||||
gtk_label_set_markup((GtkLabel*) Zathura.Global.status_buffer, Zathura.Global.buffer->str);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
@ -2480,14 +2479,9 @@ isc_completion(Argument* argument)
|
||||
setCompletionRowColor(results, HIGHLIGHT, current_item);
|
||||
|
||||
if(command_mode)
|
||||
{
|
||||
char* cp = (current_parameter) ? g_strconcat(" ", current_parameter, NULL) : 0;
|
||||
temp = g_strconcat(":", rows[current_item].command, cp, NULL);
|
||||
}
|
||||
temp = g_strconcat(":", rows[current_item].command, NULL);
|
||||
else
|
||||
{
|
||||
temp = g_strconcat(":", previous_command, " ", rows[current_item].command, NULL);
|
||||
}
|
||||
|
||||
gtk_entry_set_text(Zathura.UI.inputbar, temp);
|
||||
gtk_editable_set_position(GTK_EDITABLE(Zathura.UI.inputbar), -1);
|
||||
|
Loading…
Reference in New Issue
Block a user