diff options
| author | Joel Holdsworth <joel@airwebreathe.org.uk> | 2007-07-05 21:08:40 +0000 |
|---|---|---|
| committer | joelholdsworth <joelholdsworth@users.sourceforge.net> | 2007-07-05 21:08:40 +0000 |
| commit | ea81233d0495d5a1590a70a42ee60db83c5572d0 (patch) | |
| tree | 949135837e18c8073c811bfba388c92ed80a2f82 /src/dialogs | |
| parent | make subtree monitoring part of XML::Node's interface (diff) | |
| download | inkscape-ea81233d0495d5a1590a70a42ee60db83c5572d0.tar.gz inkscape-ea81233d0495d5a1590a70a42ee60db83c5572d0.zip | |
Fixed broken Shift+LeftClick to set stroke function
(bzr r3187)
Diffstat (limited to 'src/dialogs')
| -rw-r--r-- | src/dialogs/swatches.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dialogs/swatches.cpp b/src/dialogs/swatches.cpp index fafa460c4..0a04d0d47 100644 --- a/src/dialogs/swatches.cpp +++ b/src/dialogs/swatches.cpp @@ -224,7 +224,9 @@ static gboolean onButtonPressed (GtkWidget *widget, GdkEventButton *event, gpoin { if (event->button == 1) { - item->buttonClicked(false); + if(event->state & GDK_SHIFT_MASK) + item->buttonClicked(true); /* the button was pressed with shift held down. set the stroke */ + else item->buttonClicked(false); return TRUE; /* we handled this */ } else if (event->button == 3) |
