[gnote] Replace Stock items with simple labels in Note



commit 659f9b593ea8ef4ba339432389b2cb7870186ce9
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Mon May 10 23:00:14 2021 +0300

    Replace Stock items with simple labels in Note

 src/note.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/note.cpp b/src/note.cpp
index 5971b03d..b014af49 100644
--- a/src/note.cpp
+++ b/src/note.cpp
@@ -1,7 +1,7 @@
  /*
  * gnote
  *
- * Copyright (C) 2010-2017,2019-2020 Aurimas Cernius
+ * Copyright (C) 2010-2017,2019-2021 Aurimas Cernius
  * Copyright (C) 2009 Hubert Figuiere
  *
  * This program is free software: you can redistribute it and/or modify
@@ -68,13 +68,13 @@ namespace gnote {
 
       Gtk::Button *button;
 
-      button = manage(new Gtk::Button(Gtk::Stock::CANCEL));
+      button = manage(new Gtk::Button(_("_Cancel"), true));
       button->property_can_default().set_value(true);
       button->show ();
       dialog.add_action_widget(*button, Gtk::RESPONSE_CANCEL);
       dialog.set_default_response(Gtk::RESPONSE_CANCEL);
 
-      button = manage(new Gtk::Button (Gtk::Stock::DELETE));
+      button = manage(new Gtk::Button(_("_Delete"), true));
       button->property_can_default().set_value(true);
       button->show ();
       dialog.add_action_widget(*button, 666);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]