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/path.cpp | |
| 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/path.cpp')
| -rw-r--r-- | src/live_effects/parameter/path.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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(); } |
