summaryrefslogtreecommitdiffstats
path: root/src/rect-context.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2006-10-01 17:26:35 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2006-10-01 17:26:35 +0000
commit7ee9333db81b143e5b4fd02950088963998545eb (patch)
tree7ed1172b02091f5a6f64c995aeb1739caac0de96 /src/rect-context.cpp
parentFixes path memory issues with the save dialog. (Closes: #1089414) (diff)
downloadinkscape-7ee9333db81b143e5b4fd02950088963998545eb.tar.gz
inkscape-7ee9333db81b143e5b4fd02950088963998545eb.zip
Other tools now also retain there specific statusbar text when pressing alt/shift/ctrl.
(bzr r1748)
Diffstat (limited to 'src/rect-context.cpp')
-rw-r--r--src/rect-context.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/rect-context.cpp b/src/rect-context.cpp
index f14946463..81161e7ea 100644
--- a/src/rect-context.cpp
+++ b/src/rect-context.cpp
@@ -7,6 +7,7 @@
* Lauris Kaplinski <lauris@kaplinski.com>
* bulia byak <buliabyak@users.sf.net>
*
+ * Copyright (C) 2006 Johan Engelen <johan@shouraizou.nl>
* Copyright (C) 2000-2005 authors
* Copyright (C) 2000-2001 Ximian, Inc.
*
@@ -373,10 +374,12 @@ static gint sp_rect_context_root_handler(SPEventContext *event_context, GdkEvent
case GDK_Shift_R:
case GDK_Meta_L: // Meta is when you press Shift+Alt (at least on my machine)
case GDK_Meta_R:
- sp_event_show_modifier_tip (event_context->defaultMessageContext(), event,
- _("<b>Ctrl</b>: make square or integer-ratio rect, lock a rounded corner circular"),
- _("<b>Shift</b>: draw around the starting point"),
- NULL);
+ if (!dragging){
+ sp_event_show_modifier_tip (event_context->defaultMessageContext(), event,
+ _("<b>Ctrl</b>: make square or integer-ratio rect, lock a rounded corner circular"),
+ _("<b>Shift</b>: draw around the starting point"),
+ NULL);
+ }
break;
case GDK_Up:
case GDK_Down: