diff options
| author | buliabyak <> | 2010-02-05 18:54:54 +0000 |
|---|---|---|
| committer | buliabyak <> | 2010-02-05 18:54:54 +0000 |
| commit | 7c4d8052b56bfb7c9e262114a4b36ef0b762c368 (patch) | |
| tree | c04a3f5af3129fa9759f5721d87549ac968f7196 /src/select-context.cpp | |
| parent | patch by Chris Morgan for bug 446842 (diff) | |
| download | inkscape-7c4d8052b56bfb7c9e262114a4b36ef0b762c368.tar.gz inkscape-7c4d8052b56bfb7c9e262114a4b36ef0b762c368.zip | |
make when_selected and when_nothing customizable strings, settable via selection describer constructor
(bzr r9055)
Diffstat (limited to 'src/select-context.cpp')
| -rw-r--r-- | src/select-context.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/select-context.cpp b/src/select-context.cpp index 606934ca6..74f54e9af 100644 --- a/src/select-context.cpp +++ b/src/select-context.cpp @@ -172,7 +172,12 @@ sp_select_context_setup(SPEventContext *ec) SPDesktop *desktop = ec->desktop; - select_context->_describer = new Inkscape::SelectionDescriber(desktop->selection, desktop->messageStack()); + select_context->_describer = new Inkscape::SelectionDescriber( + desktop->selection, + desktop->messageStack(), + _("Click selection to toggle scale/rotation handles"), + _("No objects selected. Click, Shift+click, or drag around objects to select.") + ); select_context->_seltrans = new Inkscape::SelTrans(desktop); @@ -362,7 +367,7 @@ sp_select_context_item_handler(SPEventContext *event_context, SPItem *item, GdkE case GDK_ENTER_NOTIFY: { if (!desktop->isWaitingCursor()) { - GdkCursor *cursor = gdk_cursor_new(GDK_FLEUR); + GdkCursor *cursor = gdk_cursor_new(GDK_CENTER_PTR); gdk_window_set_cursor(GTK_WIDGET(sp_desktop_canvas(desktop))->window, cursor); gdk_cursor_destroy(cursor); } @@ -723,7 +728,7 @@ sp_select_context_root_handler(SPEventContext *event_context, GdkEvent *event) _("<b>Alt</b>: click to select under; drag to move selected or select by touch")); // if Alt and nonempty selection, show moving cursor ("move selected"): if (alt && !selection->isEmpty() && !desktop->isWaitingCursor()) { - GdkCursor *cursor = gdk_cursor_new(GDK_FLEUR); + GdkCursor *cursor = gdk_cursor_new(GDK_CENTER_PTR); gdk_window_set_cursor(GTK_WIDGET(sp_desktop_canvas(desktop))->window, cursor); gdk_cursor_destroy(cursor); } |
