summaryrefslogtreecommitdiff
path: root/src/trg-main-window.h
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-03-10 14:57:38 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-03-10 14:57:38 +0000
commita1433a45c470950b3f03541257ef54c4bb48d449 (patch)
tree9e285c6bf2d0508f10b0ada60761f1bee2eb98f8 /src/trg-main-window.h
parentce795861eeb1893e40e4476fea71986450658948 (diff)
Korean support, thanks Youn! Also filter by tracker. Adding/removing trackers from the state selector every update seems like a waste of cycles, so only refresh when a torrent is added.
Diffstat (limited to 'src/trg-main-window.h')
-rw-r--r--src/trg-main-window.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/trg-main-window.h b/src/trg-main-window.h
index fd413c6..cdba421 100644
--- a/src/trg-main-window.h
+++ b/src/trg-main-window.h
@@ -57,6 +57,9 @@ typedef struct {
#define TORRENT_GET_MODE_INTERACTION 1
#define TORRENT_GET_MODE_UPDATE 2
+#define TORRENT_COMPLETE_NOTIFY_TMOUT 8000
+#define TORRENT_ADD_NOTIFY_TMOUT 3000
+
GType trg_main_window_get_type(void);
gboolean trg_add_from_filename(TrgMainWindow * win, gchar * fileName);
void on_session_set(JsonObject * response, int status, gpointer data);