diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2019-07-27 09:49:54 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marc@jeanmougin.fr> | 2019-07-27 09:49:54 +0000 |
| commit | 727140f98fd7b85a25b6b00d6016b18feff2aa34 (patch) | |
| tree | f647442455e3022294871bbd7098b859b7faa340 /src/live_effects/parameter | |
| parent | Distribute/Move considers selection order (diff) | |
| parent | Remove some trailing whitespace. (diff) | |
| download | inkscape-727140f98fd7b85a25b6b00d6016b18feff2aa34.tar.gz inkscape-727140f98fd7b85a25b6b00d6016b18feff2aa34.zip | |
Merge branch 'lpe-strings' of https://gitlab.com/Moini/inkscape
Diffstat (limited to 'src/live_effects/parameter')
| -rw-r--r-- | src/live_effects/parameter/originalpath.cpp | 2 | ||||
| -rw-r--r-- | src/live_effects/parameter/originalpatharray.cpp | 2 | ||||
| -rw-r--r-- | src/live_effects/parameter/path.cpp | 10 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/live_effects/parameter/originalpath.cpp b/src/live_effects/parameter/originalpath.cpp index dd292fee3..6fd63f99e 100644 --- a/src/live_effects/parameter/originalpath.cpp +++ b/src/live_effects/parameter/originalpath.cpp @@ -61,7 +61,7 @@ OriginalPathParam::param_newWidget() pButton->show(); pButton->signal_clicked().connect(sigc::mem_fun(*this, &OriginalPathParam::on_link_button_click)); static_cast<Gtk::HBox*>(_widget)->pack_start(*pButton, true, true); - pButton->set_tooltip_text(_("Link to path")); + pButton->set_tooltip_text(_("Insert from clipboard")); } { // Select original button diff --git a/src/live_effects/parameter/originalpatharray.cpp b/src/live_effects/parameter/originalpatharray.cpp index 8728a1f47..d3ecac134 100644 --- a/src/live_effects/parameter/originalpatharray.cpp +++ b/src/live_effects/parameter/originalpatharray.cpp @@ -184,7 +184,7 @@ Gtk::Widget* OriginalPathArrayParam::param_newWidget() pButton->show(); pButton->signal_clicked().connect(sigc::mem_fun(*this, &OriginalPathArrayParam::on_link_button_click)); hbox->pack_start(*pButton, Gtk::PACK_SHRINK); - pButton->set_tooltip_text(_("Link to path")); + pButton->set_tooltip_text(_("Insert from clipboard")); } { // Remove linked path diff --git a/src/live_effects/parameter/path.cpp b/src/live_effects/parameter/path.cpp index b8d2f4476..8eb01b502 100644 --- a/src/live_effects/parameter/path.cpp +++ b/src/live_effects/parameter/path.cpp @@ -220,7 +220,7 @@ PathParam::param_newWidget() static_cast<Gtk::HBox*>(_widget)->pack_start(*pButton, true, true); pButton->set_tooltip_text(_("Edit on-canvas")); } - + if (_copy_button) { pIcon = Gtk::manage(sp_get_icon_image(INKSCAPE_ICON("edit-copy"), Gtk::ICON_SIZE_BUTTON)); pButton = Gtk::manage(new Gtk::Button()); @@ -232,7 +232,7 @@ PathParam::param_newWidget() static_cast<Gtk::HBox*>(_widget)->pack_start(*pButton, true, true); pButton->set_tooltip_text(_("Copy path")); } - + if (_paste_button) { pIcon = Gtk::manage(sp_get_icon_image(INKSCAPE_ICON("edit-paste"), Gtk::ICON_SIZE_BUTTON)); pButton = Gtk::manage(new Gtk::Button()); @@ -253,9 +253,9 @@ PathParam::param_newWidget() pButton->show(); pButton->signal_clicked().connect(sigc::mem_fun(*this, &PathParam::on_link_button_click)); static_cast<Gtk::HBox*>(_widget)->pack_start(*pButton, true, true); - pButton->set_tooltip_text(_("Link to path on clipboard")); + pButton->set_tooltip_text(_("Insert from clipboard")); } - + static_cast<Gtk::HBox*>(_widget)->show_all_children(); return dynamic_cast<Gtk::Widget *> (_widget); @@ -515,7 +515,7 @@ PathParam::paste_param_path(const char *svgd) path_clipboard *= item->i2doc_affine().inverse(); svgd = sp_svg_write_path( path_clipboard ); } - + param_write_to_repr(svgd); signal_path_pasted.emit(); } |
