From 870deb6a80d7951c3c00cce8a331cfa80be4f2f9 Mon Sep 17 00:00:00 2001 From: Moini Date: Sun, 21 Jul 2019 00:40:02 +0200 Subject: Improve title text for LPE button that pastes a path from the clipboard to use with the current LPE --- src/live_effects/parameter/path.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/live_effects/parameter/path.cpp') diff --git a/src/live_effects/parameter/path.cpp b/src/live_effects/parameter/path.cpp index b8d2f4476..532d7485a 100644 --- a/src/live_effects/parameter/path.cpp +++ b/src/live_effects/parameter/path.cpp @@ -253,7 +253,7 @@ PathParam::param_newWidget() pButton->show(); pButton->signal_clicked().connect(sigc::mem_fun(*this, &PathParam::on_link_button_click)); static_cast(_widget)->pack_start(*pButton, true, true); - pButton->set_tooltip_text(_("Link to path on clipboard")); + pButton->set_tooltip_text(_("Insert from clipboard")); } static_cast(_widget)->show_all_children(); -- cgit v1.2.3 From 79234b1d514fa16664557076a51e8e69ced3d15c Mon Sep 17 00:00:00 2001 From: Moini Date: Sun, 21 Jul 2019 01:21:44 +0200 Subject: Remove some trailing whitespace. --- src/live_effects/parameter/path.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/live_effects/parameter/path.cpp') diff --git a/src/live_effects/parameter/path.cpp b/src/live_effects/parameter/path.cpp index 532d7485a..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(_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(_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()); @@ -255,7 +255,7 @@ PathParam::param_newWidget() static_cast(_widget)->pack_start(*pButton, true, true); pButton->set_tooltip_text(_("Insert from clipboard")); } - + static_cast(_widget)->show_all_children(); return dynamic_cast (_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(); } -- cgit v1.2.3