summaryrefslogtreecommitdiffstats
path: root/src/selection-describer.h
diff options
context:
space:
mode:
authorbuliabyak <>2010-02-05 18:54:54 +0000
committerbuliabyak <>2010-02-05 18:54:54 +0000
commit7c4d8052b56bfb7c9e262114a4b36ef0b762c368 (patch)
treec04a3f5af3129fa9759f5721d87549ac968f7196 /src/selection-describer.h
parentpatch by Chris Morgan for bug 446842 (diff)
downloadinkscape-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/selection-describer.h')
-rw-r--r--src/selection-describer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/selection-describer.h b/src/selection-describer.h
index 0c4c9b9c4..4b0e3d8c7 100644
--- a/src/selection-describer.h
+++ b/src/selection-describer.h
@@ -23,7 +23,7 @@ class MessageStack;
class SelectionDescriber : public sigc::trackable {
public:
- SelectionDescriber(Inkscape::Selection *selection, MessageStack *stack);
+ SelectionDescriber(Inkscape::Selection *selection, MessageStack *stack, char *when_selected, char *when_nothing);
~SelectionDescriber();
private:
@@ -34,6 +34,9 @@ private:
sigc::connection *_selection_modified_connection;
MessageContext _context;
+
+ char *_when_selected;
+ char *_when_nothing;
};
}