diff options
| author | Jabiertxo Arraiza Cenoz <jtx@jtx.markerlab.es> | 2018-07-25 07:27:48 +0000 |
|---|---|---|
| committer | Jabiertxo Arraiza Cenoz <jtx@jtx.markerlab.es> | 2018-07-25 07:27:48 +0000 |
| commit | c1f9f070258f20e6d2e22d5f0d15d2e85360e912 (patch) | |
| tree | 21e0319daf345a99e060366005eb56eb35c585cf /src | |
| parent | Improve the 3DBOX icon (diff) | |
| download | inkscape-c1f9f070258f20e6d2e22d5f0d15d2e85360e912.tar.gz inkscape-c1f9f070258f20e6d2e22d5f0d15d2e85360e912.zip | |
Improve string for open button in preferences
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/dialog/inkscape-preferences.cpp | 4 | ||||
| -rw-r--r-- | src/ui/widget/preferences-widget.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp index 2d7b6c93d..6ada3384e 100644 --- a/src/ui/dialog/inkscape-preferences.cpp +++ b/src/ui/dialog/inkscape-preferences.cpp @@ -629,8 +629,8 @@ void InkscapePreferences::symbolicThemeCheck() #else path += "/scalable/actions"; #endif - Glib::ustring ret = Glib::build_filename(path, "3dbox_four_handles-symbolic.svg"); - if (Glib::file_test(ret, Glib::FILE_TEST_EXISTS)) { + std::vector<Glib::ustring> symbolic = get_filenames(path, {"-symbolic.svg"}, {}); + if (symbolic.size() > 0) { symbolic = true; } } diff --git a/src/ui/widget/preferences-widget.cpp b/src/ui/widget/preferences-widget.cpp index 171a20418..bdd7c0de9 100644 --- a/src/ui/widget/preferences-widget.cpp +++ b/src/ui/widget/preferences-widget.cpp @@ -888,7 +888,7 @@ void PrefOpenFolder::init(Glib::ustring const &entry_string, Glib::ustring const Gtk::Image *im = sp_get_icon_image("document-open", Gtk::ICON_SIZE_BUTTON); pixlabel->pack_start(*im); Gtk::Label *l = new Gtk::Label(); - l->set_markup_with_mnemonic(_("_Browse...")); + l->set_markup_with_mnemonic(_("_Open")); pixlabel->pack_start(*l); relatedButton->add(*pixlabel); relatedButton->set_tooltip_text(tooltip); |
