Make sure that text clippings dragged from DeskCalc will be named "DeskCalc
clipping" instead of the default "Untitled clipping". Fixes last remaining issue of #2749. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28923 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
bc7dbfd71d
commit
4e034d2ab3
@ -103,6 +103,15 @@ ExpressionTextView::MouseDown(BPoint where)
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
ExpressionTextView::GetDragParameters(BMessage* dragMessage,
|
||||
BBitmap** bitmap, BPoint* point, BHandler** handler)
|
||||
{
|
||||
InputTextView::GetDragParameters(dragMessage, bitmap, point, handler);
|
||||
dragMessage->AddString("be:clip_name", "DeskCalc clipping");
|
||||
}
|
||||
|
||||
|
||||
// #pragma mark -
|
||||
|
||||
|
||||
|
@ -28,6 +28,11 @@ class ExpressionTextView : public InputTextView {
|
||||
|
||||
virtual void MouseDown(BPoint where);
|
||||
|
||||
// TextView
|
||||
virtual void GetDragParameters(BMessage* dragMessage,
|
||||
BBitmap** bitmap, BPoint* point,
|
||||
BHandler** handler);
|
||||
|
||||
// InputTextView
|
||||
virtual void RevertChanges();
|
||||
virtual void ApplyChanges();
|
||||
|
Loading…
Reference in New Issue
Block a user