summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2017-10-28 01:01:52 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2017-10-28 01:01:52 +0000
commitc9e7774bafe671e2b5c09c70f9f83a6eec8cb1a7 (patch)
treed540762310fd71bf81347922e031daf246939901 /src
parentMerge branch 'master' into SymbolsSearch (diff)
downloadinkscape-c9e7774bafe671e2b5c09c70f9f83a6eec8cb1a7.tar.gz
inkscape-c9e7774bafe671e2b5c09c70f9f83a6eec8cb1a7.zip
Remove CMake blank line
Diffstat (limited to 'src')
-rw-r--r--src/ui/dialog/symbols.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ui/dialog/symbols.cpp b/src/ui/dialog/symbols.cpp
index 9b4d2ae12..e1b013c10 100644
--- a/src/ui/dialog/symbols.cpp
+++ b/src/ui/dialog/symbols.cpp
@@ -220,7 +220,7 @@ SymbolsDialog::SymbolsDialog( gchar const* prefsPath ) :
add_symbol->set_tooltip_text(_("Add Symbol from the current document."));
add_symbol->set_relief( Gtk::RELIEF_NONE );
add_symbol->set_focus_on_click( false );
- add_symbol->signal_activate().connect(sigc::mem_fun(*this, &SymbolsDialog::insertSymbol));
+ add_symbol->signal_clicked().connect(sigc::mem_fun(*this, &SymbolsDialog::insertSymbol));
tools->pack_start(* add_symbol, Gtk::PACK_SHRINK);
auto remove_symbolImage = Gtk::manage(new Gtk::Image());
@@ -421,14 +421,15 @@ void SymbolsDialog::rebuild() {
}
void SymbolsDialog::insertSymbol() {
+ std::cout << "fgasgggggggggggggg" << std::endl;
Inkscape::Verb *verb = Inkscape::Verb::get( SP_VERB_EDIT_SYMBOL );
- SPAction *action = verb->get_action(Inkscape::ActionContext( (Inkscape::UI::View::View *) this->current_desktop) );
+ SPAction *action = verb->get_action(Inkscape::ActionContext( (Inkscape::UI::View::View *) current_desktop) );
sp_action_perform (action, NULL);
}
void SymbolsDialog::revertSymbol() {
Inkscape::Verb *verb = Inkscape::Verb::get( SP_VERB_EDIT_UNSYMBOL );
- SPAction *action = verb->get_action(Inkscape::ActionContext( (Inkscape::UI::View::View *) this->current_desktop ) );
+ SPAction *action = verb->get_action(Inkscape::ActionContext( (Inkscape::UI::View::View *) current_desktop ) );
sp_action_perform (action, NULL);
}