diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2017-10-28 01:01:52 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2017-10-28 01:01:52 +0000 |
| commit | c9e7774bafe671e2b5c09c70f9f83a6eec8cb1a7 (patch) | |
| tree | d540762310fd71bf81347922e031daf246939901 | |
| parent | Merge branch 'master' into SymbolsSearch (diff) | |
| download | inkscape-c9e7774bafe671e2b5c09c70f9f83a6eec8cb1a7.tar.gz inkscape-c9e7774bafe671e2b5c09c70f9f83a6eec8cb1a7.zip | |
Remove CMake blank line
| -rw-r--r-- | CMakeLists.txt | 1 | ||||
| -rw-r--r-- | src/ui/dialog/symbols.cpp | 7 |
2 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 65c5fa83f..4732766c1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,7 +13,6 @@ include(CMakeScripts/ConfigPaths.cmake) # ----------------------------------------------------------------------------- # CMake Configuration # ----------------------------------------------------------------------------- - list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/CMakeScripts/Modules") # avoid having empty buildtype 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); } |
