diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-08-18 00:39:23 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-08-18 00:39:23 +0000 |
| commit | 20d3483a8de3268751045e61c6bc04a50506761c (patch) | |
| tree | 07f73a4c0ad64abb6eaa550c088b4ebe8fda9484 /src/widgets/toolbox.cpp | |
| parent | Use the visible curve (instead of original curve when a LPE is applied) for t... (diff) | |
| download | inkscape-20d3483a8de3268751045e61c6bc04a50506761c.tar.gz inkscape-20d3483a8de3268751045e61c6bc04a50506761c.zip | |
Many debugging messages
(bzr r6661)
Diffstat (limited to 'src/widgets/toolbox.cpp')
| -rw-r--r-- | src/widgets/toolbox.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp index 9731436f0..aaa5dfa86 100644 --- a/src/widgets/toolbox.cpp +++ b/src/widgets/toolbox.cpp @@ -4850,11 +4850,12 @@ void sp_lpetool_toolbox_sel_changed(Inkscape::Selection *selection, GObject *tbl) { using namespace Inkscape::LivePathEffect; - g_print ("sp_lpetool_toolbox_sel_changed()\n"); + g_print ("sp_lpetool_toolbox_sel_changed()"); { GtkAction* w = GTK_ACTION( g_object_get_data( tbl, "lpetool_test_action" ) ); SPItem *item = selection->singleItem(); if (item && SP_IS_LPE_ITEM(item)) { + g_print (" - item found\n"); SPLPEItem *lpeitem = SP_LPE_ITEM(item); Effect* lpe = sp_lpe_item_get_current_lpe(lpeitem); if (lpe && lpe->effectType() == ANGLE_BISECTOR) { @@ -4868,11 +4869,13 @@ sp_lpetool_toolbox_sel_changed(Inkscape::Selection *selection, GObject *tbl) gtk_action_set_sensitive(w, FALSE); } } else { + g_print (" - unsetting item\n"); g_object_set_data(tbl, "currentlpe", NULL); g_object_set_data(tbl, "currentlpeitem", NULL); gtk_action_set_sensitive(w, FALSE); } } + g_print ("\n"); } static void sp_lpetool_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainActions, GObject* holder) |
