Code

Prevent context menu and keyboard shortcuts from interrupting grabs
[inkscape.git] / src / selection-describer.h
index 0c4c9b9c4c10be4c709a79bb331fcb68ac9bc93d..4b0e3d8c716df6542f9f2abc6222a93d810e37b9 100644 (file)
@@ -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;
 };
 
 }