summaryrefslogtreecommitdiff
path: root/src/trg-torrent-tree-view.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-04-08 14:24:25 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-04-08 14:24:25 +0000
commit070688006ac7cea1639f38c0bb270c191f7dc38f (patch)
tree258fbf88a6f28a86bef83553e2430e950d972793 /src/trg-torrent-tree-view.c
parentf74c398577f66488cf5c420f5df318ab801117cc (diff)
a torrent add dialog based off Transmission GTK (different bencode+action implementation) which allows you to set file priorities, torrent priority, directory in advance. probably needs a little more work.
Diffstat (limited to 'src/trg-torrent-tree-view.c')
-rw-r--r--src/trg-torrent-tree-view.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/trg-torrent-tree-view.c b/src/trg-torrent-tree-view.c
index 7571adb..f6a99c6 100644
--- a/src/trg-torrent-tree-view.c
+++ b/src/trg-torrent-tree-view.c
@@ -61,6 +61,9 @@ static void trg_torrent_tree_view_init(TrgTorrentTreeView * tv)
TORRENT_COLUMN_DOWNLOADED, -1);
trg_tree_view_add_ratio_column(TRG_TREE_VIEW(tv), _("Ratio"),
TORRENT_COLUMN_RATIO, -1);
+ gtk_tree_view_set_search_column(GTK_TREE_VIEW(tv),
+ TORRENT_COLUMN_NAME);
+
}
gint get_first_selected(trg_client * client, TrgTorrentTreeView * view,
@@ -86,6 +89,8 @@ gint get_first_selected(trg_client * client, TrgTorrentTreeView * view,
TORRENT_COLUMN_UPDATESERIAL, &updateSerial,
-1);
+ /* This is about to be removed and won't have valid JSON pointed
+ * to by the model. */
if (updateSerial < client->updateSerial)
id = -1;
}