summaryrefslogtreecommitdiffstats
path: root/src/helper/action.h
diff options
context:
space:
mode:
authorgustav_b <gustav_b@users.sourceforge.net>2006-07-09 11:32:23 +0000
committergustav_b <gustav_b@users.sourceforge.net>2006-07-09 11:32:23 +0000
commitc631dfb4add034db59cb477843ca95bcc2986758 (patch)
treec616db1f1e294f6630734af1e237322259c09366 /src/helper/action.h
parent* packaging/osx-app.sh: Set the svn:executable property. (diff)
downloadinkscape-c631dfb4add034db59cb477843ca95bcc2986758.tar.gz
inkscape-c631dfb4add034db59cb477843ca95bcc2986758.zip
Added descriptions to Undo/Redo commands in the menus
(bzr r1379)
Diffstat (limited to 'src/helper/action.h')
-rw-r--r--src/helper/action.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/helper/action.h b/src/helper/action.h
index 1e3646439..4c99e31d8 100644
--- a/src/helper/action.h
+++ b/src/helper/action.h
@@ -25,6 +25,7 @@
#include "libnr/nr-object.h"
#include "forward.h"
+#include <glibmm/ustring.h>
//class Inkscape::UI::View::View;
namespace Inkscape {
@@ -41,6 +42,7 @@ struct SPActionEventVector {
void (* set_active)(SPAction *action, unsigned active, void *data); /**< Callback for activation change */
void (* set_sensitive)(SPAction *action, unsigned sensitive, void *data); /**< Callback for a change in sensitivity */
void (* set_shortcut)(SPAction *action, unsigned shortcut, void *data); /**< Callback for setting the shortcut for this function */
+ void (* set_name)(SPAction *action, Glib::ustring, void *data); /**< Callback for setting the name for this function */
};
/** All the data that is required to be an action. This
@@ -74,6 +76,7 @@ SPAction *sp_action_new(Inkscape::UI::View::View *view,
void sp_action_perform(SPAction *action, void *data);
void sp_action_set_active(SPAction *action, unsigned active);
void sp_action_set_sensitive(SPAction *action, unsigned sensitive);
+void sp_action_set_name (SPAction *action, Glib::ustring);
Inkscape::UI::View::View *sp_action_get_view(SPAction *action);
#endif