summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/inkscape-preferences.cpp
diff options
context:
space:
mode:
authorAlexander Valavanis <valavanisalex@gmail.com>2018-12-29 17:01:57 +0000
committerAlexander Valavanis <valavanisalex@gmail.com>2018-12-29 17:01:57 +0000
commitd2f8c720828a59af7a39aef7a026e6f0a0ddc197 (patch)
tree7aad1fd194f672a82501c51b07142738946d2998 /src/ui/dialog/inkscape-preferences.cpp
parentC++ify button widget (diff)
downloadinkscape-d2f8c720828a59af7a39aef7a026e6f0a0ddc197.tar.gz
inkscape-d2f8c720828a59af7a39aef7a026e6f0a0ddc197.zip
Rm deprecated budget widgets
Diffstat (limited to '')
-rw-r--r--src/ui/dialog/inkscape-preferences.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp
index c4ea5d9b1..2a6cb9ebe 100644
--- a/src/ui/dialog/inkscape-preferences.cpp
+++ b/src/ui/dialog/inkscape-preferences.cpp
@@ -1944,14 +1944,20 @@ void InkscapePreferences::initKeyboardShortcuts(Gtk::TreeModel::iterator iter_ui
box_buttons->set_hexpand();
_page_keyshortcuts.attach(*box_buttons, 0, row, 3, 1);
- UI::Widget::Button *kb_reset = Gtk::manage(new UI::Widget::Button(_("Reset"), _("Remove all your customized keyboard shortcuts, and revert to the shortcuts in the shortcut file listed above")));
+ auto kb_reset = Gtk::manage(new Gtk::Button(_("Reset")));
+ kb_reset->set_use_underline();
+ kb_reset->set_tooltip_text(_("Remove all your customized keyboard shortcuts, and revert to the shortcuts in the shortcut file listed above"));
box_buttons->pack_start(*kb_reset, true, true, 6);
box_buttons->set_child_secondary(*kb_reset);
- UI::Widget::Button *kb_import = Gtk::manage(new UI::Widget::Button(_("Import ..."), _("Import custom keyboard shortcuts from a file")));
+ auto kb_import = Gtk::manage(new Gtk::Button(_("Import ...")));
+ kb_import->set_use_underline();
+ kb_import->set_tooltip_text(_("Import custom keyboard shortcuts from a file"));
box_buttons->pack_end(*kb_import, true, true, 6);
- UI::Widget::Button *kb_export = Gtk::manage(new UI::Widget::Button(_("Export ..."), _("Export custom keyboard shortcuts to a file")));
+ auto kb_export = Gtk::manage(new Gtk::Button(_("Export ...")));
+ kb_export->set_use_underline();
+ kb_export->set_tooltip_text(_("Export custom keyboard shortcuts to a file"));
box_buttons->pack_end(*kb_export, true, true, 6);
kb_reset->signal_clicked().connect( sigc::mem_fun(*this, &InkscapePreferences::onKBReset) );