Code

Translations. French translation minor update.
[inkscape.git] / src / selection-describer.h
index 91948c2fd325f0bb0bf7da2694ab6a7b39bdd105..cca6a3033937e4d980b9211b8c365a0b4c70cc82 100644 (file)
@@ -23,15 +23,20 @@ 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:
     void _updateMessageFromSelection(Inkscape::Selection *selection);
+    void _selectionModified(Inkscape::Selection *selection, guint /*flags*/);
 
     sigc::connection *_selection_changed_connection;
+    sigc::connection *_selection_modified_connection;
 
     MessageContext _context;
+
+    char *_when_selected;
+    char *_when_nothing;
 };
 
 }
@@ -46,4 +51,4 @@ private:
   fill-column:99
   End:
 */
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :