mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-14 15:16:01 +01:00
Completion fix 1
This commit is contained in:
parent
d4dd021eab
commit
ab2288b241
1 changed files with 1 additions and 7 deletions
|
@ -1704,7 +1704,6 @@ sc_change_buffer(Argument* argument)
|
||||||
gtk_label_set_markup((GtkLabel*) Zathura.Global.status_buffer, Zathura.Global.buffer->str);
|
gtk_label_set_markup((GtkLabel*) Zathura.Global.status_buffer, Zathura.Global.buffer->str);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -2480,14 +2479,9 @@ isc_completion(Argument* argument)
|
||||||
setCompletionRowColor(results, HIGHLIGHT, current_item);
|
setCompletionRowColor(results, HIGHLIGHT, current_item);
|
||||||
|
|
||||||
if(command_mode)
|
if(command_mode)
|
||||||
{
|
temp = g_strconcat(":", rows[current_item].command, NULL);
|
||||||
char* cp = (current_parameter) ? g_strconcat(" ", current_parameter, NULL) : 0;
|
|
||||||
temp = g_strconcat(":", rows[current_item].command, cp, NULL);
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
|
||||||
temp = g_strconcat(":", previous_command, " ", rows[current_item].command, NULL);
|
temp = g_strconcat(":", previous_command, " ", rows[current_item].command, NULL);
|
||||||
}
|
|
||||||
|
|
||||||
gtk_entry_set_text(Zathura.UI.inputbar, temp);
|
gtk_entry_set_text(Zathura.UI.inputbar, temp);
|
||||||
gtk_editable_set_position(GTK_EDITABLE(Zathura.UI.inputbar), -1);
|
gtk_editable_set_position(GTK_EDITABLE(Zathura.UI.inputbar), -1);
|
||||||
|
|
Loading…
Reference in a new issue