diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2012-01-03 00:07:54 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2012-01-03 00:07:54 +0000 |
| commit | c0ae0bee37a04c6e79dbe0de00f173c80917ffbe (patch) | |
| tree | 175bfaf44d18be4d17ebd3803cb0ec7314c2e37e /src/live_effects/parameter/path.cpp | |
| parent | add buttons for node adding at extrema (diff) | |
| download | inkscape-c0ae0bee37a04c6e79dbe0de00f173c80917ffbe.tar.gz inkscape-c0ae0bee37a04c6e79dbe0de00f173c80917ffbe.zip | |
Cleanup GSEAL issues and deprecated GtkTooltips
(bzr r10826)
Diffstat (limited to 'src/live_effects/parameter/path.cpp')
| -rw-r--r-- | src/live_effects/parameter/path.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/live_effects/parameter/path.cpp b/src/live_effects/parameter/path.cpp index 32da0a426..8188ea19a 100644 --- a/src/live_effects/parameter/path.cpp +++ b/src/live_effects/parameter/path.cpp @@ -140,13 +140,13 @@ PathParam::param_getSVGValue() const } Gtk::Widget * -PathParam::param_newWidget(Gtk::Tooltips * tooltips) +PathParam::param_newWidget() { Gtk::HBox * _widget = Gtk::manage(new Gtk::HBox()); Gtk::Label* pLabel = Gtk::manage(new Gtk::Label(param_label)); static_cast<Gtk::HBox*>(_widget)->pack_start(*pLabel, true, true); - tooltips->set_tip(*pLabel, param_tooltip); + pLabel->set_tooltip_text(param_tooltip); Gtk::Widget* pIcon = Gtk::manage( sp_icon_get_icon( "tool-node-editor", Inkscape::ICON_SIZE_BUTTON) ); Gtk::Button * pButton = Gtk::manage(new Gtk::Button()); @@ -156,7 +156,7 @@ PathParam::param_newWidget(Gtk::Tooltips * tooltips) pButton->show(); pButton->signal_clicked().connect(sigc::mem_fun(*this, &PathParam::on_edit_button_click)); static_cast<Gtk::HBox*>(_widget)->pack_start(*pButton, true, true); - tooltips->set_tip(*pButton, _("Edit on-canvas")); + pButton->set_tooltip_text(_("Edit on-canvas")); pIcon = Gtk::manage( sp_icon_get_icon( GTK_STOCK_COPY, Inkscape::ICON_SIZE_BUTTON) ); pButton = Gtk::manage(new Gtk::Button()); @@ -166,7 +166,7 @@ PathParam::param_newWidget(Gtk::Tooltips * tooltips) pButton->show(); pButton->signal_clicked().connect(sigc::mem_fun(*this, &PathParam::on_copy_button_click)); static_cast<Gtk::HBox*>(_widget)->pack_start(*pButton, true, true); - tooltips->set_tip(*pButton, _("Copy path")); + pButton->set_tooltip_text(_("Copy path")); pIcon = Gtk::manage( sp_icon_get_icon( GTK_STOCK_PASTE, Inkscape::ICON_SIZE_BUTTON) ); pButton = Gtk::manage(new Gtk::Button()); @@ -176,7 +176,7 @@ PathParam::param_newWidget(Gtk::Tooltips * tooltips) pButton->show(); pButton->signal_clicked().connect(sigc::mem_fun(*this, &PathParam::on_paste_button_click)); static_cast<Gtk::HBox*>(_widget)->pack_start(*pButton, true, true); - tooltips->set_tip(*pButton, _("Paste path")); + pButton->set_tooltip_text(_("Paste path")); pIcon = Gtk::manage( sp_icon_get_icon( "edit-clone", Inkscape::ICON_SIZE_BUTTON) ); pButton = Gtk::manage(new Gtk::Button()); @@ -186,7 +186,7 @@ PathParam::param_newWidget(Gtk::Tooltips * tooltips) 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); - tooltips->set_tip(*pButton, _("Link to path")); + pButton->set_tooltip_text(_("Link to path")); static_cast<Gtk::HBox*>(_widget)->show_all_children(); |
