Skip to content

Commit

Permalink
Merge pull request #1332 from techee/vimode_warning_fix
Browse files Browse the repository at this point in the history
vimode: eliminate a warning
  • Loading branch information
techee committed Apr 23, 2024
2 parents 8c56a7c + 27f35dd commit e2f7848
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vimode/src/backends/backend-viw.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ static gboolean on_save(gboolean force)
{
GtkWidget *dialog = gtk_file_chooser_dialog_new ("Save File", GTK_WINDOW(window),
GTK_FILE_CHOOSER_ACTION_SAVE,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT, NULL);
"_Cancel", GTK_RESPONSE_CANCEL,
"_Save", GTK_RESPONSE_ACCEPT, NULL);
gtk_file_chooser_set_do_overwrite_confirmation(GTK_FILE_CHOOSER(dialog), TRUE);
if (gtk_dialog_run(GTK_DIALOG(dialog)) == GTK_RESPONSE_ACCEPT)
fname = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (dialog));
Expand Down

0 comments on commit e2f7848

Please sign in to comment.