diff options
author | 2012-01-02 10:51:39 +0000 | |
---|---|---|
committer | 2012-01-02 10:51:39 +0000 | |
commit | 8259ceddd02f76a337bb7037cdf5b86872ad09c6 (patch) | |
tree | 03c709cc29d929e62286f6ab0f3586b9e2018219 /src/trg-main-window.c | |
parent | 94e9936deac2818db70d77a70d809fe16234e05e (diff) |
the refresh button on the state selector would cause counts to be doubled, because it expects the serial to have increased. just increment the serial.
Diffstat (limited to 'src/trg-main-window.c')
-rw-r--r-- | src/trg-main-window.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/trg-main-window.c b/src/trg-main-window.c index 491d156..ee49419 100644 --- a/src/trg-main-window.c +++ b/src/trg-main-window.c @@ -1005,7 +1005,7 @@ TRANSMISSION_MIN_SUPPORTED, version); trg_main_window_conn_changed(win, TRUE); trg_trackers_tree_view_new_connection(priv->trackersTreeView, client); - dispatch_async(client, torrent_get(-1), on_torrent_get_first, win); + dispatch_async(client, torrent_get(TORRENT_GET_TAG_MODE_FULL), on_torrent_get_first, win); } trg_response_free(response); @@ -1397,9 +1397,9 @@ gboolean on_generic_interactive_action(gpointer data) else if (trg_prefs_get_bool (prefs, TRG_PREFS_KEY_UPDATE_ACTIVE_ONLY, TRG_PREFS_CONNECTION)) - id = -2; + id = TORRENT_GET_TAG_MODE_UPDATE; else - id = -1; + id = TORRENT_GET_TAG_MODE_FULL; dispatch_async(tc, torrent_get(id), on_torrent_get_interactive, win); |