Commit b2accb46 authored by Murray Cumming's avatar Murray Cumming

MainWindow: Replace (deprecated) stock button names.

parent 84c9b5f1
......@@ -708,8 +708,8 @@ bool MainWindow::confirm_quit_request()
_("Some files haven\342\200\231t been saved yet.\nQuit anyway?"),
false, Gtk::MESSAGE_WARNING, Gtk::BUTTONS_NONE, true);
dialog.add_button(Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
dialog.add_button(Gtk::Stock::QUIT, Gtk::RESPONSE_OK);
dialog.add_button(_("_Cancel"), Gtk::RESPONSE_CANCEL);
dialog.add_button(_("_Quit"), Gtk::RESPONSE_OK);
return (dialog.run() == Gtk::RESPONSE_OK);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment