Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
* Monsoon/MainWindow.cs:
Browse files Browse the repository at this point in the history
* Monsoon/TorrentTreeView.cs: Update the treeview correctly with the
  new API

svn path=/trunk/monsoon/; revision=136664
  • Loading branch information
alanmcgovern committed Jun 22, 2009
1 parent 95ec9ab commit 132305b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
6 changes: 6 additions & 0 deletions Monsoon/ChangeLog
@@ -1,3 +1,9 @@
2009-06-23 Alan McGovern <amcgovern@novell.com>

* MainWindow.cs:
* TorrentTreeView.cs: Update the treeview correctly with the
new API

2009-06-23 Alan McGovern <amcgovern@novell.com>

* Model/Download.cs:
Expand Down
6 changes: 1 addition & 5 deletions Monsoon/MainWindow.cs
Expand Up @@ -1015,11 +1015,7 @@ private bool updateView ()
TreeIter iter;

// Update TreeView
if (torrentTreeView.Model != null && torrentTreeView.Model.GetIterFirst (out iter)) {
do {
torrentTreeView.Model.EmitRowChanged (torrentTreeView.Model.GetPath (iter), iter);
} while (torrentTreeView.Model.IterNext (ref iter));
}
torrentTreeView.UpdateAll ();

// Update General Page
updateGeneralPage ();
Expand Down
2 changes: 1 addition & 1 deletion Monsoon/TorrentTreeView.cs
Expand Up @@ -337,7 +337,7 @@ private void buildColumns()
}
}

void UpdateAll ()
public void UpdateAll ()
{
TreeIter iter;
if (Torrents.GetIterFirst (out iter)) {
Expand Down

0 comments on commit 132305b

Please sign in to comment.