Skip to content

Commit

Permalink
Added basic image viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
Henk Westhuis authored and Henk Westhuis committed Feb 21, 2009
1 parent 0b5a66d commit fb126c2
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 11 deletions.
32 changes: 21 additions & 11 deletions GitUI/RevisionGrid.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions GitUI/RevisionGrid.cs
Expand Up @@ -23,6 +23,8 @@ public RevisionGrid()
//RefreshRevisions();
Revisions.CellPainting += new DataGridViewCellPaintingEventHandler(Revisions_CellPainting);
Revisions.SizeChanged += new EventHandler(Revisions_SizeChanged);

showRevisionGraphToolStripMenuItem.Checked = Settings.ShowRevisionGraph;

SetShowBranches();
Filter = "";
Expand Down Expand Up @@ -750,5 +752,12 @@ private void Clone_Click(object sender, EventArgs e)
{
new FormClone().ShowDialog();
}

private void showRevisionGraphToolStripMenuItem_Click(object sender, EventArgs e)
{
Settings.ShowRevisionGraph = !showRevisionGraphToolStripMenuItem.Checked;
showRevisionGraphToolStripMenuItem.Checked = Settings.ShowRevisionGraph;
RefreshRevisions();
}
}
}

0 comments on commit fb126c2

Please sign in to comment.