summaryrefslogtreecommitdiff
path: root/src/fr-command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fr-command.c')
-rw-r--r--src/fr-command.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/fr-command.c b/src/fr-command.c
index 9077d18..dc372b0 100644
--- a/src/fr-command.c
+++ b/src/fr-command.c
@@ -20,6 +20,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#include <config.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
@@ -79,6 +80,13 @@ const char *action_names[] = { "NONE",
"CREATING_ARCHIVE",
"SAVING_REMOTE_ARCHIVE" };
+#if MATE_ENABLE_DEBUG
+const char * get_action_name (FrAction action)
+{
+ return action_names[action];
+}
+#endif
+
GType
fr_command_get_type ()
{