From 16141065107c50967527cc1bc7c5fb4b2fc28d5d Mon Sep 17 00:00:00 2001 From: Alexander Shaduri Date: Mon, 24 Jan 2022 12:59:37 +0400 Subject: [PATCH] Ported from Gtk::Stock to XDG icon names. --- src/applib/gui_utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/applib/gui_utils.cpp b/src/applib/gui_utils.cpp index 0eee330..cdedefe 100644 --- a/src/applib/gui_utils.cpp +++ b/src/applib/gui_utils.cpp @@ -142,9 +142,9 @@ bool gui_show_text_entry_dialog(const std::string& title, const std::string& mes dialog.get_vbox()->pack_start(vbox, false, false, 0); - dialog.add_button(Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL); + dialog.add_button("gtk-cancel", Gtk::RESPONSE_CANCEL); - Gtk::Button ok_button(Gtk::Stock::OK); + Gtk::Button ok_button("gtk-ok"); ok_button.set_can_default(true); ok_button.show_all(); dialog.add_action_widget(ok_button, Gtk::RESPONSE_OK);