summaryrefslogtreecommitdiffstats
path: root/src/extension/prefdialog.cpp
diff options
context:
space:
mode:
authorJabiertxof <jtx@jtx>2016-12-28 08:45:05 +0000
committerJabiertxof <jtx@jtx>2016-12-28 08:45:05 +0000
commit0b5fe85427b24c57020b852d453af5f79f5220da (patch)
tree0b566defc5e9c0ff3efe3b1c272e2597b8b69d91 /src/extension/prefdialog.cpp
parentFirst attemp working (diff)
parentMerge all upstream changes to GimpRuler (diff)
downloadinkscape-0b5fe85427b24c57020b852d453af5f79f5220da.tar.gz
inkscape-0b5fe85427b24c57020b852d453af5f79f5220da.zip
add missing files
(bzr r15356.1.2)
Diffstat (limited to 'src/extension/prefdialog.cpp')
-rw-r--r--src/extension/prefdialog.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/extension/prefdialog.cpp b/src/extension/prefdialog.cpp
index 1ca590e85..fcc88853d 100644
--- a/src/extension/prefdialog.cpp
+++ b/src/extension/prefdialog.cpp
@@ -8,7 +8,6 @@
*/
#include "prefdialog.h"
-#include <gtkmm/stock.h>
#include <gtkmm/checkbutton.h>
#include <gtkmm/separator.h>
#include <glibmm/i18n.h>
@@ -71,11 +70,8 @@ PrefDialog::PrefDialog (Glib::ustring name, gchar const * help, Gtk::Widget * co
if (_help == NULL)
help_button->set_sensitive(false);
*/
- _button_cancel = add_button(_effect == NULL ? Gtk::Stock::CANCEL : Gtk::Stock::CLOSE, Gtk::RESPONSE_CANCEL);
- _button_cancel->set_use_stock(true);
-
- _button_ok = add_button(_effect == NULL ? Gtk::Stock::OK : Gtk::Stock::APPLY, Gtk::RESPONSE_OK);
- _button_ok->set_use_stock(true);
+ _button_cancel = add_button(_effect == NULL ? _("_Cancel") : _("_Close"), Gtk::RESPONSE_CANCEL);
+ _button_ok = add_button(_effect == NULL ? _("_OK") : _("_Apply"), Gtk::RESPONSE_OK);
set_default_response(Gtk::RESPONSE_OK);
_button_ok->grab_focus();