[regexxer/murrayc-update: 6/12] MainWindow: Replace (deprecated) stock button names.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [regexxer/murrayc-update: 6/12] MainWindow: Replace (deprecated) stock button names.
- Date: Tue, 1 Mar 2016 08:28:42 +0000 (UTC)
commit b2accb46df57e222a28e3b5ebc4b9474bd93866f
Author: Murray Cumming <murrayc murrayc com>
Date: Mon Feb 29 23:45:18 2016 +0100
MainWindow: Replace (deprecated) stock button names.
src/mainwindow.cc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/mainwindow.cc b/src/mainwindow.cc
index 4096c64..d38725c 100644
--- a/src/mainwindow.cc
+++ b/src/mainwindow.cc
@@ -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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]