summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-05-13 20:46:33 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-05-13 20:46:33 +0000
commitbde5ae0e400dc61f2eb64e7ffb9707b9c69b9113 (patch)
treefe4f89db1d0376496b8048e4bc17a2e74545e4b5 /src/util.c
parent665e231ceb850f86ceedf80cdb6d13cca52671bf (diff)
issue 41 - remember sort column and type. also move all these stores from delete-event to destroy function so it works when the quit buttons are used, as well as from window manager.
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/util.c b/src/util.c
index 9614855..abb7e26 100644
--- a/src/util.c
+++ b/src/util.c
@@ -34,7 +34,6 @@
#include "util.h"
#include "dispatch.h"
-#include "trg-client.h"
void add_file_id_to_array(JsonObject * args, gchar * key, gint index)
{
@@ -182,7 +181,7 @@ char *tr_strratio(char *buf, size_t buflen, double ratio,
const char *infinity)
{
if ((int) ratio == TR_RATIO_NA)
- tr_strlcpy(buf, "None", buflen);
+ tr_strlcpy(buf, _("None"), buflen);
else if ((int) ratio == TR_RATIO_INF)
tr_strlcpy(buf, infinity, buflen);
else if (ratio < 10.0)